[FFmpeg-user] How can I get rtmp with ffmpeg? Setting swfsize and hash? >

Sinan Aksu sinanksu at gmail.com
Sat May 13 17:43:01 EEST 2017


The input is already the RTMPE source itself. I want to take the live
broadcast from that RTMPE and save it to the flv file.

All output : C:\f\f>ffmpeg -i "rtmpe://93.189.57.254/xlive" -rtmp_app xlive
-rtmp_flashver WIN 23,0,0,162 -rtmp_swfurl "
http://sportstream365.com/swf/VideoPlayer.swf" -rtmp_swfverify "
http://sportstream365.com/swf/VideoPlayer.swf" -rtmp_pageurl "
http://sportstream365.com/viewer?game=116356399" -rtmp_conn S:client
-rtmp_conn S:3.1.0.10 -rtmp_conn S:en -rtmp_live live -rtmp_playpath
"raw:600238"  -f flv -t 60 test.flv
ffmpeg version N-85750-ga75ef15 Copyright (c) 2000-2017 the FFmpeg
developers
  built with gcc 6.3.0 (GCC)
  configuration: --disable-static --enable-shared --enable-gpl
--enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va
--enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth
--enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enable-iconv --enable-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-libopus --enable-librtmp --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg
--enable-lzma --enable-zlib
  libavutil      55. 61.100 / 55. 61.100
  libavcodec     57. 93.100 / 57. 93.100
  libavformat    57. 72.101 / 57. 72.101
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 88.100 /  6. 88.100
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
rtmp server sent error
rtmp server requested close
rtmpe://93.189.57.254/xlive: Unknown error occurred


2017-05-13 17:29 GMT+03:00 Moritz Barsnick <barsnick at gmx.net>:

> On Sat, May 13, 2017 at 16:15:45 +0300, Sinan Aksu wrote:
> > Thank you for your reply. When I look at the documents, the command looks
> > correct.
>
> No, as I told you, the options for your input need to come *before* the
> actual "-i" input. This is still not the case in your command line.
>
> > I am using the latest version of windows build ffmpeg.
>
> I don't think so. These are quite old, as far as I can tell:
> > New error output: libswscale 4. 3.101 / 4. 3.101
> >   Libswresample 2. 4.100 / 2. 4.100
> >   Libpostproc 54. 2.100 / 54. 2.100
>
> > By the way, I do not write the output part of the command, so I guess it
> > gives the warning. I have arranged the end of the command as follows and
> > the warning is off.
>
> Please do quote the actual command line and complete, uncut console
> output in the future. Thanks.
>
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list