[Libav-user] RTSP Data Stream
Mark Kenna
mark.kenna at sureviewsystems.com
Thu Aug 30 12:57:36 CEST 2012
Hi Guys
In a *very* old version of FFMpeg I can play an RTSP stream which has 3
streams: 0.1-CODEC_TYPE_VIDEO, 0.2-CODEC_TYPE_AUDIO, 0.3-CODEC_TYPE_DATA.
In never versions I cannot see the CODEC_TYPE_DATA stream anymore, I have
also tried using -allowed_media_types data+video+audio with no joy.
I have included the output shown in FFProbe so if someone could suggest how
to resolve the issue?
C:\Immix\SureView.Media\FFMPEG\ffmpeg-20120608-git-718607b-win32-shared\bin>ffprobe
> -loglevel debug rtsp://lab:9553/lowQ.sdp -rtsp_transport tcp
> -allowed_media_types data+video+audio
> ffprobe version N-41416-g718607b Copyright (c) 2007-2012 the FFmpeg
> developers
> built on Jun 8 2012 12:47:57 with gcc 4.6.3
> configuration: --disable-static --enable-shared --enable-gpl
> --enable-version3 --disable-w32threads --enable-runtime-cpudetect
> --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass
> --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut
> --enable-libopenjpeg --enable-librtmp --enable-libschroedinger
> --enable-libspeex --enable-libtheora --enable-libutvideo
> --enable-libvo-aacenc --enable-libvo-amrwb
> enc --enabl libavutil 51. 56.100 / 51. 56.100
> libavcodec 54. 25.100 / 54. 25.100
> libavformat 54. 6.101 / 54. 6.101
> libavdevice 54. 0.100 / 54. 0.100
> libavfilter 2. 78.101 / 2. 78.101
> libswscale 2. 1.100 / 2. 1.100
> libswresample 0. 15.100 / 0. 15.100
> libpostproc 52. 0.100 / 52. 0.100
> [rtsp @ 01e70580] SDP:
> v=0
> o=- 1346318325550197 1346318325550204 IN IP4 127.0.0.1
> s=lowQ
> e=NONE
> c=IN IP4 0.0.0.0
> b=RR:0
> t=0 0
> a=control:*
> m=video 0 RTP/AVP 96
> b=AS:100
> a=framerate:5
> a=rtpmap:96 H264/90000
> a=fmtp:96 profile-level-id=42001e;
> sprop-parameter-sets=Z0IAHqtAWB7I,aM44gA==; packetization-mode=1
> a=control:trackID=1
> m=control 0 RTP/AVP 98
> a=rtpmap:98 X-HREF/90000
> a=control:trackID=2
> m=audio 0 RTP/AVP 0
> b=AS:64
> a=rtpmap:0 PCMU/8000
> a=control:trackID=3
>
> [rtsp @ 01e70580] video codec set to: h264
> [NULL @ 01e789a0] RTP Profile IDC: 42 Profile IOP: 0 Level: 1e
> [NULL @ 01e789a0] Extradata set to 01e78e00 (size: 21)!
> [NULL @ 01e789a0] RTP Packetization Mode: 1
> [rtsp @ 01e70580] audio codec set to: pcm_mulaw
> [rtsp @ 01e70580] audio samplerate set to: 8000
> [rtsp @ 01e70580] audio channels set to: 1
> [rtsp @ 01e70580] hello state=0
> [h264 @ 01e789a0] Missing reference picture
> [h264 @ 01e789a0] decode_slice_header error
> [h264 @ 01e789a0] concealing 1320 DC, 1320 AC, 1320 MV errors
> [rtsp @ 01e70580] All info found
> rfps: 5.000000 0.004265
> rfps: 5.083333 0.004937
> rfps: 10.000000 0.017062
> rfps: 10.083333 0.009311
> rfps: 10.166667 0.019748
> rfps: 19.833333 0.011241
> rfps: 19.916667 0.011828
> rfps: 24.833333 0.010190
> Last message repeated 1 times
> rfps: 24.916667 0.002354
> rfps: 25.000000 0.012707
> Last message repeated 1 times
> rfps: 29.833333 0.017670
> Last message repeated 1 times
> rfps: 29.916667 0.001411
> Last message repeated 1 times
> rfps: 30.000000 0.003341
> Last message repeated 1 times
> rfps: 34.916667 0.008999
> Last message repeated 1 times
> rfps: 35.000000 0.002506
> rfps: 35.083333 0.014202
> Last message repeated 1 times
> rfps: 40.000000 0.010202
> rfps: 40.083333 0.013476
> rfps: 49.750000 0.015994
> rfps: 49.833333 0.009416
> rfps: 54.750000 0.018265
> Last message repeated 1 times
> rfps: 54.833333 0.003264
> rfps: 54.916667 0.006453
> Last message repeated 1 times
> rfps: 59.833333 0.005644
> Last message repeated 1 times
> rfps: 59.916667 0.000410
> Last message repeated 1 times
> rfps: 29.970030 0.000552
> Last message repeated 1 times
> rfps: 59.940060 0.002210
> Last message repeated 1 times
> [rtsp @ 01e70580] Estimating duration from bitrate, this may be inaccurate
> Input #0, rtsp, from 'rtsp://lab:9553/lowQ.sdp':
> Metadata:
> title : lowQ
> Duration: N/A, start: 0.000000, bitrate: 64 kb/s
> Stream #0:0, 22, 1/90000: Video: h264 (Baseline), yuv420p, 704x480,
> 1/180000, 59.92 tbr, 90k tbn, 180k tbc
> Stream #0:1, 111, 1/8000: Audio: pcm_mulaw, 8000 Hz, 1 channels, s16,
> 64 kb/s
> [h264 @ 01e789a0] detected 4 logical cores
Thanks,
Mark.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120830/995e6e9a/attachment.html>
More information about the Libav-user
mailing list