Difference between revisions of "VLC HowTo/Extract audio"

From VideoLAN Wiki
Jump to navigation Jump to search
(→‎See Also: Add cross-link to Extract Audio From File article, and put in Category:How To.)
(Add explanation of :sout option prefix.)
Line 4: Line 4:
  
 
  vlc --no-sout-video dvdsimple:///dev/scd0@1:1 :sout='#std{access=file,mux=raw,dst=./file.ac3}'
 
  vlc --no-sout-video dvdsimple:///dev/scd0@1:1 :sout='#std{access=file,mux=raw,dst=./file.ac3}'
 +
 +
Note: <tt>:sout</tt> means that the option ''sout'' applies only to the preceding stream, not to the whole command line. See ''[[VLC command-line help]]''.
  
 
== See Also ==
 
== See Also ==

Revision as of 20:20, 26 October 2011

VLC can extract audio from most sources with no loss of quality, because there is no re-encoding of the content.

The way to do this for DVD video is (on Linux):

vlc --no-sout-video dvdsimple:///dev/scd0@1:1 :sout='#std{access=file,mux=raw,dst=./file.ac3}'

Note: :sout means that the option sout applies only to the preceding stream, not to the whole command line. See VLC command-line help.

See Also