Discussion:
[Ffmpeg-user] MPEG layer 1 encoding?
Kevin Weiner
2006-12-12 18:43:36 UTC
Permalink
Is it possible to specify mpeg layer 1 audio encoding from the ffmpeg
command line? I couldn't find anything obvious. Thanks.
Måns Rullgård
2006-12-12 19:01:55 UTC
Permalink
Post by Kevin Weiner
Is it possible to specify mpeg layer 1 audio encoding from the ffmpeg
command line? I couldn't find anything obvious. Thanks.
No. What do you need layer 1 for anyway? Nobody uses that.
--
M?ns Rullg?rd
mru at inprovide.com
herve.flores
2006-12-13 08:53:40 UTC
Permalink
Post by Kevin Weiner
Is it possible to specify mpeg layer 1 audio encoding from the
ffmpeg command line? I couldn't find anything obvious. Thanks.
Mpeg1 Layer 2 = mp2
Mpeg1 Layer 3 = mp3

=>
-f mp3
or
-f mp2

bye

Herv?
Michel Bardiaux
2006-12-13 09:37:29 UTC
Permalink
Post by herve.flores
Post by Kevin Weiner
Is it possible to specify mpeg layer 1 audio encoding from the ffmpeg
command line? I couldn't find anything obvious. Thanks.
Mpeg1 Layer 2 = mp2
Mpeg1 Layer 3 = mp3
=>
-f mp3
or
-f mp2
The OP requested 'mpeg layer 1 audio encoding' so if that is needed in a
muxed file, shouldnt it be '-acodec mp2' (or 3) ?

Greetings,
--
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/
Måns Rullgård
2006-12-13 09:53:22 UTC
Permalink
Post by Michel Bardiaux
Post by herve.flores
Post by Kevin Weiner
Is it possible to specify mpeg layer 1 audio encoding from the ffmpeg
command line? I couldn't find anything obvious. Thanks.
Mpeg1 Layer 2 = mp2
Mpeg1 Layer 3 = mp3
=>
-f mp3
or
-f mp2
The OP requested 'mpeg layer 1 audio encoding' so if that is needed in a
muxed file, shouldnt it be '-acodec mp2' (or 3) ?
That would give layer 2 (or 3), whereas the OP asked for layer 1. FFmpeg
can't encode MPEG audio layer 1 (or 3 for that matter), only decode. IIRC
mjpegtools has a layer 1 encoder.
--
M?ns Rullg?rd
mru at inprovide.com
Continue reading on narkive:
Loading...