[FFmpeg-user] duration discrepancies when transcoding mov with edit lists

tim nicholson nichot20 at yahoo.com
Tue Jul 1 09:07:05 CEST 2014


On 26/06/14 19:33, Dave Rice wrote:
> Hi all,
> I believe this issue is related to an open ticket http://trac.ffmpeg.org/ticket/1137, but in the meanwhile I'm looking for advice for a workaround.
> 
> [...]
> 
> My workaround seems to see to use `ffmpeg -i` or ffprobe to get the start time and duration of the video file and then to use these values in -ss and -t during the transcode. So instead of
> 
> ffmpeg -i 1sec1frame_v210_according_to_QT.mov [options here] nowhowlong.mov
> I would use
> ffmpeg -i 1sec1frame_v210_according_to_QT.mov -ss 0.210210 -t 00:00:01.03 [options here] nowhowlong.mov
> 
> So far that seems to work for me, but is this a sane approach to the issue?

the -t approach is one I have adopted to good effect, basically ffmpeg
will transcode till it runs out of material, but mov files from capture
cards often have mangled frames at the end so the end of the clip is
marked back from there. Not usually had an issue with the start though


> Dave Rice
> _______________________________________________
> [..]

-- 
Tim.
Key Fingerprint 38CF DB09 3ED0 F607 8B67 6CED 0C0B FC44 8B0B FC83


More information about the ffmpeg-user mailing list