[FFmpeg-user] -b:v option
Mar Andrés López
mar.andres.l at gmv.com
Thu Apr 8 14:53:52 EEST 2021
Sorry I would have to specify a bit more.
I want to do this in order to generate a DASH content, one of the profiles sould have the original bitrate, and the other ones fixed values. As an example:
ffmpeg -i bunny.mp4 -preset superfast -r 25 -vcodec libx264 -acodec aac -b:a 128k -ac 1 -ar 44100 -map v:0 -b:v:0 source -map v:0 -b:v:1 720000 -map v:0 -b:v:2 360000 -map 0:a? -f dash -segment_time 5000 C:\ComponentsDeployment\CSD_DATA\VCS\DashStreams\9780081d-c864-4420-9669-8a9feb53f4a6\manifest.mpd.
So I would have the fist profile with the original bitrate -b:v:0 source, the second one with 720kbps and the third one with 360kbps.
On the other one if not posible, what happens if I set this command?
ffmpeg -i bunny.mp4 -preset superfast -r 25 -vcodec libx264 -acodec aac -b:a 128k -ac 1 -ar 44100 -map v:0 -b:v:0 1080000 -map v:0 -b:v:1 720000 -map v:0 -b:v:2 360000 -map 0:a? -f dash -segment_time 5000 C:\ComponentsDeployment\CSD_DATA\VCS\DashStreams\9780081d-c864-4420-9669-8a9feb53f4a6\manifest.mpd
And bunny.mp4 has a bitrate of 795kbps, which bitrate would be displayed in first profile 1080kbps, does make sense or is posible to increase bitrate??
________________________________
De: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> en nombre de Carl Eugen Hoyos <ceffmpeg at gmail.com>
Enviado: jueves, 8 de abril de 2021 12:47:25
Para: FFmpeg user questions
Asunto: Re: [FFmpeg-user] -b:v option
> Am 08.04.2021 um 12:45 schrieb Mar Andrés López <mar.andres.l at gmv.com>:
>
> Is posible to specify bitrate option -b:v as the bitrate from the input? instead of doing -b:v 300k is posible for example -b:v source, which would output the bitrate from original video?
No, technically this would make very little sense.
Carl Eugen
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
https://urldefense.com/v3/__https://ffmpeg.org/mailman/listinfo/ffmpeg-user__;!!MvyJQugb!XbuxwPc6eGm_qYVExild2vph8Jtgv6b8ZVgFgYxvIRrBs_DBmiNAHO93Ks70568$
To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
P Please consider the environment before printing this e-mail.
More information about the ffmpeg-user
mailing list