[Live-devel] Another H264 Live Input Issue

Franco Miceli franco at radixcast.com
Thu Aug 13 08:02:19 PDT 2015


Subham,

I know this is an old topic, but I just found that with other players GRID
streaming with live555 does work.

Have you tried with other players besides VLC?

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.

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.

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.

Does anyone know where should I look in order for the live feed to be
played correctly?

Regards

Franco Miceli
@Radixcast


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.http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20150813/961c060a/attachment.html>


More information about the live-devel mailing list