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

Moritz Barsnick barsnick at gmx.net
Sat May 13 12:40:04 EEST 2017


On Sat, May 13, 2017 at 11:48:38 +0300, Sinan Aksu wrote:
> I looked at the documents. I created a command like the following. But it
> failed and I could not solve the error.
> 
> Command : 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"

Please do take some more time to read the ffmpeg documentation and
perhaps look at some examples. Especially the option system: Input
options belong *before* the input ("-i") they shall apply to, output
options before the corresponding output.

https://www.ffmpeg.org/ffmpeg.html#Description

In your case, all the "-rtmp_*" options obviously belong before "-i
rtmpe://93.189.57.254/xlive".

A hint was in your ffmpeg's console output:

> Trailing options were found on the commandline.

BTW, I'm on this mailing list, no need to forward your messages to my
personal address.

Moritz


More information about the ffmpeg-user mailing list