[vlc] Re: Streaming and Saving

Laurent Aimar fenrir at via.ecp.fr
Mon Feb 16 13:38:43 CET 2004


On Mon, Feb 16, 2004, Petrus wrote:
> 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"}'
Mhh, you have a little problem with "" used in the second std (for the url),
Try:

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"}'

-- 
fenrir

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