[FFmpeg-user] Trimming a MOV creating out-of-sync, under-length result

Gyan Doshi gyandoshi at gmail.com
Sat Dec 23 13:14:55 EET 2017


On 12/23/2017 4:09 PM, Stuart Bruce wrote:
> Hello
> 
> I'm trying to use FFmpeg for a relatively simple task of trimming a 24fps
> .MOV file to make a shorter .MOV.

> - The audio is perfectly in sync to the source video, but the video track
> is 2 frames early- so where I would expect to see frame 100, instead, I'm
> seeing frame 102

Add -x264opts b_pyramid=0 i.e.

     -i "OutputTests_24p_v2.mov" -ss 00:00:04.041 -t 00:00:02.720 -r 24
     -x264opts b_pyramid=0 "AR0000003_H264-FF_v20.mov"

See https://superuser.com/q/1119072/114058

Regards,
Gyan


More information about the ffmpeg-user mailing list