ffmpeg copying rtmp stream, but without audio

2.6k Views Asked by At

I am sending stream to flash media server from Adobe Flash Media Live Encoder and I am trying to copy this stream to another FMS using FFmpeg

ffmpeg -analyzeduration 0 -i "rtmp://x.x.x.x/live/stream1 live=1" \
  -vcodec copy -acodec copy -f flv rtmp://y.y.y.y/live/stream1

but there is no audio. Can anyone help me?

1

There are 1 best solutions below

1
On

try like this : ffmpeg -i "rtmp://x.x.x.x/live/stream1 live=1" \ -vcodec copy -acodec copy -f flv rtmp://y.y.y.y/live/stream1