[Live-devel] File streaming session getting closed before eof received on client side

Ross Finlayson finlayson at live555.com
Mon Aug 11 07:07:03 PDT 2014


> I am refering testVideoOnDemand.cpp source

We do not have a file by that name.  You should begin your testing with our (unmodified) "testOnDemandRTSPServer" code (as your server), and "openRTSP" (as your client).


> Here is link for file I am using for testing:
> https://www.dropbox.com/s/qwip5p9ij68fpm3/stream1.h264

The problem with this file is that it has been encoded incorrectly.  It contains SPS ("Sequence Parameter Set") NAL units that say that the stream's frame rate is 29.97 frames-per-second (specifically: num_units_in_tick=1001; time_scale=60000).  Therefore, our server streams the file at that frame rate.  However, the video shows the clock on the wall running twice as fast as it should (i.e., 30 seconds elapse in about 15 seconds), which suggests that the frame rate should probably really be 15 frames-per-second.

Therefore, you need to fix whatever encoder you used to generate this file.

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/20140811/9260b9f2/attachment.html>


More information about the live-devel mailing list