Page 1 of 1

Command line transcode does nothing

Posted: 16 Apr 2008 12:16
by rph123
Running VLC 0.8.6d on XP.

I have tried the example command line transcode at URL below.

This doesn't produce any output file at all.

I don't see any error output. Tried --verbose switch too.


Any ideas why? Thanks



http://wiki.videolan.org/MPEG-2

Here is an example of how to transcode an AVI into a portable MPEG-1 video from the command prompt

vlc file.avi --sout='#transcode{vcodec=mp1v, acodec=mpga}:std{access=file, mux=mpeg1,url=file.mpg}'

Re: Command line transcode does nothing

Posted: 16 Apr 2008 16:48
by johansyd
Try:

vlc -vvv file.avi --sout='#transcode{vcodec=mp1v, acodec=mpga}:std{access=file, mux=mpeg1,url=file.mpg}'

Post what you get enclosed in a code tag.

Re: Command line transcode does nothing

Posted: 17 Apr 2008 11:15
by rph123
I tried the -vvv, but don't see any verbose output suggesting what's going on.

The VLC control dialog pops up, but I get no output to the launching DOS window.

Any ideas?

Thanks

Re: Command line transcode does nothing

Posted: 19 Apr 2008 00:53
by eclere
Hello,

i have the same problem. I want stream to windows media player: http://www.videolan.org/doc/streaming-h ... l#id311798

my commandline:

vlc -vvv e:\test.avi --sout '#transcode{vcodec=DIV3,vb=256,scale=1,acodec=mp3,ab=32,channels=2}:std{access=mmsh,mux=asfh,dst=localhost:8080}'

The Errormessage:
stream_out_standard error: no mux specified or found by extension
main error: stream chain failed for `std{mux="",access="'#transcode{vcodec=DIV3,vb=256,scale=1,acodec=mp3,ab=32,channels=2}",dst="std{access=mmsh,mux=asfh,dst=127.0.0.1:8080}'"}'
main error: cannot start stream output instance, aborting

Any ideas?

Best Regards

Thorsten

Re: Command line transcode does nothing

Posted: 20 Apr 2008 22:08
by tkauppin
I found one quite nasty problem. I must call "\program files\videolan\vlc\vlc" to make the command line switches to work properly. adding the VLC to path is not working. at least now I get some output with -vvv, after fighting with this problem for several days!