Setting up Live streaming using VLC and justin.tv

To setup live streaming the os i used is ubuntu 10.10 the kernel version of ubuntu 10.10 is 2.6.35..you need vlc installed in the system….The tv tuner card used is Avermedia Volar Go usb card…The linux driver of the tv tuner is card is available in the site of Avermedia

http://www.avermedia.com/avertv/Product/ProductDetail.aspx?Id=495&tab=APDriver

Install the driver by running the shell program After successful installation of the driver there is a scripts folder run the vlc.sh its asks certain inputs such as which card,which video you need etc if everythings fine you can see the video out on vlc..The AV out from Tv must be connected to the tuner card using AV code..

Now create an an account on justin.tv..From the site you will get a stream key copy that..

Now download jtvlc linux version  from the below link

http://apiwiki.justin.tv/mediawiki/index.php/Linux_Broadcasting_API

I downloaded version  0.41,extract it inside folder there isa jtvlc executable is available.

vlc v4l2:///dev/video0 :input-slave=alsa://hw:1,0 :v4l2-standard=2:v4l2-standard=255  :v4l2-chroma=YUYV :v4l2-input=1 :v4l2-audio-input=0 :v4l2-io=2 :v4l2-width=720 :v4l2-height=576 :v4l2-aspect-ratio=4\:3 :v4l2-fps=0 :v4l2-caching=50 :no-v4l2-use-libv4l2 :v4l2-brightness=-1 :v4l2-contrast=-1 :v4l2-saturation=-1 :v4l2-hue=-1 :v4l2-black-level=-1 :v4l2-auto-white-balance=-1 :v4l2-do-white-balance=-1 :v4l2-red-balance=-1 :v4l2-blue-balance=-1 :v4l2-gamma=-1 :v4l2-exposure=-1 :v4l2-autogain=-1 :v4l2-gain=-1 :v4l2-hflip=-1 :v4l2-vflip=-1 :v4l2-hcenter=-1 :v4l2-vcenter=-1 :v4l2-audio-volume=-1 :v4l2-audio-balance=-1 :no-v4l2-audio-mute :v4l2-audio-bass=-1 :v4l2-audio-treble=-1 :v4l2-audio-loudness=-1 :v4l2-setctrls= :file-caching=300 --sout='#duplicate{dst=display, dst="transcode{venc=x264{keyint=60,idrint=2},vcodec=h264,vb=300,acodec=mp4a,ab=64,channels=1,samplerate=44100}:rtp{dst=127.0.0.1,port=1234,sdp=file:///home/yourusername/vlc.sdp}"}'

Make this command as an shell file.by running this command the output of the tv tuner card can be viewed in VLC player.change this “sdp=file:///home/yourusername/vlc.sdp” in the command with the path of your system the vlc.sdp is a temperory file

Advertisements

One thought on “Setting up Live streaming using VLC and justin.tv

  1. Whoa….cool web site and material right here. These information
    on this web site are very informative!!!! Any sort of RSS
    feed on this website?! I have been looking for frequently current articles in relation to Películas en 3d en línea libre streaming.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s