[FFmpeg-devel] Remaining problems in H.264 handling

Uoti Urpala uoti.urpala
Sun Mar 29 23:28:16 CEST 2009


On Sun, 2009-03-29 at 23:11 +0200, Ivan Schreter wrote:
> Uoti Urpala wrote:
> > On Sun, 2009-03-29 at 10:24 +0200, Ivan Schreter wrote:

> AFAIK H.263 has so-called PB-frames, where one P and one B frame are 
> coded in one packet. But I'm no expert in this area. I remember seeing a 
> long thread on ML about a month ago regarding support of PB frames.


> >> To support the opposite case (more than one frame in one packet), some 
> >> more logic is necessary (e.g., first calling avcodec_decode_video() 
> >> without a packet and only if nothing is returned, feed it packets until 
> >> something will be returned). Also, I suppose it won't be possible to get 
> >>     
> >
> > Is there any decoder in libavcodec that actually produces multiple
> > frames from one packet? You're not confusing this with frame
> > doubling/tripling stuff which does not actually produce separate output
> > frames and can be mostly ignored by timestamp-based players?
> >   
> See above.

Even that patch for "supporting" them seems to only drop the B part, so
the libavcodec decoder still won't produce more than one output picture
per packet.




More information about the ffmpeg-devel mailing list