Win7 and commandline

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.
mysticJay
Blank Cone
Blank Cone
Posts: 18
Joined: 20 Mar 2011 17:30

Win7 and commandline

Postby mysticJay » 03 Jan 2012 21:07

Hi,
I do not see the bug in this:

vlc c:\temp\convert\IMGP1295.avi --sout='#transcode{vcodec=mp1v, acodec=mpga}:std{access=file, mux=mpeg1,url=c:\temp\mpg\file-1.mpg}'
^ ^ ^ ^
but all I get is the regular GUI with a playlist showing the comandline split in 4 parts where I marked with "^"
convert\IMGP1295.avi
convert\acodec=mpga}:std{access=file,
convert\mux=mpeg1,
convert\url=c:\temp\mpg\file-1.mpg}'

it seems it has problems with the commas

Any advice (or RTFM with page and line ;-) is welcome
thanks

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: Win7 and commandline

Postby funman » 03 Jan 2012 21:33

Just don't use spaces.

I supposed that it is the problem because your ^ are not aligned (perhaps with using BB code's "code" tag it'd work though)

mysticJay
Blank Cone
Blank Cone
Posts: 18
Joined: 20 Mar 2011 17:30

Re: Win7 and commandline

Postby mysticJay » 03 Jan 2012 22:43

nope, it is because of the "," (commas)! There is no space in front of "url", still it splits up!
and the <'> should have made it one parameter for sout

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

Re: Win7 and commandline

Postby VLC_help » 04 Jan 2012 17:21

There is a whitespace before acodec and mux
so correct one would be

Code: Select all

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

mysticJay
Blank Cone
Blank Cone
Posts: 18
Joined: 20 Mar 2011 17:30

Re: Win7 and commandline

Postby mysticJay » 05 Jan 2012 21:12

Hi
THAT would have been too easy. the whitespaces are not the problem:

[027e812c] dummy interface: VLC media player - 1.1.11 The Luggage
[027e812c] dummy interface: Copyright © 1996-2011 the VideoLAN team
[027e812c] dummy interface:
Warnung: Wenn Sie auf das graphische Interface nicht mehr zugreifen können, öffn
en Sie die Befehlszeile, gehen Sie in den Ordner von VLC und führen "vlc -I qt"
aus.

[027e812c] dummy interface: using the dummy interface module...
[027e812c] main interface debug: using interface module "dummy"
[027e812c] main interface debug: TIMER module_need() : 15.000 ms - Total 15.000
ms / 1 intvls (Avg 15.000 ms)
[02371d1c] main playlist debug: processing request item null node Wiedergabelist
e skip 0
[02371d1c] main playlist debug: rebuilding array of current - root Wiedergabelis
te
[02371d1c] main playlist debug: rebuild done - 1 items, index -1
[02371d1c] main playlist debug: starting new item
[02371d1c] main playlist debug: creating new input thread
[023583dc] main input debug: Creating an input for 'IMGP1295.avi'
[023583dc] main input debug: thread (input) created at priority 1 (../.././src/input/input.c:220)
[023583dc] main input debug: thread started
[027d7b2c] main stream output debug: using sout chain=`standard{mux="",access="'#transcode{vcodec=mp1v,acodec=mpga}",dst="std{access=file,mux=mpeg1,url=c:\temp\mpg\file-1.mpg}'"}'
[027d7b2c] main stream output debug: stream=`standard'
[0285c614] main stream out debug: looking for sout stream module: 1 candidate
[0285c614] main stream out warning: missing value for option mux
[0285c614] main stream out debug: set config option: sout-standard-access to '#transcode{vcodec=mp1v,acodec=mpga}
[0285c614] main stream out debug: set config option: sout-standard-dst to std{ac
cess=file,mux=mpeg1,url=c:\temp\mpg\file-1.mpg}'
[0285c614] stream_out_standard stream out debug: creating `'#transcode{vcodec=mp1v,acodec=mpga}/(null)://std{access=file,mux=mpeg1,url=c:\temp\mpg\file-1.mpg}''
[0285c614] stream_out_standard stream out debug: extension is mpg}'
[0285c614] stream_out_standard stream out debug: extension -> mux=(null)
[0285c614] stream_out_standard stream out error: no mux specified or found by extension
[0285c614] main stream out debug: no sout stream module matching "standard" could be loaded
[0285c614] main stream out debug: TIMER module_need() : 4.000 ms - Total 4.000 ms / 1 intvls (Avg 4.000 ms)
[0285c614] main stream out debug: destroying chain... (name=(null))
[0285c614] main stream out debug: destroying chain done
[027d7b2c] main stream output error: stream chain failed for `standard{mux="",access="'#transcode{vcodec=mp1v,acodec=mpga}",dst="std{access=file,mux=mpeg1,url=c:\temp\mpg\file-1.mpg}'"}'
[023583dc] main input error: cannot start stream output instance, aborting
[02371d1c] main playlist debug: finished input
[023583dc] main input debug: thread ended
[02371d1c] main playlist debug: dead input
[023583dc] main input debug: thread times: real 0m0.007812s, kernel 0m0.000000s, user 0m0.000000s
[023583dc] main input debug: TIMER input launching for 'IMGP1295.avi' : 8.000 ms - Total 8.000 ms / 1 intvls (Avg 8.000 ms)
[02371d1c] main playlist debug: changing item without a request (current 0/1)
[02371d1c] main playlist debug: nothing to play

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

Re: Win7 and commandline

Postby VLC_help » 06 Jan 2012 18:59

Try

Code: Select all

vlc c:\temp\convert\IMGP1295.avi :sout=#transcode{vcodec=mp1v,acodec=mpga,channels=2}:file{mux=mpeg1,dst=c:\temp\mpg\file-1.mpg}

rullbandspelare
Blank Cone
Blank Cone
Posts: 11
Joined: 18 Nov 2010 13:48

Re: Win7 and commandline

Postby rullbandspelare » 12 Jan 2012 21:33

If I run this on XP the transcoded video is a MPEG1 container with MPEG2 codec. (Acording to Gspot)
It feels like a bug. Or am I missing something?
The old VLC version 0.8 produces MPEG1 container with MPEG1 codec.

Please enlighten me!! This is causing me trouble!

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

Re: Win7 and commandline

Postby VLC_help » 13 Jan 2012 20:39

What does tool called Mediainfo say about the file?

rullbandspelare
Blank Cone
Blank Cone
Posts: 11
Joined: 18 Nov 2010 13:48

Re: Win7 and commandline

Postby rullbandspelare » 13 Jan 2012 23:06

Format : MPEG-PS
File size : 5.55 MiB
Duration : 18s 239ms
Overall bit rate : 2 555 Kbps

Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : No
Format settings, Matrix : Default
Format settings, GOP : M=1, N=12
Duration : 18s 239ms
Bit rate : 2 504 Kbps
Maximum bit rate : 12.0 Mbps
Width : 704 pixels
Height : 576 pixels
Display aspect ratio : 4:3
Frame rate : 25.000 fps
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.247
Stream size : 5.44 MiB (98%)

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

Re: Win7 and commandline

Postby VLC_help » 15 Jan 2012 17:43



Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 41 guests