VLC as recoding tool (avi -> ts || ps)

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Guest

VLC as recoding tool (avi -> ts || ps)

Postby Guest » 30 Oct 2004 16:22

Hi, people.
I want use VLC as movie recoder from *.avi to TS.
In fact, I can do this with next command:

Code: Select all

$ vlc -vvv file:/home/errno/video/Fight\ Club.avi --sout '#std{access=file,mux=ts,url=test.ts}'
Is the question, how I need start VLC for automatical finishing VLC process on the end of AVI file?

Any tips or other (more effective) method of recoding are invited, too.

P. S. Sorry, english isn't my native :)

P. P. S. VLC-0.7.2 / Gentoo Linux

errno
New Cone
New Cone
Posts: 9
Joined: 30 Oct 2004 15:13
Location: Ukraine, Lviv
Contact:

Postby errno » 30 Oct 2004 16:26

Timeouted cookie :(((
Above, it's me :)

markfm
Big Cone-huna
Big Cone-huna
Posts: 1536
Joined: 22 Feb 2004 17:42

Postby markfm » 31 Oct 2004 14:08

try vlc --longhelp --advanced.

I'm not sure, but you might want to try vlc:quit at the end of your command line (or maybe right after where you list the movie for vlc to play), see if that works.

errno
New Cone
New Cone
Posts: 9
Joined: 30 Oct 2004 15:13
Location: Ukraine, Lviv
Contact:

Postby errno » 01 Nov 2004 17:09

Thanks, option "vlc:quit" makes VLC quit on the end of file, but after quiting result-file become empty :(((
When converting in progress, file growing, on finish filesize = zero.
How understand this behavior?

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 » 01 Nov 2004 17:19

that's because --sout is a global option, and vlc-quit is considered to be an "input" file (even though it is bogus). So this overwrites the output file.
instead use an input specific option. like this.


vlc -vvv file:/file.avi :sout '#transcode etc.' vlc:quit
Don't use PMs for support questions.

errno
New Cone
New Cone
Posts: 9
Joined: 30 Oct 2004 15:13
Location: Ukraine, Lviv
Contact:

Postby errno » 01 Nov 2004 19:12

It's does not work with ":sout", I tring:

Code: Select all

vlc -vvv file:/mnt/floppy/home/gav/video/Fight\ Club.avi :sout '#std{access=file,mux=ts,url=/share/test.ts}' vlc:quit
says:

Code: Select all

[00000193] main decoder debug: no usable vout present, spawning one [00000195] main video output debug: looking for video output module [00000195] main video output debug: probing 4 candidates [00000194] mpeg_audio decoder: MPGA channels:2 samplerate:48000 bitrate:128 [00000194] main decoder debug: no aout present, spawning one [00000195] xvideo video output error: cannot open display [00000196] main audio output debug: looking for audio output module [00000196] main audio output debug: probing 5 candidates
I can't understend your verdict about "vlc:quit" as input definition. If it's true, why VLC listen this option and quits? It must stay running with empty output, like this option does not set.
Explaine, please.

errno
New Cone
New Cone
Posts: 9
Joined: 30 Oct 2004 15:13
Location: Ukraine, Lviv
Contact:

Postby errno » 03 Nov 2004 11:22

Hi, people :)))
I solve trouble :) My task with batch-style recoding can be done with next commad:

Code: Select all

vlc -vv file:/share/test.avi :sout=file/ts:/share/test.ts vlc:quit
It was surprise, that syntax for input specific sout is different from global sout definition.

Thanks, for all.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 7 guests