VLC + IceCast Live Video Streaming buffering problem
Hello Guys
Im trying to set up a Live Video Streaming thats gonna run 24/7 im using VLC 1.1.4 Icecast 2.3.2 Logitech HD webcam c270 Using Theora/Vorbis transcoding so far Bandwidth 1400kb down 400kb up (This is only for test so far) all this on Ubuntu Maverick (10.10) Problems im having. Im only on testing stage, im testing this on LAN first and even on LAN im getting an excess of buffering, the video freez and loads and then resumes and its anoying and wont work like this. Ive been trying to find the way to set up the VLC to send lower video quality or something to see if there lays the problemand i dont seem to find the rigt options, i have no clue how to set up properly i dont know if it has to be on the transcoding options or what; id like some advices on where i have to beging configuring in order to mess with the stream quality and bandwidth or something!! ALSO i tried to use the command line to stream but its so confusing i never manage to do it properly... i would like an exaple of using the comand line since i have been reading a lot of guides how to use the comand line and they are all very confusing. PD: Im no hardcore programer nor experienced Linux user but im looking foward to learn a lot! |
Quote:
https://wiki.archlinux.org/index.php/Webcam_Setup Regards Glenn |
Thank You GlennsPref!
It was kinda helpfull, by reading that tutorial i could learn how to play the webcam from console but im still requring a proper command line to stream, the $ vlc v4l2:// --sout=#transcode{vcodec=theo,vb=48,scale=1,width=320,height=240,acodec=none}:std{access=shout,mux=ogg ,dst=source:*****@127.0.0.1:8000//videomundial} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep it aint working and im still very confusing on configuring the VLC even on the GUI about the search function i used i plenty and could not find a suitable answer since it appears that most of the questions are very old, non are having my issues or im just terrible at finding something similar! Thanks again anyways and more input would be awesome! |
Allright i managed to make it work trough console! but i still cant manage to configure the frame rate when i try to set some fps on the GI it wont play anything the camera wont even open
the comand line im using is $ vlc v4l2:// --sout "#transcode{vcodec=theo,vb=48,scale=1,width=320,height=240,acodec=none}:std{access=shout,mux=ogg,dst =source:password@127.0.0.1:8000//videomundial}" Id like to know how to configure fps, buffer size and stuff in console and all |
|
Quote:
Thank you for your answers! Well when i performed the searches i saw that topic, and the problem was not quite as mine, my camera its working, im able to transmit the stream and all, my problem is that i cannot seem to understand how to configure what im sending in terms of quality and bandwidth! I dont know how, the options to configure that stuff using VLC GUI nor command line! So far whats giving me the most troubles is configurating the fps, i dont know where to begin, i dont know if i have to configure in the camera itself (where??) or the VLC will allow me all that (WHERE??) As i said im not an experimented Linux user, most of the things ive read i cannot comprehend entirely but ive read a lot and dealt with a lot of problems so far, ive gone from a regular windows user... to install & configure linux debian and ubuntu and been able to transmist via stream all with just google and reading forums! dont think im posting because im lazy! this is my last resort actually ive been reading a lot. Most of the help i find is from very old versions of VLC or has nothing to do with whats giving me troubles! Tho im not even sure if the camera and combination of programs im using are the best for Live Streaming 24/7 |
Hi, try this to find the config file for vlc.
Code:
locate vlc Code:
locate vlc | grep vlcrc This is the file to edit. once you have the file open in an editor like kate or gedit, search for 'fps', without the quotes. for instance line 1134, transcode fps line 2227, X11/xcb line 2271, v4l2 there's more. you might web-search for "vlcrc (some term you want)" to find other examples to compare with. Cheers, Glenn |
Hello people!
alright i figure a lot of stuff, at the end its easier than i though problem is documentation its rly outdated for the initial problem that was the execs of buffering i solved by setting the fps as i intended in the first place in the transcode part of the command line its possible to include this without any more trouble like #transcode{vcodec=theo,vb=48,fps=15,scale=1,width=480,height=320} that was an example, normally if you use width and height you wouldn't need to use scale also there are lots of options for the capture/input part, ive been trying and some work some dont on but its good to know they exist here is a site that describe some of them http://wiki.videolan.org/Documentation:Modules/v4l2 in there there is an option :v4l2-fps= but it doesn't seem to be working for me, the vlc wont recognize so no idea there the syntax its not very clear but it gives you a clue and im sure if you got some experience not like when i started it should be easier to figure the line im using is Code:
vlc v4l2:///dev/video0:v4l2-fps=10 :v4l2-adev=hw:0,0 the --input-slave seems very cool but im not really sure of its functionality first because its not working for me hehe and second because i never found documentation of that, i found about it in the #videolan channel @ irc.freenode and the GUI of the vlc uses it too also the fact that there is an option of the v4l2 that calls the audio v4l2-adev= but i think it only works when the audio its also been input by the v4l2 device or i don't know and finally well i ran into another problem and i belive its a vlc bug i cannot either play locally with vlc audio from the line in and video at the same time, nor offcourse stream them i use Code:
cvlc -v v4l2:// --input-slave=alsa:// if i use Code:
cvlc -v alsa:// --input-slave=v4l2:// I only get audio Ive tried every syntax that i can imagine vlc, :input-slave= (which doesn't work) etc so i believe its unbelievable that this is happening, how come i cannot play bot at the same time on vlc wen vlc its a program thats used to play media.... ? :s well if i missed anything ill post! |
All times are GMT -5. The time now is 03:22 AM. |