If you mean a constant frame rate, use -r:v 25. If you actually mean bitrate, use -b:v and -b:a. I think you might want to look at the x264 switches to make sure that it is encoded and a constant bit rate, though I am fairly sure specifying a bit rate will do it.-------- Original message --------From: akash kulkarni <[email protected]> Date: 8/10/2017 7:18 AM (GMT-05:00) To: FFmpeg user questions <[email protected]> Subject: [FFmpeg-user] CBR and bitrate hello everyone
i have file with CBR and when i am converting it to other format by using following command i am getting VBR both video and audio ffmpeg -i input.mp4 -y -r 25 -c:v libx264 -look_ahead 0 -preset veryfast -b:v 25M -c:a aac ouput.MTS so How i can get the output file in CBR mode and frame rate 25. _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
