Notices


Reply
Thread Tools
Posts: 344 | Thanked: 73 times | Joined on Jan 2010
#341
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.
__________________
N900.... thick like computer
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#342
Originally Posted by oldpmaguy View Post
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.

Last edited by ukki; 2010-02-10 at 21:35.
 

The Following User Says Thank You to ukki For This Useful Post:
Posts: 38 | Thanked: 30 times | Joined on Jan 2010
#343
Originally Posted by quangmach View Post
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
Originally Posted by ukki View Post
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
 
Posts: 385 | Thanked: 426 times | Joined on Dec 2009 @ Gothenburg, Sweden
#344
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.
 

The Following User Says Thank You to Larswad For This Useful Post:
Posts: 185 | Thanked: 103 times | Joined on Aug 2008
#345
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.
 

The Following User Says Thank You to legoman666 For This Useful Post:
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#346
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.
 

The Following User Says Thank You to ukki For This Useful Post:
Posts: 185 | Thanked: 103 times | Joined on Aug 2008
#347
Originally Posted by ukki View Post
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.
 
Posts: 185 | Thanked: 103 times | Joined on Aug 2008
#348
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...
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#349
Originally Posted by legoman666 View Post
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.
 

The Following User Says Thank You to ukki For This Useful Post:
Posts: 344 | Thanked: 73 times | Joined on Jan 2010
#350
Originally Posted by ukki View Post
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
__________________
N900.... thick like computer

Last edited by oldpmaguy; 2010-02-12 at 04:14.
 
Reply

Tags
knots, music, streaming, video


 
Forum Jump


All times are GMT. The time now is 09:56.