Notices


Reply
Thread Tools
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#381
Originally Posted by legoman666 View Post
Since I've upgraded to VLC 1.05, my first attempt at playing any video with any profile gives the error on the client "Stream failed to start." The error on the server is

Code:
[2010-02-19 17:42:15] Welcome to Knots - http://wiki.maemo.org/Knots2
[2010-02-19 17:42:15] Staring Knots in C:/knots with ruby 1.8.6
[2010-02-19 17:42:16] Waiting for VLC to start
[2010-02-19 17:42:19] Waiting for VLC to start
[2010-02-19 17:42:21] Waiting for VLC to start
[2010-02-19 17:42:22] Waiting for VLC to start
[2010-02-19 17:42:24] Waiting for VLC to start
[2010-02-19 17:42:26] VLC failed to start properly. Knots will not work.
Restarting the service makes it work.
This happened to me too right after the upgrade. After that I couldn't reproduce the problem so maybe it does something on first run and fails to start in time.

I looked at the filename problems people were having on Windows. It's pretty hard to try to fix in Knots and it seems it will be fixed in Ruby 1.9.2 so until it's released, please try to avoid using non-ascii chracters in filenames. They are usually properly scanned, but VLC fails to play them.

I released a new server for Windows with minor changes. For some reason its size dropped to half when I compressed it, but it seems to work fine so I wonder what caused it. Most noticeable changes:

- Latest changes from git
- Profile buffer now makes the N900 client (mplayer) buffer the video too. MPlayer doesn't use seconds so I made it buffer 512 kb * seconds.
- Tuned N900 profile a bit. Seems pretty solid according to my quick tests, can anyone with the "no video" -problem test it?
- Added an ability to check whether your server is accessible from the internet without you having to go out and actually test it. Just start a stream in the browser, click on 'Hide window' button and go to settings to test it.

Last edited by ukki; 2010-02-20 at 12:56.
 

The Following User Says Thank You to ukki For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#382
Hey ukki.

I've edited
/etc/mplayer/mplayer.conf

and changed
zoom=false

This looks great but somewhat small on the screen.

Can mplayer display aspect ratio x 2?

It's fine if part of the top and bottom of the video ends up being cropped.

zoom = true seem to force a 480 height display which messes up the aspect ratio a bit.

So yeah, just throwing this question out to see what you had to say about it.

Awesome, awesome program you've done for yourself.
 

The Following User Says Thank You to Addison For This Useful Post:
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#383
On n8x0 video is 400x240 with the correct aspect ratio (and possibly with black grief bands) and that gets doubled by mplayer. You shouldn't need to touch any mplayer options, just edit the transcoding profiles on server if you need something else.
 

The Following User Says Thank You to ukki For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#384
Thanks ukki! Yeah, I can see the math behind what you're doing here. That makes perfect sense to me now.

Well, the thing is, with your basic, TV cartoon that usually has a static background along with the low framerate needed, I'm thinking the transcoding for these can be a little more open.

I'll mess around on the server side and see if I can't come up with something so that the display output for these cartoons can be more "crisper".

One feature, but not a request, would be that on this screen

Knots could show the resolution and aspect ratio of the video just like it does on the server's webpage.

Anyway, I've got a few ideas to try out this week and I'll find you on Friday.

Thanks again for such a great app. It's a wonderful time suck. *lol*
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#385
Okay. Most definitely. Cartoons/anime should be handled differently than regular videos.

Crunching the video then having mplayer blow it out while pounding the tablet with 24 fps isn't the ideal way to play such files.

I found that no aspect correction and dropping down to 8 fps with no zoom in mplayer gets terrific results. Actually zoom looks quite nice as well.

I was even able to play a full episode of Death Note (one of the higher end cartoons) that was 704x396 quite well with only a few burpies during the entire 25 minutes of watching it.

I don't even notice a difference with the reduced fps.

The beginning intro and ending credits are usually chunky just because of everything going on with the screen for most cartoons. However, the episodes themselves work great.

I've tried this with 4 different anime series and am very happy with the results.

Very cool!
 

The Following User Says Thank You to Addison For This Useful Post:
Posts: 185 | Thanked: 103 times | Joined on Aug 2008
#386
Is upgrading the server simple? It was kind of difficult to setup.
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#387
Originally Posted by legoman666 View Post
Is upgrading the server simple? It was kind of difficult to setup.
Knots keeps all its settings in .config/kserver/kserver.db file. I haven't made database changes lately so you could either install the latest version and then just copy the .config folder inside the new install or download the latest git version from http://github.com/solmis/knots/archives/master and overwrite the files on your current install.

Or if you installed the git version, you can just run "git pull" inside knots folder to update to latest.

Last edited by ukki; 2010-02-23 at 18:36.
 

The Following User Says Thank You to ukki For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#388
Well, I thought to share with you guys a little more on what I was talking about previously.

Okay. Grab this video.
http://www.megaupload.com/?d=EAVOV9X9

This cartoon is MA, so please note that it could be disturbing for some.

height (blank)
width (blank)
fps 8
buffer in seconds 10 (not sure if this does anything though)

Since I have a N800, I need to strip the audio rate down to 22050.

If you have a N900, you probably can leave it at the default of 44100.

I'm kind of a pixel purist so I tend to have zoom = false in mplayer.

For most people though, you'll probably prefer to leave it as true.

In knots, select no aspect ratio in the menu.

I honestly think that these settings look ridiculous on the tablet.

So yeah, I just wanted to show you guys how "pretty" knots can work with anime shows.

Cheers.
 

The Following User Says Thank You to Addison For This Useful Post:
Posts: 22 | Thanked: 4 times | Joined on Dec 2009
#389
Since updating the server, my "Settings" and "Status" tabs display this error:

no such column: temporary
C:/knots/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.3-mswin32/lib/sqlite3/errors.rb:62:in `check'
C:/knots/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.3-mswin32/lib/sqlite3/statement.rb:39:in `initialize'
C:/knots/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.3-mswin32/lib/sqlite3/database.rb:154:in `new'
C:/knots/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.3-mswin32/lib/sqlite3/database.rb:154:in `prepare'
C:/knots/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.3-mswin32/lib/sqlite3/database.rb:202:in `execute2'
./lib/db.rb:135:in `method_missing'
(erb):13:in `html'
./lib/plugin.rb:154:in `html'
(erb):3:in `html'
./lib/plugin.rb:154:in `html'
./lib/plugin.rb:90: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:32:in `initialize'
knots.rb:368:in `new'
knots.rb:368
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#390
Originally Posted by logantn View Post
Since updating the server, my "Settings" and "Status" tabs display this error:

no such column: temporary
C:/knots/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.3-mswin32/lib/sqlite3/errors.rb:62:in `check'
C:/knots/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.3-mswin32/lib/sqlite3/statement.rb:39:in `initialize'
C:/knots/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.3-mswin32/lib/sqlite3/database.rb:154:in `new'
C:/knots/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.3-mswin32/lib/sqlite3/database.rb:154:in `prepare'
C:/knots/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.3-mswin32/lib/sqlite3/database.rb:202:in `execute2'
./lib/db.rb:135:in `method_missing'
(erb):13:in `html'
./lib/plugin.rb:154:in `html'
(erb):3:in `html'
./lib/plugin.rb:154:in `html'
./lib/plugin.rb:90: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:32:in `initialize'
knots.rb:368:in `new'
knots.rb:368
Yes, sorry, I made database changes some time ago so you need to either remove the old database or add the missing fields by hand. Easiest way is to just remove/rename the .config folder, restart the server and do a rescan. I'll try not to add features that require database changes from now on.
 

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 09:41.