Massive loss in quality with ffmpeg rtmp push

1

I've been streaming successfully with nginx-rtmp for a little while. Using the inbuilt push directive works great but to push to variable stream names I have to switch to using ffmpeg.

Even when I don't transcode the stream at all there seems to be a huge loss in quality.

I've tried the following but both appear grainy and low bitrate. The input stream is 720p at 1500kbps.

/usr/local/bin/ffmpeg -i rtmp://localhost:1935/input/$name -f flv rtmp://example.com/app/name

/usr/local/bin/ffmpeg -i rtmp://localhost:1935/input/$name  -c:v copy -c:a copy -aspect -f flv rtmp://example.com/app/name

Ben

Posted 2014-02-07T12:00:42.587

Reputation: 121

1Please show the complete ffmpeg console output for each command. – llogan – 2014-02-07T18:15:32.813

Answers

1

It turns out the valid syntax for my version of ffmpeg was

/usr/local/bin/ffmpeg -i -c copy rtmp://localhost:1935/input/$name -f flv rtmp://example.com/app/name

Ben

Posted 2014-02-07T12:00:42.587

Reputation: 121