Stream from a video capture card?

Tutorials, tips and tricks.

Moderator: moderators

Stream from a video capture card?

Postby br0ken1128 » Thu Sep 29, 2011 1:56 pm

Hey gang,

I've seen several posts about using VLC to transcode video but this also lead me to a wonderful possibility that a few forum searches turned up empty for, so forgive me if this has been reposted.

VLC has the ability to stream live tv/video from a video capture card so shouldn't we be able to use the vlc command line to pipe live video into subsonic?

You could do a lot of things on the fly with this capability.. say you wanted to stream the output of a video game live to a friend in another state, or you wanted to pop in a DVD to stream live.. or netflix from your xbox .. any number of things.. I suppose even a webcam could be streamed this way through VLC ..

I'm just trying to get your imaginations going with the possibilities this introduces ..

I have a video capture card on order so I have no way to test this.. but here's a page that talks about doing this with the windows gui version of VLC .. it would be great to get this worked up for use with SubSonic .. if someone has already devised a way to stream live video from a capture device, then please link me :)

http://forum.videohelp.com/threads/2020 ... C-videolan
br0ken1128
 
Posts: 17
Joined: Tue Aug 09, 2011 11:41 am

Re: Stream from a video capture card?

Postby lucfig » Tue Oct 04, 2011 8:53 am

I set VLC to transcode and stream my webcamvia mmsh and set the address as an InternetTV on Subsonic server. It worked but VLC must be running all the time and I can´t see InternetTV on the Android app.
lucfig
 
Posts: 2
Joined: Tue Oct 04, 2011 7:32 am

Re: Stream from a video capture card?

Postby br0ken1128 » Tue Oct 04, 2011 9:09 pm

lucfig wrote:I set VLC to transcode and stream my webcamvia mmsh and set the address as an InternetTV on Subsonic server. It worked but VLC must be running all the time and I can´t see InternetTV on the Android app.


That's not really what I'm looking to do since all that really does is essentially make a link to the vlc stream.. I wanted to use VLC to transcode my encoder's output into FLV format so that JWPlayer could play it .. in order to experiment I just cut subsonic out of the picture and worked directly with VLC, I managed to get it to work but without sound.. I'm still working that out, which could just be a symptom of my encoder..

If anyone wishes to tinker, here's the command line I worked up..

Code: Select all
"vlc.exe" dshow:// :dshow-vdev="AVerMedia H826 Hybrid TV Video Capture" :dshow-tuner-channel=70 :sout=#transcode{vcodec=FLV1,acodec=mp3,samplerate=44100}:duplicate{dst=std{access=http,dst=0.0.0.0:1234/video.flv}}


"AVerMedia H826 Hybrid TV Video Capture" would be replaced to your device's name as it appears in VLC which you can get by using the gui to set up streaming.. it has to be exact.

"dshow-tuner-channel" is for setting the channel that you're streaming, in my test I was streaming channel 70

"0.0.0.0:1234/video.flv" is the IP:PORT/FILENAME for your stream, this can be used in jwplayer for the location of your flv file .. 0.0.0.0 merely tells vlc to bind to all ip addresses on the host machine, so you'd set that in jwplayer to whatever the ip address is of your host machine..

Nevertheless, with his I'm able to see my video in a web page with jwplayer.. sound is my only problem and I know this can be tweaked for subsonic if anyone has the time, which I don't right now :)
br0ken1128
 
Posts: 17
Joined: Tue Aug 09, 2011 11:41 am

Re: Stream from a video capture card?

Postby JTRobinson » Wed May 30, 2012 3:57 pm

br0ken1128, did you ever find a resolution to your experiment? I'm considering using SubSonic as a webcam streaming server for webconferencing, and I'm curious if anyone has tried it before :)
JTRobinson
 
Posts: 1
Joined: Wed May 30, 2012 3:55 pm

Re: Stream from a video capture card?

Postby GJ51 » Sat Jun 16, 2012 1:46 am

User diego_dambra posted here and at Silicon Dust that he was able to get live streaming working with VLC and the Silicon Dust HD Homerun Prime.

I tried to contact him a few times to see if we could get a Windows version running, but I never got a reply.

You might do a look at his profile to see his posts to see if it gives you any ideas.

Here;s one of the threads:

viewtopic.php?f=8&t=5541
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 11 guests