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?


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?