![]() |
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 |
Re: mplayer port for N9 / Harmattan
my understanding is that n900 runs mplayer (command prompt) + sib(gui)
as for n9, where is the sib(gui)? |
There should be ~/.mplayer/mplayer.conf where you can turn off screensaver and add default video output (vo)
As well it can be added by default |
Re: mplayer port for N9 / Harmattan
Quote:
|
Re: mplayer port for N9 / Harmattan
as per my incessant nagging, mplayer now supports synchronized playback between devices - you can sync playback of music and video between n900 and pc for example.
note this is just syncrhonizing the playback of files accessible to both devices; it is not streaming audio. if we could get a new mplayer build uploaded we could do this! --------------------------- Multiple instances of MPlayer can synchronize playback over a network. This is useful for creating "video walls" with multiple screens controlled by different computers. Each MPlayer instance can play a different video, but they all will try to stay at the same time offset in the file. It is recommended but not necessary to encode the video files using the same codec and parameters. The relevant options are -udp-master, -udp-slave, -udp-ip, -udp-port, and -udp-seek-threshold. If -udp-master is given, MPlayer sends a datagram to -udp-ip (default: 127.0.0.1) on -udp-port (default: 23867) just before playing each frame. The datagram indicates the master's position in the file. If -udp-slave is given, MPlayer listens on -udp-ip/-udp-port and matches the master's position. Setting -udp-ip to the master's broadcast address allows multiple slaves having the same broadcast address to sync to the master. Note that this feature assumes an ethernet-like low-latency network connection. Your mileage may vary on high latency networks. For example, assume 8 computers are on a network, with IP addresses 192.168.0.1 through 192.168.0.8. Assume the first computer is to be the master. Running ifconfig on all the machines lists "Bcast:192.168.0.255". On the master, run: Code:
mplayer -udp-master -udp-ip 192.168.0.255 video1.mpg Code:
mplayer -udp-slave videoN.mpg |
Re: mplayer port for N9 / Harmattan
For those still using mplayer from the kmplayer garage site, you may want to update to mplayer_1.0svn20120427-1 to get the latest mplayer/ffmpeg improvements.
|
Re: mplayer port for N9 / Harmattan
wow thx, how to play video from cmd line?
|
Re: mplayer port for N9 / Harmattan
Quote:
MPlayer is one of my all time favorite software, but the screen blanking prevents me from utilizing it fully. (and the KMPlayer doesn't offer wide range of playback options). Is there any known way to get rid of the screen blanking? Quote:
$ mplayer <path to file> But there's lots and lots optional flags to adjust playback from drawing the video with ASCII charachters to flipping around the image, selecting subtitles and whatever. Few basic ones you see by typing mplayer --help The rest you can read from the manpages: http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html |
Re: mplayer port for N9 / Harmattan
Quote:
|
Re: mplayer port for N9 / Harmattan
latest kmplayer and mplayer dont have sound, weird, uninstall it already
|
Re: mplayer port for N9 / Harmattan
Quote:
In case anyone else needs to disable or adjust screen blanking here it goes. First to list available gconf options for the screen: Code:
$ gconftool-2 -a /system/osso/dsm/display For example we can add a new possible dim timeout of 10800sec (3 hours) to N9's display settings menu: Code:
$ gconftool-2 --type list --list-type int --set /system/osso/dsm/display/possible_display_dim_timeouts [15,30,60,120,300,10800] If you want to disable blank mode completely, try changing the respective value in gconf to 1: Code:
$ gconftool-2 --type int --set /system/osso/dsm/display/inhibit_blank_mode 1 Code:
$ gconftool-2 --type int --set /system/osso/dsm/display/inhibit_blank_mode 0 Code:
gconftool-2 --help |
Re: mplayer port for N9 / Harmattan
I know this thread is burried since two months, but I'm really missing Sib from the N900 too. As we already have Mplayer working on the N9, and considering the similarities between Maemo 5 and Harmattan, would it be possible to port it? I really have difficulties in using only KMplayer, that GUI is definitely not for me. :/
Actually Sib would not be ideal without hardware keyboard. What about another GUI like SMplayer (there was a version for N900 also if I remember correctly)? |
Re: mplayer port for N9 / Harmattan
did anyone succeed in getting arabic subtitles work for Mplayer ?
It didn't work for me . |
Re: mplayer port for N9 / Harmattan
Can someone post a mirror link to mplayer download? The link seems to be broken. Ty
|
Re: mplayer port for N9 / Harmattan
Quote:
|
Re: mplayer port for N9 / Harmattan
I don't know why, but I can not download anything from https://garage.maemo.org/frs/?group_id=42
What should i do? |
Re: mplayer port for N9 / Harmattan
Quote:
why this https://garage.maemo.org/frs/?group_id=42 doesn't work???? |
Re: mplayer port for N9 / Harmattan
Quote:
Edit: Try it now, garage seems to be working now ;) |
Re: mplayer port for N9 / Harmattan
Does anybody know how I can get rid of grey background when I play 4:3 non-stretched videos through KMplayer+Mplayer?
Default N9 player uses black background for videos with non-native aspect ratios. |
Re: mplayer port for N9 / Harmattan
now it works)
|
Re: mplayer port for N9 / Harmattan
one solution is available from my self;solution is,
The command can be like below : Code: mplayer -vo x11 -framedrop -fs [filename] But there is a easier way : you can select the player (GStreamer, mplayer , etc.), you try it just worked fine. |
Re: mplayer port for N9 / Harmattan
Hey there, tried running mplayer *.amr
And I ran into this error: "dts mode not implemented, update ffmpeg" It also prints "Not: libopen-core_armnb supports dtx" But I cannot find out (oh mighty google power) how to make it play? Cheers |
Re: mplayer port for N9 / Harmattan
Quote:
|
Re: mplayer port for N9 / Harmattan
do you suggest to fix this version :
https://build.pub.meego.com/package/...ttan%3Atesting or work on recent released version ? -- http://rzr.online.fr/q/mplayer |
Re: mplayer port for N9 / Harmattan
Quote:
Code:
vo=x11 |
Re: mplayer port for N9 / Harmattan
ladoga,
However doing that for 720p BP encoded videos still causes MPlayer to lag out-of-sync presumably due to HW acceleration as they work fine when GStreamer is used as the option instead... |
Re: mplayer port for N9 / Harmattan
Quote:
Here's my config: Code:
sub-fuzziness=1 There seems to be just few vo alternatives built into this mplayer and usually my experience with vo=xv has been best. You can see what's available with mplayer -vo help. |
Re: mplayer port for N9 / Harmattan
Can anyone help me to set my KMPleyar/MPlayer displays subtitles in Bulgarian/Cyrillic
Help please!!! |
Re: mplayer port for N9 / Harmattan
Quote:
mplayer -utf8 path/to/movie.avi btw, could somebody compile mplayer 1.1 for Harmattan? Thanks |
Re: mplayer port for N9 / Harmattan
Quote:
You can create a config file in /home/user/.mplayer/ I would guess the option is utf8=1 but I'm not sure. |
All times are GMT. The time now is 06:47. |
vBulletin® Version 3.8.8