Notices


Reply
Thread Tools
Posts: 380 | Thanked: 459 times | Joined on Dec 2009 @ Slovenia
#701
got a question for you all.. i finally managed to convince VLC to play a TV channel (udp://239.255.x.x) and now i wonder how can I stream that to Knots, what URL do i have to type in Edit media -> New item?

Thanks in advance!
 

The Following User Says Thank You to olympus For This Useful Post:
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#702
Originally Posted by olympus View Post
got a question for you all.. i finally managed to convince VLC to play a TV channel (udp://239.255.x.x) and now i wonder how can I stream that to Knots, what URL do i have to type in Edit media -> New item?

Thanks in advance!
I just commited a change to git to allow you to add that url, but if you aren't using git, you can add that url to database by changing it to http://239.255.x.x. Once it's added, click on it, select edit and change the url back to udp://.

But I'm not sure VLC can transcode that to http, but try to play it few times, it may work.
 

The Following User Says Thank You to ukki For This Useful Post:
Posts: 380 | Thanked: 459 times | Joined on Dec 2009 @ Slovenia
#703
i tried the second method and i get this:

undefined method `name' for nil:NilClass
(erb):16:in `html'
(erb):35:in `each_with_index'
(erb):15:in `each'
(erb):15:in `each_with_index'
(erb):15:in `html'
./lib/plugin.rb:168:in `html'
(erb):55:in `html'
./lib/plugin.rb:168:in `html'
./plugins/1root.rb:837:in `play'
./lib/plugin.rb:102:in `call'
./lib/plugin.rb:102:in `do_GET'
C:/Program Files (x86)/Knots/ruby/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `__send__'
C:/Program Files (x86)/Knots/ruby/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `service'
C:/Program Files (x86)/Knots/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/Program Files (x86)/Knots/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/Program Files (x86)/Knots/ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
C:/Program Files (x86)/Knots/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
C:/Program Files (x86)/Knots/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
C:/Program Files (x86)/Knots/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
C:/Program Files (x86)/Knots/ruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
C:/Program Files (x86)/Knots/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
C:/Program Files (x86)/Knots/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
C:/Program Files (x86)/Knots/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
knots.rb:44:in `initialize'
knots.rb:394:in `new'
knots.rb:394
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#704
Originally Posted by olympus View Post
i tried the second method and i get this:
Does this happen with the latest server?
 

The Following User Says Thank You to ukki For This Useful Post:
Posts: 380 | Thanked: 459 times | Joined on Dec 2009 @ Slovenia
#705
Originally Posted by ukki View Post
Does this happen with the latest server?
yes it does.
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#706
Originally Posted by olympus View Post
yes it does.
Can you try grabbing http://github.com/solmis/knots/zipball/master and unzip it to your install dir overwriting all files and testing if it works now?

Last edited by ukki; 2010-05-13 at 21:28.
 

The Following User Says Thank You to ukki For This Useful Post:
Posts: 380 | Thanked: 459 times | Joined on Dec 2009 @ Slovenia
#707
well, now it says:
Attached Images
 
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#708
Glad the error is gone. I'll test with an actual udp stream to see if I can do something about this. It may eventually start streaming, but it may take a while and currently the player gives up waiting for it.
 

The Following User Says Thank You to ukki For This Useful Post:
Posts: 380 | Thanked: 459 times | Joined on Dec 2009 @ Slovenia
#709
ok, thanks for your effort!
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#710
There is now an experimental support for gstreamer at -devel. It's by no means finished yet, but should allow you to find perfect settings for N900. Default N900 profile doesn't seem to work with it, but n8x0 does so you may start with that. And you don't have to wait for pr1.2.

To enable it, add "gstreamer" to player field in the transcoding profile and reconnect and reselect the profile. You can alter the profile without reconnecting, but the player field is only read when connecting. You can press the letter 'q' during playback to confirm it's using gstreamer. MPlayer stops playback and gstreamer doesn't.

The difference is quite noticeable, gstreamer makes passthrough profile a lot more usable.

After you guys find the perfect settings and post me the profile, I'll make gstreamer the default and remove the mplayer dependency.

EDIT: @olympus, try upgrading the server again like i told in post 706 and see if it helps. You can increase the wait time by adding a custom setting: Name can be anything, key is playback_wait and value the amount of seconds to wait, for example 20. But no promises.

Last edited by ukki; 2010-05-15 at 13:01.
 

The Following 3 Users Say Thank You to ukki For This Useful Post:
Reply

Tags
knots, music, streaming, video


 
Forum Jump


All times are GMT. The time now is 03:57.