[FFmpeg-devel] [PATCH] Fix return value for incomplete H264 frame packets

Mike Scheutzow mike.scheutzow
Tue Aug 24 17:12:33 CEST 2010


Michael Niedermayer wrote:
> On Tue, Aug 24, 2010 at 12:53:58PM +0200, P?sztor Szil?rd wrote:
>> Michael Niedermayer:
>>> also until you read the relevant parts of h264 & h222 you are not qualified
>>> to work on this. Its not something you will get working reliable by trial
>>> and error.
>> I'm not planning to work on this.
> 
> i know, noone wants to fix it people just want to fill the code with hacks
> that work for their samples.

michaelni - please explain what method you have in mind for adding 
timing information to the decode path for an h264 stream.

Earlier in this thread you mention libavfilter. My understanding is that 
a video filter processes AVFrames. Is the goal that this video filter 
set the pts value for each AVFrame? This has the downside that it won't 
work for '-vcodec copy'.

I was expecting a different approach, where AVPacket.pts was set prior 
to the h264 decoder. If it was implemented this way, would that mean 
that the place to add code is the h264 parser?

Please let us know which approach you have in mind.


Mike Scheutzow




More information about the ffmpeg-devel mailing list