Article 591GB ffmpeg to trim beginning of video

ffmpeg to trim beginning of video

by
GPGAgent
from LinuxQuestions.org on (#591GB)
I'm using ffmpeg to trim the start of a video. I want to trim 22 seconds off the beginning. Simple enough the command is:Code:ffmpeg -ss 22 -i myvideo.mp4 -c copy mytrimmedvideo.mp4 or Code:ffmpeg -i myvideo.mp4 -ss 22 -c copy mytrimmedvideo.mp4Now when I play the trimmed video it hasn't cut from exactly 22 seconds in.
Using mpv to play the video it says it's starting at -3 seconds?
Using vlc it reports starting at 0 seconds.
My question is, is there a switch I'm missing to start at precisely 22 seconds?
And supplemental question, how can it start at a negative number of seconds?latest?d=yIl2AUoC8zA latest?i=snN93xE4HT8:2MFNvs6GQ1k:F7zBnMy latest?i=snN93xE4HT8:2MFNvs6GQ1k:V_sGLiP latest?d=qj6IDK7rITs latest?i=snN93xE4HT8:2MFNvs6GQ1k:gIN9vFwsnN93xE4HT8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments