I tried to figure out what to do about timestamps as a final solution, but i couldn't come up with something good yet.
The NVIDIA decoder doesn't make it easy on you to take over the timestamp management yourself. It doesn't let me know when it dropped a frame due to missing references (after seeks), or general corruption, not to mention the variable decoding delay due to the pipelining in the hardware, so its really not trivial to map incoming timestamps back onto the decoded frames.
I think i have to be creative about this. We'll see how this all works out.
The goal is of course to keep XviDs working, and for now the temporary fix seems to do its job.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
Last edited by nevcairiel; 14th August 2011 at 23:08.
|