Reply
Thread Tools
Posts: 7 | Thanked: 0 times | Joined on Jan 2009
#1
Just picked up an n810 and love it. One issue I'm having is my collection of mp4 videos are not playing back as smoothly as I'd hoped. I've seen many links on how to recode my files to a more acceptable resolution, but I'm done with changing my files. Instead, I'm willing to suffer a bit in resolution or image quality during playback if I can make these changes on the player.

I've had experience with this before. I've got a Palm Life Drive that with TCPMP can play anything I throw at it full screen full speed (400 mhz proc), however, I'll take the same SD card and place it in my wife's Palm T|X and it will drop frames like crazy (333mhz proc). It's not a problem though, since I can change the settings to a lower quality (the image looks blockier) and still have full rate full screen video.

So I'm asking if anyone knows how to change playback settings in mplayer or any player that will allow for smoother playback at the cost of resolution or something. Thanks (and please do not tell me to reconvert my files!)
 
Posts: 503 | Thanked: 267 times | Joined on Jul 2006 @ Helsinki
#2
MPlayer will not play mp4 videos well (h.264 codec). It it missing armv6 assembly optimizations for it, which is quite a bit of work and needs to be done by somebody. Moreover, armv6 optimizations are not the best for mpeg4 asp (dixv/xvid) either, and these types of files could also play a lot better if somebody took care of this.
 

The Following User Says Thank You to Serge For This Useful Post:
Posts: 36 | Thanked: 8 times | Joined on Jul 2008
#3
short of playing the video with no sound, I know of nothing.
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#4
Originally Posted by jonathankonrad View Post
So I'm asking if anyone knows how to change playback settings in mplayer or any player that will allow for smoother playback at the cost of resolution or something. Thanks (and please do not tell me to reconvert my files!)
What's the resolution and bitrate of the videos ?
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#5
Originally Posted by Serge View Post
MPlayer will not play mp4 videos well (h.264 codec). It it missing armv6 assembly optimizations for it, which is quite a bit of work and needs to be done by somebody. Moreover, armv6 optimizations are not the best for mpeg4 asp (dixv/xvid) either, and these types of files could also play a lot better if somebody took care of this.
mplayer is one of my favorite NIT apps.

When the new Fremantle device comes out, there will be approximately 2.5 years worth of armv6 maemo devices out there. These devices, the N800 and N810, will continue to be an inexpensive way to own a handheld Linux computer for some time, and they have an ideal form factor (small body, big screen, removable storage) for being a PMP.

Also, mp4 is on the rise, videos will continue to get bigger, and the cortex a8 could benefit from armv6 optimizations, too.

All this is to say that it really seems like a good investment to get mplayer's internals up-to-date (1.0 rc2), and get it optimized for armv6.

Is there nobody who can do this?

Also, if you're trying to play big files, try mplayer with the following command line parameters, see if it makes any difference:

Code:
mplayer -quiet -noslices -hardframedrop -lavdopts fast:lowres=1
you can also try lowres=2 for even lower resolution.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
ace's Avatar
Posts: 296 | Thanked: 80 times | Joined on Dec 2007
#6
qole mentioned the "-lavdopts lowres=1" command-line flag above. It can do wonders for playback smoothness, at the expense of visual quality.

You can add a line like "lavdopts=lowres=1,400" to mplayer's config file (should be "/home/user/.mplayer/config") to make mplayer automatically decode all videos greater than 400px wide at reduced resolution.
__________________
[SIGPIC][/SIGPIC]
 
Posts: 7 | Thanked: 0 times | Joined on Jan 2009
#7
OK, looks like I panicked a bit with my first post. Sorry, and you have all been golden with the responses. It seems most of my XVID or DIVX library is playing nicely. The hiccups come in files over 640 x 360, or files at 29.97 frames/second, or files with greater than 900 kbps. Also anything in h.264 is playing in slow motion, and mpeg1 files have no video (though I have very few of those and do not mind re-coding).

I tried the parameters qole mentioned and oddly enough it made the videos play back larger than the screen area, so I only saw the top left quarter of the video. However, these did point me in the right direction ( I should have fired up x-term and tried mplayer and observed all of the switches or commands I could try in the first place sorry)

So … again thanks for the tips, I’m not nearly the panic I was earlier and for now I suppose I’ll just recode my h.264 videos into xvid.
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#8
If you like watching your videos at home, you could try different programs that allow you to stream them and do transcoding on-the-fly.
 

The Following User Says Thank You to ukki For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#9
Originally Posted by jonathankonrad View Post
I tried the parameters qole mentioned and oddly enough it made the videos play back larger than the screen area, so I only saw the top left quarter of the video. However, these did point me in the right direction ( I should have fired up x-term and tried mplayer and observed all of the switches or commands I could try in the first place sorry)
If you find better command line parameters, please post them here.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Posts: 7 | Thanked: 0 times | Joined on Jan 2009
#10
Sadly I have not found any settings that let me play back my h.264 files with any decency. All files play a bit better in mplayer launched from xterm rather that a GUI front end. This is especially true for Canola2. Great media app for everything but really chops up my video playback.
 
Reply


 
Forum Jump


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