[vlc-devel] Re: multiple slices issue in h264 streaming: marker bit problem

Brian Raymond braymond at echostorm.net
Thu Dec 28 04:14:06 CET 2006


The spec allows for more then one NAL unit per RTP packet, which  
makes sense for efficiency sake. Off the top of my head I cannot say  
how many modes are supported but I do recall a couple of different  
aggregation modes allowing multiple NALUs per RTP packet.

- Brian


On Dec 27, 2006, at 9:18 AM, Yao Peter wrote:

> Sorry, I missed something here. The VLC code also have problem on  
> NAL packetizing. It should split NALs in rtp_packetize_h264 so that  
> an RTP packet does not includes more than 1 NAL units and their  
> start codes.
>
> Yao Peter 写道:
>> Yes, I did check that setting the bit right does fix the issue.  
>> The sample clip I used was sample_h264_100kbit.mp4 which was part  
>> of Darwin Streaming Server code. It has 2 clips in every frame,  
>> before the patch only the first one is displayed well, after that  
>> both are ok.
>>
>>>
>>> Have you checked (experimentally) that setting the marker bit at  
>>> the right places does fix the issue?
>>> It seems to me that the rtp packetizer code here will misbehave  
>>> even more than just the marker bit if you have more than one NAL  
>>> per frame. I do not have a sample stream here that I know has  
>>> this property, and I'm not familiar enough with the encoding  
>>> tools to create such a stream easily, so I'll
>>> need a new sample in order to investigate further.
>>
>
> -- 
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html
>

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list