Thu Jun 7 17:09:41 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
I'm trying to figure out how h264_parse_packet() is supposed to work,
and so, I started looking at rtp_parse_packet().
The question I have is whether h264_parse_packet() is supposed to return
only complete NAL units or if it is supposed to return AVPackets
containing parts of NAL units. Currently it seems to return AVPackets
containing parts of NAL units if NAL units had been split across RTP
The documentation of rtp_parse_packet() says:
"""@return 0 if a packet is returned, 1 if a packet is returned and more
can follow (use buf as NULL to read the next). -1 if no packet (error or
no more packet)."""
Do I understand this correctly to mean that if 1 is returned the RTP
packet contained multiple parts which will result in multiple AVPackets?
With friendly regards,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the ffmpeg-devel