command line - How to save video stream using VLC in commandline? -
i'm trying save online video using vlc in command line on window 7 basic.
here few things tried , worked partially:
i:\movies> vlc http://media.ch9.ms/ch9/7492/a92ae0a6-7b81-4114-b102aa055d147492/e2emeijerbrachadartmonadscontinuations.wmv --sout="#duplicate{dst=std{access=file,mux=wmv,dst='file.wmv'}, dst=display}"
it plays video while streaming, , saves stream file.wmv
. saved video doesn't have audio! command worked partially.
another try youtube:
i:\movies> vlc http://www.youtube.com/watch?v=tfr6g5zves8 --sout="#duplicate{dst=std{access=file,mux=wmv,dst='file.wmv'}, dst=display}"
same result: saved video without audio. changed mux=wmv,dst='file.wmv'
mux=webm,dst='file.webm'
in command line, , ran again:
i:\movies> vlc http://www.youtube.com/watch?v=tfr6g5zves8 --sout="#duplicate{dst=std{access=file,mux=webm,dst='file.webm'}, dst=display}"
it created file, neither video nor audio. again tried mux=mp4,dst='file.mp4'
. same result : neither video nor audio, created file.
any idea how fix problem? missing?
as version of vlc
i'm using, command vlc --version
gives this:
vlc version 2.0.6 twoflower (2.0.6-7-g729aa7a) compiled fun on fat (apr 8 2013 23:22:26) compiler: gcc version 4.6.3 (gcc)
-acodec
, -vcodec
example:
"c:\program files\videolan\vlc\vlc.exe" -vvv dshow:// :dshow-vdev="usb video device" --sout=#transcode{vcodec=mp2v,fps=60,width=1080,acodec=mp2a,scale=1,channels=2,deinterlace,audio-sync}:standard{access-file,mux=ps,dst="c:\spi3-lite\videooutput\test1.mpg}
Comments
Post a Comment