I have troubles with setting constant output bitrate. Every time I try I am getting same bitrate as input (I wanna downrate the file)
As input I have MPEG2/MPEG-A file.mpg with VBR 10Mb As output I want MPEG2/MPEG-A file.ts with CBR 8Mb
avconv -i file.mpg -codec copy -b 8M -maxrate 8M -minrate 8M -bufsize 4M -f mpegts file.ts
Is there something wrong there? Can you suggest me better parameters so I can get better output quality?
-codec copytells avconv to just copy the first video, audio and subtitle bitstream of the input to the output. There will be no re-encoding, so any of-b,-maxrate,-minrateor-bufsizedon't make sense.So:
-codec copy.-b:vinstead of-bsince-balone is ambiguous and could refer to both video and audio.-c:a copy.In essence: