<div dir="ltr">Subham,<div><br></div><div>I know this is an old topic, but I just found that with other players GRID streaming with live555 does work.</div><div><br></div><div>Have you tried with other players besides VLC?</div><div><br></div><div>My implementation (very similar to yours) was not getting played on VLC (clock ticked but no image). Then I tried OpenRTSP.exe and the file it stored was not played by VLC either.</div><div><br></div><div>That is when I downloaded MPlayerOSX Extended and, to my surprise, it opened the file and played it. Moreover, it also played the rtsp stream.</div><div><br></div><div>My issue now is that when I play the file openRTSP received it displays correctly, but when I play the stream it seems to display the frames discretely (the clock advances in 6 seconds -or so- intervals) and a lot of frames are shown in a single instant.</div><div><br></div><div>Does anyone know where should I look in order for the live feed to be played correctly?<br><div><br></div><div>Regards</div><div><br></div><div>Franco Miceli</div><div>@Radixcast</div><div><br></div><div><br></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Shubham,
At a first (quick) glance, I don’t see anything obviously wrong here (apart from your use of an unprofessional email address, which is strongly discouraged on this mailing list). I notice that the first NALs that you deliver are SPS and PPS NAL units - which is important (and answers Marcin’s question).
Because you’re streaming from a live source, make sure that the “reuseFirstSource” parameter is True. Also, you should make sure that one (and only one) NAL unit (without start code) is delivered by your “GridSource” class in response to each “doGetNextFrame()” call. (Your code might already be doing this OK; I didn’t look at it in detail.)
In any case, I suggest that you first use our “openRTSP” command-line RTSP client application (rather than VLC, which is not our software) to test your server. If everything is working correctly, “openRTSP” will give you a non-empty output file, which you can then rename to have a “.h264” filename suffix. If the file is correct, then VLC should be able to play it (as a file). Then, and only then, should you try using VLC as a RTSP client.
Ross Finlayson
Live Networks, Inc.
<a href="http://www.live555.com/">http://www.live555.com/</a><br></pre></div></div></div>