[FFmpeg-user] Use ffmpeg to convert a RTSP stream to a RTMP stream but it has the Error message "Error while opening decoder for input stream #0:0 : Invalid data found when processing input"
ken
kenchanmc at gmail.com
Mon Oct 30 05:41:17 EET 2017
I am using ffmpeg to convert a RTSP stream to a RTMP stream. The RMTP stream
will then be feeded into Wowza Streaming Engine. I have no ideas why it
works very good on one server but fails on another server. Both servers are
in different networks but both are Window Server 2012, have the same ffmpeg
version, convert the same RTSP stream, but one fails with the error message
"Error while opening decoder for input stream #0:0 : Invalid data found when
processing input"
The ffmpeg command I used is :
/ffmpeg -v debug -r 7 -i "rtsp://rtsp-stream-source-server/someRtspStream"
-frame rate 7 -video_size 800x592 -vcodec libx264 -preset veryfast -maxrate
750k -bufsize 1500k -tune zerolatency -g 14 -an -r 7 -f flv
rtmp://wowza-server:1935/app/stream1/
I compare both ffmpeg debug messages in both cases and notice the following
differences/behaviours :
1. For the success case , ffmpeg first open rtsp stream using UDP, but UDP
timeout, then it retries with TCP.For the failure case, it seems that it
success with UDP and no need to retry with TCP.
2. When ffmpeg successfully open a RTSP stream , the following information
is printed out for the success case
/Input #0, rtsp, from 'rtsp://rtsp-stream-source-server/someRtspStream':
Metadata:
title : Unnamed
comment : N/A
Duration: N/A, start: 0.151889, bitrate: N/A
Stream #0:0, 53, 1/90000: Video: h264 (Main), 1 reference frame,
yuvj420p(pc, bt709, progressive, center), 800x600 (800x608) [SAR 1:1 DA
R 4:3], 0/1, 6.58 tbr, 90k tbn, 180k tbc
Successfully opened the file./
And for the failure case , the following information is printed out :
/Input #0, rtsp, from 'rtsp://rtsp-stream-source-server/someRtspStream':
Metadata:
title : Unnamed
comment : N/A
Duration: N/A, start: 0.151944, bitrate: N/A
Stream #0:0, 28, 1/90000: Video: h264 (Main), 1 reference frame,
yuvj420p(pc, bt709, progressive, center), 800x600 (800x608) [SAR 1:1 DA
R 4:3], 0/1, 6.67 tbr, 90k tbn, 180k tbc
Successfully opened the file./
Please note that the number after "Stream #0:0" is difference
3. In the "Stream mapping" process , the failure case has the following
error messages .Then ffmpeg process stops:
/detected 4 logical cores
[h264 @ 0000000001c2a9a0] nal_unit_type: 8, nal_ref_idc: 3
[h264 @ 0000000001c2a9a0] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0000000001c2a9a0] nal_unit_type: 8, nal_ref_idc: 3
[h264 @ 0000000001c2a9a0] sps_id 0 out of range
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Error while opening decoder for input stream #0:0 : Invalid data found when
processing input/
Do you have any ideas for the failure cases and how can I troubleshoot it?
Below is the full debug message for both cases for the information:
Success Case
ffmpeg version N-87257-g8e17cd2 Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 7.1.0 (GCC)
configuration: --disable-static --enable-shared --enable-gpl
--enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va
--enable-dxva
2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib
--enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enabl
e-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc
--enable
-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg
--enable-lib
opus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex
--enable-libtheora --enable-libtwolame --enable-libvidstab --ena
ble-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxav
s --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
libavutil 55. 74.100 / 55. 74.100
libavcodec 57.105.100 / 57.105.100
libavformat 57. 82.100 / 57. 82.100
libavdevice 57. 8.100 / 57. 8.100
libavfilter 6.105.100 / 6.105.100
libswscale 4. 7.103 / 4. 7.103
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with
argument 'debug'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value,
fraction or abbreviation)) with argument '7'.
Reading option '-i' ... matched as input url with argument
'rtsp://rtsp-stream-source-server/someRtspStream'.
Reading option '-framerate' ... matched as AVOption 'framerate' with
argument '7'.
Reading option '-video_size' ... matched as AVOption 'video_size' with
argument '800x592'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec
('copy' to copy stream)) with argument 'libx264'.
Reading option '-preset' ... matched as AVOption 'preset' with argument
'veryfast'.
Reading option '-maxrate' ... matched as AVOption 'maxrate' with argument
'750k'.
Reading option '-bufsize' ... matched as AVOption 'bufsize' with argument
'1500k'.
Reading option '-tune' ... matched as AVOption 'tune' with argument
'zerolatency'.
Reading option '-g' ... matched as AVOption 'g' with argument '14'.
Reading option '-an' ... matched as option 'an' (disable audio) with
argument '1'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value,
fraction or abbreviation)) with argument '7'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'flv'.
Reading option 'rtmp://wowza-server:1935/app/stream1' ... matched as output
url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url
rtsp://rtsp-stream-source-server/someRtspStream.
Applying option r (set frame rate (Hz value, fraction or abbreviation)) with
argument 7.
Successfully parsed a group of options.
Opening an input file: rtsp://rtsp-stream-source-server/someRtspStream.
[tcp @ 0000000000298740] No default whitelist set
[rtsp @ 0000000001bbb880] SDP:
v=0
o=- 1509095634684735 1 IN IP4 192.168.63.139
s=Unnamed
i=N/A
t=0 0
a=tool:LIVE555 Streaming Media v2011.08.20
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:Unnamed
a=x-qt-text-inf:N/A
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:15000
a=rtpmap:96 H264/90000
a=control:track1
Failed to parse interval end specification ''
[rtsp @ 0000000001bbb880] video codec set to: h264
[rtp @ 0000000000298b20] No default whitelist set
[udp @ 0000000000298be0] No default whitelist set
[udp @ 0000000000298be0] 'circular_buffer_size' option was set but it is not
supported on this build (pthread support is required)
[udp @ 0000000000298be0] end receive buffer size reported is 65536
[udp @ 0000000001bccf40] No default whitelist set
[udp @ 0000000001bccf40] 'circular_buffer_size' option was set but it is not
supported on this build (pthread support is required)
[udp @ 0000000001bccf40] end receive buffer size reported is 65536
[rtsp @ 0000000001bbb880] setting jitter buffer size to 500
[rtsp @ 0000000001bbb880] hello state=0
Failed to parse interval end specification ''
[rtsp @ 0000000001bbb880] UDP timeout, retrying with TCP
[rtsp @ 0000000001bbb880] setting jitter buffer size to 0
[rtsp @ 0000000001bbb880] hello state=0
Failed to parse interval end specification ''
[h264 @ 0000000000298fe0] sps_id 0 out of range
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[AVBSFContext @ 000000000029ce80] nal_unit_type: 8, nal_ref_idc: 3
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[AVBSFContext @ 000000000029ce80] nal_unit_type: 5, nal_ref_idc: 3
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 8, nal_ref_idc: 3
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 5, nal_ref_idc: 3
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] sps_id 0 out of range
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[AVBSFContext @ 000000000029ce80] nal_unit_type: 1, nal_ref_idc: 2
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] non-existing PPS 0 referenced
[h264 @ 0000000000298fe0] decode_slice_header error
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] no frame!
[AVBSFContext @ 000000000029ce80] nal_unit_type: 7, nal_ref_idc: 3
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[AVBSFContext @ 000000000029ce80] nal_unit_type: 8, nal_ref_idc: 3
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[AVBSFContext @ 000000000029ce80] nal_unit_type: 5, nal_ref_idc: 3
[AVBSFContext @ 000000000029ce80] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 8, nal_ref_idc: 3
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] nal_unit_type: 5, nal_ref_idc: 3
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
Last message repeated 1 times
[h264 @ 0000000000298fe0] Reinit context to 800x608, pix_fmt: yuvj420p
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000000298fe0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000000298fe0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000000298fe0] Unknown NAL code: 0 (0 bits)
[rtsp @ 0000000001bbb880] All info found
[rtsp @ 0000000001bbb880] rfps: 6.500000 0.008913
Last message repeated 1 times
[rtsp @ 0000000001bbb880] rfps: 6.583333 0.002391
Last message repeated 1 times
[rtsp @ 0000000001bbb880] rfps: 6.666667 0.006493
Last message repeated 1 times
[rtsp @ 0000000001bbb880] rfps: 13.083333 0.017296
[rtsp @ 0000000001bbb880] rfps: 13.166667 0.009564
[rtsp @ 0000000001bbb880] rfps: 13.250000 0.012455
Input #0, rtsp, from 'rtsp://rtsp-stream-source-server/someRtspStream':
Metadata:
title : Unnamed
comment : N/A
Duration: N/A, start: 0.151889, bitrate: N/A
Stream #0:0, 53, 1/90000: Video: h264 (Main), 1 reference frame,
yuvj420p(pc, bt709, progressive, center), 800x600 (800x608) [SAR 1:1 DA
R 4:3], 0/1, 6.58 tbr, 90k tbn, 180k tbc
Successfully opened the file.
Parsing a group of options: output url rtmp://wowza-server:1935/app/stream1.
Applying option vcodec (force video codec ('copy' to copy stream)) with
argument libx264.
Applying option an (disable audio) with argument 1.
Applying option r (set frame rate (Hz value, fraction or abbreviation)) with
argument 7.
Applying option f (force format) with argument flv.
Successfully parsed a group of options.
Opening an output file: rtmp://wowza-server:1935/app/stream1.
[rtmp @ 000000000029ac60] No default whitelist set
Parsing...
Parsed protocol: 0
Parsed host : 192.168.4.2
Parsed app : vdc
RTMP_Connect1, ... connected, handshaking
HandShake: Type Answer : 03
HandShake: Server Uptime : 96850052
HandShake: FMS Version : 3.0.1.1
HandShake: Handshaking finished....
RTMP_Connect1, handshaked
RTMP_SendPacket: fd=360, size=90
0000: 03 00 00 00 00 00 5a 14 00 00 00 00 ......Z.....
0000: 02 00 07 63 6f 6e 6e 65 63 74 00 3f f0 00 00 00 ...connect.?....
0010: 00 00 00 03 00 03 61 70 70 02 00 03 76 64 63 00 ......app...vdc.
0020: 04 74 79 70 65 02 00 0a 6e 6f 6e 70 72 69 76 61 .type...nonpriva
0030: 74 65 00 05 74 63 55 72 6c 02 00 1b 72 74 6d 70 te..tcUrl...rtmp
0040: 3a 2f 2f 31 39 32 2e 31 36 38 2e 34 2e 32 3a 31 ://192.168.4.2:1
0050: 39 33 35 2f 76 64 63 00 00 09 935/vdc...
Invoking connect
RTMP_ReadPacket: fd=360
0000: 02 00 00 00 00 00 04 05 00 00 00 00 ............
0000: 00 26 25 a0 .&%.
HandleServerBW: server BW = 2500000
RTMP_ReadPacket: fd=360
0000: 02 00 00 00 00 00 05 06 00 00 00 00 ............
0000: 00 26 25 a0 02 .&%..
HandleClientBW: client BW = 2500000 2
RTMP_ReadPacket: fd=360
0000: 02 00 00 00 00 00 06 04 00 00 00 00 ............
0000: 00 00 00 00 00 00 ......
HandleCtrl, received ctrl. type: 0, len: 6
HandleCtrl, Stream Begin 0
RTMP_ReadPacket: fd=360
0000: 02 00 00 00 00 00 04 01 00 00 00 00 ............
0000: 00 00 02 00 ....
HandleChangeChunkSize, received: chunk size change to 512
RTMP_ReadPacket: fd=360
0000: 03 00 00 00 00 01 05 14 00 00 00 00 ............
0000: 02 00 07 5f 72 65 73 75 6c 74 00 3f f0 00 00 00 ..._result.?....
0010: 00 00 00 03 00 06 66 6d 73 56 65 72 02 00 0e 46 ......fmsVer...F
0020: 4d 53 2f 33 2c 35 2c 37 2c 37 30 30 39 00 0c 63 MS/3,5,7,7009..c
0030: 61 70 61 62 69 6c 69 74 69 65 73 00 40 3f 00 00 apabilities.@?..
0040: 00 00 00 00 00 04 6d 6f 64 65 00 3f f0 00 00 00 ......mode.?....
0050: 00 00 00 00 00 09 03 00 05 6c 65 76 65 6c 02 00 .........level..
0060: 06 73 74 61 74 75 73 00 04 63 6f 64 65 02 00 1d .status..code...
0070: 4e 65 74 43 6f 6e 6e 65 63 74 69 6f 6e 2e 43 6f NetConnection.Co
0080: 6e 6e 65 63 74 2e 53 75 63 63 65 73 73 00 0b 64 nnect.Success..d
0090: 65 73 63 72 69 70 74 69 6f 6e 02 00 15 43 6f 6e escription...Con
00a0: 6e 65 63 74 69 6f 6e 20 73 75 63 63 65 65 64 65 nection succeede
00b0: 64 2e 00 04 64 61 74 61 08 00 00 00 00 00 07 76 d...data.......v
00c0: 65 72 73 69 6f 6e 02 00 0a 33 2c 35 2c 37 2c 37 ersion...3,5,7,7
00d0: 30 30 39 00 00 09 00 08 63 6c 69 65 6e 74 69 64 009.....clientid
00e0: 00 41 c4 4c f7 6c 80 00 00 00 0e 6f 62 6a 65 63 .A.L.l.....objec
00f0: 74 45 6e 63 6f 64 69 6e 67 00 00 00 00 00 00 00 tEncoding.......
0100: 00 00 00 00 09 .....
RTMP_ClientPacket, received: invoke 261 bytes
(object begin)
Property: <Name: no-name., STRING: _result>
Property: <Name: no-name., NUMBER: 1.00>
Property: <Name: no-name., OBJECT>
(object begin)
Property: <Name: fmsVer, STRING: FMS/3,5,7,7009>
Property: <Name: capabilities, NUMBER: 31.00>
Property: <Name: mode, NUMBER: 1.00>
(object end)
Property: <Name: no-name., OBJECT>
(object begin)
Property: <Name: level, STRING: status>
Property: <Name: code, STRING:
NetConnection.Connect.Success>
Property: <Name: description, STRING: Connection succeeded.>
Property: <Name: data, ECMA_ARRAY>
(object begin)
Property: <Name: version, STRING: 3,5,7,7009>
(object end)
Property: <Name: clientid, NUMBER: 681176793.00>
Property: <Name: objectEncoding, NUMBER: 0.00>
(object end)
(object end)
HandleInvoke, server invoking <_result>
HandleInvoke, received result for method call <connect>
RTMP_SendPacket: fd=360, size=32
0000: 43 00 00 00 00 00 20 14 C..... .
0000: 02 00 0d 72 65 6c 65 61 73 65 53 74 72 65 61 6d ...releaseStream
0010: 00 40 00 00 00 00 00 00 00 05 02 00 03 6e 74 74 . at ...........ntt
Invoking releaseStream
RTMP_SendPacket: fd=360, size=28
0000: 43 00 00 00 00 00 1c 14 C.......
0000: 02 00 09 46 43 50 75 62 6c 69 73 68 00 40 08 00 ...FCPublish. at ..
0010: 00 00 00 00 00 05 02 00 03 6e 74 74 .........ntt
Invoking FCPublish
RTMP_SendPacket: fd=360, size=25
0000: 43 00 00 00 00 00 19 14 C.......
0000: 02 00 0c 63 72 65 61 74 65 53 74 72 65 61 6d 00 ...createStream.
0010: 40 10 00 00 00 00 00 00 05 @........
Invoking createStream
RTMP_ReadPacket: fd=360
0000: 03 00 00 00 00 00 87 14 00 00 00 00 ............
0000: 02 00 0b 6f 6e 46 43 50 75 62 6c 69 73 68 00 00 ...onFCPublish..
0010: 00 00 00 00 00 00 00 05 03 00 05 6c 65 76 65 6c ...........level
0020: 02 00 06 73 74 61 74 75 73 00 04 63 6f 64 65 02 ...status..code.
0030: 00 17 4e 65 74 53 74 72 65 61 6d 2e 50 75 62 6c ..NetStream.Publ
0040: 69 73 68 2e 53 74 61 72 74 00 0b 64 65 73 63 72 ish.Start..descr
0050: 69 70 74 69 6f 6e 02 00 18 46 43 50 75 62 6c 69 iption...FCPubli
0060: 73 68 20 74 6f 20 73 74 72 65 61 6d 20 6e 74 74 sh to stream ntt
0070: 2e 00 08 63 6c 69 65 6e 74 69 64 00 41 c4 4c f7 ...clientid.A.L.
0080: 6c 80 00 00 00 00 09 l......
RTMP_ClientPacket, received: invoke 135 bytes
(object begin)
Property: <Name: no-name., STRING: onFCPublish>
Property: <Name: no-name., NUMBER: 0.00>
Property: NULL
Property: <Name: no-name., OBJECT>
(object begin)
Property: <Name: level, STRING: status>
Property: <Name: code, STRING: NetStream.Publish.Start>
Property: <Name: description, STRING: FCPublish to stream ntt.>
Property: <Name: clientid, NUMBER: 681176793.00>
(object end)
(object end)
HandleInvoke, server invoking <onFCPublish>
RTMP_ReadPacket: fd=360
0000: 03 00 00 00 00 00 1d 14 00 00 00 00 ............
0000: 02 00 07 5f 72 65 73 75 6c 74 00 40 10 00 00 00 ..._result. at ....
0010: 00 00 00 05 00 3f f0 00 00 00 00 00 00 .....?.......
RTMP_ClientPacket, received: invoke 29 bytes
(object begin)
Property: <Name: no-name., STRING: _result>
Property: <Name: no-name., NUMBER: 4.00>
Property: NULL
Property: <Name: no-name., NUMBER: 1.00>
(object end)
HandleInvoke, server invoking <_result>
HandleInvoke, received result for method call <createStream>
RTMP_SendPacket: fd=360, size=33
0000: 04 00 00 00 00 00 21 14 01 00 00 00 ......!.....
0000: 02 00 07 70 75 62 6c 69 73 68 00 40 14 00 00 00 ...publish. at ....
0010: 00 00 00 05 02 00 03 6e 74 74 02 00 04 6c 69 76 .......ntt...liv
0020: 65 e
Invoking publish
RTMP_ReadPacket: fd=360
0000: 02 00 00 00 00 00 06 04 00 00 00 00 ............
0000: 00 00 00 00 00 01 ......
HandleCtrl, received ctrl. type: 0, len: 6
HandleCtrl, Stream Begin 1
RTMP_ReadPacket: fd=360
0000: 03 00 00 00 00 00 7b 14 01 00 00 00 ......{.....
0000: 02 00 08 6f 6e 53 74 61 74 75 73 00 00 00 00 00 ...onStatus.....
0010: 00 00 00 00 05 03 00 05 6c 65 76 65 6c 02 00 06 ........level...
0020: 73 74 61 74 75 73 00 04 63 6f 64 65 02 00 17 4e status..code...N
0030: 65 74 53 74 72 65 61 6d 2e 50 75 62 6c 69 73 68 etStream.Publish
0040: 2e 53 74 61 72 74 00 0b 64 65 73 63 72 69 70 74 .Start..descript
0050: 69 6f 6e 02 00 0f 50 75 62 6c 69 73 68 69 6e 67 ion...Publishing
0060: 20 6e 74 74 2e 00 08 63 6c 69 65 6e 74 69 64 00 ntt...clientid.
0070: 41 c4 4c f7 6c 80 00 00 00 00 09 A.L.l......
RTMP_ClientPacket, received: invoke 123 bytes
(object begin)
Property: <Name: no-name., STRING: onStatus>
Property: <Name: no-name., NUMBER: 0.00>
Property: NULL
Property: <Name: no-name., OBJECT>
(object begin)
Property: <Name: level, STRING: status>
Property: <Name: code, STRING: NetStream.Publish.Start>
Property: <Name: description, STRING: Publishing ntt.>
Property: <Name: clientid, NUMBER: 681176793.00>
(object end)
(object end)
HandleInvoke, server invoking <onStatus>
HandleInvoke, onStatus: NetStream.Publish.Start
Successfully opened the file.
detected 4 logical cores
[h264 @ 0000000001bba820] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0000000001bba820] nal_unit_type: 8, nal_ref_idc: 3
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
Last message repeated 1 times
[h264 @ 0000000001bba820] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000001bba820] nal_unit_type: 8, nal_ref_idc: 3
[h264 @ 0000000001bba820] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000001bba820] nal_unit_type: 5, nal_ref_idc: 3
[h264 @ 0000000001bba820] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000001bba820] Unknown NAL code: 0 (0 bits)
Last message repeated 1 times
[h264 @ 0000000001bba820] Reinit context to 800x608, pix_fmt: yuvj420p
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
[h264 @ 0000000001bdcae0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000001bdcae0] nal_unit_type: 0, nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
[h264 @ 0000000001bf2600] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000001bf2600] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000001bba820] [h264 @ 0000000001bdcae0] Unknown NAL code: 0 (0
bits)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
Unknown NAL code: 0 (0 bits)
[h264 @ 0000000001bf2da0] [h264 @ 0000000001bf2600] nal_unit_type: 1,
nal_ref_idc: 2
Unknown NAL code: 0 (0 bits)
[h264 @ 0000000001bf2da0] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 0000000001c382a0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0000000001bf2da0] Unknown NAL code: 0 (0 bits)
[h264 @ 0000000001c382a0] nal_unit_type: 0, nal_ref_idc: 0
[graph 0 input from stream 0:0 @ 000000000029ed60] Setting 'video_size' to
value '800x600'
[graph 0 input from stream 0:0 @ 000000000029ed60] Setting 'pix_fmt' to
value '12'
[h264 @ 0000000001c382a0] Unknown NAL code: 0 (0 bits)
[graph 0 input from stream 0:0 @ 000000000029ed60] Setting 'time_base' to
value '1/7'
[graph 0 input from stream 0:0 @ 000000000029ed60] Setting 'pixel_aspect' to
value '1/1'
[graph 0 input from stream 0:0 @ 000000000029ed60] Setting 'sws_param' to
value 'flags=2'
[graph 0 input from stream 0:0 @ 000000000029ed60] Setting 'frame_rate' to
value '7/1'
[graph 0 input from stream 0:0 @ 000000000029ed60] w:800 h:600
pixfmt:yuvj420p tb:1/7 fr:7/1 sar:1/1 sws_param:flags=2
[format @ 0000000001bdd280] compat: called with
args=[yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21]
[format @ 0000000001bdd280] Setting 'pix_fmts' to value
'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21'
[AVFilterGraph @ 00000000024f8e80] query_formats: 4 queried, 3 merged, 0
already done, 0 delayed
[libx264 @ 0000000002310560] using SAR=1/1
[libx264 @ 0000000002310560] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX FMA3
[libx264 @ 0000000002310560] profile High, level 3.1
[libx264 @ 0000000002310560] 264 - core 152 r2851 ba24899 - H.264/MPEG-4 AVC
codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html
- options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=2
psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0
8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4
lookahead_threads=4 sliced_threads=1 slices=4 nr=0 decimate=1 inter
laced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=1 keyint=14
keyint_min=1 scenecut=40 intra_refresh=0 rc_lookahead=0 rc=crf mbt
ree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=750
vbv_bufsize=1500 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.
00
RTMP_SendPacket: fd=360, size=232
0000: 04 00 00 00 00 00 e8 12 01 00 00 00 ............
0000: 02 00 0d 40 73 65 74 44 61 74 61 46 72 61 6d 65 ... at setDataFrame
0010: 02 00 0a 6f 6e 4d 65 74 61 44 61 74 61 08 00 00 ...onMetaData...
0020: 00 0a 00 08 64 75 72 61 74 69 6f 6e 00 00 00 00 ....duration....
0030: 00 00 00 00 00 00 05 77 69 64 74 68 00 40 89 00 .......width. at ..
0040: 00 00 00 00 00 00 06 68 65 69 67 68 74 00 40 82 .......height. at .
0050: c0 00 00 00 00 00 00 0d 76 69 64 65 6f 64 61 74 ........videodat
0060: 61 72 61 74 65 00 00 00 00 00 00 00 00 00 00 09 arate...........
0070: 66 72 61 6d 65 72 61 74 65 00 40 1c 00 00 00 00 framerate. at .....
0000: c4 .
0000: 00 00 00 0c 76 69 64 65 6f 63 6f 64 65 63 69 64 ....videocodecid
0010: 00 40 1c 00 00 00 00 00 00 00 05 74 69 74 6c 65 . at .........title
0020: 02 00 07 55 6e 6e 61 6d 65 64 00 07 63 6f 6d 6d ...Unnamed..comm
0030: 65 6e 74 02 00 03 4e 2f 41 00 07 65 6e 63 6f 64 ent...N/A..encod
0040: 65 72 02 00 0d 4c 61 76 66 35 37 2e 38 32 2e 31 er...Lavf57.82.1
0050: 30 30 00 08 66 69 6c 65 73 69 7a 65 00 00 00 00 00..filesize....
0060: 00 00 00 00 00 00 00 09 ........
RTMP_SendPacket: fd=360, size=46
0000: 04 00 00 00 00 00 2e 09 01 00 00 00 ............
0000: 17 00 00 00 00 01 64 00 1f ff e1 00 1a 67 64 00 ......d......gd.
0010: 1f ac b4 06 40 9b f2 e0 2d 90 00 00 03 00 10 00 .... at ...-.......
0020: 00 03 00 e8 f1 83 2a 01 00 04 68 ef 0f cb ......*...h...
Output #0, flv, to 'rtmp://wowza-server:1935/app/stream1':
Metadata:
title : Unnamed
comment : N/A
encoder : Lavf57.82.100
Stream #0:0, 0, 1/1000: Video: h264 (libx264), 1 reference frame
([7][0][0][0] / 0x0007), yuvj420p(pc, center), 800x600 [SAR 1:1 DAR 4:3
], 0/1, q=-1--1, 7 fps, 1k tbn, 7 tbc
Metadata:
encoder : Lavc57.105.100 libx264
Side data:
cpb: bitrate max/min/avg: 750000/0/0 buffer size: 1500000 vbv_delay:
-1
Clipping frame in rate conversion by 0.000008
[libx264 @ 0000000002310560] frame= 0 QP=20.33 NAL=3 Slice:I Poc:0
I:1900 P:0 SKIP:0 size=39956 bytes
RTMP_SendPacket: fd=360, size=40665
0000: 04 00 00 00 00 9e d9 09 01 00 00 00 ............
0000: 17 01 00 00 00 00 00 02 b9 06 05 ff ff b5 dc 45 ...............E
0010: e9 bd e6 d9 48 b7 96 2c d8 20 d9 23 ee ef 78 32 ....H..,. .#..x2
0020: 36 34 20 2d 20 63 6f 72 65 20 31 35 32 20 72 32 64 - core 152 r2
0030: 38 35 31 20 62 61 32 34 38 39 39 20 2d 20 48 2e 851 ba24899 - H.
0040: 32 36 34 2f 4d 50 45 47 2d 34 20 41 56 43 20 63 264/MPEG-4 AVC c
0050: 6f 64 65 63 20 2d 20 43 6f 70 79 6c 65 66 74 20 odec - Copyleft
0060: 32 30 30 33 2d 32 30 31 37 20 2d 20 68 74 74 70 2003-2017 - http
0070: 3a 2f 2f 77 77 77 2e 76 69 64 65 6f 6c 61 6e 2e ://www.videolan.
0000: c4 .
0000: 6f 72 67 2f 78 32 36 34 2e 68 74 6d 6c 20 2d 20 org/x264.html -
0010: 6f 70 74 69 6f 6e 73 3a 20 63 61 62 61 63 3d 31 options: cabac=1
0020: 20 72 65 66 3d 31 20 64 65 62 6c 6f 63 6b 3d 31 ref=1 deblock=1
0030: 3a 30 3a 30 20 61 6e 61 6c 79 73 65 3d 30 78 33 :0:0 analyse=0x3
0040: 3a 30 78 31 31 33 20 6d 65 3d 68 65 78 20 73 75 :0x113 me=hex su
0050: 62 6d 65 3d 32 20 70 73 79 3d 31 20 70 73 79 5f bme=2 psy=1 psy_
0060: 72 64 3d 31 2e 30 30 3a 30 2e 30 30 20 6d 69 78 rd=1.00:0.00 mix
0070: 65 64 5f 72 65 66 3d 30 20 6d 65 5f 72 61 6e 67 ed_ref=0 me_rang
Failure Case
ffmpeg version N-87257-g8e17cd2 Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 7.1.0 (GCC)
configuration: --disable-static --enable-shared --enable-gpl
--enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va
--enable-dxva
2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib
--enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enabl
e-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc
--enable
-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg
--enable-lib
opus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex
--enable-libtheora --enable-libtwolame --enable-libvidstab --ena
ble-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxav
s --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
libavutil 55. 74.100 / 55. 74.100
libavcodec 57.105.100 / 57.105.100
libavformat 57. 82.100 / 57. 82.100
libavdevice 57. 8.100 / 57. 8.100
libavfilter 6.105.100 / 6.105.100
libswscale 4. 7.103 / 4. 7.103
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with
argument 'debug'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value,
fraction or abbreviation)) with argument '7'.
Reading option '-i' ... matched as input url with argument
'rtsp://rtsp-stream-source-server/someRtspStream'.
Reading option '-framerate' ... matched as AVOption 'framerate' with
argument '7'.
Reading option '-video_size' ... matched as AVOption 'video_size' with
argument '800x592'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec
('copy' to copy stream)) with argument 'libx264'.
Reading option '-preset' ... matched as AVOption 'preset' with argument
'veryfast'.
Reading option '-maxrate' ... matched as AVOption 'maxrate' with argument
'750k'.
Reading option '-bufsize' ... matched as AVOption 'bufsize' with argument
'1500k'.
Reading option '-tune' ... matched as AVOption 'tune' with argument
'zerolatency'.
Reading option '-g' ... matched as AVOption 'g' with argument '14'.
Reading option '-an' ... matched as option 'an' (disable audio) with
argument '1'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value,
fraction or abbreviation)) with argument '7'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'flv'.
Reading option 'rtmp://wowza-server:1935/app/stream1' ... matched as output
url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url
rtsp://rtsp-stream-source-server/someRtspStream.
Applying option r (set frame rate (Hz value, fraction or abbreviation)) with
argument 7.
Successfully parsed a group of options.
Opening an input file: rtsp://rtsp-stream-source-server/someRtspStream.
[tcp @ 00000000004b8740] No default whitelist set
[rtsp @ 0000000001c2ba00] SDP:
v=0
o=- 1509095634684735 1 IN IP4 192.168.63.139
s=Unnamed
i=N/A
t=0 0
a=tool:LIVE555 Streaming Media v2011.08.20
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:Unnamed
a=x-qt-text-inf:N/A
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:15000
a=rtpmap:96 H264/90000
a=control:track1
Failed to parse interval end specification ''
[rtsp @ 0000000001c2ba00] video codec set to: h264
[rtp @ 00000000004b8b40] No default whitelist set
[udp @ 00000000004ba420] No default whitelist set
[udp @ 00000000004ba420] 'circular_buffer_size' option was set but it is not
supported on this build (pthread support is required)
[udp @ 00000000004ba420] end receive buffer size reported is 65536
[udp @ 0000000001c3d160] No default whitelist set
[udp @ 0000000001c3d160] 'circular_buffer_size' option was set but it is not
supported on this build (pthread support is required)
[udp @ 0000000001c3d160] end receive buffer size reported is 65536
[rtsp @ 0000000001c2ba00] setting jitter buffer size to 500
[rtsp @ 0000000001c2ba00] hello state=0
Failed to parse interval end specification ''
[h264 @ 00000000004b8d40] sps_id 0 out of range
[AVBSFContext @ 00000000004bd160] nal_unit_type: 0, nal_ref_idc: 0
[AVBSFContext @ 00000000004bd160] nal_unit_type: 8, nal_ref_idc: 3
[AVBSFContext @ 00000000004bd160] nal_unit_type: 0, nal_ref_idc: 0
[AVBSFContext @ 00000000004bd160] nal_unit_type: 7, nal_ref_idc: 3
[AVBSFContext @ 00000000004bd160] nal_unit_type: 0, nal_ref_idc: 0
[AVBSFContext @ 00000000004bd160] nal_unit_type: 8, nal_ref_idc: 3
[AVBSFContext @ 00000000004bd160] nal_unit_type: 0, nal_ref_idc: 0
[AVBSFContext @ 00000000004bd160] nal_unit_type: 5, nal_ref_idc: 3
[AVBSFContext @ 00000000004bd160] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 00000000004b8d40] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 00000000004b8d40] nal_unit_type: 8, nal_ref_idc: 3
[h264 @ 00000000004b8d40] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 00000000004b8d40] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 00000000004b8d40] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 00000000004b8d40] nal_unit_type: 8, nal_ref_idc: 3
[h264 @ 00000000004b8d40] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 00000000004b8d40] nal_unit_type: 5, nal_ref_idc: 3
[h264 @ 00000000004b8d40] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 00000000004b8d40] Unknown NAL code: 0 (0 bits)
[h264 @ 00000000004b8d40] sps_id 0 out of range
[h264 @ 00000000004b8d40] Unknown NAL code: 0 (0 bits)
Last message repeated 2 times
[h264 @ 00000000004b8d40] Reinit context to 800x608, pix_fmt: yuvj420p
[h264 @ 00000000004b8d40] Unknown NAL code: 0 (0 bits)
[h264 @ 00000000004b8d40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 00000000004b8d40] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 00000000004b8d40] Unknown NAL code: 0 (0 bits)
[h264 @ 00000000004b8d40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 00000000004b8d40] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 00000000004b8d40] Unknown NAL code: 0 (0 bits)
[h264 @ 00000000004b8d40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 00000000004b8d40] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 00000000004b8d40] Unknown NAL code: 0 (0 bits)
[h264 @ 00000000004b8d40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 00000000004b8d40] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 00000000004b8d40] Unknown NAL code: 0 (0 bits)
[h264 @ 00000000004b8d40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 00000000004b8d40] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 00000000004b8d40] Unknown NAL code: 0 (0 bits)
[h264 @ 00000000004b8d40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 00000000004b8d40] nal_unit_type: 0, nal_ref_idc: 0
[h264 @ 00000000004b8d40] Unknown NAL code: 0 (0 bits)
[rtsp @ 0000000001c2ba00] All info found
[rtsp @ 0000000001c2ba00] rfps: 6.500000 0.018292
[rtsp @ 0000000001c2ba00] rfps: 6.583333 0.006178
Last message repeated 1 times
[rtsp @ 0000000001c2ba00] rfps: 6.666667 0.004542
[rtsp @ 0000000001c2ba00] rfps: 6.750000 0.013386
[rtsp @ 0000000001c2ba00] rfps: 13.250000 0.016201
[rtsp @ 0000000001c2ba00] rfps: 13.333333 0.018170
Input #0, rtsp, from 'rtsp://rtsp-stream-source-server/someRtspStream':
Metadata:
title : Unnamed
comment : N/A
Duration: N/A, start: 0.151944, bitrate: N/A
Stream #0:0, 28, 1/90000: Video: h264 (Main), 1 reference frame,
yuvj420p(pc, bt709, progressive, center), 800x600 (800x608) [SAR 1:1 DA
R 4:3], 0/1, 6.67 tbr, 90k tbn, 180k tbc
Successfully opened the file.
Parsing a group of options: output url rtmp://wowza-server:1935/app/stream1.
Applying option vcodec (force video codec ('copy' to copy stream)) with
argument libx264.
Applying option an (disable audio) with argument 1.
Applying option r (set frame rate (Hz value, fraction or abbreviation)) with
argument 7.
Applying option f (force format) with argument flv.
Successfully parsed a group of options.
Opening an output file: rtmp://wowza-server:1935/app/stream1.
[rtmp @ 00000000023c0ec0] No default whitelist set
Parsing...
Parsed protocol: 0
Parsed host : 127.0.0.1
Parsed app : vdc
RTMP_Connect1, ... connected, handshaking
HandShake: Type Answer : 03
HandShake: Server Uptime : 96850052
HandShake: FMS Version : 3.0.1.1
HandShake: Handshaking finished....
RTMP_Connect1, handshaked
RTMP_SendPacket: fd=516, size=88
0000: 03 00 00 00 00 00 58 14 00 00 00 00 ......X.....
0000: 02 00 07 63 6f 6e 6e 65 63 74 00 3f f0 00 00 00 ...connect.?....
0010: 00 00 00 03 00 03 61 70 70 02 00 03 76 64 63 00 ......app...vdc.
0020: 04 74 79 70 65 02 00 0a 6e 6f 6e 70 72 69 76 61 .type...nonpriva
0030: 74 65 00 05 74 63 55 72 6c 02 00 19 72 74 6d 70 te..tcUrl...rtmp
0040: 3a 2f 2f 31 32 37 2e 30 2e 30 2e 31 3a 31 39 33 ://127.0.0.1:193
0050: 35 2f 76 64 63 00 00 09 5/vdc...
Invoking connect
RTMP_ReadPacket: fd=516
0000: 02 00 00 00 00 00 04 05 00 00 00 00 ............
0000: 00 26 25 a0 .&%.
HandleServerBW: server BW = 2500000
RTMP_ReadPacket: fd=516
0000: 02 00 00 00 00 00 05 06 00 00 00 00 ............
0000: 00 26 25 a0 02 .&%..
HandleClientBW: client BW = 2500000 2
RTMP_ReadPacket: fd=516
0000: 02 00 00 00 00 00 06 04 00 00 00 00 ............
0000: 00 00 00 00 00 00 ......
HandleCtrl, received ctrl. type: 0, len: 6
HandleCtrl, Stream Begin 0
RTMP_ReadPacket: fd=516
0000: 02 00 00 00 00 00 04 01 00 00 00 00 ............
0000: 00 00 02 00 ....
HandleChangeChunkSize, received: chunk size change to 512
RTMP_ReadPacket: fd=516
0000: 03 00 00 00 00 01 05 14 00 00 00 00 ............
0000: 02 00 07 5f 72 65 73 75 6c 74 00 3f f0 00 00 00 ..._result.?....
0010: 00 00 00 03 00 06 66 6d 73 56 65 72 02 00 0e 46 ......fmsVer...F
0020: 4d 53 2f 33 2c 35 2c 37 2c 37 30 30 39 00 0c 63 MS/3,5,7,7009..c
0030: 61 70 61 62 69 6c 69 74 69 65 73 00 40 3f 00 00 apabilities.@?..
0040: 00 00 00 00 00 04 6d 6f 64 65 00 3f f0 00 00 00 ......mode.?....
0050: 00 00 00 00 00 09 03 00 05 6c 65 76 65 6c 02 00 .........level..
0060: 06 73 74 61 74 75 73 00 04 63 6f 64 65 02 00 1d .status..code...
0070: 4e 65 74 43 6f 6e 6e 65 63 74 69 6f 6e 2e 43 6f NetConnection.Co
0080: 6e 6e 65 63 74 2e 53 75 63 63 65 73 73 00 0b 64 nnect.Success..d
0090: 65 73 63 72 69 70 74 69 6f 6e 02 00 15 43 6f 6e escription...Con
00a0: 6e 65 63 74 69 6f 6e 20 73 75 63 63 65 65 64 65 nection succeede
00b0: 64 2e 00 04 64 61 74 61 08 00 00 00 00 00 07 76 d...data.......v
00c0: 65 72 73 69 6f 6e 02 00 0a 33 2c 35 2c 37 2c 37 ersion...3,5,7,7
00d0: 30 30 39 00 00 09 00 08 63 6c 69 65 6e 74 69 64 009.....clientid
00e0: 00 41 d6 2d 2b 68 80 00 00 00 0e 6f 62 6a 65 63 .A.-+h.....objec
00f0: 74 45 6e 63 6f 64 69 6e 67 00 00 00 00 00 00 00 tEncoding.......
0100: 00 00 00 00 09 .....
RTMP_ClientPacket, received: invoke 261 bytes
(object begin)
Property: <Name: no-name., STRING: _result>
Property: <Name: no-name., NUMBER: 1.00>
Property: <Name: no-name., OBJECT>
(object begin)
Property: <Name: fmsVer, STRING: FMS/3,5,7,7009>
Property: <Name: capabilities, NUMBER: 31.00>
Property: <Name: mode, NUMBER: 1.00>
(object end)
Property: <Name: no-name., OBJECT>
(object begin)
Property: <Name: level, STRING: status>
Property: <Name: code, STRING:
NetConnection.Connect.Success>
Property: <Name: description, STRING: Connection succeeded.>
Property: <Name: data, ECMA_ARRAY>
(object begin)
Property: <Name: version, STRING: 3,5,7,7009>
(object end)
Property: <Name: clientid, NUMBER: 1488235938.00>
Property: <Name: objectEncoding, NUMBER: 0.00>
(object end)
(object end)
HandleInvoke, server invoking <_result>
HandleInvoke, received result for method call <connect>
RTMP_SendPacket: fd=516, size=33
0000: 43 00 00 00 00 00 21 14 C.....!.
0000: 02 00 0d 72 65 6c 65 61 73 65 53 74 72 65 61 6d ...releaseStream
0010: 00 40 00 00 00 00 00 00 00 05 02 00 04 6e 74 74 . at ...........ntt
0020: 31 1
Invoking releaseStream
RTMP_SendPacket: fd=516, size=29
0000: 43 00 00 00 00 00 1d 14 C.......
0000: 02 00 09 46 43 50 75 62 6c 69 73 68 00 40 08 00 ...FCPublish. at ..
0010: 00 00 00 00 00 05 02 00 04 6e 74 74 31 .........ntt1
Invoking FCPublish
RTMP_SendPacket: fd=516, size=25
0000: 43 00 00 00 00 00 19 14 C.......
0000: 02 00 0c 63 72 65 61 74 65 53 74 72 65 61 6d 00 ...createStream.
0010: 40 10 00 00 00 00 00 00 05 @........
Invoking createStream
RTMP_ReadPacket: fd=516
0000: 03 00 00 00 00 00 88 14 00 00 00 00 ............
0000: 02 00 0b 6f 6e 46 43 50 75 62 6c 69 73 68 00 00 ...onFCPublish..
0010: 00 00 00 00 00 00 00 05 03 00 05 6c 65 76 65 6c ...........level
0020: 02 00 06 73 74 61 74 75 73 00 04 63 6f 64 65 02 ...status..code.
0030: 00 17 4e 65 74 53 74 72 65 61 6d 2e 50 75 62 6c ..NetStream.Publ
0040: 69 73 68 2e 53 74 61 72 74 00 0b 64 65 73 63 72 ish.Start..descr
0050: 69 70 74 69 6f 6e 02 00 19 46 43 50 75 62 6c 69 iption...FCPubli
0060: 73 68 20 74 6f 20 73 74 72 65 61 6d 20 6e 74 74 sh to stream ntt
0070: 31 2e 00 08 63 6c 69 65 6e 74 69 64 00 41 d6 2d 1...clientid.A.-
0080: 2b 68 80 00 00 00 00 09 +h......
RTMP_ClientPacket, received: invoke 136 bytes
(object begin)
Property: <Name: no-name., STRING: onFCPublish>
Property: <Name: no-name., NUMBER: 0.00>
Property: NULL
Property: <Name: no-name., OBJECT>
(object begin)
Property: <Name: level, STRING: status>
Property: <Name: code, STRING: NetStream.Publish.Start>
Property: <Name: description, STRING: FCPublish to stream ntt1.>
Property: <Name: clientid, NUMBER: 1488235938.00>
(object end)
(object end)
HandleInvoke, server invoking <onFCPublish>
RTMP_ReadPacket: fd=516
0000: 03 00 00 00 00 00 1d 14 00 00 00 00 ............
0000: 02 00 07 5f 72 65 73 75 6c 74 00 40 10 00 00 00 ..._result. at ....
0010: 00 00 00 05 00 3f f0 00 00 00 00 00 00 .....?.......
RTMP_ClientPacket, received: invoke 29 bytes
(object begin)
Property: <Name: no-name., STRING: _result>
Property: <Name: no-name., NUMBER: 4.00>
Property: NULL
Property: <Name: no-name., NUMBER: 1.00>
(object end)
HandleInvoke, server invoking <_result>
HandleInvoke, received result for method call <createStream>
RTMP_SendPacket: fd=516, size=34
0000: 04 00 00 00 00 00 22 14 01 00 00 00 ......".....
0000: 02 00 07 70 75 62 6c 69 73 68 00 40 14 00 00 00 ...publish. at ....
0010: 00 00 00 05 02 00 04 6e 74 74 31 02 00 04 6c 69 .......ntt1...li
0020: 76 65 ve
Invoking publish
RTMP_ReadPacket: fd=516
0000: 02 00 00 00 00 00 06 04 00 00 00 00 ............
0000: 00 00 00 00 00 01 ......
HandleCtrl, received ctrl. type: 0, len: 6
HandleCtrl, Stream Begin 1
RTMP_ReadPacket: fd=516
0000: 03 00 00 00 00 00 7c 14 01 00 00 00 ......|.....
0000: 02 00 08 6f 6e 53 74 61 74 75 73 00 00 00 00 00 ...onStatus.....
0010: 00 00 00 00 05 03 00 05 6c 65 76 65 6c 02 00 06 ........level...
0020: 73 74 61 74 75 73 00 04 63 6f 64 65 02 00 17 4e status..code...N
0030: 65 74 53 74 72 65 61 6d 2e 50 75 62 6c 69 73 68 etStream.Publish
0040: 2e 53 74 61 72 74 00 0b 64 65 73 63 72 69 70 74 .Start..descript
0050: 69 6f 6e 02 00 10 50 75 62 6c 69 73 68 69 6e 67 ion...Publishing
0060: 20 6e 74 74 31 2e 00 08 63 6c 69 65 6e 74 69 64 ntt1...clientid
0070: 00 41 d6 2d 2b 68 80 00 00 00 00 09 .A.-+h......
RTMP_ClientPacket, received: invoke 124 bytes
(object begin)
Property: <Name: no-name., STRING: onStatus>
Property: <Name: no-name., NUMBER: 0.00>
Property: NULL
Property: <Name: no-name., OBJECT>
(object begin)
Property: <Name: level, STRING: status>
Property: <Name: code, STRING: NetStream.Publish.Start>
Property: <Name: description, STRING: Publishing ntt1.>
Property: <Name: clientid, NUMBER: 1488235938.00>
(object end)
(object end)
HandleInvoke, server invoking <onStatus>
HandleInvoke, onStatus: NetStream.Publish.Start
Successfully opened the file.
detected 4 logical cores
[h264 @ 0000000001c2a9a0] nal_unit_type: 8, nal_ref_idc: 3
[h264 @ 0000000001c2a9a0] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0000000001c2a9a0] nal_unit_type: 8, nal_ref_idc: 3
[h264 @ 0000000001c2a9a0] sps_id 0 out of range
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Error while opening decoder for input stream #0:0 : Invalid data found when
processing input
[AVIOContext @ 000000000239a360] Statistics: 0 seeks, 0 writeouts
RTMP_SendPacket: fd=516, size=31
0000: 43 00 00 00 00 00 1f 14 C.......
0000: 02 00 0b 46 43 55 6e 70 75 62 6c 69 73 68 00 40 ...FCUnpublish.@
0010: 18 00 00 00 00 00 00 05 02 00 04 6e 74 74 31 ...........ntt1
Invoking FCUnpublish
RTMP_SendPacket: fd=516, size=34
0000: 43 00 00 00 00 00 22 14 C.....".
0000: 02 00 0c 64 65 6c 65 74 65 53 74 72 65 61 6d 00 ...deleteStream.
0010: 40 1c 00 00 00 00 00 00 05 00 3f f0 00 00 00 00 @.........?.....
0020: 00 00 ..
Invoking deleteStream
--
Sent from: http://www.ffmpeg-archive.org/
More information about the ffmpeg-user
mailing list