maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   Knots 2 - easy media streaming for most operating systems (https://talk.maemo.org/showthread.php?t=30095)

oldpmaguy 2010-02-07 15:15

Re: Knots 2 - easy media streaming for most operating systems
 
Is it possible to increase the amount of file that gets buffered by VLC before the video gets sent through the wireless stream? Is that a user-configurable option?

You know, to give the encoder more time to do the job, so the video doesn't stutter or lag as much/at all?

Or is any stuttering/lagging due to the amount of data being sent, rather than the time it takes between encoding and streaming?

I wouldn't mind having the video start a minute after I clicked the file, if it could guarantee no dropouts in video.

Now that I think of it, there could also be an option to increase the buffer on the received data on the N900 itself, also to accomodate any slowdowns in data received - this could alleviate any stutter on the N900's end as well.

Hope I've made myself clear, sorry I'm not using technically precise language, but I think you'll understand what I mean. Thanks.

ukki 2010-02-07 17:04

Re: Knots 2 - easy media streaming for most operating systems
 
Quote:

Originally Posted by oldpmaguy (Post 514401)
Is it possible to increase the amount of file that gets buffered by VLC before the video gets sent through the wireless stream? Is that a user-configurable option?

You know, to give the encoder more time to do the job, so the video doesn't stutter or lag as much/at all?

Or is any stuttering/lagging due to the amount of data being sent, rather than the time it takes between encoding and streaming?

I wouldn't mind having the video start a minute after I clicked the file, if it could guarantee no dropouts in video.

Now that I think of it, there could also be an option to increase the buffer on the received data on the N900 itself, also to accomodate any slowdowns in data received - this could alleviate any stutter on the N900's end as well.

Hope I've made myself clear, sorry I'm not using technically precise language, but I think you'll understand what I mean. Thanks.

Well the N900 profile isn't really optimal, I just had to add one and it's basically n8x0 profile with twice the quality. So that is something that still needs tweaking. As for the cache, there is no gui for changing it, but you can do it from the terminal:

Code:

gconftool-2 -s /apps/knots/cache 8192 -t string
That should set a 8 mb cache. I think I'll make it a profile option so you could have different kind of cache for each profile.

EDIT: support is in git.

quangmach 2010-02-08 03:11

Re: Knots 2 - easy media streaming for most operating systems
 
Quote:

Originally Posted by quangmach (Post 512764)
I got some problem with streaming to N900,it has sound only,no video at all,even i choose transcoding profiles to N8x0,its fine with Tablet Browser and Browser...tried to reduce video bitrate either fsp but still no video

Quote:

Originally Posted by ukki (Post 512847)
Let me guess, 64 bit Windows? I've gotten few reports of this, seems like it can't transcode to xvid, other platforms work fine. If it's sd material, try using passthrough profile. If the video is too heavy for N900, use browser or theora profiles until the problem is fixed.

Actually,im using win 7 32 bit now,not 64 bit,but i got twice to watch,almost no :confused:

Larswad 2010-02-08 08:36

Re: Knots 2 - easy media streaming for most operating systems
 
Look, this app is just fantastic. This is exactly what I've been looking for in the jungle of apps out there.
It works pretty good now, all I have to do is tweak my N900 profile a little bit.
Guess also I have to be patient now and wait for some future updates and features and hope that it reaches a full steady version.
Thanks for a wonderful app.

legoman666 2010-02-10 19:23

Re: Knots 2 - easy media streaming for most operating systems
 
Awesome program. Works much better than the built in media player. Installation on Windows didn't exactly follow the guide, but I got it working anyway. I seem to be able to play most of my media files just fine, however there are a few that refuse to work properly even though they play right in VLC. The video on them works and the subtitles work (which I was delighted to discover) however the sound does not.

The offending files are all xvid in an mkv container with 6ch ac3 sound. Would you like me to send you one so you can see what the problem is? Or is there some sort of error log I can access and post here?

Cheers.

ukki 2010-02-10 19:53

Re: Knots 2 - easy media streaming for most operating systems
 
Well there are few things you can try. Edit the profile you are using and remove audio rate and channels (or set channels to 6). You can also try a different audio codec like mpga instead of mp3. You can also test opening the stream locally with VLC and check if it outputs sound. Just select the profile from the dropdown list and once the video opens, click on the open in external player button and open the playlist with VLC. If all fails, mail me instructions to download such a file and I can take a look.

legoman666 2010-02-10 20:18

Re: Knots 2 - easy media streaming for most operating systems
 
Quote:

Originally Posted by ukki (Post 520033)
Well there are few things you can try. Edit the profile you are using and remove audio rate and channels (or set channels to 6). You can also try a different audio codec like mpga instead of mp3. You can also test opening the stream locally with VLC and check if it outputs sound. Just select the profile from the dropdown list and once the video opens, click on the open in external player button and open the playlist with VLC. If all fails, mail me instructions to download such a file and I can take a look.

Will do, thanks for the suggestions. I have tried both mpga and mp3 already and will give the other tips a shot. However, the computer the server app is running on is a headless machine; no monitor, keyboard, mouse, sound etc. I control it via VNC.

legoman666 2010-02-11 00:22

Re: Knots 2 - easy media streaming for most operating systems
 
I fixed it! It turns out the default setting is english only audio whereas the files I was trying to view are in Japanese. I just deleted the "en" and now I guess it defaults to the first audio track. I'll have to find a multiple audio stream file and then see what it does...

ukki 2010-02-11 05:15

Re: Knots 2 - easy media streaming for most operating systems
 
Quote:

Originally Posted by legoman666 (Post 520422)
I fixed it! It turns out the default setting is english only audio whereas the files I was trying to view are in Japanese. I just deleted the "en" and now I guess it defaults to the first audio track. I'll have to find a multiple audio stream file and then see what it does...

Ah, I changed the setting to "en,any" a while back, try using that.

oldpmaguy 2010-02-12 02:46

Re: Knots 2 - easy media streaming for most operating systems
 
Quote:

Originally Posted by ukki (Post 520663)
Ah, I changed the setting to "en,any" a while back, try using that.

Hm, I will have to try this too. I was just about to make a post asking about secondary audio tracks. I watch a lot of foreign films and many of them are playing soundlessly on Knots. Maybe this is the reason why.

Also - any news on the increase in buffer idea? I mean as a UI configurable setting - I couldn't run any code to implement that I'm afraid.

Ed. Help! "Settings" tab only shows a big red message that says "no such column: temporary" and loys of paths and code-like things. What's up? I want access to my settings!

I recently updated to the newer Windows installer, and deleted the older install, FYI.

Here's the text it gives me.

C:/Program Files/Knots/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.3-mswin32/lib/sqlite3/errors.rb:62:in `check'
C:/Program Files/Knots/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.3-mswin32/lib/sqlite3/statement.rb:39:in `initialize'
C:/Program Files/Knots/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.3-mswin32/lib/sqlite3/database.rb:154:in `new'
C:/Program Files/Knots/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.3-mswin32/lib/sqlite3/database.rb:154:in `prepare'
C:/Program Files/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'
C:/Program Files/Knots/lib/plugin.rb:154:in `html'
(erb):3:in `html'
C:/Program Files/Knots/lib/plugin.rb:154:in `html'
C:/Program Files/Knots/lib/plugin.rb:90:in `do_GET'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `__send__'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `service'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
knots.rb:59:in `initialize'
knots.rb:345:in `new'
knots.rb:345


All times are GMT. The time now is 06:38.

vBulletin® Version 3.8.8