howto convert cmd from docs?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
tenaro
New Cone
New Cone
Posts: 8
Joined: 14 Aug 2008 16:34

howto convert cmd from docs?

Postby tenaro » 17 Aug 2008 23:09

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

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: howto convert cmd from docs?

Postby thannoy » 18 Aug 2008 00:42

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

tenaro
New Cone
New Cone
Posts: 8
Joined: 14 Aug 2008 16:34

Re: howto convert cmd from docs?

Postby tenaro » 19 Aug 2008 16:11

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

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: howto convert cmd from docs?

Postby thannoy » 19 Aug 2008 17:41

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?

tenaro
New Cone
New Cone
Posts: 8
Joined: 14 Aug 2008 16:34

Re: howto convert cmd from docs?

Postby tenaro » 20 Aug 2008 11:41

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.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 49 guests