[FFmpeg-user] Bitrate won't change

Michael Murphy mmurphy at uottawa.ca
Mon Dec 18 22:19:38 EET 2017


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

Mike Murphy - Supervisor
uOttawa Science Electronics Shop
009-140 Louis Pasteur Priv
Ottawa, ON  K1N 6N5
(613)562-5800 ext.6745
mmurphy at uottawa.ca

-----Original Message-----
From: ffmpeg-user [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of Simon Brown
Sent: December-18-17 12:10 PM
To: FFmpeg user questions
Subject: Re: [FFmpeg-user] Bitrate won't change

> Here's my command line:
> ffmpeg -f lavfi -i anullsrc -rtsp_transport tcp -thread_queue_size 512 
> -i rtsp://admin:password@xx.xx.xx.xxx/544/h264/ch1/main/av_stream 
> -tune zerolatency -vcodec libx264 -preset slower  -x264opts
> bitrate=2500:vbv-maxrate=2500:vbv-bufsize=166  -g 120 -pix_fmt 
> yuv420p+ -c:v copy -c:a aac -strict experimental -b:a 128k  -f flv 
> rtmp:// a.rtmp.youtube.com/live2/my_youtube_key
> Unless I'm much mistaken you have -c:v copy which implies it's not 
> going
to change the video bit rate at all - it's just copying the video stream.
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org

To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list