maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   MPlayer which version is suitable (https://talk.maemo.org/showthread.php?t=2405)

Serge 2006-09-09 10:50

Quote:

Originally Posted by itkach
Rebooting didn't help. Turning swap off didn't help. Rebooting after turning off swap didn't help. It doesn't even get to the point of printing out something meaningful like in the other thread. All I get is
Code:

/ $ mplayer
Segmentation fault


I have no idea what could have happened. Do the other applications work normally? Is there a possibility that you may have crippled the system in one way or another ('apt-get upgrade' is dangerous according to some reports)?

In order to find why it crashes in your system, it is possible to build a debug version of mplayer and try to get a core dump for it.

dattani98 2006-09-09 16:53

guys - have been tying to install mplayer for 2 days but the application manager tells me its broken. This is the extract from the log - help!!!! oh - I also get something similar when installing xterm.....

osso-application-installer 4.22, UI version 1
W: GPG error: http://catalogue.tableteer.nokia.com mistral Release: The following signatures were invalid: BADSIG CBFC2BECC6903E72 Nokia Internet Tablet Archive Automatic Signing Key <integration@maemo.org>
W: GPG error: http://catalogue.tableteer.nokia.com mistral Release: The following signatures were invalid: BADSIG CBFC2BECC6903E72 Nokia Internet Tablet Archive Automatic Signing Key <integration@maemo.org>
W: GPG error: http://maemo-hackers.org mistral Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3A312B21B9E81572
-----
Installing mplayer 1.0pre8-maemo.4
apt-worker: not configuring unrelated package libncurses5
apt-worker: not configuring unrelated package libvte-common
apt-worker: not configuring unrelated package libvte4
apt-worker: not configuring unrelated package osso-xterm
/bin/sh: /usr/sbin/dpkg-preconfigure: not found
Selecting previously deselected package mplayer.
(Reading database ... 12203 files and directories currently installed.)
Unpacking mplayer (from .../mplayer_1.0pre8-maemo.4_armel.deb) ...
dpkg: dependency problems prevent configuration of mplayer:
mplayer depends on libncurses5 (>= 5.4-1); however:
Package libncurses5 is not configured yet.
dpkg: error processing mplayer (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mplayer
E: Sub-process /usr/bin/dpkg returned an error code (1)

TB303 2006-09-10 09:49

Quote:

Originally Posted by Serge
Please check exact version number of your OS to be sure (go to launch menu, select "tools" -> "control panel" -> "device" -> "about product"). For IT OS 2006 it should be '1.2006.26-8'. From a package reference list seems like libncurses should be preinstalled. Unless you managed to uninstall it or cripple in some other way, it should be available :)

Well, I went to nokia's site and ran their upgrade wizard, it now says version 1.2006.26-8 - and Mplayer still won't install...

UPDATE: I now updated again, this time by downloading the .bin file myself - again no progress... ;-((

Any ideas?


thanks!

itkach 2006-09-10 23:44

Quote:

Originally Posted by Serge
I have no idea what could have happened. Do the other applications work normally? Is there a possibility that you may have crippled the system in one way or another ('apt-get upgrade' is dangerous according to some reports)?

In order to find why it crashes in your system, it is possible to build a debug version of mplayer and try to get a core dump for it.

Few other applications I have installed work quite well. I have standard 2006 OS (version 1.2006.26-8) and just few apps like FBReader, X Terminal and Python runtime. Nothing unusual. Maybe I'll re-flash the OS when I have some time to see if it makes any difference for the mplayer.

itkach 2006-09-11 02:55

Hmm... Checking for updates in Application Manager showed me there's an update for mplayer. After updating mplayer it works. Was earlier package corrupted? Before I tried to install mplayer both through Application Manager and direclty from downloaded .deb - both installed succesfully and both yielded "Segmentation Fault". Now it works. :confused:

Ed_ 2006-09-11 07:54

Quote:

Originally Posted by dattani98
guys - have been tying to install mplayer for 2 days but the application manager tells me its broken. This is the extract from the log - help!!!! oh - I also get something similar when installing xterm.....

...

Installing mplayer 1.0pre8-maemo.4
apt-worker: not configuring unrelated package libncurses5
apt-worker: not configuring unrelated package libvte-common
apt-worker: not configuring unrelated package libvte4
apt-worker: not configuring unrelated package osso-xterm
/bin/sh: /usr/sbin/dpkg-preconfigure: not found
Selecting previously deselected package mplayer.
(Reading database ... 12203 files and directories currently installed.)
Unpacking mplayer (from .../mplayer_1.0pre8-maemo.4_armel.deb) ...
dpkg: dependency problems prevent configuration of mplayer:
mplayer depends on libncurses5 (>= 5.4-1); however:
Package libncurses5 is not configured yet.
dpkg: error processing mplayer (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mplayer
E: Sub-process /usr/bin/dpkg returned an error code (1)

It seems that you have some packages unconfigured on your device.
Could you show me the output of this command: 'dpkg --configure -a" please?
You should run it from root account.

You also can try to run 'apt-get update && apt-get -f install', but it can remove some packages, so please be careful and read apt messages properly.

maxilogan 2006-09-11 08:25

Quote:

Originally Posted by Serge
It is unlikely for mplayer to support real files on Nokia 770. On PC mplayer is able to use closed source binary codec which is compiled for x86, it just will not work on arm.

I guess, information in .deb file description is somewhat misleading, does not quite apply to maemo port and should be edited (at least parts about win32 dll's and 3dfx).

Also unfortunately MPlayer on Nokia 770 has problems with AAC and AC3 audio (they are either buggy or unusable because of floating point math being too slow). We need to either find and use integer only decoders for them or use DSP based gstreamer decoder for AAC.

OK Serge, thanks for your answer; at least I have no doubt now about keeping working on it or not. Think I'll have to convert all the files to avi as I've done with South park :) quite a boring process but I wont't need to power up the laptop to see the episodes

elpaso 2006-09-11 09:00

Quote:

Originally Posted by faber
Mplayer doesn't support WMV9, it can play up to v8.

Sorry, but the same movie plays like a charme on my ubuntu.

Maybe you mean "Mplayer on nokia 770 doesn't support WMV9" ?

The command was:
mplayer 'mms://media.fastweb.it/WM9/raiclick/FMVRAI04000001062556.wmv?idCnt=35094&path=RaiClick Web^Home^Fiction^Poliziesco^IL+COMMIS SARIO+MONTALBANO#1'

Serge 2006-09-11 10:12

Quote:

Originally Posted by elpaso
Sorry, but the same movie plays like a charme on my ubuntu.

Maybe you mean "Mplayer on nokia 770 doesn't support WMV9" ?

Any Mplayer up to version 1.0pre8 and including it does not natively support WMV9. It means that your ubuntu uses m$ binary codec for playing it. As these binary codecs only work on x86 platform, they can't be used on Nokia 770. Native WMV9 support was recently added in the latest development snapshots of Mplayer and you can have native WMV9 support if you take its sources from SVN (upstream MPlayer SVN, not maemo port). So the next MPlayer release is likely to have proper WMV9 support and it may be possible to use it on Nokia 770. I hope that explains everything.

If you really want WMV9 support right now, there are two options:
1. you can try to get the latest MPlayer SVN snapshot, apply maemo patches to it (available for download on garage mplayer page) and hope that it will compile and work
2. you can try to backport WMV9 changes to MPlayer 1.0pre8, provide a patch against maemo mplayer SVN and submit it to us

TB303 2006-09-11 14:52

Quote:

Originally Posted by TB303
Well, I went to nokia's site and ran their upgrade wizard, it now says version 1.2006.26-8 - and Mplayer still won't install...

UPDATE: I now updated again, this time by downloading the .bin file myself - again no progress... ;-((

Any ideas?


thanks!

Any ideas?

I tried to install the latest OS again, yet still Mplayer gives me the same error message. Is there a way to do a complete format of the 770? Maybe try and install an OLDER version of Mplayer? If so where can I find one? thanks!!

bsterix 2006-09-11 16:02

Most of the videos i play with mplayer are very slow (i.e. more a slideshow than a video). Without sound its a bit better, but some videos still hang.

What could be the reason?

Serge 2006-09-11 16:22

2bsterix: A short answer: Nokia 770 hardware is not fast enough to play any random video you can feed to it. So for best performance with highest visual quality it needs to be transcoded anyway. But now properly transcoded video plays much better in MPlayer than the same video transcoded for use with the default video player and frame rate does not need to be halved (I find 15 fps video not very enjoyable).

Check these links:
http://www.internettablettalk.com/fo...&postcount=158
http://www.internettablettalk.com/fo...&postcount=128

I think it is time to prepare some FAQ or we will get flooded with the same questions.

PS. There is still a lot of potential for performance optimizations, but don't expect any miracles.

Serge 2006-09-11 16:44

Quote:

Originally Posted by TB303
Any ideas?

I tried to install the latest OS again, yet still Mplayer gives me the same error message. Is there a way to do a complete format of the 770? Maybe try and install an OLDER version of Mplayer? If so where can I find one? thanks!!

Please use MPlayer garage page to submit bugreport or support request with the detailed description of what you did and what you have seen in the process, we'll try to help you. This forum thread is just getting too long and unmanageable.

As for older versions of MPlayer builds for maemo, they were not packaged for application manager. And considering that you are not very familiar with linux in general, it would be hard for you to try them and just even more questions can arise.

dattani98 2006-09-11 16:55

[QUOTE=Ed_]It seems that you have some packages unconfigured on your device.
Could you show me the output of this command: 'dpkg --configure -a" please?
You should run it from root account.

hi ed - ran the abv command and got this output

/home/user # dpkg --configure -a
Setting up libncurses5 (5.5-1) ...

Setting up libvte-common (0.12.1-1mh9) ...
Setting up libvte4 (0.12.1-1mh9) ...

Setting up osso-xterm (0.13.mh13) ...

ran the application mgr and now it works!!!! You guys are great. Thanks for your help all.

dattani98 2006-09-11 17:20

does anyone have maba's MPGUI file hosted somewhere? Maba - your link is down so cant acces the file

ta

Serge 2006-09-12 08:51

Quote:

Originally Posted by itkach
Tried the new .deb package. It installed fine, but all I get when I try to run mplayer in xterm is "Segmentation fault" message. Any ideas why this happens?

If any of you are having strange crashes and buggy behaviour, please also have a look at this thread: http://www.internettablettalk.com/fo...ead.php?t=3040

MPlayer has quite a big code size ~5MB, so theoretically crash on start may be caused by it being loaded to a faulty region memory.

TB303 2006-09-12 10:03

Quote:

Originally Posted by Serge
Please use MPlayer garage page to submit bugreport or support request with the detailed description of what you did and what you have seen in the process, we'll try to help you. This forum thread is just getting too long and unmanageable.

As for older versions of MPlayer builds for maemo, they were not packaged for application manager. And considering that you are not very familiar with linux in general, it would be hard for you to try them and just even more questions can arise.

OK, done!

thanks mate.

nokkiaa 2006-09-15 18:05

Hello,(sorry for my english, im a swiss boy ;) can anyone help me to show youtube videos without slow video? I try tihs code always: mplayer -ao gst -vo sdl /home/user/MyDocs/get_video.flv
This code plays video and sound. But the video is slower than sound. Can anyone help me?

Serge 2006-09-15 18:24

2nokkiaa: Don't use '-vo sdl' option, it is slow. Also '-ao gst' is not needed as it is already used by default. The only option you may want to use in some cases is '-vo x11' when playing video with non-optimal resolution (it will disable scaling, but will work faster). By the way, if you find youtube video clips that have playback problems (even after adding '-vo x11'), please report links to them here.

Patnet 2006-09-15 22:52

WMV file
 
Hello, thanks for the latest 4 Beta. I'm running into missing codecs on a WMV file. Can you guys advise how to tell if my file is WMV9 and therefore not supported? I'm creating the file from a Slingbox stream recorded by Applian Replay A/V/At Large Recorder formerly called Slingcorder.

Ricardo1 2006-09-19 11:05

Help with Install
 
I am a nebie to the Linux world but loving the Nokia 770, I wish to install mplayer but am having a little difficulty, I am trying to find instructions and if there are any additional software that I need.

In addition is there a gui for this app or will I need to run it via the command line? Any help would be much appreciated

Sorry foor the silly questions

Serge 2006-09-19 11:10

2Ricardo1: There is GUI for mplayer already. It was committed to SVN last weekend. The only thing left to do is to make a .deb package. Stay tuned :)

Ricardo1 2006-09-19 12:49

Makes a novice life easier
 
Cool, any idea of timescale also still looking for advice on install :)

Ricardo1 2006-09-19 13:50

I have found an earlier post and am in the process of trying to install M-Player using the instructions found on page 2 or 3, are they still valid?

Serge 2006-09-19 14:33

Quote:

Originally Posted by Ricardo1
I have found an earlier post and am in the process of trying to install M-Player using the instructions found on page 2 or 3, are they still valid?

Unlikely. Just install MPlayer from .deb package using application manager. After that you will be able to run it from xterm (also make sure to install xterm before mplayer) by typing 'mplayer some_video_file.avi'. If you find it too difficult, please wait for a few days until the next version gets released.

Ricardo1 2006-09-19 15:37

Cool, thanks

Ricardo1 2006-09-19 19:57

Looks like I will be waiting until the GUI is launched
 
My inexperience hinders me, I will talk to some of the system support and developers at work.

BusyBox v1.01 (Debian 3:1.01-4.osso10) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/ $ mmpmplayer some_video_file.avi
sh: mmpmplayer: not found
/ $
/ $ mplayer some_video_file.avi
MPlayer 1.0pre8-maemo.4 (C) 2000-2006 MPlayer Team
CPU: ARM

Creating config file: /home/user/.mplayer/config

/usr/share/fonts/SwaRR4nh.ttf doesn't look like a font description, ignoring.
Cannot load font: /usr/share/fonts/SwaRR4nh.ttf

Playing some_video_file.avi.
File not found: 'some_video_file.avi'
Failed to open some_video_file.avi.


Exiting... (End of file)
/ $ mplayer some_video_file.avi
MPlayer 1.0pre8-maemo.4 (C) 2000-2006 MPlayer Team
CPU: ARM


/usr/share/fonts/SwaRR4nh.ttf doesn't look like a font description, ignoring.
Cannot load font: /usr/share/fonts/SwaRR4nh.ttf

Playing some_video_file.avi.
File not found: 'some_video_file.avi'
Failed to open some_video_file.avi.


Exiting... (End of file)
/ $ mplayer Stargate.Atlantis.S03E01.WS.DSR.XviD-DIMENSION.avi
MPlayer 1.0pre8-maemo.4 (C) 2000-2006 MPlayer Team
CPU: ARM


/usr/share/fonts/SwaRR4nh.ttf doesn't look like a font description, ignoring.
Cannot load font: /usr/share/fonts/SwaRR4nh.ttf

Playing Stargate.Atlantis.S03E01.WS.DSR.XviD-DIMENSION.avi.
File not found: 'Stargate.Atlantis.S03E01.WS.DSR.XviD-DIMENSION.avi'
Failed to open Stargate.Atlantis.S03E01.WS.DSR.XviD-DIMENSION.avi.


Exiting... (End of file)
/ $

Serge 2006-09-20 06:12

A new build of mplayer with the first experimantal GUI frontend is now available for download from the garage project page: https://garage.maemo.org/projects/mplayer/

Please consider this as a beta release, test it and report any bugs or installation issues, your feedback is really appreciated.

=DC= 2006-09-20 12:10

Nice. This UI is a good improvement over Mauricio's solution, but it could still use a little polish [do we really need to see the full path of videos?]. I had some problems with one of my mp4 videos going "double speed" and one going "half speed". I don't know if this is a know issue, but since those are the only two in that format, it's really not a problem for me. The flv files from Google Video and YouTube play fine, and all my avi files play just fine as well. Thanks for all your hard work again Serge.

Oh, by the way, what's the report button for? It didn't appear to do anything when I tapped it. [I hope I didn't remotely launch an underground missile somewhere in the world.]

=DC= 2006-09-20 14:21

I just noticed if you leave the GMPlauncher open for longer than ~30 seconds it closes automatically. Is it suposed to do that? Also, is there any way you could get the launcher to detect mp3 files as well? Thanks.

Serge 2006-09-20 15:58

Quote:

Originally Posted by =DC=
Nice. This UI is a good improvement over Mauricio's solution, but it could still use a little polish [do we really need to see the full path of videos?].

Yes, it still needs some polishing, so suggestions are welcome. Do full paths really annoy you (other people)? As least they provide precise information about the location of each file.

Quote:

I had some problems with one of my mp4 videos going "double speed" and one going "half speed". I don't know if this is a know issue, but since those are the only two in that format, it's really not a problem for me.
Well there are many different formats and codecs, each one of them can potentially contain bugs. Please try these files with mplayer 1.0pre8 on your desktop computer (it can be downloaded here: http://www.mplayerhq.hu). If you see the same speed problems, we need to check if it is not fixed in SVN yet and report them to upstream mplayer maintainers. If the problems are in maemo build, I would like to see at least mplayer log for them and probably download the files themselves for my test collection. But please submit this information as a bugreport at garage trackers: https://garage.maemo.org/projects/mplayer/

Quote:

The flv files from Google Video and YouTube play fine, and all my avi files play just fine as well.
That's good to know. If you notice any problems with youtube videos, please provide this information too.

Quote:

Thanks for all your hard work again Serge.
Actually I'm not the only one who took part in porting and improving mplayer for maemo. Ed Bartosh created deb packages and Josep Torra optimized mpeg1 decoder for Nokia 770. Not to mention numerous upstream developers of mplayer and ffmpeg :) I think we still really need a proper credits tab in mplayer gui.

Quote:

Oh, by the way, what's the report button for? It didn't appear to do anything when I tapped it. [I hope I didn't remotely launch an underground missile somewhere in the world.]
It just displays mplayer output for the last played video with the detailed information and performance statistics. If you press it just after start, it does not have anything to show yet.

Quote:

Originally Posted by =DC=
I just noticed if you leave the GMPlauncher open for longer than ~30 seconds it closes automatically. Is it suposed to do that?

It is not supposed to do that. That's the first bug you have noticed, congratulations :) In order to workaround it, you can start 'gmplauncher' from xterm and it should work fine.

A bugfix package will follow really soon after we make sure there are no other critical bugs. Did anyone test installation of mplayer package on a fresh OS2006 device? Does it work ok?

Quote:

Also, is there any way you could get the launcher to detect mp3 files as well? Thanks.
Technically - yes, it is not hard. But maybe just using audio player for mp3 files is better?

Anyway, I tried to design gui so that you need as little stylus tapping as possible to start playing some video from your MMC card. No need to prepare playlists, just put a bunch of your video files on MMC card and you can start watching them right away. I borrowed this design from FBReader which also autodetects e-books in 'Books' subdirectory on MMC card automatically.

Ricardo1 2006-09-21 17:28

Great app, installed the Beta and everything is fine, the only quibble I have is with regards to fast forward and rewind which can require a lot of key presses, especially if the last place you watched the file was in the middle or near the end of a film. A progress bar would be great so that you could drag the timeline to wherever you wanted.

Serge 2006-09-21 20:37

Bugfix release is available, GUI should be stable now, everyone is encouraged to upgrade.

mike9285 2006-09-21 23:23

I can't start the gmplauncher from the apps menu. Loads fine from xterm.

=DC= 2006-09-22 00:23

It works for me, but it still closes after 30 seconds when not doing anything with it. I'm going to see if it has anything to do with the settings for the automatic shutdown of the screen. Everything else is cool. I guess having the full path of videos is fine. In fact, I kind of wish the built-in player had something like this. Maybe with an option to view small icons of each like the image viewer does.

Hedgecore 2006-09-22 14:21

Excellent, a lot more responsive than the built in media player, and I see less artifacts on the screen.

I do have one small request though. I realize everything is in it's infancy, but could functionality be added to type in a path/filename to open? Or just a path and have it scan for media files in the destination like it does for the RSMMC card? (A full blown file browser would be a lot to ask for at this point) :)

I only have a 512mb card and don't have much on there... but what I'd like to do is hit my CIFS mountpoint (I haven't tried mounting any shares onto a directory residing on the RSMMC card).

Otherwise great work, this weekend I'll experiment with other media types and see how playback goes.

Nickster 2006-09-22 15:10

Quote:

Originally Posted by Hedgecore
I only have a 512mb card and don't have much on there... but what I'd like to do is hit my CIFS mountpoint (I haven't tried mounting any shares onto a directory residing on the RSMMC card).

I use HTTP and a slightly modified opera.ini file (details in this thread somewhere). Just run a webserver on the machine hosting the files, set it to display directory listings, and once you've clicked on the relevant filename hyperlink, you're watching the movie in a few seconds :)

Nickster 2006-09-22 15:11

BTW - is installation of the new version just simple "install the .deb and magic happens", or do I need to do something else? I think I'm two or three releases out of date.

syam 2006-09-22 15:45

Mpgui
 
MPGUI is no more required.

Serge 2006-09-22 16:05

Quote:

Originally Posted by syam
MPGUI is no more required.

Yes, that was a dead branch. Unfortunately its author did not publish the sources so we had to make a new gui from scratch. On the other hand he emphasized the necessity of gui so also helped to improve mplayer in some way :)

The next step in providing a complete video support solution for Nokia 770 is to ensure the availability of a good and user friendly media convertor capable of producing files optimized for mplayer.


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

vBulletin® Version 3.8.8