maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Announce: Knots - a video streaming app for non-windows users (https://talk.maemo.org/showthread.php?t=24201)

ukki 2008-10-21 17:53

Re: Announce: Knots - a video streaming app for non-windows users
 
Quote:

Originally Posted by luca (Post 235405)
Working, yes, pretty well I'm not sure. First, it's 0.9.3, then I had to mutilate various options (hopefully just the gui) to make it compile.
Then I cannot see live tv, just recordings.
Oh, and it seems the soverlay option doesn't work with dvb subtitles.

Well clean up your VDR and you might have a chance for Live-TV :) You could put in a VLC feature request for dvb subtitles. And if the streamdev addresses are static, you can add your favorite ones to a playlist (or add them to WorldTV-playlist) so Knots can view them. You would only miss the epg-information.

qwerty12 2008-10-21 17:58

Re: Announce: Knots - a video streaming app for non-windows users
 
Just wanted to add my name to the lists of people using this wonderful program. Vlc is as dodgy as hell so it took ukki's help to fix that (did I say thank you :p :)) but knots itself is rock solid and works amazingly well. I recommmend this to anyone who wants to try streaming from a mac/linux computer.

qole 2008-10-21 18:44

Re: Announce: Knots - a video streaming app for non-windows users
 
Quote:

Originally Posted by qwerty12 (Post 235412)
...Vlc is as dodgy as hell...

I wish the mplayer project would integrate more streaming-out functionality. It seems like a more solid project, and we have a really nice version for the tablet...

EDIT: If someone knows how to stream out video from mplayer / mencoder via http (not rdsp or some other 1:1 setup), please tell me!

ukki 2008-10-21 18:55

Re: Announce: Knots - a video streaming app for non-windows users
 
Quote:

Originally Posted by qole (Post 235435)
I wish the mplayer project would integrate more streaming-out functionality. It seems like a more solid project, and we have a really nice version for the tablet...

VLC is a very capable app, but lots of features do bring some problems. Its error handling is pretty bad, it usually just crashes if something is off. But it can do amazing stuff too. And Knots uses MPlayer for playback, VLC is just for server.

mtron 2008-10-21 20:19

Re: Announce: Knots - a video streaming app for non-windows users
 
thanks for this nice app. i'm really impressed. Very good work :)

However i have a question: is it possible to connect to the knots server from outside my home-lan? I could forward the port on my router but this would open my knots server to everybody who stumbles across this open port, or is there a way to ask for a user & password?

Also is there a init.d script needed to start it on boot automatically?

Thanks & cheers,
mtron

ukki 2008-10-21 21:14

Re: Announce: Knots - a video streaming app for non-windows users
 
Quote:

Originally Posted by mtron (Post 235469)
thanks for this nice app. i'm really impressed. Very good work :)

Glad you like it.

Quote:

Originally Posted by mtron (Post 235469)
However i have a question: is it possible to connect to the knots server from outside my home-lan? I could forward the port on my router but this would open my knots server to everybody who stumbles across this open port, or is there a way to ask for a user & password?

Heh, I knew this question would come. It's really meant for lans but different profiles could make it suitable for slower connections too. I could add an option for ssl and user/pass or client whitelist. I'll work on it this week.


Quote:

Originally Posted by mtron (Post 235469)
Also is there a init.d script needed to start it on boot automatically?

Thanks & cheers,
mtron

You can just add /path/to/knots start to /etc/rc.local or create an init.d script that passes start/stop/restart to knots. I will write a script that does that.

mtron 2008-10-21 22:15

Re: Announce: Knots - a video streaming app for non-windows users
 
1 Attachment(s)
Thanks for the fast & promising response. A lower upstream profile (current N800 profile causes a upstream right below 180 KiB/s ) is not that important for me (fiber connection), but might be handy for the poor dsl owners ;)

I would be glad if you could make a user/pw system possible :) Good luck!

cheers, mtron

PS: the init script is not that difficult, i think i might get this myself.

EDIT: while playing around a bit with knots & getting vdr working i have come across the following bug in the logs:
Code:

[2008-10-21-23:09:22] Scanning vdr
[2008-10-21-23:09:22] Fetching channel info from http://192.168.1.100:3000.
[2008-10-21-23:09:22] Response code 200
[2008-10-21-23:09:22] Error: #<REXML::ParseException: Missing end tag for 'a' (got "li")
Line:
Position:
Last 80 unconsumed characters:

 <li value="38"><a href="S19.2E-1-1101-28108">hr-fernsehen</a> <a href="S19.2E-1>
/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:330:in `pull'
/usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:22:in `parse'
/usr/lib/ruby/1.8/rexml/document.rb:228:in `build'
/usr/lib/ruby/1.8/rexml/document.rb:43:in `initialize'
/home/mtron/work/kserver/lib/components/scanner.rb:199:in `new'
/home/mtron/work/kserver/lib/components/scanner.rb:199:in `scan_dir'
/home/mtron/work/kserver/lib/components/scanner.rb:92:in `each'
/home/mtron/work/kserver/lib/components/scanner.rb:92:in `scan_dir'
/home/mtron/work/kserver/lib/components/scanner.rb:57:in `scan'
./lib/server.rb:39:in `call'
./lib/server.rb:39:in `serve'
/usr/lib/ruby/1.8/gserver.rb:211:in `start'
/usr/lib/ruby/1.8/gserver.rb:208:in `initialize'
/usr/lib/ruby/1.8/gserver.rb:208:in `new'
/usr/lib/ruby/1.8/gserver.rb:208:in `start'
/usr/lib/ruby/1.8/gserver.rb:198:in `initialize'
/usr/lib/ruby/1.8/gserver.rb:198:in `new'
/usr/lib/ruby/1.8/gserver.rb:198:in `start'
./knots:20:in `start'
./knots:12:in `detach'
./knots:10:in `fork'
./knots:10:in `detach'
./knots:65
...
Missing end tag for 'a' (got "li")
Line:
Position:
Last 80 unconsumed characters:

 <li value="38"><a href="S19.2E-1-1101-28108">hr-fernsehen</a> <a href="S19.2E-1
Line:
Position:
Last 80 unconsumed characters:

 <li value="38"><a href="S19.2E-1-1101-28108">hr-fernsehen</a> <a href="S19.2E-1

Backtrace:

/usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:92:in `parse'
/usr/lib/ruby/1.8/rexml/document.rb:228:in `build'
/usr/lib/ruby/1.8/rexml/document.rb:43:in `initialize'
/home/mtron/work/kserver/lib/components/scanner.rb:199:in `new'
/home/mtron/work/kserver/lib/components/scanner.rb:199:in `scan_dir'
/home/mtron/work/kserver/lib/components/scanner.rb:92:in `each'
/home/mtron/work/kserver/lib/components/scanner.rb:92:in `scan_dir'
/home/mtron/work/kserver/lib/components/scanner.rb:57:in `scan'
./lib/server.rb:39:in `call'
./lib/server.rb:39:in `serve'
/usr/lib/ruby/1.8/gserver.rb:211:in `start'
/usr/lib/ruby/1.8/gserver.rb:208:in `initialize'
/usr/lib/ruby/1.8/gserver.rb:208:in `new'
/usr/lib/ruby/1.8/gserver.rb:208:in `start'
/usr/lib/ruby/1.8/gserver.rb:198:in `initialize'
/usr/lib/ruby/1.8/gserver.rb:198:in `new'
/usr/lib/ruby/1.8/gserver.rb:198:in `start'
./knots:20:in `start'
./knots:12:in `detach'
./knots:10:in `fork'
./knots:10:in `detach'
./knots:65

attached is the html of the default streamdev site served at port 3000 (i have reconfigured it to use the external setting as default, might the problem be there?)

FaberfoX 2008-10-22 02:57

Re: Announce: Knots - a video streaming app for non-windows users
 
ukki, thanks so much for this, your app is amazing.
Now, is there any chance of using my hauppauge sd card for live tv? it's supported by vlc via pvr://
Also, auth would rock, simple user/pass would be enough for me, for sd sources vlc at just 192kb h264 video + 32kb aac audio is decent enough and works on my sad 256kb upstream.

ukki 2008-10-22 06:05

Re: Announce: Knots - a video streaming app for non-windows users
 
Quote:

Originally Posted by mtron (Post 235489)
attached is the html of the default streamdev site served at port 3000 (i have reconfigured it to use the external setting as default, might the problem be there?)

Thanks, I'll try to make the parser less prone to errors, guess I'm the only lucky one that can parse the streamdev channel list with xml :)

Quote:

Originally Posted by FaberfoX (Post 235554)
ukki, thanks so much for this, your app is amazing.
Now, is there any chance of using my hauppauge sd card for live tv? it's supported by vlc via pvr://
Also, auth would rock, simple user/pass would be enough for me, for sd sources vlc at just 192kb h264 video + 32kb aac audio is decent enough and works on my sad 256kb upstream.

VLC has support for watching dvb directly without VDR etc. I could add a simple channels.conf parser if you want. I used that in 0.1 version. But I'd need more channels.conf files (that are in default not VDR-format) to test it.

mtron 2008-10-22 09:26

Re: Announce: Knots - a video streaming app for non-windows users
 
1 Attachment(s)
channels.conf (for vdr 1.6.0.2 - Astra 19.2 E some FTA & PayTV) & dvb-astra-channels.conf (szap compatible - Astra 19.2 E some FTA only) attached.

if you need a full scan of a bird, let me know.

hope you can use it. Getting the vdr-streamdev Live-tv to work with knots would be great! I i would prefer to keep using vdr instead of vlc for dvb cause i need a subscription card for our national tv here. This Card works with vdr but i didn't get it to work with vlc.

cheers,
mtron


All times are GMT. The time now is 22:15.

vBulletin® Version 3.8.8