Difference between revisions of "MP3"
Jump to navigation
Jump to search
(somehow the shown cmd didn't work for me, this one does though) |
(VLC can encode mp3) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{codec audio|id=mp3|mod= | + | {{codec audio|id=mp3|encoder=y|mod=avcodec|for=[[dummy]] (raw), [[mpeg]], [[avi]], [[matroska]] and [[mp4]]}} |
{{wikipedia|MP3}} | {{wikipedia|MP3}} | ||
− | '''MP3''' is a popular type of audio compression described by the [[MPEG-1]] specification (MP3's full name is ''MPEG-1 Layer 3 Audio''). | + | '''MP3''' is a popular type of audio [[compression]] described by the [[MPEG-1]] specification (MP3's full name is ''MPEG-1 Layer 3 Audio''). |
VLC can play and create MP3 files. | VLC can play and create MP3 files. | ||
Line 9: | Line 9: | ||
: '''Note:''' If you try to create mp3 files it probably won't use the best compression techniques! A better alternative is to use the [[wikipedia:LAME|LAME]] MP3 encoder. | : '''Note:''' If you try to create mp3 files it probably won't use the best compression techniques! A better alternative is to use the [[wikipedia:LAME|LAME]] MP3 encoder. | ||
− | You can make mp3 files by using the ''mp3'' audio codec. .mp3 files do not have a container, so you should use the ''dummy'' container. You should also specify the | + | You can make mp3 files by using the ''mp3'' audio codec. .mp3 files do not have a container, so you should use the ''[[dummy]]'' container. You should also specify the <code>--no-video</code> option if you're taking audio from a video. |
An example of this at the [[command prompt]] is: | An example of this at the [[command prompt]] is: | ||
− | {{%}} vlc "''input_file''" :no-video :sout=#transcode{acodec=mp3,ab=128}: | + | {{%}} vlc "''input_file''" :no-video :sout=#transcode{acodec=mp3,ab=128}:std{access=file,mux=dummy,dst="''out_file.mp3''"} |
+ | |||
+ | == See also == | ||
+ | * [[ID3]] | ||
== External Links == | == External Links == | ||
− | * [http:// | + | * [http://sound.media.mit.edu/resources/mpeg4/audio/faq/mpeg1.html MPEG 1 Audio FAQ] for details on the differences between the layers. |
Latest revision as of 05:30, 8 April 2019
mp3
|
This is an audio codec. The name to use at the command line is mp3. VLC can encode using this codec. This codec can be used inside the dummy (raw), mpeg, avi, matroska and mp4 containers. This codec is from the avcodec module. |
MP3 is a popular type of audio compression described by the MPEG-1 specification (MP3's full name is MPEG-1 Layer 3 Audio).
VLC can play and create MP3 files.
Creating mp3 files
- Note: If you try to create mp3 files it probably won't use the best compression techniques! A better alternative is to use the LAME MP3 encoder.
You can make mp3 files by using the mp3 audio codec. .mp3 files do not have a container, so you should use the dummy container. You should also specify the --no-video
option if you're taking audio from a video.
An example of this at the command prompt is:
% vlc "input_file" :no-video :sout=#transcode{acodec=mp3,ab=128}:std{access=file,mux=dummy,dst="out_file.mp3"}
See also
External Links
- MPEG 1 Audio FAQ for details on the differences between the layers.