[Live-devel] H264VideoFramer truncating frames

Robert Smith smith at cognitec.com
Fri Mar 20 01:16:12 PDT 2015


This would still depend on a constant frame rate though? I can't 
guarantee that the source or encoder won't drop frames so it needs to be 
robust against that.

Besides, my encoder has options for VUI but the documentation states 
that these parameters are ignored.

On 03/19/2015 10:47 AM, Ross Finlayson wrote:
>> Having tested this further I realised that the H264VideoStreamFramer 
>> assumes a constant 25fps.
>
> Not exactly.  The code assumes a frame rate of 25 fps *only if* there 
> is no timing information in the SPS NAL units.
>
> If you want your video to be streamed at the correct frame rate, you 
> should make sure that the SPS NAL unit contains "vui_parameters", 
> which in turn has the "timing_info_present_flag" set, with the 
> "time_scale" and "num_units_in_tick" fields set.  In other words, 
> you'll need to reconfigure your encoder to give you this information 
> (if it doesn't do so already).
>
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20150320/bd0986fe/attachment.html>


More information about the live-devel mailing list