I'm trying transcoding a live streaming with this code :
/usr/local/bin/ffmpeg -i rtmp://22.214.171.124:1935/test/test -vcodec libx264 -preset veryfast -b:v 2000k -maxrate 2000k -bufsize 2000k -s 1280x720 -sws_flags lanczos -r 60 -acodec copy -f flv rtmp://126.96.36.199:1935/test/test2
But it does not work.
Please specify what exactly doesn't work - what behavior do you see.
If it's related to Nimble Streamer, please post your question to https://wmspanel.com/help
you need rtmp authentication like:
-f flv "rtmp://ip-nimble-server:1935/application?rtmpauth=user:password/stream"
Nimble rtmp authentication
Ubuntu 14.04 should be amended as follows
I created interface and application with the name "live" login and password also "live"
in ffmpeg rtmp://live:live@ip/live
I get [rtmp @ 0x561816633140] Can not read RTMP handshake response
If I try to use srt then
[srt @ 0x55c5c96b0540] Connection setup failure: connection time out.
srt: //188.8.131.52: 1234: Unknown error occurred
11: 58: 41.143066 / SRT: RcvQ: worker !! FATAL !!: SRT.c: CChannel reported ERROR DURING TRANSMISSION - IPE. INTERRUPTING worker anyway.
Are you trying to pull or push RTMP stream? What is the full command you're trying to use?
coder push to nimble
if push mpegts udp there are problems with delays. Coder and Nimble are located in different cities
ffmpeg -y -re -i $FILE_INPUT -map 0:v -c:v:0 $VCODEC -vf:v:0 bwdif=0 -r:v:0 25 -maxrate:v:0 300k -bufsize: v:0 300k -b:v:0 300k -s:v:0 640x480 -profile:v:0 main -map 0:v -c:v:1 $VCODEC -vf:v:1 bwdif=0 -r:v:1 25 -maxrate:v:1 600k -bufsize: v:1 600k -b:v:1 600k -s:v:1 1024x768 -profile:v:1 main -map 0:a -c:a:0 $ACODEC -b:a:0 64k -f flv "rtmp://live:live@nimble_ip/live"
In nimble created interface and application with rtmp and name "live" login and password also "live"
Try to push it without authentication enabled, will it work?
I'd also suggest to try pushing with URL authentication like it described in https://blog.wmspanel.com/2014/07/rtmp-publish-url-authentication.html article.
[rtmp @ 0x55745b76bac0] Cannot read RTMP handshake response
rtmp://nimble_ip/live?rtmpauth=live:live/stream: Connection reset by peer
Global setting Nimble clear login and password and clear login and password in application "live"
[rtmp @ 0x56021f8c00c0] Cannot read RTMP handshake response
rtmp://nimble_ip/live: Connection reset by peer
Please check nimble.log on the server, are there any errors?
Please file a support ticket via https://wmspanel.com/help form and provide us publish point URL so we could check what is going wrong in your case.
and required to achieve the purposes illustrated in the
If you want to know more or withdraw your consent to all or some of the cookies, please
refer to the