[Live-devel] H264VideoFramer truncating frames

Ross Finlayson finlayson at live555.com
Thu Mar 19 02:47:36 PDT 2015


> 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/

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


More information about the live-devel mailing list