quit vlc using command line

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
karmegam
Blank Cone
Blank Cone
Posts: 11
Joined: 05 Oct 2004 06:21
Location: India
Contact:

quit vlc using command line

Postby karmegam » 13 Mar 2005 06:47

i am using vlc for transcoding a mp1video file. i am doing it using shell scripting in LINUX. i want vlc to close after the file is transcoded.

I tried the comman vlc:quit but still vlc is not closing.

anybody plz help out.
thanks
Karmegakumar.A B.Tech IT
Amrita Institutions
Coimbatore

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 13 Mar 2005 14:48

could you paste the command line you use ?

karmegam
Blank Cone
Blank Cone
Posts: 11
Joined: 05 Oct 2004 06:21
Location: India
Contact:

the code i used

Postby karmegam » 14 Mar 2005 03:10

thanks for your reply,
the code i used is,
vlc -vvv INPUTFILE.mpg --sout #transcode {vcodec=mp4v,acodec=mpga, vb=256,ab=64,scale=0.5} :standard{access=file,url=OUTPUTFILE.mpg}

this works fine, but if i use vlc:quit the transcoding doesnt take place properly.

what shall i do then?
Karmegakumar.A B.Tech IT
Amrita Institutions
Coimbatore

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 14 Mar 2005 17:27

That's because due to --sout it also does the transcoding on the vlc:quit item, which will result in an empty file. You need to use file specific options instead of global options.

--sout is global
:sout is file specific.

vlc -vvv INPUTFILE.mpg :sout=#transcode{vcodec=mp4v,acodec=mpga, vb=256,ab=64,scale=0.5}:standard{access=file,url=OUTPUTFILE.mpg} vlc:quit

should be a working commandline for you.
Don't use PMs for support questions.

karmegam
Blank Cone
Blank Cone
Posts: 11
Joined: 05 Oct 2004 06:21
Location: India
Contact:

thanks

Postby karmegam » 22 Mar 2005 11:29

thanks, its working now.
Karmegakumar.A B.Tech IT
Amrita Institutions
Coimbatore


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 15 guests