HiThe WMV file contains a WVC1 video stream and a WMA2 stereo audio stream.
Any ideas on just extracting the audio? I'd prefer a command to convert directly to MP3, but if need be, I would do it in two steps.
Code: Select all
vlc "f:\tmp\x.wmv" -I dummy -vvv --sout="#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=file,mux=dummy,dst='F:\tmp\x.mp3'}" vlc://quit
Code: Select all
vlc "f:\tmp\x.wmv" -I dummy -vvv --sout="#transcode{vcodec=none,acodec=vorb,ab=128,channels=2,samplerate=44100}:std{access=file,mux=ogg,dst='F:\tmp\x.ogg'}" vlc://quit
Code: Select all
vlc "f:\tmp\x.wmv" -I dummy -vvv --sout="#transcode{vcodec=none}:std{access=file,mux=asf,dst='F:\tmp\x.wma'}" vlc://quit
Code: Select all
vlc "f:\tmp\x.ogg" --sout=#transcode{acodec=mp3,vcodec=dummy}:standard{access=file,mux=raw,dst="F:\tmp\x.mp3"}
YesI notice that that your command to convert to MP3 has "mux=dummy", whereas the one for OGG has "mux=ogg". Is this correct?
Code: Select all
vlc "f:\tmp\x.wmv" -I dummy -vvv --sout="#transcode{vcodec=none,acodec=s16l,channels=2,samplerate=44100}:std{access=file,mux=wav,dst='F:\tmp\x.wav'}" vlc://quit
Code: Select all
vlc "f:\tmp\x.wav" -I dummy -vvv --sout="#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=file,mux=dummy,dst='F:\tmp\x.mp3'}" vlc://quit
To extract the wma2 audio track, use a command like this:-Code: Select all
vlc "f:\tmp\x.wmv" -I dummy -vvv --sout="#transcode{vcodec=none}:std{access=file,mux=asf,dst='F:\tmp\x.wma'}" vlc://quit
To extract the wma2 audio track, use a command like this:-Code: Select all
vlc "f:\tmp\x.wmv" -I dummy -vvv --sout="#transcode{vcodec=none}:std{access=file,mux=asf,dst='F:\tmp\x.wma'}" vlc://quit
Used this command with "vlc://quit" at the end - VLC just exits and produces a zero-length WMA file. What did I do wrong?
Nope, if I use this cmd line
Looks like you didn't specify any audio codec.
Code: Select all
vlc.exe "GPID.webm" -I dummy -vvv --sout="#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=file,mux=dummy,dst='C:\Users\sengl\Videos\GPID.mp3'}"
Thanks, works like a charm!mux=raw
Code: Select all
vlc.exe "1.webm" -I dummy -vvv --sout="#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=file,mux=raw,dst='C:\Users\user\Videos\1.mp3'}" vlc://quit
Return to “VLC media player for Windows Troubleshooting”
Users browsing this forum: Google [Bot] and 23 guests