[vlc] Re: Howto keep a transcoded file

Gildas Bazin gbazin at altern.org
Mon Jul 26 08:48:24 CEST 2004


On Monday 26 July 2004 00:58, James MacLean wrote:
> Hi Everyone,
> 
> Latest SVN on Linux.
> 
> When I do :
> 
> vlc -v -I rc 
--sout="#transcode{vcodec=theo,vb=512,scale=0.5,acodec=vorb,ab=64,channels=2}:duplicate{dst=std{access=file,mux=ogg,url=\"out.ogg\"}}" 
"my.avi" vlc:quit
> 
> It runs along creating a nice big ogg file, but at completion, that file 
> gets set to size 0 :(.
> 
> Something extra I should be adding to the command line?
> 

vlc:quit is a playlist item like another one so the global --sout option 
applies to it as well, thus overwritting your previous file.
What you want is to use "sout" as an input option by using ":sout=" instead 
of "--sout=", and moving the option just after your first input (input 
options apply to the input/playlist item preceding them).
Most global options (vlc -H --advanced) that have an effect on 
inputs/playlist items can also be used as input options.

--
Gildas

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list