[FFmpeg-trac] #7836(undetermined:new): Missing packets error when streaming rtsp to rtmp

FFmpeg trac at avcodec.org
Thu Apr 11 07:58:51 EEST 2019


#7836: Missing packets error when streaming rtsp to rtmp
--------------------------------------+----------------------------------
             Reporter:  longkas       |                     Type:  art
               Status:  new           |                 Priority:  normal
            Component:  undetermined  |                  Version:  4.1
             Keywords:                |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+----------------------------------
 Summary of the bug:
 I'm using ffmpeg to do RTSP to RTMP streaming, the input is an sdp file
 describing one video stream and one audio stream, when I test the RTSP
 using ffplay,it works fine
   #ffplay -protocol_whitelist "file,udp,rtp" -strict -2 -i media.sdp
 but when I switch to ffmpeg to do streaming, I got lot of packet missing
 errors:
   #ffmpeg -protocol_whitelist "file,udp,rtp" -strict -2  -i media.sdp   -c
 copy -f flv "rtmp://liveaddress"

 the sdp file:

 SDP:
 v=0
 o=- 0 0 IN IP4 127.0.0.1
 s=No Name
 t=0 0
 a=tool:libavformat 58.12.100
 m=video 5555 RTP/AVP 96
 c=IN IP4 127.0.0.1
 b=AS:2000
 a=rtpmap:96 H264/90000
 a=fmtp:96 packetization-mode=1; sprop-parameter-
 sets=Z0LAINoBQBbsBagICAoAAAfSAAOpgR4wZUA=,aM4fIA==; profile-level-
 id=42c020
 m=audio 6666 RTP/AVP 96
 c=IN IP4 127.0.0.1
 b=AS:125
 a=rtpmap:96 MPEG4-GENERIC/44100/2
 a=fmtp:96 profile-level-id=1;mode=AAC-
 hbr;sizelength=13;indexlength=3;indexdeltalength=3; config=1210

 log :

 ffmpeg version N-93548-g4d2f62150d Copyright (c) 2000-2019 the FFmpeg
 developers
   built with gcc 8.2.1 (GCC) 20190212
   configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-
 fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-
 libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr
 --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack
 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2
 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-
 libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa
 --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx
 --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-
 nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
   libavutil      56. 26.100 / 56. 26.100
   libavcodec     58. 48.101 / 58. 48.101
   libavformat    58. 27.100 / 58. 27.100
   libavdevice    58.  7.100 / 58.  7.100
   libavfilter     7. 48.100 /  7. 48.100
   libswscale      5.  4.100 /  5.  4.100
   libswresample   3.  4.100 /  3.  4.100
   libpostproc    55.  4.100 / 55.  4.100
 Splitting the commandline.
 Reading option '-v' ... matched as option 'v' (set logging level) with
 argument '9'.
 Reading option '-loglevel' ... matched as option 'loglevel' (set logging
 level) with argument '99'.
 Reading option '-protocol_whitelist' ... matched as AVOption
 'protocol_whitelist' with argument 'file,sdp,udp,tcp,rtp'.
 Reading option '-i' ... matched as input url with argument 'd:/hh.sdp'.
 Reading option '-strict' ...Routing option strict to both codec and muxer
 layer
  matched as AVOption 'strict' with argument '-2'.
 Reading option '-c' ... matched as option 'c' (codec name) with argument
 'copy'.
 Reading option '-f' ... matched as option 'f' (force format) with argument
 'flv'.
 Reading option 'rtmp://js.live-send.acg.tv/live-
 js/?streamname=live_258376025_4325437&key=558a5de550ccf93af8e1a0448a9287d4'
 ... matched as output url.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option v (set logging level) with argument 9.
 Successfully parsed a group of options.
 Parsing a group of options: input url d:/hh.sdp.
 Successfully parsed a group of options.
 Opening an input file: d:/hh.sdp.
 [NULL @ 000002213719af40] Opening 'd:/hh.sdp' for reading
 Probing sdp score:50 size:481
 [sdp @ 000002213719af40] Format sdp probed with size=2048 and score=50
 [sdp @ 000002213719af40] sdp: v='0'
 [sdp @ 000002213719af40] sdp: o='- 0 0 IN IP4 127.0.0.1'
 [sdp @ 000002213719af40] sdp: s='No Name'
 [sdp @ 000002213719af40] sdp: t='0 0'
 [sdp @ 000002213719af40] sdp: a='tool:libavformat 58.12.100'
 [sdp @ 000002213719af40] sdp: m='video 5555 RTP/AVP 96'
 [sdp @ 000002213719af40] sdp: c='IN IP4 127.0.0.1'
 [sdp @ 000002213719af40] sdp: b='AS:2000'
 [sdp @ 000002213719af40] sdp: a='rtpmap:96 H264/90000'
 [sdp @ 000002213719af40] video codec set to: h264
 [sdp @ 000002213719af40] sdp: a='fmtp:96 packetization-mode=1; sprop-
 parameter-sets=Z0LAINoBQBbsBagICAoAAAfSAAOpgR4wZUA=,aM4fIA==; profile-
 level-id=42c020'
 [sdp @ 000002213719af40] RTP Packetization Mode: 1
 [sdp @ 000002213719af40] Extradata set to 00000221371a4380 (size: 38)
 [sdp @ 000002213719af40] RTP Profile IDC: 42 Profile IOP: c0 Level: 20
 [sdp @ 000002213719af40] sdp: m='audio 6666 RTP/AVP 96'
 [sdp @ 000002213719af40] sdp: c='IN IP4 127.0.0.1'
 [sdp @ 000002213719af40] sdp: b='AS:125'
 [sdp @ 000002213719af40] sdp: a='rtpmap:96 MPEG4-GENERIC/44100/2'
 [sdp @ 000002213719af40] audio codec set to: aac
 [sdp @ 000002213719af40] audio samplerate set to: 44100
 [sdp @ 000002213719af40] audio channels set to: 2
 [sdp @ 000002213719af40] sdp: a='fmtp:96 profile-level-id=1;mode=AAC-
 hbr;sizelength=13;indexlength=3;indexdeltalength=3; config=1210'
 [udp @ 00000221371a2ac0] 'circular_buffer_size' option was set but it is
 not supported on this build (pthread support is required)
 [udp @ 00000221371a2ac0] end receive buffer size reported is 65536
 [udp @ 00000221371bf280] 'circular_buffer_size' option was set but it is
 not supported on this build (pthread support is required)
 [udp @ 00000221371bf280] end receive buffer size reported is 65536
 [sdp @ 000002213719af40] setting jitter buffer size to 500
 [udp @ 00000221371a3740] 'circular_buffer_size' option was set but it is
 not supported on this build (pthread support is required)
 [udp @ 00000221371a3740] end receive buffer size reported is 65536
 [udp @ 00000221371a3840] 'circular_buffer_size' option was set but it is
 not supported on this build (pthread support is required)
 [udp @ 00000221371a3840] end receive buffer size reported is 65536
 [sdp @ 000002213719af40] setting jitter buffer size to 500
 [sdp @ 000002213719af40] Before avformat_find_stream_info() pos: 481 bytes
 read:481 seeks:0 nb_streams:2
 [h264 @ 00000221371ae400] nal_unit_type: 7(SPS), nal_ref_idc: 3
 [h264 @ 00000221371ae400] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [h264 @ 00000221371ae400] nal_unit_type: 7(SPS), nal_ref_idc: 3
 [h264 @ 00000221371ae400] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] Format yuv420p chosen by get_format().
 [h264 @ 00000221371ae400] Reinit context to 1280x720, pix_fmt: yuv420p
 [h264 @ 00000221371ae400] Frame num gap 10 8
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [aac @ 00000221371a0280] stereo with SCE
 [aac @ 00000221371a0280] ChannelElement 1.0 missing
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [sdp @ 000002213719af40] sending 52 bytes of RR
 [sdp @ 000002213719af40] result from ffurl_write: -5
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [sdp @ 000002213719af40] sending 52 bytes of RR
 [sdp @ 000002213719af40] result from ffurl_write: -5
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [sdp @ 000002213719af40] sending 52 bytes of RR
 [sdp @ 000002213719af40] result from ffurl_write: -5
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [sdp @ 000002213719af40] sending 52 bytes of RR
 [sdp @ 000002213719af40] result from ffurl_write: -5
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [sdp @ 000002213719af40] sending 52 bytes of RR
 [sdp @ 000002213719af40] result from ffurl_write: -5
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [sdp @ 000002213719af40] sending 52 bytes of RR
 [sdp @ 000002213719af40] result from ffurl_write: -5
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [sdp @ 000002213719af40] sending 52 bytes of RR
 [sdp @ 000002213719af40] result from ffurl_write: -5
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [sdp @ 000002213719af40] sending 52 bytes of RR
 [sdp @ 000002213719af40] result from ffurl_write: -5
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [sdp @ 000002213719af40] sending 52 bytes of RR
 [sdp @ 000002213719af40] result from ffurl_write: -5
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [sdp @ 000002213719af40] sending 52 bytes of RR
 [sdp @ 000002213719af40] result from ffurl_write: -5
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [sdp @ 000002213719af40] sending 52 bytes of RR
 [sdp @ 000002213719af40] result from ffurl_write: -5
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [sdp @ 000002213719af40] sending 52 bytes of RR
 [sdp @ 000002213719af40] result from ffurl_write: -5
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [sdp @ 000002213719af40] sending 52 bytes of RR
 [sdp @ 000002213719af40] result from ffurl_write: -5
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 7(SPS), nal_ref_idc: 3
 [h264 @ 00000221371ae400] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [h264 @ 00000221371ae400] nal_unit_type: 5(IDR), nal_ref_idc: 3
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [h264 @ 00000221371ae400] nal_unit_type: 9(AUD), nal_ref_idc: 0
 [h264 @ 00000221371ae400] nal_unit_type: 1(Coded slice of a non-IDR
 picture), nal_ref_idc: 2
 [sdp @ 000002213719af40] All info found
 [sdp @ 000002213719af40] rfps: 59.000000 0.008176
     Last message repeated 1 times
 [sdp @ 000002213719af40] rfps: 60.000000 0.000033
     Last message repeated 1 times
 [sdp @ 000002213719af40] rfps: 120.000000 0.000134
     Last message repeated 1 times
 [sdp @ 000002213719af40] rfps: 240.000000 0.000535
     Last message repeated 1 times
 [sdp @ 000002213719af40] rfps: 59.940060 0.000000
 [sdp @ 000002213719af40] stream 0: start_time: 2.135 duration:
 -102481911520608.625
 [sdp @ 000002213719af40] stream 1: start_time: 0.000 duration:
 -209146758205323.719
 [sdp @ 000002213719af40] format: start_time: 0.000 duration:
 -9223372036854.775 bitrate=0 kb/s
 [sdp @ 000002213719af40] After avformat_find_stream_info() pos: 481 bytes
 read:481 seeks:0 frames:258
 Input #0, sdp, from 'd:/hh.sdp':
   Metadata:
     title           : No Name
   Duration: N/A, start: 0.000000, bitrate: N/A
     Stream #0:0, 150, 1/90000: Video: h264 (Constrained Baseline), 1
 reference frame, yuv420p(tv, bt709, progressive, left), 1280x720 [SAR 1:1
 DAR 16:9], 0/1, 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc
     Stream #0:1, 108, 1/44100: Audio: aac (LC), 44100 Hz, mono, fltp
 Successfully opened the file.
 Parsing a group of options: output url rtmp://js.live-send.acg.tv/live-
 js/?streamname=live_258376025_4325437&key=558a5de550ccf93af8e1a0448a9287d4.
 Applying option c (codec name) with argument copy.
 Applying option f (force format) with argument flv.
 Successfully parsed a group of options.
 Opening an output file: rtmp://js.live-send.acg.tv/live-
 js/?streamname=live_258376025_4325437&key=558a5de550ccf93af8e1a0448a9287d4.
 [rtmp @ 000002213748db00] No default whitelist set
 [tcp @ 000002213719f9c0] No default whitelist set
 [tcp @ 000002213719f9c0] Original list of addresses:
 [tcp @ 000002213719f9c0] Address 119.167.251.67 port 1935
 [tcp @ 000002213719f9c0] Address 119.167.251.66 port 1935
 [tcp @ 000002213719f9c0] Address 119.167.251.69 port 1935
 [tcp @ 000002213719f9c0] Address 119.167.251.68 port 1935
 [tcp @ 000002213719f9c0] Address 119.167.251.65 port 1935
 [tcp @ 000002213719f9c0] Interleaved list of addresses:
 [tcp @ 000002213719f9c0] Address 119.167.251.67 port 1935
 [tcp @ 000002213719f9c0] Address 119.167.251.66 port 1935
 [tcp @ 000002213719f9c0] Address 119.167.251.69 port 1935
 [tcp @ 000002213719f9c0] Address 119.167.251.68 port 1935
 [tcp @ 000002213719f9c0] Address 119.167.251.65 port 1935
 [tcp @ 000002213719f9c0] Starting connection attempt to 119.167.251.67
 port 1935
 [tcp @ 000002213719f9c0] Successfully connected to 119.167.251.67 port
 1935
 [rtmp @ 000002213748db00] Handshaking...
 [rtmp @ 000002213748db00] Type answer 3
 [rtmp @ 000002213748db00] Server version 13.14.10.13
 [rtmp @ 000002213748db00] Proto = rtmp, path = /live-
 js/?streamname=live_258376025_4325437&key=558a5de550ccf93af8e1a0448a9287d4,
 app = live-js, fname =
 ?streamname=live_258376025_4325437&key=558a5de550ccf93af8e1a0448a9287d4
 [rtmp @ 000002213748db00] Window acknowledgement size = 5000000
 [rtmp @ 000002213748db00] Max sent, unacked = 5000000
 [rtmp @ 000002213748db00] New incoming chunk size = 4096
 [rtmp @ 000002213748db00] Releasing stream...
 [rtmp @ 000002213748db00] FCPublish stream...
 [rtmp @ 000002213748db00] Creating stream...
 [rtmp @ 000002213748db00] Sending publish command for
 '?streamname=live_258376025_4325437&key=558a5de550ccf93af8e1a0448a9287d4'
 Successfully opened the file.
 Output #0, flv, to 'rtmp://js.live-send.acg.tv/live-
 js/?streamname=live_258376025_4325437&key=558a5de550ccf93af8e1a0448a9287d4':
   Metadata:
     title           : No Name
     encoder         : Lavf58.27.100
     Stream #0:0, 0, 1/1000: Video: h264 (Constrained Baseline), 1
 reference frame ([7][0][0][0] / 0x0007), yuv420p(tv, bt709, progressive,
 left), 1280x720 (0x0) [SAR 1:1 DAR 16:9], 0/1, q=2-31, 59.94 fps, 59.94
 tbr, 1k tbn, 90k tbc
     Stream #0:1, 0, 1/1000: Audio: aac (LC) ([10][0][0][0] / 0x000A),
 44100 Hz, mono, fltp
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)
 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 203 times
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)/s speed=3.84x
     Last message repeated 9 times
 [sdp @ 000002213719af40] sending 52 bytes of RR
 [sdp @ 000002213719af40] result from ffurl_write: -5
 [sdp @ 000002213719af40] max delay reached. need to consume packet
 [sdp @ 000002213719af40] RTP: missed 392 packets
 [sdp @ 000002213719af40] sending 52 bytes of RR=00:00:04.13 bitrate=
 768.4kbits/s speed=4.11x
 [sdp @ 000002213719af40] result from ffurl_write: -5
 [sdp @ 000002213719af40] sending 52 bytes of RR=00:00:05.64 bitrate=
 953.5kbits/s speed=2.23x
 [sdp @ 000002213719af40] result from ffurl_write: -5
 [flv @ 0000022137349980] Failed to update header with correct
 duration.5.6kbits/s speed=1.89x
 [flv @ 0000022137349980] Failed to update header with correct filesize.
 frame=  238 fps= 60 q=-1.0 Lsize=     906kB time=00:00:07.05
 bitrate=1051.6kbits/s speed=1.79x
 video:836kB audio:60kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 1.131615%
 Input file #0 (d:/hh.sdp):
   Input stream #0:0 (video): 360 packets read (4587088 bytes);
   Input stream #0:1 (audio): 305 packets read (61408 bytes);
   Total: 665 packets (4648496 bytes) demuxed
 Output file #0 (rtmp://js.live-send.acg.tv/live-
 js/?streamname=live_258376025_4325437&key=558a5de550ccf93af8e1a0448a9287d4):
   Output stream #0:0 (video): 238 packets muxed (856130 bytes);
   Output stream #0:1 (audio): 305 packets muxed (61408 bytes);
   Total: 543 packets (917538 bytes) muxed
 0 frames successfully decoded, 0 decoding errors
 [AVIOContext @ 0000022137218940] Statistics: 0 seeks, 546 writeouts
 [rtmp @ 000002213748db00] UnPublishing stream...
 [rtmp @ 000002213748db00] Deleting stream...
 [AVIOContext @ 00000221371a3ac0] Statistics: 481 bytes read, 0 seeks

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7836>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list