View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 11 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: video lan working great.
PostPosted: Wed Aug 04, 2004 10:41 pm 
Offline
Joined: Thu Apr 01, 2004 10:44 am
Posts: 677
Location: WA
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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 04, 2004 10:59 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
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.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 04, 2004 11:56 pm 
Offline
Joined: Thu Apr 01, 2004 10:44 am
Posts: 677
Location: WA
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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 05, 2004 1:10 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
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...

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 05, 2004 1:39 am 
Offline
Joined: Thu Apr 01, 2004 10:44 am
Posts: 677
Location: WA
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?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 05, 2004 2:21 am 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
I do believe that you can find asp2php scripts around. There are also mods to Apache that allow it to serve ASP pages.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 05, 2004 7:58 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
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.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 10, 2004 2:31 pm 
Offline
Joined: Sat Mar 20, 2004 8:19 am
Posts: 81
Location: Montreal
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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 02, 2004 9:25 am 
Offline
Joined: Wed Jan 07, 2004 5:21 pm
Posts: 116
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?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 03, 2004 4:08 pm 
Offline
Joined: Thu Apr 01, 2004 10:44 am
Posts: 677
Location: WA
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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 16, 2004 12:29 am 
Offline
Joined: Tue Dec 14, 2004 10:51 am
Posts: 15
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


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu