Hi, I am facing a problem. I have to implement a seek mechanism that just seeks forward in a particular stream. When I seek the decoder that I send the data to is reset, so it needs sequence information again after each seek.
Now my question is can I somehow obtain this 'Sequence Information' that is relative to the position that I have seeked in the stream from FFMPEG. E.g. my seek works well for MPEG streams that have Seuence Information before every GOP. I seek forward find a new GOP send it along with the sequence information and everything works fine. But for MPEG streams that do not have sequence information before every GOP when I seek to a particular GOP I do not find and Seuence Info there so I just provide my decoder with frames. Here is the problem, my deocder expects me to send the sequence info as well. Can I get this sequence information from FFMPEG? I think for MOV containers we can get Sequence Information using the extradata. I am very unclear myself in some of this. Has anybody tried something like this. I have tried to search for this over the internet but could not find much detail. Apologies, if I am not clear in explaining my problem. I would be more than happy to provide additional details. Thanks & Regards, headless. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
