Page 1 of 1
problems during intalling videolan server
Posted: 27 Jul 2009 14:18
by netemi
hi everyone ...!!!!!
i have a project about streaming with video lan server but when i download the 0.5.6 version for windows i don't fin the setup.exe file
i have windows vista as operating system and i don't know how to do....
any answer is welcome plz help........
Re: problems during intalling videolan server
Posted: 28 Jul 2009 15:06
by Jean-Baptiste Kempf
Use VLC
Re: problems during intalling videolan server
Posted: 28 Jul 2009 17:16
by netemi
then if i use VLC......tell me where i have to use the command line
like this one:
% vlc -vvv input_stream --sout ’#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}:
standard{access=udp,mux=ts,dst=239.255.12.42,sap,name="TestStream"}’
Re: problems during intalling videolan server
Posted: 28 Jul 2009 17:37
by thannoy
Using DOS emulator or whatever it is called (cmd) and something like that:
Code: Select all
cd c:\Program Files\VideoLAN\VLC
vlc -vvv input_stream --sout #transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}:
standard{access=udp,mux=ts,dst=239.255.12.42,sap,name="TestStream"}
@see
Command_line wiki page.
Re: problems during intalling videolan server
Posted: 28 Jul 2009 19:42
by netemi
thanks for the help...
but i'm on vista and the access to where vlc is different and when i specify it in the command prompt it doesn't find it
Re: problems during intalling videolan server
Posted: 29 Jul 2009 00:14
by thannoy
On Vista it is C:\Programs\ I think. Anyway, try this (more portable):
Code: Select all
cd "%PROGRAMFILES%\VideoLAN\VLC"
vlc -vvv input_stream --sout #transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}:
standard{access=udp,mux=ts,dst=239.255.12.42,sap,name="TestStream"}
Re: problems during intalling videolan server
Posted: 29 Jul 2009 12:26
by netemi
thanks for the help
i was wondering if there is a way to regroup many vlc commands on one file and then be executed
i heard about things called scripts...
then if you have any information about it it would be great
Re: problems during intalling videolan server
Posted: 29 Jul 2009 14:14
by thannoy
On Windows, write all your commands into a simple text file naming it whatever.bat (not whatever.bat.txt).
Its icon will become a program one. Running this script will open a terminal which will execute your commands as if you were typing them.
Re: problems during intalling videolan server
Posted: 29 Jul 2009 15:14
by netemi
it's great then
but i don't think this the wright place for them
where can i have answers about all the streaming issues
Re: problems during intalling videolan server
Posted: 29 Jul 2009 16:32
by thannoy
where can i have answers about all the streaming issues
It will take place in forum "VLC stream-output (sout)" )
viewforum.php?f=4), on the
Documentation:Streaming_HowTo wiki page and on the mailing lists (
http://www.videolan.org/developers/lists.html).
NB: Many answers for many questions are already easy to find in the forum, the wiki, mailing list archives (aka google :), etc.
Re: problems during intalling videolan server
Posted: 29 Jul 2009 22:42
by netemi
thanks again
well when i put the commands in the .bat file and excute it...there is a little problem is that the command prompt appairs and desappairs instantly...and when i execute it as administrator only the CD commands and vlc.exe are executed but the other commands about vlc are not even shown in the command prompt...
Re: problems during intalling videolan server
Posted: 30 Jul 2009 11:20
by thannoy
You can add a pause at the end of your script to check what it is doing (it will not disappear), or you can run it from a command line.
It will execute each line after the previous one ends. So if VLC starts, the script will wait for it to stop before executing the next line.
Re: problems during intalling videolan server
Posted: 30 Jul 2009 17:29
by netemi
ok then there is a problem its that the vlc related commands are not recognized in the command prompt
can you give ma an example of a suite of commands that you have already tried and workend and thanks again
don't forget a little explanation of that commands
Re: problems during intalling videolan server
Posted: 30 Jul 2009 17:49
by thannoy
I don't use Windows as a daily basis. But those lines are an example. To get information about what is a bat file, better is to browser the internet and get more familiar with them. There are very simple.
If you have a problem, it is probably in VLC usage. For this, refer to
Command_line as said earlier and try things with a pause command at the end to have logs printed.
myScript.bat:
Code: Select all
REM this is a comment
REM Run VLC to play a video file in full screen mode. You will be able to quit it using escape key.
%PROGRAMFILES%\VideoLAN\VLC\vlc.exe -vv "c:\your\vide\file.avi" --fullscreen --key-quit=ESC
REM wait until you press ENTER key iirc
pause
Re: problems during intalling videolan server
Posted: 30 Jul 2009 18:21
by netemi
great this totally works thanks again mr thannoy i can now focus on my streaming project
i hope you'll be there if i have any other quetion
Re: problems during intalling videolan server
Posted: 23 Sep 2009 10:27
by thannoy
You can also replace "c:\your\vide\file.avi" by "%1". Then you should be able to drag&drop a file on the .bat script and %1 will refer to the dropped file-name.