[vlc] Re: Howto keep a transcoded file

James MacLean macleajb at ednet.ns.ca
Mon Jul 26 15:02:28 CEST 2004


On Mon, 26 Jul 2004, Gildas Bazin wrote:

> 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

Hi Gildas,

Just reporting that your instruction was the answer. Transcoded file 
remains :).

FYI I used :

vlc -v -I rc  "in.avi" ":sout=#transcode{vcodec=theo,vb=512,scale=0.5,acodec=vorb,ab=64,channels=2}:std{access=file,mux=ogg,url=\"my.ogg\"}" vlc:quit

thanks,
JES
-- 
James B. MacLean        macleajb at ednet.ns.ca
Department of Education 
Nova Scotia, Canada
     

-- 
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