[Live-devel] TestH264VideoStreamer lags in VLC

BONNEAU Guy gbonneau at miranda.com
Mon Jul 11 19:14:16 PDT 2011


Perhaps a bug in VLC.....

I tried with Elecard Stream Eye application and it does see 4 frames per second (progressive) in the H264 header and plays at such rate.

GB

From: live-devel-bounces at ns.live555.com [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Monday, July 11, 2011 20:30
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] TestH264VideoStreamer lags in VLC

Here is an example file :
http://www.mediafire.com/?rm6v38vx15nd9dv
When I play it with VLC in my computer it plays normally. So I guess, as a encoder output is fine. But when I use for example TestH264VideoStreamer to stream it, what the client (also with VLC) sees is much more slow. It is like viewing 1 fps, although this sequence's frame rate is much higher.

Actually, "testH264VideoStreamer" thinks that the frame rate is 4 frames-per-second, and is streaming at that rate.  However, VLC seems to stream at about 6 times that rate - i.e., at about 24 frames-per-second.

So, my question - for H.264 experts - is the following: What is VLC seeing, in this file, that makes it see a frame rate of 24 frames-per-second, or so?

Our code ("H264VideoStreamFramer") is seeing
        num_units_in_tick: 1
        time_scale: 8
        fixed_frame_rate_flag: 1
and from this is inferring a frame rate of 4 frames-per-second.  So how is VLC inferring a much higher frame rate??

--

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/20110712/61ccfb86/attachment.html>


More information about the live-devel mailing list