Cooonverting videos for Zune

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
troys
New Cone
New Cone
Posts: 7
Joined: 09 Jul 2010 06:44

Cooonverting videos for Zune

Postby troys » 09 Jul 2010 07:09

I'm trying to convert mov and mp4 files for use on Zune. I made the following batch files based on the how-to instructions on this site. When I drag a file to the batch file, it exits without converting. How do I troubleshoot?

Troy

Code: Select all

@REM Set this next line to where you want your output files: @SET outdir=e:\video\ @REM No further changes should be needed below for VLC 0.9.8a @SET infile=%1 @SET infile=%infile:"=% @FOR /F "delims=" %%i in ("%infile%") do SET filename=%%~ni @SET outfile=%outdir%%filename%.wmv "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv --sout="#transcode{vcodec=WMV2,vb=750,width=320,canvas-height=240,acodec=wma,ab=128,channels=2}:duplicate{dst=std{access=file,mux=asf,dst=%outfile%}}" "%infile%" --play-and-exit pause

ILEoo
Developer
Developer
Posts: 91
Joined: 05 Nov 2008 16:29

Re: Cooonverting videos for Zune

Postby ILEoo » 09 Jul 2010 14:43

add --extraintf=logger to place log-output to vlc-log.txt.

And you shouldn't need duplicate in that chain at all.

troys
New Cone
New Cone
Posts: 7
Joined: 09 Jul 2010 06:44

Re: Cooonverting videos for Zune

Postby troys » 09 Jul 2010 18:46

Thanks for the reply. The command being run is

Code: Select all

E:\p\feck\ifm-hd>"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv --sout="#tra nscode{vcodec=WMV2,vb=750,width=320,canvas-height=240,acodec=wma,ab=128,channels =2}" "E:\p\fred\ijk-hd\vint.mov" --extrainf=logger --play-and-exit
and i get the error
The command line options couldn't be loaded, check that they are valid.

Help very much appreciated.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Cooonverting videos for Zune

Postby VLC_help » 10 Jul 2010 15:30

Transcode itself isn't enough, you need output also. So something like

Code: Select all

vlc --play-and-exit input.mov :sout=#transcode{vcodec=WMV2,vb=800,scale=1,acodec=wma2,ab=128,channels=2,samplerate=44100}:file{mux=asf,dst=output.wmv}

troys
New Cone
New Cone
Posts: 7
Joined: 09 Jul 2010 06:44

Re: Cooonverting videos for Zune

Postby troys » 10 Jul 2010 19:39

I am getting the same error as before. Here is what I have:
The command line options couldn't be loaded, check that they are valid.

Code: Select all

E:\p\f\i>"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --play-and-exit - -extrainf=logger "E:\p\f\i\decV.mp4" :sout=#transcode{vcodec=WMV 2,vb=800,scale=1,acodec=wma2,ab=128,channels=2,samplerate=44100}:file{mux=asf,ds t=E:\p\f\i\decV.mp4.wmv}

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Cooonverting videos for Zune

Postby VLC_help » 11 Jul 2010 16:15

Should the command be on one line?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 17 guests