<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<pre>
Thanks for the input Brett and Charlie, I upgraded my copy of VLC and it did make things better
now it appears to work if I have the server and VLC on the same system (i.e. rtsp://localhost/liveSource)
But if I try to stream across my local network the problem crops up again.
The frame rate on my data is really slow, 5fps, I'm wondering if that is messing VLC up.
I'll try to speed things up to see if that makes a difference, I also try to get more
realistic presentation times, right now I'm just estimating them based on the frame rate I'd like to be producing
not the actual frame rate.
Just out of curiousity how does it know the frame is late?I'm assuming that it is comparing the presentation
times it's receiving against it's own playclock?
Any other suggestions would be helpful.
Matt S.
> The numbers in parentheses are a measure of "how late" the picture was
> received relative to when VLC calculated it should be displayed. I
> believe the resolution is microseconds, so 250000 is .25 seconds late.
> Seems like you might have a problem with your presentation times?
> Unfortunately, that's about as much help as I can offer...
> Good luck,
> --Brett
> Matt Schuckmann wrote:
> ><i> I'm working on prototyping a live H.264 streaming application using the
</i>> ><i> LiveMedia rtsp/rtp library and the X264 encoder.
</i>><i> I've written my h264Framer class and integrated it into the
</i>><i> testOnDemandRTSPServer and I can successfully stream the data to the
</i>><i> OpenRTSP test application.
</i>><i> However, when I try to open the stream using VLC it only displays the
</i>><i> first frame and nothing more.
</i>><i> If I open the messages window for VLC I see a whole bunch of messages
</i>><i> like these
</i>><i>
</i>><i> main warning: late picture skipped (266012)
</i>><i> main warning: late picture skipped (266000)
</i>><i> main warning: late picture skipped (266000)
</i>><i> main warning: late picture skipped (282000)
</i>><i> main warning: late picture skipped (250000)
</i>><i> main warning: late picture skipped (250000)
</i>><i> main warning: late picture skipped (250000)
</i>><i> ffmpeg warning: Unknown NAL code: 0
</i>><i> (<a
href="http://lists.live555.com/mailman/listinfo/live-devel">h264 at 00B22B60</a>)
</i>><i> ffmpeg warning: Unknown NAL code: 0
</i>><i> (<a
href="http://lists.live555.com/mailman/listinfo/live-devel">h264 at 00B22B60</a>)
</i>><i> main warning: late picture skipped (316000)
</i>><i> main warning: late picture skipped (250000)
</i>><i> ffmpeg error: more than 5 seconds of late video -> dropping frame
</i>><i> (computer too slow ?)
</i>><i>
</i>><i> I'm running both the OnDemandServer and VLC on the same PC so I don't
</i>><i> think that there could be any funny clock skew going on.
</i>><i>
</i>><i> I'm kind of at a loss for what's going wrong, but I am pretty new to
</i>><i> this stuff.
</i>><i> I was hoping that somebody out there might know enough about VLC and the
</i>><i> LiveMedia library to give me some clues on what to look for. For
</i>><i> instance does anybody know what the numbers in the late picture skipped
</i>><i> message are, they don't look like time codes to me.
</i>><i>
</i>><i>
</i>><i> Thanks
</i>><i> Matt S.
</i>><i>
</i>><i> PS I tried stream to Quicktime Viewer too and it just wouldn't show
</i>><i> anything, although it did say that it was playing the stream.
</i></pre>
</body>
</html>