[vlc] Streaming and Saving

Petrus wannaearn at libero.it
Mon Feb 16 13:14:38 CET 2004


I'm trying to have vlc write a file and stream at the same time with transcoding and program selection.  
 
I tried this line: 
 
vlc --sout-all rtp/ts2:@:1233 --sout\ 
'#duplicate{dst="transcode{vcodec=mp4v,acodec=mp3,vb=256,ab=96,deinterlace,scale=0.5,channels=1}:\ 
std{access=rtp,mux=ts,url=224.0.1.1:1234,sap=can1}",select="program=3401",\ 
dst="transcode{vcodec=mp4v,acodec=mp3,vb=256,ab=96,deinterlace,scale=0.5,channels=1}:\ 
std{access=file,mux=ts,url="reg_can2.ts"}",select="program=3402"}' 
 
but I didn't obtain the output file I wanted (the streaming works fine). 
 
The line that works is: 
 
vlc --sout-all rtp/ts2:@:1233 --sout\ 
'#transcode{vcodec=mp4v,acodec=mp3,vb=256,ab=96,deinterlace,scale=0.5,channels=1}:\ 
duplicate{dst=std{access=file,mux=ts,url="reg_can1.ts"},select="program=3401"}' 
 
The first one would be more usefull(I'd like to obtain two or more outputs with different 
transcondification). 
Is There a way to make the first work with little syntax modification? 
Thanks for any help. 
 
Bye Petrus. 
 

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