Page 1 of 1

howto convert cmd from docs?

Posted: 17 Aug 2008 23:09
by tenaro
Hi all,

obviously docs are written for Linux users, not windows guys like me (http://www.videolan.org/doc/streaming-h ... l#id311538). Can anybody help me how those commands should look like in Windows enviroment? Here is one explicit example I would like to use from command line in Windows XP:

% vlc -vvv input_stream --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}:
duplicate{dst=display,dst=rtp{mux=ts,dst=239.255.12.42,sap,name="TestStream"},
dst=rtp{mux=ts,dst=192.168.1.2}}'

For input_stream I'll use some .avi from a local hard disk.

Thanks in advance,
Tenaro

Re: howto convert cmd from docs?

Posted: 18 Aug 2008 00:42
by thannoy
Hi,
% vlc -vvv input_stream --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}:
duplicate{dst=display,dst=rtp{mux=ts,dst=239.255.12.42,sap,name="TestStream"},
dst=rtp{mux=ts,dst=192.168.1.2}}'
On windows environment, it should looks like this (yes, I am a Linux user :-) ):
Fist of all
Start a cmd shell: Start>Run>"cmd"
solution 1:
For Windows prior to Vista:

Code: Select all

cd "C:\Program Files\VideoLAN\VLC"
For Windows Vista:

Code: Select all

cd C:\Programs\Videolan\VLC
Then (the same):

Code: Select all

vlc -vvv "full path to your video file" --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}: duplicate{dst=display,dst=rtp{mux=ts,dst=239.255.12.42,sap,name="TestStream"}, dst=rtp{mux=ts,dst=192.168.1.2}}'
solution 2:

Code: Select all

cd "folder containing of your video files" "c:\Program Files\VideoLAN\VLC\vlc.exe" myfile.avi --sout '#blabla'
The other solution
Maybe the Graphical User Interface can do the stuff (maybe not as accuratley as your command line - thinking about the duplicate), but it can help.

regards,
_Anthony

Re: howto convert cmd from docs?

Posted: 19 Aug 2008 16:11
by tenaro
Hi there,

it is not so simple after all: if I execute one command on Debian everything is WORKING just fine but when same command is applied on XP (tried on 3 different machines) then it is NOT working. Here is the example for one command that is working on Debian but NOT working on XP: vlc audio.mp3 --sout '#rtp{mux=ts,dst=239.9.9.9}'
Just to be clear, executing only "vlc audio.mp3" on XP machine will start my VLC player and this will work without problems.

Regards,
Tenaro

Re: howto convert cmd from docs?

Posted: 19 Aug 2008 17:41
by thannoy
Hi,

I find weird that your command-line works under Linux. I thought "access=udp" was mendatory in this case. ( #std{access=..,mux=..,dst=..} ). What append if you add access parameter for your Windows test?

Re: howto convert cmd from docs?

Posted: 20 Aug 2008 11:41
by tenaro
Hi Thannoy, and thanks for your comment. It seems to me #rtp{...} is new module and you are using old one #std{access=udp,...} that will not be active in future versions of VLC.