[Live-devel] Why VLC show fixed fps when use H264VideoStreamDiscreteFramer to send H264 data?

Eric_Hsieh at alphanetworks.com Eric_Hsieh at alphanetworks.com
Tue Feb 2 12:55:21 PST 2016


Hi Ross,

Thanks for your reply.
Yes, you give me what I want.
1> H264or5VideoStreamFramer’s fFrameRate is not key point.
2> Make sure the rate is correct from encoder
3> Make sure the NAL units have correct rate setting.
Thanks again.

regards, eric, 02/02

> On Feb 2, 2016, at 13:03, Ross Finlayson <finlayson at live555.com> wrote:
>
> I’m not totally sure I understand your question, because “H264VideoStreamDiscreteFramer” does not compute (or use) a ‘frame rate’ at all.  The ancestor class “H264or5VideoStreamFramer” *does* contain a ‘fFrameRate” field, but that field is not computed (or used) when you’re using one of the “*DiscreteFramer" subclasses.  It is used only when you’re using one of the (non-Discrete) Framer classes directly - to parse an input video byte stream.
>
> Therefore, when you’re feeding a “*DiscreteFramer” from a live source (e.g., from an encoder), then you should make sure that the NAL units are being fed at their natural rate (i.e., at the rate at which they would come naturally from the encoder).  You should also, of course, make sure that the encoder generates SPS and PPS NAL units that properly encode the actual video frame rate.  (That’s always important, of course; it’s not specific to LIVE555.)
>
>
> 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

This electronic mail transmission is intended only for the named recipient. It contains information which may be privileged,confidential and exempt from disclosure under applicable law. Dissemination, distribution, or copying of this communication by anyone other than the recipient or the recipient's agent is strictly prohibited. If this electronic mail transmission is received in error, Please notify us immediately and delete the message and all attachments of it from your computer system. Thank you for your cooperation.



More information about the live-devel mailing list