[FFmpeg-user] Bitrate won't change

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Dec 19 01:28:44 EET 2017


2017-12-18 21:19 GMT+01:00 Michael Murphy <mmurphy at uottawa.ca>:

> ffmpeg -f lavfi -i anullsrc -rtsp_transport tcp -thread_queue_size 512 -i rtsp:// admin:password at xx.xx.xx.xxx /544/h264/ch1/main/av_stream -tune zerolatency -vcodec libx264 -preset slower -x264opts bitrate=4000:vbv-maxrate=4000:vbv-bufsize=166  -g 120  -c:a aac -b:a 128k  -f flv rtmp://a.rtmp.youtube.com/live2/ my_youtube_key

Complete, uncut console output missing.

> The audio stream's current bitrate (2.00 Kbps) is lower than the recommended
> bitrate. We recommend that you use an audio stream bitrate of 128 Kbps.

FFmpeg aac encoder does not support cbr, silence always uses a low bitrate.

> The stream's current bitrate (4001.00 Kbps) is higher than the recommended
> bitrate. We recommend that you use a stream bitrate of 2500 Kbps.

Isn't this what you requested?

Consider using file input and file output to make
reproducing your use case easier.

Remember not to top-post here, Carl Eugen


More information about the ffmpeg-user mailing list