[Live-devel] help with streaming a .ts file

Jason Reeves jhr at unitedentropy.com
Tue Aug 16 14:47:59 PDT 2016


Hi Ross,

I spoke with our engineer and I had the command line wrong.  The command
line he was using indeed had the '-4' switch.

I just ran a test with the command line in the original post, and what I
find out is that files with no extension are created:

------------------------------------------------------------------------------------------------------------------------------------------------------
$ openRTSP -V -P 60 -u root security -v rtsp://192.168.1.73/mpeg4/media.amp
Opened URL "rtsp://192.168.1.73/mpeg4/media.amp", returning a SDP
description:
v=0
o=- 1494138538994 1494138539005 IN IP4 192.168.1.73
s=Media Presentation
e=NONE
c=IN IP4 0.0.0.0
b=AS:3000
t=0 0
a=control:*
a=range:npt=now-
a=mpeg4-iod:
"data:application/mpeg4-iod;base64,AoDUAE8BAf/0AQOAbwABQFBkYXRhOmFwcGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBUjBCR3dVZkF4Y0F5U1FBWlFRTklCRUVrK0FBTGNiQUFDM0d3QVlCQkE9PQQNAQUABAAAAAAAAAAAAAYJAQAAAAAAAAAAAzoAAkA2ZGF0YTphcHBsaWNhdGlvbi9tcGVnNC1iaWZzLWF1O2Jhc2U2NCx3QkFTWVFTSVVFVUZQd0E9BBICDQAAAgAAAAAAAAAABQMAAEAGCQEAAAAAAAAAAA=="
a=isma-compliance:1,1.0,1
m=video 0 RTP/AVP 96
b=AS:3000
a=framerate:8.0
a=control:trackID=1
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=244;
config=000001B0F4000001B5891300000100000001200086C40FA28A021E0A21
a=mpeg4-esid:201

Created receiver for "video/MP4V-ES" subsession (client ports 55602-55603)
Setup "video/MP4V-ES" subsession (client ports 55602-55603)
Outputting data from the "video/MP4V-ES" subsession to
"video-MP4V-ES-1-00000-00060"
Started playing session
Receiving streamed data (signal with "kill -HUP 4894" or "kill -USR1 4894"
to terminate)...
^C
vision at live555:~/tmp$ openRTSP -V -P 60 -u root security -v rtsp://
192.168.1.73/mpeg4/media.amp
Opened URL "rtsp://192.168.1.73/mpeg4/media.amp", returning a SDP
description:
v=0
o=- 1494144264686 1494144264697 IN IP4 192.168.1.73
s=Media Presentation
e=NONE
c=IN IP4 0.0.0.0
b=AS:3000
t=0 0
a=control:*
a=range:npt=now-
a=mpeg4-iod:
"data:application/mpeg4-iod;base64,AoDUAE8BAf/0AQOAbwABQFBkYXRhOmFwcGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBUjBCR3dVZkF4Y0F5U1FBWlFRTklCRUVrK0FBTGNiQUFDM0d3QVlCQkE9PQQNAQUABAAAAAAAAAAAAAYJAQAAAAAAAAAAAzoAAkA2ZGF0YTphcHBsaWNhdGlvbi9tcGVnNC1iaWZzLWF1O2Jhc2U2NCx3QkFTWVFTSVVFVUZQd0E9BBICDQAAAgAAAAAAAAAABQMAAEAGCQEAAAAAAAAAAA=="
a=isma-compliance:1,1.0,1
m=video 0 RTP/AVP 96
b=AS:3000
a=framerate:8.0
a=control:trackID=1
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=244;
config=000001B0F4000001B5891300000100000001200086C40FA28A021E0A21
a=mpeg4-esid:201

Created receiver for "video/MP4V-ES" subsession (client ports 53342-53343)
Setup "video/MP4V-ES" subsession (client ports 53342-53343)
Outputting data from the "video/MP4V-ES" subsession to
"video-MP4V-ES-1-00000-00060"
Started playing session
Receiving streamed data (signal with "kill -HUP 4899" or "kill -USR1 4899"
to terminate)...
Outputting data from the "video/MP4V-ES" subsession to
"video-MP4V-ES-2-00060-00120"
Outputting data from the "video/MP4V-ES" subsession to
"video-MP4V-ES-3-00120-00180"
Outputting data from the "video/MP4V-ES" subsession to
"video-MP4V-ES-4-00180-00240"

$ file *
video-MP4V-ES-1-00000-00060: MPEG sequence, v4, video, advanced simple @ L4
video-MP4V-ES-2-00060-00120: MPEG sequence, v4, video, advanced simple @ L4
video-MP4V-ES-3-00120-00180: MPEG sequence, v4, video, advanced simple @ L4
video-MP4V-ES-4-00180-00240: MPEG sequence, v4, video, advanced simple @ L4

$ for f in *
> do
> avprobe $f
> done
avprobe version 11.7, Copyright (c) 2007-2016 the Libav developers
  built on Aug  5 2016 16:19:40 with gcc 4.9.2 (Debian 4.9.2-10)
[m4v @ 0x162e8c0] max_analyze_duration 5000000 reached
[m4v @ 0x162e8c0] Estimating duration from bitrate, this may be inaccurate
Input #0, m4v, from 'video-MP4V-ES-1-00000-00060':
  Duration: N/A, bitrate: N/A
    Stream #0.0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 640x480
[PAR 1:1 DAR 4:3], 25 fps, 25 tbn, 1k tbc
# avprobe output


avprobe version 11.7, Copyright (c) 2007-2016 the Libav developers
  built on Aug  5 2016 16:19:40 with gcc 4.9.2 (Debian 4.9.2-10)
[m4v @ 0x20bf8c0] max_analyze_duration 5000000 reached
[m4v @ 0x20bf8c0] Estimating duration from bitrate, this may be inaccurate
Input #0, m4v, from 'video-MP4V-ES-2-00060-00120':
  Duration: N/A, bitrate: N/A
    Stream #0.0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 640x480
[PAR 1:1 DAR 4:3], 25 fps, 25 tbn, 1k tbc
# avprobe output


avprobe version 11.7, Copyright (c) 2007-2016 the Libav developers
  built on Aug  5 2016 16:19:40 with gcc 4.9.2 (Debian 4.9.2-10)
[m4v @ 0x2f198c0] max_analyze_duration 5000000 reached
[m4v @ 0x2f198c0] Estimating duration from bitrate, this may be inaccurate
Input #0, m4v, from 'video-MP4V-ES-3-00120-00180':
  Duration: N/A, bitrate: N/A
    Stream #0.0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 640x480
[PAR 1:1 DAR 4:3], 25 fps, 25 tbn, 1k tbc
# avprobe output


avprobe version 11.7, Copyright (c) 2007-2016 the Libav developers
  built on Aug  5 2016 16:19:40 with gcc 4.9.2 (Debian 4.9.2-10)
[m4v @ 0x335e8c0] max_analyze_duration 5000000 reached
[m4v @ 0x335e8c0] Estimating duration from bitrate, this may be inaccurate
Input #0, m4v, from 'video-MP4V-ES-4-00180-00240':
  Duration: N/A, bitrate: N/A
    Stream #0.0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 640x480
[PAR 1:1 DAR 4:3], 25 fps, 25 tbn, 1k tbc
# avprobe output




On Wed, Aug 10, 2016 at 10:51 PM, Ross Finlayson <finlayson at live555.com>
wrote:

> > The given openRTSP command generates a folder full of files with the
> .mp4 extension.
>
> Looking at our code, I don’t see how that can happen unless you also gave
> “openRTSP” the “-4” option.
>
> Could you please rerun “openRTSP” once again, this time *without* the “-V”
> option (so that you get full diagnostic output), and include in your next
> email (1) the exact “openRTSP” command line that you used, and (2) the
> diagnostic output from ‘stderr’, so we can figure out for sure exactly what
> kind of files you’re getting from the stream.
>
> After that, we can figure out how to generate Transport Stream files.
>
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20160816/dbe3f44d/attachment.html>


More information about the live-devel mailing list