Re: MP3 VBR encoding with lame for FLV?
Robert Zufall wrote:
I was not able to find any explanations about how to encode MP3 AUDIO with a VBR. All vbr-options that are listed in the manpage or the documentation are for video.
I would like to encode Flash-Videos with VBR-audio.
-aq n
where n is a floating point number representing quality. seems like '0' is best quality, and it goes down from there.
Hi Jon, thanks fro the info, but all I get if I play around with "-aq" is: "[mp3 @ 0x40531d40]lame: output buffer too small (buffer index: 2220, free bytes: 84)" "[mp3 @ 0x40531d40]lame: output buffer too small (buffer index: 2220, free bytes: 84)" "[mp3 @ 0x40531d40]lame: output buffer too small (buffer index: 2220, free bytes: 84)" "[mp3 @ 0x40531d40]lame: output buffer too small (buffer index: 2220, free bytes: 84)" a couple of hundred times... How exactly do you use -aq? I am used to set the audioflags like: -acodec mp3 -ab 56 -ar 22050 -ac 1 I tried these: -acodec mp3 -aq 0 -ac 1 -acodec mp3 -aq 0 -ar 22050 -ac 1 -acodec mp3 -aq 0 -ab 56 -ac 1 none worked also, in the output, ffmpeg does not say that it will use CBR or VBR, right?: "Stream #0.1: Audio: mp3, 22050 Hz, mono, 56 kb/s" Thanks, Rob ______________________________________________________________________ XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club! Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130
FLV only supports a fixed set of bitrates. It doesn't support VBR Evert Robert Zufall wrote:
Robert Zufall wrote:
I was not able to find any explanations about how to encode MP3 AUDIO with a VBR. All vbr-options that are listed in the manpage or the documentation are for video.
I would like to encode Flash-Videos with VBR-audio.
-aq n
where n is a floating point number representing quality. seems like '0' is best quality, and it goes down from there.
Hi Jon,
thanks fro the info, but all I get if I play around with "-aq" is: "[mp3 @ 0x40531d40]lame: output buffer too small (buffer index: 2220, free bytes: 84)" "[mp3 @ 0x40531d40]lame: output buffer too small (buffer index: 2220, free bytes: 84)" "[mp3 @ 0x40531d40]lame: output buffer too small (buffer index: 2220, free bytes: 84)" "[mp3 @ 0x40531d40]lame: output buffer too small (buffer index: 2220, free bytes: 84)" a couple of hundred times...
How exactly do you use -aq? I am used to set the audioflags like: -acodec mp3 -ab 56 -ar 22050 -ac 1
I tried these: -acodec mp3 -aq 0 -ac 1 -acodec mp3 -aq 0 -ar 22050 -ac 1 -acodec mp3 -aq 0 -ab 56 -ac 1
none worked
also, in the output, ffmpeg does not say that it will use CBR or VBR, right?: "Stream #0.1: Audio: mp3, 22050 Hz, mono, 56 kb/s"
Thanks, Rob
______________________________________________________________________ XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club! Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130
_______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Robert Zufall wrote:
thanks fro the info, but all I get if I play around with "-aq" is: "[mp3 @ 0x40531d40]lame: output buffer too small (buffer index: 2220, free bytes: 84)" "[mp3 @ 0x40531d40]lame: output buffer too small (buffer index: 2220, free bytes: 84)" "[mp3 @ 0x40531d40]lame: output buffer too small (buffer index: 2220, free bytes: 84)" "[mp3 @ 0x40531d40]lame: output buffer too small (buffer index: 2220, free bytes: 84)" a couple of hundred times...
How exactly do you use -aq? I am used to set the audioflags like: -acodec mp3 -ab 56 -ar 22050 -ac 1
sorry, i've never used it myself, i just looked through the ffmpeg source code to figure out what the option was called. since it's not documented it may not work properly at all. -jsd-
On Mon, 16 Oct 2006 11:12:25 -0700, Jon Drukman <jsd at cluttered.com> wrote:
since it's not documented it may not work properly at all.
$ ffmpeg 2>&1 | grep "^-aq" -aq quality set audio quality (codec-specific) It's not in the man page but it *is* documented. Furthermore, the documentation states that it's codec-dependent. -- G. Stewart - godwin.stewart at gmail.com "I used to think I was indecisive, but now I'm not so sure."
FLV only supports a fixed set of bitrates. It doesn't support VBR Evert Robert Zufall wrote:
Robert Zufall wrote:
I was not able to find any explanations about how to encode MP3 AUDIO with a VBR. All vbr-options that are listed in the manpage or the documentation are for video.
I would like to encode Flash-Videos with VBR-audio.
-aq n
where n is a floating point number representing quality. seems like '0' is best quality, and it goes down from there.
Hi Jon,
thanks fro the info, but all I get if I play around with "-aq" is: "[mp3 @ 0x40531d40]lame: output buffer too small (buffer index: 2220, free bytes: 84)" "[mp3 @ 0x40531d40]lame: output buffer too small (buffer index: 2220, free bytes: 84)" "[mp3 @ 0x40531d40]lame: output buffer too small (buffer index: 2220, free bytes: 84)" "[mp3 @ 0x40531d40]lame: output buffer too small (buffer index: 2220, free bytes: 84)" a couple of hundred times...
How exactly do you use -aq? I am used to set the audioflags like: -acodec mp3 -ab 56 -ar 22050 -ac 1
I tried these: -acodec mp3 -aq 0 -ac 1 -acodec mp3 -aq 0 -ar 22050 -ac 1 -acodec mp3 -aq 0 -ab 56 -ac 1
none worked
also, in the output, ffmpeg does not say that it will use CBR or VBR, right?: "Stream #0.1: Audio: mp3, 22050 Hz, mono, 56 kb/s"
Thanks, Rob
______________________________________________________________________ XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club! Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130
_______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
participants (4)
-
evert@rooftopsolutions.nl -
godwin.stewart@gmail.com -
jsd@cluttered.com -
RobertZufall@web.de