Notices


Reply
Thread Tools
Posts: 121 | Thanked: 45 times | Joined on Mar 2010
#571
Originally Posted by ukki View Post
Updated Windows server with latest changes. I also added a possibility to import and export transcoding profiles so it's easy to share your excellent profiles with others. They are just small gzipped xml files so you can attach them here or better yet, add them to wiki.

About the gstreamer backend. I started working on it and server is ready for it (with the new player field in profiles) but the bug that prevents gstreamer to use xv with http streaming affects Knots too so I can only get audio out (with dsp error messages) so it will have to wait for pr1.2. But once it's out it shouldn't take long to implement.
Awesome!

Can you elaborate on that bug, so I can understand why it works via xterm but can't be made to work through Knots.
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#572
Originally Posted by wildt View Post
Awesome!

Can you elaborate on that bug, so I can understand why it works via xterm but can't be made to work through Knots.
It works when you use it in a separate window. But when you want to have the video rendered inside a widget in your app (between seekbar and controls in Knots), you have to use the xvimagesink and pass the x window id of your widget to it. But for some reason I'm only getting first frame and audio with dsp error messages so I'm starting to believe it's the same error that people get when they try to stream content over upnp (which uses http too).

But I'm no expert so I can't back that up with paperwork, but I think I'll wait for pr1.2 before wasting anymore time with it.
 

The Following 2 Users Say Thank You to ukki For This Useful Post:
Posts: 121 | Thanked: 45 times | Joined on Mar 2010
#573
Okay, thanks for the explanation! Bummer though!
 
Posts: 121 | Thanked: 45 times | Joined on Mar 2010
#574
Btw, having problems with aspect ratio. It was my understanding from the Wiki page that Knots would by default keep the aspect ratio of the source material, but my 2:35 movies get stretched. I tried alterring the height of the transcoded output, but Knots still zoom it to fullscreen.

What am I doing wrong?
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#575
Can you try opening the video with some other player like VLC and tell me if it's a server or client problem? Basically the same thing you did with the gst-launch, just start the stream with a browser and open VLC and select open location and paste http://localhost:19780/stream.asf address there.
 

The Following User Says Thank You to ukki For This Useful Post:
Posts: 121 | Thanked: 45 times | Joined on Mar 2010
#576
Originally Posted by ukki View Post
Can you try opening the video with some other player like VLC and tell me if it's a server or client problem? Basically the same thing you did with the gst-launch, just start the stream with a browser and open VLC and select open location and paste http://localhost:19780/stream.asf address there.
Looks correct when starting the stream via browser (using the N900 profile) and then opening the stream in vlc.
 

The Following User Says Thank You to wildt For This Useful Post:
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#577
Good to know, I've asked this several times and never managed to get an answer and I'm glad it's not a server side issue. I don't know why MPlayer sometimes gets rid of the grief bars and sometimes not. If you want to get this fixed, wanna come to our irc channel? It would be easier to discuss stuff in real time than posting here.
 

The Following User Says Thank You to ukki For This Useful Post:
Posts: 121 | Thanked: 45 times | Joined on Mar 2010
#578
Sure... server and channel?
 
Posts: 2,829 | Thanked: 1,459 times | Joined on Dec 2009 @ Finland
#579
Windows xp sp3, Knots 2 updated with git 12:00 18.04.2010
vlc 1.0.5

I just modified my n900 profille, added threads 2 and tried again and it worked (cpu went to 100%). But then suddenly it didn't anymore launch videos from n900 or from locally from browser.

In knots.log is following:
Code:
[2010-04-18 19:04:50] Error: undefined method `currently_playing' for nil:NilClass
./lib/vlc.rb:108:in `currently_playing'
./lib/player.rb:153:in `stop'
./plugins/external.rb:155:in `stop'
./lib/plugin.rb:102:in `call'
./lib/plugin.rb:102:in `do_GET'
C:/Knots/ruby/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `__send__'
C:/Knots/ruby/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `service'
C:/Knots/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/Knots/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
knots.rb:33:in `initialize'
knots.rb:382:in `new'
knots.rb:382
In browser it says that vlc crashed or media is not found. Probably vlc crashed but why it doesn't start it again?
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#580
Originally Posted by slender View Post
Windows xp sp3, Knots 2 updated with git 12:00 18.04.2010
vlc 1.0.5

I just modified my n900 profille, added threads 2 and tried again and it worked (cpu went to 100%). But then suddenly it didn't anymore launch videos from n900 or from locally from browser.

In knots.log is following:
Code:
[2010-04-18 19:04:50] Error: undefined method `currently_playing' for nil:NilClass
./lib/vlc.rb:108:in `currently_playing'
./lib/player.rb:153:in `stop'
./plugins/external.rb:155:in `stop'
./lib/plugin.rb:102:in `call'
./lib/plugin.rb:102:in `do_GET'
C:/Knots/ruby/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `__send__'
C:/Knots/ruby/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `service'
C:/Knots/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/Knots/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
knots.rb:33:in `initialize'
knots.rb:382:in `new'
knots.rb:382
In browser it says that vlc crashed or media is not found. Probably vlc crashed but why it doesn't start it again?
That error is not serious, although it looks like it. If VLC crashes, next time you open a stream it should notice it's not on and start it, but it's too late for that stream to work, so basically you may need to open a stream 3 times. But I recently made a little change to avoid looping, so maybe I broke it. I'll take a look.
 

The Following User Says 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:36.