maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   On the fly encoding and streaming movies to N8x0 using netcat and mencoder/mplayer (https://talk.maemo.org/showthread.php?t=23572)

ukki 2008-10-02 19:49

Re: On the fly encoding and streaming movies to N8x0 using netcat and mencoder/mplaye
 
If anyone wants to test my streaming app, let me know. I wrote it a while back for myself, but now that VLC 0.9 is out, I could give it to people who are interested. It's not pretty or perfect, but it somewhat works. It's pretty easy to setup once you get all the necessary dependencies installed. More info here:

http://nakkiboso.com/knots

stangri 2008-10-03 09:48

Re: On the fly encoding and streaming movies to N8x0 using netcat and mencoder/mplaye
 
ukki -- where can I download your app?

ukki 2008-10-03 10:53

Re: On the fly encoding and streaming movies to N8x0 using netcat and mencoder/mplaye
 
I'll give you a link this weekend, I now have to import and test the changes I made this morning during my train trip. In the mean time, make sure you have installed everything it needs. Out of curiosity, what os are you using?

stangri 2008-10-05 08:08

Re: On the fly encoding and streaming movies to N8x0 using netcat and mencoder/mplaye
 
Ukki -- Diablo and Leopard. Looking forward to your app. I'm yet to find a solution to stream movies to n810. I'm prepared to install/run whatever it takes on the device which serves media, but I want to use as little extra software as possible on the n810.

ukki 2008-10-05 08:56

Re: On the fly encoding and streaming movies to N8x0 using netcat and mencoder/mplaye
 
Quote:

Originally Posted by stangri (Post 230574)
Ukki -- Diablo and Leopard. Looking forward to your app. I'm yet to find a solution to stream movies to n810. I'm prepared to install/run whatever it takes on the device which serves media, but I want to use as little extra software as possible on the n810.

Sorry to disappoint you then :) You only need VLC for your desktop but you need to install Ruby to your n810. Sent you a pm, let me know how it works for you and don't be shy to ask for help.

stangri 2008-10-05 09:34

Re: On the fly encoding and streaming movies to N8x0 using netcat and mencoder/mplaye
 
I'm not shy, I'm screaming WOW! FINALLY! I CAN STREAM MOVIES TO MY ITT! And it doesn't require anything complicated, especially on the ITT end!

Especially for Macs (which come with Ruby and where VLC is a must-have) it's a Godsend!

I hope ukki can share with you guys what he's done, it's awesome!

PS. Just in case you'd expect the HD-quality in the stream on your ITT: don't, but even with the quality drop I'm so happy I don't have to copy files over anymore!

ukki 2008-10-05 09:53

Re: On the fly encoding and streaming movies to N8x0 using netcat and mencoder/mplaye
 
Quote:

Originally Posted by stangri (Post 230582)
I'm not shy, I'm screaming WOW! FINALLY! I CAN STREAM MOVIES TO MY ITT! And it doesn't require anything complicated, especially on the ITT end!

Especially for Macs (which come with Ruby and where VLC is a must-have) it's a Godsend!

I hope ukki can share with you guys what he's done, it's awesome!

PS. Just in case you'd expect the HD-quality in the stream on your ITT: don't, but even with the quality drop I'm so happy I don't have to copy files over anymore!

Thank you for the kind words, really made my day :) And remember, you can tinker with quality settings etc. by editing ~/.config/knots/config.yaml and then running ./knots restart. I'll add a launchd startup script for OS X users when I have the time so knots can be run automatically on boot.

dragon_788 2008-10-07 21:57

Re: On the fly encoding and streaming movies to N8x0 using netcat and mencoder/mplaye
 
Quote:

Originally Posted by TPC (Post 223843)
Edited the first post. Fixed the bug where mencoder freezes when the movie is ended prematurely, however this comes at the disadvantage of having to run killall -9 mencoder after the playback is finished, which may kill other mencoder processes the user has running. There has to be a better solution here, but I don't know what it is.

Also made sure the script always cleans up after itself and adjusted the cache settings since the cache was a bit too small for high intensity scenes when the wifi network couldn't provide the data fast enough (but was still able to provide more than enough in the low intensity scene to fill up the cache in the mean time).

Hi TPC, I'll see if I can help edit your script a bit so you don't have to kill EVERY mencoder process, since Bash allows you to look up the PID you can probably just define/declare the PID of mencoder when it starts then kill that when its done.


All times are GMT. The time now is 07:37.

vBulletin® Version 3.8.8