Re: ffmpeg makes me mad…
Johnny Rosenberg
gurus.knugum at gmail.com
Sat Jul 16 10:27:47 UTC 2011
2011/7/16 Nils Kassube <kassube at gmx.net>:
> Johnny Rosenberg wrote:
>> ffmpeg -i Bkib.mpeg -aspect 16:9 -acodec copy Bkib-0.mpeg
>> Now I get my 16:9 copy of the video, but the bitrate is way too low
>> (about 400 kbps – the original is at 4000 kbps), so I tried this one:
>>
>> ffmpeg -i Bkib.mpeg -b 4000 -aspect 16:9 -acodec copy Bkib-0.mpeg
>> Didn't help though. It still lands around 400 kbps.
>
> From "man ffmpeg":
>
> | -b bitrate
> | Set the video bitrate in bit/s (default = 200 kb/s).
>
> Therefore I would try "-b 4000k".
He he he… ooopsie…! Yes, you are right, of course! For some strange
reason I thought that 4000 meant 4000 kb/s, not 4000 b/s… I'm not sure
why I thought that, maybe this article tricked me:
http://www.linuxjournal.com/article/8517?page=0,1
Quote:
”So if we want to encode using the MPEG-4 codec at 1,200kbps video
bitrate and 128kbps audio bitrate, the command looks like this:
ffmpeg -i InputFile.mpg -ab 128 -b 1200 -vcodec mpeg4 OutputFile.avi”
Obviously there is a ”k” there at two different places, so it should be:
ffmpeg -i InputFile.mpg -ab 128k -b 1200k -vcodec mpeg4 OutputFile.avi
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯↑¯¯¯¯¯¯¯↑¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
In my case, 4M worked as well, which is a bit shorter to type than 4000k.
Thanks for waking me up!
Kind regards
Johnny Rosenberg
ジョニー・ローゼンバーグ
>
>
> Nils
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
More information about the ubuntu-users
mailing list