[FFmpeg-devel] [PATCH] movie video source
Tue Jan 4 18:48:48 CET 2011
Le quintidi 15 niv?se, an CCXIX, Stefano Sabatini a ?crit?:
> What do you suggest to do, to make the cmdutils.c PtsCorrectionContext
> API public and use it (av_pts_correction_init(),
> av_pts_correction_guess()) or to duplicate the code?
Something like that was evoked three weeks ago in the thread about the API
example for lavfi. Since then, I thought I might try to implement it.
My idea was to add the PtsCorrectionContext structure to the end of
AVCodecContext and add some sort of avcodec_set_stream_time_base function:
this way, avcodec_decode_video2 would be able to use the pts and dts fields
in AVPacket directly without depending on libavformat.
I did not go any further than that yet, and especially I did not code
anything; I do not know when I will have time to work on it; not in the next
week at least. So if you want to take it from me, you are welcome; if not, I
still intend to work on it given the time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel