<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Message: 4<br>
Date: Tue, 12 Jul 2011 02:14:16 +0000<br>
From: BONNEAU Guy <<a href="mailto:gbonneau@miranda.com">gbonneau@miranda.com</a>><br>
To: LIVE555 Streaming Media - development & use<br>
<<a href="mailto:live-devel@ns.live555.com">live-devel@ns.live555.com</a>><br>
Subject: Re: [Live-devel] TestH264VideoStreamer lags in VLC<br>
Message-ID:<br>
<<a href="mailto:24665DDC0D7CF047BD6471A56E615EA6318123F1@CA-OPS-MAILBOX.miranda.com">24665DDC0D7CF047BD6471A56E615EA6318123F1@CA-OPS-MAILBOX.miranda.com</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Perhaps a bug in VLC.....<br>
<br>
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.<br>
<br>
GB<br>
<br>
From: <a href="mailto:live-devel-bounces@ns.live555.com">live-devel-bounces@ns.live555.com</a> [mailto:<a href="mailto:live-devel-bounces@ns.live555.com">live-devel-bounces@ns.live555.com</a>] On Behalf Of Ross Finlayson<br>
Sent: Monday, July 11, 2011 20:30<br>
To: LIVE555 Streaming Media - development & use<br>
Subject: Re: [Live-devel] TestH264VideoStreamer lags in VLC<br>
<br>
Here is an example file :<br>
<a href="http://www.mediafire.com/?rm6v38vx15nd9dv" target="_blank">http://www.mediafire.com/?rm6v38vx15nd9dv</a><br>
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.<br>
<br>
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.<br>
<br>
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?<br>
<br>
Our code ("H264VideoStreamFramer") is seeing<br>
num_units_in_tick: 1<br>
time_scale: 8<br>
fixed_frame_rate_flag: 1<br>
and from this is inferring a frame rate of 4 frames-per-second. So how is VLC inferring a much higher frame rate??<br>
<br>
--<br>
<br>
Ross Finlayson<br></blockquote><div><br></div><div>Thank you both for your feedback. Actually I am setting FPS=4 in the encoder parameters, so it should be 4. Did you try to stream using live555 lib and view it in VLC or did you just open it a disk file? Because as I mentioned, when I run it just a file from disk, it plays normally, without lags or strange frame rates. But when I use the testH264VideoStreamer or the testOnDemandRTSPServer applications, I get this strange behavior. So I assume, it only has to do with the streaming parameters of the encoding (NAL parameters?). I am not really a h264 expert, just making some thoughts. Maybe someone can explain this strange behavior. </div>
<div><br></div><div>Thanks once more, </div><div>Sokratis</div></div>