maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Streaming videos from PC -> N900 over samba SLOW/JERKY! (https://talk.maemo.org/showthread.php?t=66112)

rash.m2k 2010-11-24 10:25

Streaming videos from PC -> N900 over samba SLOW/JERKY!
 
Ok people so I've got Samba on my Linux box exposing my home directory and videos to me on my N900.

This works fine - but when I try to play these videos in the video player it just plays like 10 seconds smoothly then just starts to jerk!

The same videos work perfectly on my N900 otherwise (bog standard 350MB avi files).

The problem as I understand it is that the N900 buffers 10 seconds - but because it doesn't see the directory I'm loading the files from as a remote directory it doesn't buffer any more. Is there any way I can either:

1) Use a different media player
2) Force the video player to always have 30 seconds of buffer available?

(My wireless network bandwidth is plenty!)

Silvarum 2010-11-28 14:29

Re: Streaming videos from PC -> N900 over samba SLOW/JERKY!
 
I mostly use mplayer with -cache 8192 option. Problem is -- mplayer doesn't use DSP, so videos, encoded with heavy codecs (such as H.264), can be slow.

Also, there is VLC player which uses DSP (or tries at least :) ). You can find it in this repo:
Code:

URL: http://download.videolan.org/pub/videolan/maemo/
Distribution: fremantle
Components: free

You can run it from console using 'cvlc' command
I found these two options for caching:
Quote:

--file-caching=<integer> Caching value (ms)
Caching value for files, in milliseconds.
--network-caching=<integer> Extra network caching value (ms)
Supplementary caching value for remote files, in milliseconds.
Third option is Knots 2 (http://wiki.maemo.org/Knots2), which uses VLC to transcode videos and stream them to the network. This way you can even play HD content on fly. Transcoding uses a lot of CPU power and memory on a PC, but with a decent PC you can easily stream 1080p videos to the n900.


P.S. Sorry for my english.

rash.m2k 2010-12-08 15:18

Re: Streaming videos from PC -> N900 over samba SLOW/JERKY!
 
Is there a way to set the defaults for mplayer to open videos with that options as default? (Other than replacing the binary with a script that calls the binary)

Thanks for the info dude - I was thinking noone was gonna reply! lol

sachin007 2010-12-08 15:24

Re: Streaming videos from PC -> N900 over samba SLOW/JERKY!
 
I am looking for a similar way to watch playon videos through my home network and the buffering is the problem. Is there any easy way i could expand the streaming cache in the media player to reduce the buffering?

Thans

kureyon 2010-12-08 17:48

Re: Streaming videos from PC -> N900 over samba SLOW/JERKY!
 
Quote:

Originally Posted by rash.m2k (Post 892346)
Is there a way to set the defaults for mplayer to open videos with that options as default?

Edit /home/user/.mplayer/config

gerdich 2010-12-17 15:00

Re: Streaming videos from PC -> N900 over samba SLOW/JERKY!
 
I've got a very little linux box (Asus wl500gp / Mipsel) that serves movies to a fullHd TV.

The n900 plays it without any problems! Big Movies!

My upnp-media server is ushare.
Other people use mythtv.

When I play by samba it goes much slower.

The stock media player is wonderful! It shows directly (without any further installation!) all the files of the media-server and plays them if he knows the codecs.

You shouldn't use samba but a upnp media-server.

Arifa 2011-01-04 11:49

Re: Streaming videos from PC -> N900 over samba SLOW/JERKY!
 
Hi,

Could you please let me know how can we make samba working in N900

Thanks in advance

Silvarum 2011-01-09 20:26

Re: Streaming videos from PC -> N900 over samba SLOW/JERKY!
 
Easiest way is to install power kernel.
There is a section about CIFS (another name for Samba). Just don't forget to unmount the folder in the end, though it probably will unmount automatically.


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

vBulletin® Version 3.8.8