LinHES Forums
http://forums.linhes.org/

video lan working great.
http://forums.linhes.org/viewtopic.php?f=5&t=2127
Page 1 of 1

Author:  gr8nash [ Wed Aug 04, 2004 10:41 pm ]
Post subject:  video lan working great.

Well one of my project is ALMOST done. I installed video lan on my knoppmyth box and am able to stream videos (ON DEMAND) baby!!!! it works great. You do need to download vlc on the windows box as well. basicly assuming you have vlc set up on the linux box you just (from the M$ box) run a commandline.. example

Code:
vlc -vvv http://192.168.100.99/videos/Along%20Came%20Polly.avi?mythweb_id=1fe61993c5b71ddb4d33e2fa1fa02c28


nasty name..but it works.. the only thing that i need is for a PHP guru to show me how to edit the video.php page so that clicking on the cover runs this command from commandline.. Is this possible? if its not, im ok.. im 99% there! i can live with that.. the streaming looks GREAT too, just to let you know.. any PHP geeks out there? :D

Author:  Xsecrets [ Wed Aug 04, 2004 10:59 pm ]
Post subject: 

php in and of itself cannot do that. all it does is generate some sort of content usually html and return it to your browser. It cannot affect your local computer. Javascript can, but has much security in place to keep you from doing this kind of thing. Sadly the easiest way would probably be to try to find an unpatched IE security hole and use that to launch a script.

Author:  gr8nash [ Wed Aug 04, 2004 11:56 pm ]
Post subject: 

Quote:
Sadly the easiest way would probably be to try to find an unpatched IE security hole and use that to launch a script.


ROFL the truely funny part is im sure your right!! lol I have done more playing, and am now streaming TV !!! yeah baby

one problem.. only one device can use /dev/video0 at a time.. which means you cant watch the same channel streamed and in myth... any ideas? :D

Author:  cesman [ Thu Aug 05, 2004 1:10 am ]
Post subject: 

Why couldn't you watch a channel using the frontend and the same channel in another room? Myth would use /dev/video of course and VLC would stream the filein /cache/cache/blahblah.nuv. Just a thought...

Author:  gr8nash [ Thu Aug 05, 2004 1:39 am ]
Post subject: 

thats a good thought cesman.. I say that, because it did occure to me!! :wink: But actualy the ringerbuf.nuv file under /cache/cache is only there while watching TV on the Front end. If you close the frontend boom the file is gone, the streaming comes to a screaching halt.. thats the first problem. the second problem is that.. if you have been watching the front end for more then several minutes , starting to stream the file, starts at the beginning.. ten minutes in the past.. imagin if you have been watching the same channel for an hour. you sould be streaming hour old programing when you start it up. If there was an option.. stream the last part of the nuv file, like it was live, it would work GREAT.. hmmm close but not quite there.

I did think of something else for streaming movies, and tv shows. Since php cannont execute a script client side.. it could execute a script server side saying..
Code:
vlc -vvv http://192.168.100.99/videos/XYZ.avi

Then if you had Vlc open on the windows box... BOOM it would just start playing. I know some ASP.. but ZERO PHP lol. damn microsoft.. they poisend my brain. any thoughts?

Author:  cecil [ Thu Aug 05, 2004 2:21 am ]
Post subject: 

I do believe that you can find asp2php scripts around. There are also mods to Apache that allow it to serve ASP pages.

Author:  Xsecrets [ Thu Aug 05, 2004 7:58 am ]
Post subject: 

well I am no php wizard, but I don't think it would be a problem to have php get the ip you are connecting from and run the command you mentioned. all that would require is for you to have vlc open on the windows box first.

Author:  yhan [ Tue Aug 10, 2004 2:31 pm ]
Post subject: 

Just an idea like that, why don't you write a tiny app with Perl, VB or whatever the language, to run on the Win Box, which connects with http on the myth box to get the file listing and build a nice menu.

From that point you can easily start vlc "whatever the params"

If you know well ASP, I don't think you 'll have sonme difficulties to write a VB app to do that.

Good luck

Yhan

Author:  frustrated [ Thu Dec 02, 2004 9:25 am ]
Post subject: 

Do you have to have the vlc client on another machine to stream the video? Can I use somethign like media player to view it?

Author:  gr8nash [ Fri Dec 03, 2004 4:08 pm ]
Post subject: 

as far as i know you need to use vlc.. but im not sure so try it out.. I have just been using VLC 's client player to receive the stream

Author:  markp2000 [ Thu Dec 16, 2004 12:29 am ]
Post subject: 

Hi - I'm trying for the same thing. I want to stream my TV card to other boxes.

I get an error on libxv1_4.3.0.dfsg.1-9_i386.deb Otherwies a clean install.

I don't know if it makes a difference. I can open wxvlc and get a local file to run and can stream it to another box.

Just curious about the error.

Thanks
Mark

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/