[FFmpeg-trac] #6363(undetermined:closed): Can't connect to some rtmp streams

FFmpeg trac at avcodec.org
Mon Dec 17 21:13:22 EET 2018


#6363: Can't connect to some rtmp streams
-------------------------------------+-------------------------------------
             Reporter:  Rudloff      |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  rtmp         |               Resolution:  invalid
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by Rudloff):

 Thanks, but I tried putting `i` in the last position and it still does not
 work.

 I get a different error though:
 {{{
 ffmpeg started on 2018-12-17 at 20:06:27
 Report written to "ffmpeg-20181217-200627.log"
 Command line:
 ./vendor/bin/ffmpeg -rtmp_tcurl
 rtmp://cp108781.edgefcs.net/ondemand/flv_free/vipo/grip-das-motormagazin/1
 -video-grip-203-koenig-von-grip-
 PR013216_01SU2HF952T11SVS_10000000_10423806.f4v -rtmp_pageurl
 http://www.rtl2.de/sendung/grip-das-motormagazin/folge/folge-203-0
 -rtmp_swfverify http://www.rtl2.de/flashplayer/vipo_player.swf
 -rtmp_flashver "LNX 11,2,202,429" -rtmp_playpath mp4:flv_free/vipo/grip-
 das-motormagazin/1-video-grip-203-koenig-von-grip-
 PR013216_01SU2HF952T11SVS_10000000_10423806.f4v -rtmp_conn S:connect
 -rtmp_conn O:1 -rtmp_conn NS:pageUrl:http://www.rtl2.de/sendung/grip-das-
 motormagazin/folge/folge-203-0/ -rtmp_conn NB:fpad:0 -rtmp_conn
 NN:videoFunction:1 -rtmp_conn O:0 -i
 rtmp://cp108781.edgefcs.net/ondemand/flv_free/vipo/grip-das-motormagazin/1
 -video-grip-203-koenig-von-grip-
 PR013216_01SU2HF952T11SVS_10000000_10423806.f4v -report
 ffmpeg version 4.0.3-static https://johnvansickle.com/ffmpeg/  Copyright
 (c) 2000-2018 the FFmpeg developers
   built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
   configuration: --enable-gpl --enable-version3 --enable-static --disable-
 debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio
 --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-
 gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf
 --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb
 --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband
 --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus
 --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-
 libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2
 --enable-libxvid --enable-libzimg
   libavutil      56. 14.100 / 56. 14.100
   libavcodec     58. 18.100 / 58. 18.100
   libavformat    58. 12.100 / 58. 12.100
   libavdevice    58.  3.100 / 58.  3.100
   libavfilter     7. 16.100 /  7. 16.100
   libswscale      5.  1.100 /  5.  1.100
   libswresample   3.  1.100 /  3.  1.100
   libpostproc    55.  1.100 / 55.  1.100
 Splitting the commandline.
 Reading option '-rtmp_tcurl' ... matched as AVOption 'rtmp_tcurl' with
 argument 'rtmp://cp108781.edgefcs.net/ondemand/flv_free/vipo/grip-das-
 motormagazin/1-video-grip-203-koenig-von-grip-
 PR013216_01SU2HF952T11SVS_10000000_10423806.f4v'.
 Reading option '-rtmp_pageurl' ... matched as AVOption 'rtmp_pageurl' with
 argument 'http://www.rtl2.de/sendung/grip-das-
 motormagazin/folge/folge-203-0'.
 Reading option '-rtmp_swfverify' ... matched as AVOption 'rtmp_swfverify'
 with argument 'http://www.rtl2.de/flashplayer/vipo_player.swf'.
 Reading option '-rtmp_flashver' ... matched as AVOption 'rtmp_flashver'
 with argument 'LNX 11,2,202,429'.
 Reading option '-rtmp_playpath' ... matched as AVOption 'rtmp_playpath'
 with argument 'mp4:flv_free/vipo/grip-das-motormagazin/1-video-grip-203
 -koenig-von-grip-PR013216_01SU2HF952T11SVS_10000000_10423806.f4v'.
 Reading option '-rtmp_conn' ... matched as AVOption 'rtmp_conn' with
 argument 'S:connect'.
 Reading option '-rtmp_conn' ... matched as AVOption 'rtmp_conn' with
 argument 'O:1'.
 Reading option '-rtmp_conn' ... matched as AVOption 'rtmp_conn' with
 argument 'NS:pageUrl:http://www.rtl2.de/sendung/grip-das-
 motormagazin/folge/folge-203-0/'.
 Reading option '-rtmp_conn' ... matched as AVOption 'rtmp_conn' with
 argument 'NB:fpad:0'.
 Reading option '-rtmp_conn' ... matched as AVOption 'rtmp_conn' with
 argument 'NN:videoFunction:1'.
 Reading option '-rtmp_conn' ... matched as AVOption 'rtmp_conn' with
 argument 'O:0'.
 Reading option '-i' ... matched as input url with argument
 'rtmp://cp108781.edgefcs.net/ondemand/flv_free/vipo/grip-das-
 motormagazin/1-video-grip-203-koenig-von-grip-
 PR013216_01SU2HF952T11SVS_10000000_10423806.f4v'.
 Reading option '-report' ... matched as option 'report' (generate a
 report) with argument '1'.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option report (generate a report) with argument 1.
 Successfully parsed a group of options.
 Parsing a group of options: input url
 rtmp://cp108781.edgefcs.net/ondemand/flv_free/vipo/grip-das-motormagazin/1
 -video-grip-203-koenig-von-grip-
 PR013216_01SU2HF952T11SVS_10000000_10423806.f4v.
 Successfully parsed a group of options.
 Opening an input file: rtmp://cp108781.edgefcs.net/ondemand/flv_free/vipo
 /grip-das-motormagazin/1-video-grip-203-koenig-von-grip-
 PR013216_01SU2HF952T11SVS_10000000_10423806.f4v.
 [NULL @ 0x4fd4840] Opening
 'rtmp://cp108781.edgefcs.net/ondemand/flv_free/vipo/grip-das-
 motormagazin/1-video-grip-203-koenig-von-grip-
 PR013216_01SU2HF952T11SVS_10000000_10423806.f4v' for reading
 [rtmp @ 0x4fd5600] No default whitelist set
 [tcp @ 0x4fd5b80] No default whitelist set
 [http @ 0x4fd85c0] Setting default whitelist
 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
 [http @ 0x4fd85c0] request: GET /flashplayer/vipo_player.swf HTTP/1.1
 User-Agent: Lavf/58.12.100
 Accept: */*
 Range: bytes=0-
 Connection: close
 Host: www.rtl2.de
 Icy-MetaData: 1


 [http @ 0x4fd85c0] request: GET /flashplayer/vipo_player.swf HTTP/1.1
 User-Agent: Lavf/58.12.100
 Accept: */*
 Range: bytes=0-
 Connection: close
 Host: www.rtl2.de
 Icy-MetaData: 1


 [http @ 0x4fd85c0] HTTP error 404 Not Found
 [rtmp @ 0x4fd5600] Cannot open connection
 http://www.rtl2.de/flashplayer/vipo_player.swf.
 rtmp://cp108781.edgefcs.net/ondemand/flv_free/vipo/grip-das-motormagazin/1
 -video-grip-203-koenig-von-grip-
 PR013216_01SU2HF952T11SVS_10000000_10423806.f4v: Server returned 404 Not
 Found
 }}}

 (Indeed, https://www.rtl2.de/flashplayer/vipo_player.swf returns a 404
 error but that does not seem to prevent rtmpdump from getting the file.)

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6363#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list