OESF Portables Forum

General Forums => General Discussion => Topic started by: Anonymous on February 18, 2004, 10:56:18 pm

Title: mplayer version??? file type
Post by: Anonymous on February 18, 2004, 10:56:18 pm
Hi,
 I downloaded several versions of mplayer and tried using command line. None would even play an .avi file... What filetypes are supported, and which version of mplayer.

I saw

mplayer 8/2002 0.90 pre5
            11/14/2002 0.09 pre10
            12/2002     0.90 rc1  
or
  mplayer shell 1.2-arm.ipk 3/4/2003
xmedia is for opie. i saw some listed in unstable ipk

this is not for oz but sharp 1.32 rom with standard kernel.

I can understand if its choppy before upgrading kernel but would like to see it handle the file types in question.

Thanks
Greg
Title: mplayer version??? file type
Post by: Anonymous on February 18, 2004, 11:31:56 pm
I think they all support AVI ... I had a go at getting them working but gave up.
Title: mplayer version??? file type
Post by: lardman on February 19, 2004, 02:13:39 am
What went wrong exactly? Can you provide the output?


Si
Title: mplayer version??? file type
Post by: Anonymous on February 19, 2004, 01:04:47 pm
is xmedia shell sufficient for watching videos then? .avi et al? or do you need the xmms... too
Title: mplayer version??? file type
Post by: tumnus on February 19, 2004, 03:16:11 pm
Did you install the version of mplayer from the Mplayer Shell homepage when you tried Mplayer Shell? Look here: http://www.rothfuss-web.de/zaurus/index.html (http://www.rothfuss-web.de/zaurus/index.html)

The Mplayer Shell ipk only contains the Java GUI.

In the end it\'s not a case of filetypes (mplayer supports just about all of them) but rather it is to do with the codecs used. Many different codecs can be used in an AVI file and some are only supported on a x86 PC.
Title: mplayer version??? file type
Post by: lardman on February 19, 2004, 04:19:05 pm
@sfgreg: mplayer will write directly to the framebuffer (over the top of everything else) so it doesn\'t matter whether or not you have a GUI. OTOH it\'s a bit of a pain if you try to switch away while it\'s still playing.


Si
Title: mplayer version??? file type
Post by: Anonymous on February 22, 2004, 01:29:25 am
Any thoughts on these 3 trials of mplayer? It looks like first 2 are codec issues, and third is that sl-5600 cant handle this video..

Thanks for input.

rying using framedrop from command line, and received this error.


# mplayer -framedrop /mnt/card/audio/file.avi


MPlayer   0.90pre5  © 2000-2002 Arpad Gereoffy (see DOCS!)

Reading /home/root/.mplayer/codecs.conf: 32 audio & 94 video codecs
font: can\'t open file: /home/root/.mplayer/font/font.desc
font: can\'t open file: /usr/local/share/mplayer/font/font.desc
Linux RTC init error: Device or resource busy
Using usleep() timing
Can\'t open input config file /home/root/.mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config

Playing /mnt/card/audio/file.avi
Detected AVI file format!
VIDEO:  [IV32]  160x120  24bpp  6.00 fps  197.7 kbps (24.1 kbyte/s)
Detected audio codec: [pcm] afm:2 (Uncompressed PCM)
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 11025 Hz, 1 ch, sfmt: 0x8 (1 bps), ratio: 11025-]11025 (88.2 kbit)
==========================================================================
Requested video codec family [indeo3] (vfm=2) not available (enable it at compile time!)
Requested video codec family [indeo3xa] (vfm=10) not available (enable it at compile time!)
Can\'t find codec matching selected -vo and video format 0x32335649 !
*** Try to upgrade /home/root/.mplayer/codecs.conf from etc/codecs.conf
*** If it\'s still not OK, then read DOCS/codecs.html!
==========================================================================
AO: [oss] 11025Hz 1ch Unsigned 8-bit
Video: no video!!!
fbdev: Can\'t restore text mode: Invalid argument


MPlayer interrupted by signal 11 in module: uninit_vo
- MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a \'gdb\' backtrace and disassembly. For details, see DOCS/bugreports.html section 5.b.
- MPlayer crashed. This shouldn\'t happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it\'s MPlayer\'s fault, please read DOCS/bugreports.html and follow instructions there. We can\'t and won\'t help unless you provide these informations when reporting a possible bug.
#

the second one:

MPlayer   0.90pre5  © 2000-2002 Arpad Gereoffy (see DOCS!)
A:   3.7 V:   3.7 A-V:  0.008 ct:  0.369  112/112  263%  0% 16.8% 23 0 0%
Exiting... (End of file)
#
Reading /home/root/.mplayer/codecs.conf: 32 audio & 94 video codecs
font: can\'t open file: /home/root/.mplayer/font/font.desc
font: can\'t open file: /usr/local/share/mplayer/font/font.desc
Linux RTC init error: Device or resource busy
Using usleep() timing
Can\'t open input config file /home/root/.mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config

Playing /mnt/card/audio/secondfile.avi
Detected AVI file format!
VIDEO:  [DX50]  640x480  24bpp  29.97 fps  2497.3 kbps (304.8 kbyte/s)
Clip info:
 Software: VirtualDubMod 1.5.4.1 (build 2066/release)
Detected audio codec: [pcm] afm:2 (Uncompressed PCM)
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 192000-]192000 (1536.0 kbit)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg\'s libavcodec codec family
Detected video codec: [ffodivx] vfm:5 (FFmpeg MPEG-4)
==========================================================================
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian)
Start playing...
vbv parameters not supported
Error while decoding frame!
This file was encoded with DivX503 Build10311/  1   0%  0%  0.0% 0 0 0%
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)   0 0%
Movie-Aspect is undefined - no prescaling applied.
VO: [fbdev] 640x480 =] 640x480 Planar YV12
No accelerated colorspace conversion found

3)  Then I found a test avi that my system tried to actually play but go too slow to play this  followme_sample-br400.avi

* * * SEE MANPAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS ! * * *

A:   4.1 V:   2.0 A-V:  2.047 ct:  0.204   52/ 52  116%  0% 70.7% 50 0 0%%

         ************************************************
#        **** Your system is too SLOW to play this!  ****S!)
         ************************************************
!!! Possible reasons, problems, workaround: audio & 94 video codecs
- Most common: broken/buggy _audio_ driver. workaround: try -ao sdl or use
  ALSA 0.5 or oss emulation of ALSA 0.9. read DOCS/sound.html for more tips!
- Slow video output. try different -vo driver (for list: -vo help) or try
  with -framedrop !  Read DOCS/video.html for video tuning/speedup tips.
- Slow cpu. don\'t try to playback big dvd/divx on slow cpu! try -hardframedropdirectory
- Broken file. try various combinations of these: -nobps  -ni  -mc 0  -forceidx
- You\'re using -cache to play a non-interleaved file? try with -nocache
If none of these apply, then read DOCS/bugreports.html !
Detected AVI file format!
A:  19.6 V:  12.1 A-V:  7.564 ct:  1.208  303/303  92%  0% 55.6% 300 0 0%%
Detected audio codec: [ffmp3] afm:11 (FFmpeg layer-3 audio decoder - integer only)
         ************************************************
         **** Your system is too SLOW to play this!  ****176400 (128.0 kbit)
         ************************************************=================
!!! Possible reasons, problems, workaround: avcodec codec family
- Most common: broken/buggy _audio_ driver. workaround: try -ao sdl or use
  ALSA 0.5 or oss emulation of ALSA 0.9. read DOCS/sound.html for more tips!
- Slow video output. try different -vo driver (for list: -vo help) or try
  with -framedrop !  Read DOCS/video.html for video tuning/speedup tips.
- Slow cpu. don\'t try to playback big dvd/divx on slow cpu! try -hardframedrop
- Broken file. try various combinations of these: -nobps  -ni  -mc 0  -forceidx
- You\'re using -cache to play a non-interleaved file? try with -nocache
If none of these apply, then read DOCS/bugreports.html !
No accelerated colorspace conversion found
A:  22.8 V:  14.3 A-V:  8.529 ct:  1.432  359/359  90%  0% 54.8% 356 0 0%

MPlayer interrupted by signal 2 in module: decode_video
Title: mplayer version??? file type
Post by: lardman on February 22, 2004, 06:56:12 am
Well I\'d guess that as you say the first two are to do with missing codecs. This may or may not be fixable if you recompile the source.

The last one seems straight frowards, but I\'m surprised. Can you provide links to the files in question (or at leastr to the last one) so that someone else can try and see what they get?


Si
Title: mplayer version??? file type
Post by: Anonymous on March 05, 2004, 12:46:34 am
Ive tried the gui (shell and xmms) neither work. How do you run from command line and NOT have the messages that display overwrite the video?
Title: mplayer version??? file type
Post by: Anonymous on March 05, 2004, 01:20:55 am
also, btw, kino2 doesnt work on sharp rom at all either...

no play icon,, when clicking on blank one on bottom get the undefined symbol..

So:

1) mplayer shell - nothing happens fails
2) mplayer from console - the writing overlays the video
3) mediaplayer - sometimes works , on avis sometimes doesnt seems random
4) kino2 - doesnt work
5) mplayer from ssh - works more often than the alternatives. Unfortunately defeats purpose as you have to have a remote system with putty to play a video, not recommended.

So, with a sharp rom on sl-5600, this is my milage. I think I have tried all the \"Free\" alternatives available to me.

QPixmap::convertFromImage: Cannot convert a null image kino2
Or = 3
kino2: error while loading shared libraries: kino2: undefined symbol: __15SlDirectPainteribi
# kino2
QPixmap::convertFromImage: Cannot convert a null image kino2
Or = 3
kino2: error while loading shared libraries: kino2: undefined symbol: __15SlDirectPainteribi
#
Title: mplayer version??? file type
Post by: lardman on March 05, 2004, 04:51:55 am
kino2 won\'t work on anything but a cxxx machine as it uses hardware the ATi acceleration which they have built in afaik.

Have you tried running the mplayer shell itself from the command line to see what it\'s failing on?

use the -quiet switch to stop the output from mplayer.

I note you\'re using mplayer 0.90pre5, I\'ve seen pre10 available on killefiz, it might be worth upgrading to see whether it\'ll play your funny files.


Si
Title: mplayer version??? file type
Post by: tumnus on March 05, 2004, 05:13:56 am
I don\'t think the Mplayer Shell works well with any mplayer version other than the exact binary in the mplayer ipk available from the same page as Mplayer Shell. I also don\'t think that there have been any added codecs to the 1.0pre versions on mplayer.
Title: mplayer version??? file type
Post by: Anonymous on March 05, 2004, 09:33:56 am
I had downloaded the shell from same page that was provided with the binary The troulbe is it doesnt play the file... nada. I will try the quiet switch , that is an interesting idea, i didnt see before.

 Once I can get that going, I\'ll try to see if there is any similarity between the avis that work and those that dont. If i can get a divx to play (not sure if they will), then maybe i can compress my avis from my workstation to play on the zaurus?
Title: mplayer version??? file type
Post by: Anonymous on March 05, 2004, 10:02:34 am
The quiet switch DID in fact stop the GREAT majority of output not everything which is ok. The video and audio dont match up though, although I did see another post discussing that... (thanks for tip on quiet)

Also, how do you clear it totally from screen, cntl c or going to another app still leaves pieces of it behind.

But we are moving forward, and thank you for your reply
Title: mplayer version??? file type
Post by: Anonymous on March 05, 2004, 10:16:43 am
The quiet switch DID in fact stop the GREAT majority of output not everything which is ok. The video and audio dont match up though, although I did see another post discussing that... (thanks for tip on quiet)

Also, how do you clear it totally from screen, cntl c or going to another app still leaves pieces of it behind.

But we are moving forward, and thank you for your reply
Title: mplayer version??? file type
Post by: tumnus on March 05, 2004, 11:42:32 am
mplayer can play divx fine. The MPlayer Shell comes with a binary called \'redraw\' that refreshes the entire screen. Mplayer Shell basically replaces launching mplayer from the console. It does nothing special with the output. That\'s why it has that \'redraw\' binary to refresh Qtopia after playing a video.
Title: mplayer version??? file type
Post by: Anonymous on March 05, 2004, 04:46:55 pm
When I invoked the java app shell, nothing happens, just get the gui but it doesnt play anything...
Title: mplayer version??? file type
Post by: tumnus on March 05, 2004, 06:31:49 pm
Which ROM are you using? I do remember one thing now. The mplayer ipk that comes with the shell puts the config files in /home/root/.mplayer . The Sharp ROMs now run everything as the \'zaurus\' user, so /home/root/.mplayer needs to be moved to /home/zaurus/ and owned by the \'zaurus\' user. Run these commands as root if you are using the Sharp ROM:

mv /home/root/.mplayer /home/zaurus
chown -R zaurus.qpe /home/zaurus/.mplayer

Sorry, forgot about that one. It was so long ago that I set it up.
Title: mplayer version??? file type
Post by: Anonymous on March 05, 2004, 11:52:16 pm
I find that videos need to be reencoded in order to play at an acceptable framerate on the zaurus 5600.  I use mencoder to do this and I create a .ogm  video file (divx video with ogg audio) and need to play this with a mplayer version that uses the tremor (integer only ) codec. I am using it successfully with transcoding recordings from mythtv.   Using a kernel zImage with the xscale cache errata turned off significantly speeds up things too.  Here are the details for anyone interested.  http://cmisip.home.insightbb.com/zaurus.htm (http://cmisip.home.insightbb.com/zaurus.htm)
Title: mplayer version??? file type
Post by: Anonymous on March 07, 2004, 01:29:35 am
HI,
 on desktop to encode videos what is a windows based equivalent to do the encoding? does mencoder run on windows too?