![]() |
mplayer port for N9 / Harmattan
|
Re: mplayer port for N9 / Harmattan
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. :p |
Re: mplayer port for N9 / Harmattan
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? |
Re: mplayer port for N9 / Harmattan
Try -fs command , still study on this ...
|
Re: mplayer port for N9 / Harmattan
hi could a proper instructions guide on how to use this be provided.
Thanks in advance. |
Re: mplayer port for N9 / Harmattan
Quote:
Code:
mplayer -vo x11 -framedrop -fs [filename] 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. |
Re: mplayer port for N9 / Harmattan
Can I try to rebuild it from sources ?
|
Re: mplayer port for N9 / Harmattan
1 Attachment(s)
Quote:
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 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 ;-) |
Re: mplayer port for N9 / Harmattan
Quote:
|
Re: mplayer port for N9 / Harmattan
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 |
All times are GMT. The time now is 00:20. |
vBulletin® Version 3.8.8