VLC can pull the audio out of a video and write it to a separate file — but the instructions for doing that specifically in MP3 were never actually written.
On VideoLAN's own Extract audio HowTo, the section headed "Extracting audio in MP3 format" has exactly one line of body text: TODO!. That is the whole section. Every VLC-to-MP3 walkthrough you have read documents a procedure the project itself never documented.
So this page sticks to what VideoLAN has written down: the flags the wiki explains line by line, the one official command anywhere in the wiki that contains acodec=mp3, and the documented way to check whether it worked.
Before you start
What the feature does. VideoLAN's own (self-described informal) support guide defines it plainly: "VLC can extract audio from any of the many input sources it supports, and write this audio to an audio-file in a variety of formats. In other words, it discards any video content from the input source, and it converts the audio content to the desired format."
VLC itself says it may not be your best option. The same page is unusually honest: "Be aware that, while VLC has certain facility for this task, other tools may be even more powerful, faster, or more reliable for the task." Then the judgement worth repeating — "Where VLC really shines is for sources which combine video and audio content."
Why no definitive codec list exists. The transcode module's documentation notes: "Since supported codecs are dynamically assigned by the running program, sout-transcode-venc, sout-transcode-aenc and sout-transcode-senc have been left blank." The enumerations published on the wiki come from one vlc-4.0.0-dev build. Run vlc -H and read what your own build lists.
Step 1: Decide whether you want to re-encode at all
MP3 is lossy. If your goal is just "an audio file I can play," re-encoding may be a step you do not need.
VideoLAN's guide states the alternative directly: "If you want the extracted audio in the same format as it is stored in the input, then VLC can provide it to you with no loss of quality, because there is no re-encoding of the content." Leave the #transcode{} part out and the stream lands on disk as-is. The official example (AC3 audio from a DVD, on Linux):
vlc --no-sout-video dvdsimple:///dev/scd0@1:1 :sout='#std{access=file,mux=raw,dst=./file.ac3}'The Transcode page — which opens with VideoLAN's own banner, "This page is outdated and information might be incorrect." — makes the same point generally: "If your input streams already matches the encoding that you desire for your output stream, then you don't have to transcode at all." It ties this to the GUI option called "keep the original track" — with a hedge the author left in the sentence, literally "(I think)".
If you specifically need MP3, carry on; just know you are paying a generation of lossy re-encoding for it. Otherwise see our guide to extracting audio without re-encoding.
Step 2: The GUI route
Both sentences below come from that same Transcode page, the one VideoLAN flags as "outdated and information might be incorrect". The entry point, verbatim: "Open the Media menu and select Convert/Save". On what happens next the text is brief: "You will then be asked what format to convert to: you can give a video codec, an audio codec and a container format."
That is all the documentation says about the dialog — no profile names are listed anywhere. Treat the profile dropdown as a way of picking a container plus an audio codec, and trust what your build shows you over a preset name copied from a tutorial.
One real GUI limitation is documented, and it bites DVD rippers: "VLC's GUI lets you specify the Title and Chapter from which it will start, but VLC will continue extracting until the end of the Title. It doesn't let you extract a single Chapter at a time. To do that, you will need to use the VLC command line."
Step 3: The command line, and the one official acodec=mp3
VideoLAN publishes complete extraction commands for exactly two formats: FLAC and WAV. The FLAC one, verbatim:
"c:\Program Files\VideoLAN\VLC\vlc.exe" -I dummy --no-sout-video --sout-audio --no-sout-rtp-sap --no-sout-standard-sap --ttl=1 --sout-keep --sout "#transcode{acodec=flac}:std{mux=raw,dst=C:\User\Admin\Desktop\yourAudio.flac}" Video.TS:///C:\User\Admin\Desktop\yourVideo.mp4\#0:01-3:38 vlc://quitThe wiki explains the moving parts one by one:
-I dummy— "VLC should run with no GUI, typing error messages and asking for input in the command line window. This is better for scripting and for faster completion." Leave it off if you want the window to appear.--no-sout-video— "VLC will not pass on a video component to the streaming output"--sout-audio— "VLC will, however, pass on an audio component to the streaming output"acodec=flac— "tells VLC to convert audio content using the FLAC codec"mux=raw— "uses a raw file structure instead of the WAV file structure"
The WAV variant swaps two values — #transcode{acodec=s16l,channels=2}:std{access=file,mux=wav,dst=...} — because acodec=s16l is "the codec for WAV format audio" and mux=wav "tells VLC to write the s16l audio data into a file with the WAV structure."
Now the MP3 part. The only command in the official wiki containing acodec=mp3 is not on the extraction page at all — it is on the page about merging files, where three MP3s are gathered into one:
"%PROGRAMFILES%\VideoLAN\VLC\vlc.exe" -vv FILE1.mp3 FILE2.mp3 FILE3.mp3 --sout-keep --sout=#gather:transcode{acodec=mp3,ab=128}:standard{access=file,mux=dummy,dst=combinedout.mp3}What is documented there is narrow, so be precise about it: VideoLAN writes acodec=mp3 for the MP3 audio codec, pairs it with mux=dummy and access=file, and sets the bitrate with ab=128. The unit is documented separately — "ab: This option allows to set the bitrate of the transcoded audio stream, in kbit/s" — so that is 128 kbit/s.
Try it right here
Runs in your browser. Your file is not uploaded anywhere.
If that reads like a lot of ceremony for "give me the MP3," it matches what VideoLAN concedes above about other tools for pure audio work. The rest of our set is on the tools page.
Two documented numbers are worth setting deliberately. The transcode module lists an audio bitrate "default value: 96" — omit ab and you may get a 96 kbit/s file, which is the usual explanation for "VLC made my audio sound worse." Sample rate is bounded at <integer [0 .. 48000]>, described as "(11250, 22500, 44100 or 48000)". Check both against your build's vlc -H, since that module page carries no version range.
Step 4: Check it worked before you commit
Test on a slice first. From the Transcode page again, warning banner and all: "Transcoding takes quite a while, so it's advisable to use an option like --stop-time=30 to only encode the first 30 seconds—this means you can check the file has transcoded correctly, and that the output is of a suitable quality." With a caveat, quoted as written: "(Note: On macOS this trick doesn't seem to work. Just press Ctrl-C after a while, VLC will properly write out the already transcoded segment)."
Then know what failure looks like, because it may not look like anything. On codec and container mismatches: "If you choose an incompatible stream for a given muxer, it may silently fail. You can look for error messages in the messages window to help you debug the failures." No error dialog is not the same as success. If the output is silent, empty or missing, open Tools → Messages.
Common mistakes
- Reading the wiki's muxer list as a list of what VLC can do. The documented
muxoptions are ts, ps, mpeg1, ogg, asf, asfh, avi and mpjpeg — yet VideoLAN's own examples usemux=raw,mux=wavandmux=dummy, none of which appear there. The documentation index warns that "Parts of this documentation are currently outdated or incomplete." Absence from that list is not evidence of absence in your build;vlc -His. - Leaving loop turned on in the GUI. Verbatim, again from the outdated-flagged
Transcodepage: "without the options --no-repeat --no-loop, you may find that loop options selected in the GUI cause transcodes to fail." Almost nobody mentions this, and it is an official cause of failed transcodes. - Under-escaping backslashes on Windows — same page, "a backslash may have to be escaped by using a double backslash so that a filename would be D:\path\to\file.mpg", especially inside quote blocks.
- Mixing up
:soutand--sout. The guide spells out the difference: ":sout means that the option sout applies only to the preceding stream, not to the whole command line." - Ignoring the notes on
-I. On macOS, the same page says "you should change vlc to vlc -I dummy to avoid possible Bus error problems." The note printed immediately after that one: "If the -I dummy option spawns an extra command prompt with error-message vbv buffer overflow you may try -I rc instead, which would ordinarily open a text interface but – under Windows – behaves exactly like the dummy interface." The "under Windows" there describes how-I rcbehaves, not where the fault occurs.
FAQ
Does VLC officially document how to extract MP3?
No. The "Extracting audio in MP3 format" section of the official Extract audio HowTo contains only TODO!. Complete commands exist for FLAC and WAV; the only official command containing acodec=mp3 sits on the page about merging files.
What bitrate does VLC use if I don't specify one?
The transcode module documents an audio bitrate "default value: 96" (kbit/s). That page carries no version range, so confirm against vlc -H — and set ab explicitly rather than relying on it.
Why is my extracted audio file silent or empty, with no error? Because an incompatible codec and container pairing "may silently fail," in the words of the (outdated-flagged) Transcode page. Open Tools → Messages, the debugging entry point the documentation points at.
Can VLC extract audio without converting it? Yes. If you want the audio in the format it is already stored in, VLC can do it "with no loss of quality, because there is no re-encoding of the content" — leave the transcode block out.
Can I extract just one chapter of a DVD from the VLC window? No. The GUI accepts a starting Title and Chapter but "will continue extracting until the end of the Title." Use the command line for a single chapter.
Is VLC the right tool for this at all? For video sources, yes — that is where VideoLAN says VLC "really shines." For audio-only conversion it points elsewhere. More walkthroughs live under how-to guides, and the browser-based audio extractor skips the install entirely.
Quotes come from VideoLAN's wiki, checked 16 September 2026: the Extract audio and Merge videos together HowTo pages (self-described as an informal support guide), the Transcode page (which carries a "This page is outdated and information might be incorrect" warning), and the transcode module documentation.