Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Change settings for Video Playback in Mplayer

    Reply
    Page 1 of 2 | 1   2   | Next
    jonathankonrad | # 1 | 2009-01-19, 06:28 | Report

    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!)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Serge | # 2 | 2009-01-19, 08:17 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Serge For This Useful Post:
    qole

     
    massIV | # 3 | 2009-01-19, 16:54 | Report

    short of playing the video with no sound, I know of nothing.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    attila77 | # 4 | 2009-01-19, 17:10 | Report

    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 ?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qole | # 5 | 2009-01-19, 18:25 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to qole For This Useful Post:
    Justjoe

     
    ace | # 6 | 2009-01-19, 19:14 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    jonathankonrad | # 7 | 2009-01-19, 21:10 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ukki | # 8 | 2009-01-19, 21:19 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to ukki For This Useful Post:
    Addison

     
    qole | # 9 | 2009-01-19, 21:50 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    jonathankonrad | # 10 | 2009-01-29, 07:03 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 2 | 1   2   | Next
vBulletin® Version 3.8.8
Normal Logout