From: Joseph A. <jo...@mi...> - 2012-11-20 08:58:57
|
On 19/11/2012 17:24, Burkhard Plaum wrote: > ... > > From what I see right now, the lines: > > codec->avctx->time_base.den = lqt_video_time_scale(file, track); > codec->avctx->time_base.num = lqt_frame_duration(file, track, NULL); > > should in any case become: > > codec->avctx->time_base.den = lqt_video_time_scale(file, track); > codec->avctx->time_base.num = 1; > > and (citing Michael Niedermayer): > > "if one would set timebase = 1/600 THEN pts would go 0 24 48 ..." > > which would also be libquicktime's idea of PTSes in a 600/24 fps stream. > Either I completely overlooked something, or the 1 line change above is enough. OK, I'll try to implement that strategy. -- Joseph Artsimovich Senior C++ Applications Developer MirriAd Ltd |