Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    mplayer port for N9 / Harmattan

    Reply
    Page 1 of 4 | 1   2     3   | Next | Last
    Hariainm | # 1 | 2011-11-16, 02:47 | Report

    mplayer_1.0svn20120427-1

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Hariainm; 2013-02-27 at 17:05. Reason: Please delete this thread, duplicated info. EDIT: nevermind
    The Following 20 Users Say Thank You to Hariainm For This Useful Post:
    alephito, ArnimS, cddiede, F2thaK, godofwar424, HtheB, jhwan, Joseph9560, lanwellon, mattiviljanen, MeeNu, mikecomputing, ranbaxy, Schturman, smoothc, TMavica, xMaki, xprism, zaoltryence, Zas

     
    cddiede | # 2 | 2011-11-17, 01:26 | Report

    Holy Crap!!!

    This let's me play .flv video files on my N9!!!!
    Awesome!!!!!!!

    For some inexplicable reason, I always attributed my ability to play .flv videos on my N900 to the fact that I had Adobe Flash.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by cddiede; 2011-11-17 at 01:37.

     
    rafael2k | # 3 | 2011-12-07, 11:59 | Report

    I had to use the argument "-vo x11" in order to play a mpeg4 video without flickering.
    The problem is that after some seconds the screen goes black, and I have to tap any key to get the screen up again.

    Is there any way to disable screen blanking?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lanwellon | # 4 | 2011-12-07, 14:06 | Report

    Try -fs command , still study on this ...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    thedead1440 | # 5 | 2011-12-17, 07:34 | Report

    hi could a proper instructions guide on how to use this be provided.

    Thanks in advance.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lanwellon | # 6 | 2011-12-20, 13:08 | Report

    Originally Posted by thedead1440 View Post
    hi could a proper instructions guide on how to use this be provided.

    Thanks in advance.
    The command can be like below :

    Code:
    mplayer -vo x11 -framedrop -fs [filename]
    But there is a easier way :

    I found that in kmplayer, you can select the player (GStreamer, mplayer , etc.),

    So you can use the mplayer as the backend and kmplayer as front end, it just worked fine.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to lanwellon For This Useful Post:
    Jordi, ranbaxy, thedead1440

     
    www.rzr.online.fr | # 7 | 2012-01-08, 00:50 | Report

    Can I try to rebuild it from sources ?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    koos | # 8 | 2012-01-08, 13:26 | Report

    Originally Posted by www.rzr.online.fr View Post
    Can I try to rebuild it from sources ?
    I've uploaded this mplayer build just to share a SMIL application for watching Arte.tv movies for people living in germany or france (handset forum). I think there is another mplayer build for n9 somewhere on the net, more split up in different packages. For this purpose I needed rtmp support however, so I created a pkg with rtmp support build in (and no external dependency to make it easy install-able).

    Don't remember exactly what I did to build this package, but looking over my mplayer sources, what I did was a svn checkout of mplayer svn://svn.mplayerhq.hu/mplayer, replace the ffmpeg sub-directory with a git checkout git://git.videolan.org/ffmpeg.git and using the mplayer/debian directory from the N900 sources (see attachment).
    Found the following diff in my mplayer svn checkout
    Code:
    Index: libvo/x11_common.c
    ===================================================================
    --- libvo/x11_common.c  (revision 34173)
    +++ libvo/x11_common.c  (working copy)
    @@ -87,7 +87,7 @@
     static int orig_layer = 0;
     static int old_gravity = NorthWestGravity;
     
    -int stop_xscreensaver = 1;
    +int stop_xscreensaver = 0;
     
     static int dpms_disabled = 0;
     
    @@ -1089,7 +1089,7 @@
           XWindowAttributes attribs;
           XGetWindowAttributes(mDisplay, vo_window, &attribs);
           vo_x11_selectinput_witherr(mDisplay, vo_window,
    -                                 attribs.your_event_mask | ExposureMask);
    +                                 attribs.your_event_mask | ExposureMask | KeyPressMask);
         } else
           // Do not capture events since it might break the parent application
           // if it relies on events being forwarded to the parent of WinID.
    Don't remember why I had to disable the screensaver part, maybe it generated errors. But that explains the screen blanking problems mentioned in this thread.
    KMPlayer does screen blanking prevention using the 'official' harmattan API, so that was okay for me.

    Before building the package, I've looked what kind of mm related libraries are default installed on the device and installed the -dev pkg too (libasound2-dev libflac-dev libogg-dev libpulse-dev libsndfile1-dev libvorbisidec-dev libxv-dev) which should be added to the debian/control file which I apparently forgot.
    For rtmp, I just make && make install rtmpdump with prefix /usr and deleted the shared library. Apparently its a git co, directory is called rtmpdump-2.4~20110711.gitc28f1bab on my disk.
    Note, I'm talking about installing in scratchbox. After that, started the mplayer pkg build and I recall removing the -arm compiling flag somewhere because I was afraid with would somehow reset the pre configured arm options (like hard floating point).

    Hope this helps ;-)

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: gz debian.tar.gz (5.7 KB, 233 views)

    Last edited by koos; 2012-01-08 at 13:42.
    The Following 5 Users Say Thank You to koos For This Useful Post:
    ejasmudar, Nikem, optimaxxx, ranbaxy, ukki

     
    ladoga | # 9 | 2012-01-13, 11:47 | Report

    Originally Posted by thedead1440 View Post
    hi could a proper instructions guide on how to use this be provided.

    Thanks in advance.
    http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html

    Edit | Forward | Quote | Quick Reply | Thanks

     
    yuvaraj | # 10 | 2012-02-20, 07:34 | Report

    Hi

    I need your help to port ffmpeg on N9. I developed on small app, which based on ffmpeg. I compiled ffmpeg

    ./configure --enable-cross-compile --cross-prefix=arm-none-linux-gnueabi-


    But getting memory related errors on device. Same code working fine with desktop

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

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