Howto keep a transcoded file 

Newsgroups: gmane.comp.video.videolan.vlc.general
Date: 2004-07-26
> > 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 :(.
>
> 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.

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,

James B. MacLean