[MPlayer-dev-eng] [PATCH] H264 over rtsp, v5

Michael Niedermayer michaelni at gmx.at
Fri Mar 9 03:37:18 CET 2007


Hi

On Thu, Mar 08, 2007 at 10:19:39PM +0100, Nico Sabbi wrote:
> Carl Eugen Hoyos wrote:
> >Hi!
> >
> >On 2007-03-07 00:44, Carl Eugen Hoyos wrote:
> >
> >>Attached patch is a new try to fix h264 over rtsp using AVParser.
> >
> >
> >Removed unrelated changes.
> >
> >Please review, Carl Eugen
> >
> 
> I can't believe that there isn't a simpler way to play this kind of 
> content. This repacking is a huge mess, and doesn't belong to a demuxer.
> Since now lavc can decode out of order NALs can't we simply pass them 
> to the decoder assuming that one demux_packet contains exactly one 
> NAL?  (Ross, is this the case? )
> Michael an Loren, are there  limitations in how the decoder can deal
> with out of order NALs?

out of order? that was never supported, it of course might work fine
as long as the NAL units are just reordered within one frame
but as soon as NAL units are reordered between frames you are left with
either buffering all NAL units until you have a complete frame (might
never happen if the NAL unit is really lost) or decode and output
the frame with a missing slice, the current decoder will always do
the later ...

what is supported by the H.264 decoder now which wasnt in the past
is decoding indicidual NAL units instead of just whole frames

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070309/30ec861d/attachment.pgp>


More information about the MPlayer-dev-eng mailing list