Hi all,

I am using ffmpeg to decode video frames.
Right now I am using :
init_put_byte and av_read_frame, with my own data reading function.
I would like to optimize this process because :
1- I already know where is the beginning and end of my frames.
2- I would like to use my own PTS values, because they are more accurate that
the one inside frame data.

But when my data reading callback is called I have no way to tell ffmpeg the pts
value I know at this point.
So when av_read_frame returns with decoded video frame, I loose this
information.
What other method can I use to take advantage of 1- and 2- ?

Best Regards,

Seb.

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to