[MPlayer-dev-eng] [RFC] h264 over rtsp without AVParser

Michael Niedermayer michaelni at gmx.at
Fri Mar 9 12:45:16 CET 2007


Hi

On Fri, Mar 09, 2007 at 04:13:32AM +0100, Carl Eugen Hoyos wrote:
> Hi Nico!
> 
> Thank you for reviewing my patches, I know this is not fun! I just found
> a bug in H264 recognition in afterReading.
> 
> Attached is a POC for h264 over rtsp without AVParser (tested) including
> a small hack for h264.c to force CODEC_FLAG2_CHUNKS. If you really
> prefer this version (except for the hack) over my last patch, I'll try
> the following:
> 
> Rename int amr to headersize
> 
> Convince libavcodec to always assume CODEC_FLAG2_CHUNKS, Michael already
> suggested that before (and will hopefully help)

making CODEC_FLAG2_CHUNKS default?

if you are serious about this you will have to implement the mess in
7.4.1.2.3 Order of NAL units and coded pictures and association to access units
7.4.1.2.4 Detection of the first VCL NAL unit of a primary coded picture
of the h.264 spec (freely available from ITU IIRC)

to detect the start of a new frame in the h.264 decoder, and implement it
efficiently

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you really think that XML is the answer, then you definitly missunderstood
the question -- Attila Kinali
-------------- 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/49df108d/attachment.pgp>


More information about the MPlayer-dev-eng mailing list