Page 1 of 1

how to select the destntion for es module???

Posted: 27 Apr 2010 23:17
by SiddeeqHssn
hi all



i use

Me@laptop:~$ vlc /home/Me/file/Z.mpeg --sout '#es{access=file,mux=ts,url_audio=audio-%c.%m,url_video=video-%c.%m}'

to divide the video into two part audio stream and photo stream (stream-0-mpga.ts & stream-0-mpgv.ts) and the result two file is saved in the path where i work "home/Me/file"



now i can apply the same idea using libvlc using this command

//add option
libvlc_media_add_option(mDivide,":sout =#es{access=file,mux=ps,url_audio=audio-%c.%m,url_video=video-%c.%m}",&exDivide);


but the problem is that the result files are saved in process path.

how i can save the result stream files (stream-0-mpga.ts & stream-0-mpgv.ts) in path where i need?.

thank you very much