[gst-devel] rtph264vpay; Single NAL Unit mode from Annex B of H264 specification

Marco Ballesio gibrovacco at gmail.com
Thu May 27 12:30:55 CEST 2010


Hi,

On Wed, May 26, 2010 at 4:21 PM, Farah Akhtar <farahakhtar_24c at yahoo.com> wrote:
>
> Hey
>
> I'm looking at the Annex B of the H.264 specification and want to know how
> exactly is it currently implemented in gstreamer payloaders like rtph264vpay
> etc.
>
> As it seems from my experience, the Single NAL unit mode as given in RFC3894
> doesnt work. I see that even when I encode from the H264 encoder using slice
> modes and all settings are such that only one slice goes into one NAL unit,
> even then, my RTP packet given by rtph264vpay is larger by tens of times
> than it should be. This happens because the rtp payloader combines several
> NAL units into one RTP packet. I think, therefore, that the payloader doesnt
> implement the Single NAL unit mode (which should be the default more as
> stated in RFC 3894) and puts several NAL units in one RTP Packet. Can anyone
> please help verify this?

for better results, try setting a reasonable mtu in the payloader
(e.g. mtu=256). 1400 will pack together NALS according to the RFC (I
guess you actually meant 3984)

Regards

>
> Also, is there a way I could get the Single NAL unit mode to work? Am I
> missing something here?
>
>
>
> ------------------------------------------------------------------------------
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>




More information about the gstreamer-devel mailing list