WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: mplayer doesn't work  (Read 7245 times)

Offline quellen

  • Newbie
  • *
  • Posts: 47
mplayer doesn't work
« on: November 18, 2014, 05:47:47 PM »
hello folks,
i installed mplayer.tcz  (Testing) 1.1.1, i tried to open some .avi .mp3 .mp4 ecc... but doesn't work:

Code: [Select]
$ mplayer pippo.mp3
MPlayer 1.1-4.7.2 (C) 2000-2012 MPlayer Team

Playing pippo.mp3.
libavformat version 54.6.100 (internal)


MPlayer interrupted by signal 4 in module: demux_open
- MPlayer crashed by an 'Illegal Instruction'.
  It usually happens when you run it on a CPU different than the one it was
  compiled/optimized for.
  Verify this!
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- 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/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
why?
my notebook has Pentium III 1GHz - RAM: 128MB

Thanks.
« Last Edit: November 18, 2014, 05:49:31 PM by quellen »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: mplayer doesn't work
« Reply #1 on: November 18, 2014, 05:57:52 PM »
Post the output of 'cat /proc/cpuinfo'.

Offline quellen

  • Newbie
  • *
  • Posts: 47
Re: mplayer doesn't work
« Reply #2 on: November 19, 2014, 04:13:47 AM »
Code: [Select]
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 10
microcode : 0x1
cpu MHz : 994.680
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pse36 mmx fxsr sse
bogomips : 1990.25
clflush size : 32
cache_alignment : 32
address sizes : 36 bits physical, 32 bits virtual
power management:



Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: mplayer doesn't work
« Reply #3 on: November 19, 2014, 05:22:32 PM »
Hi quellen
I think that your cpu is too old for how was compiled mplayer on core, I think if u use mplayer on dCore u don't have this problem as I have a cpu old like your and mplayer works on dCore wheezy
dCore user

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: mplayer doesn't work
« Reply #4 on: November 19, 2014, 08:25:22 PM »
Hi quellen
If you run:
Code: [Select]
mplayerI think it will spit out information on its requirements, post that.

Offline quellen

  • Newbie
  • *
  • Posts: 47
Re: mplayer doesn't work
« Reply #5 on: November 20, 2014, 03:58:15 AM »
thanks,
but what is dCore?

Code: [Select]
$ mplayer
MPlayer 1.1-4.7.2 (C) 2000-2012 MPlayer Team
Usage:   mplayer [options] [url|path/]filename

Basic options: (complete list in the man page)
 -vo <drv>        select video output driver ('-vo help' for a list)
 -ao <drv>        select audio output driver ('-ao help' for a list)
 vcd://<trackno>  play (S)VCD (Super Video CD) track (raw device, no mount)
 dvd://<titleno>  play DVD title from device instead of plain file
 -alang/-slang    select DVD audio/subtitle language (by 2-char country code)
 -ss <position>   seek to given (seconds or hh:mm:ss) position
 -nosound         do not play sound
 -fs              fullscreen playback (or -vm, -zoom, details in the man page)
 -x <x> -y <y>    set display resolution (for use with -vm or -zoom)
 -sub <file>      specify subtitle file to use (also see -subfps, -subdelay)
 -playlist <file> specify playlist file
 -vid x -aid y    select video (x) and audio (y) stream to play
 -fps x -srate y  change video (x fps) and audio (y Hz) rate
 -pp <quality>    enable postprocessing filter (details in the man page)
 -framedrop       enable frame dropping (for slow machines)

Basic keys: (complete list in the man page, also check input.conf)
 <-  or  ->       seek backward/forward 10 seconds
 down or up       seek backward/forward  1 minute
 pgdown or pgup   seek backward/forward 10 minutes
 < or >           step backward/forward in playlist
 p or SPACE       pause movie (press any key to continue)
 q or ESC         stop playing and quit program
 + or -           adjust audio delay by +/- 0.1 second
 o                cycle OSD mode:  none / seekbar / seekbar + timer
 * or /           increase or decrease PCM volume
 x or z           adjust subtitle delay by +/- 0.1 second
 r or t           adjust subtitle position up/down, also see -vf expand

 * * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *


Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11041
Re: mplayer doesn't work
« Reply #6 on: November 20, 2014, 05:53:34 AM »
"mplayer -v" is more useful, but it's pretty certain it would need a rebuild.
The only barriers that can stop you are the ones you create yourself.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: mplayer doesn't work
« Reply #7 on: November 20, 2014, 05:55:32 AM »
yeah - I'd guess this has been compiled for i686, rather than for the tinycore standard of i486.

Perhaps you could pm the maintainer and request a recompile?

Offline quellen

  • Newbie
  • *
  • Posts: 47
Re: mplayer doesn't work
« Reply #8 on: November 20, 2014, 07:23:14 AM »
i see here there are other versions of mplayer. how can i install it? in my "Application Browser" there is only "mplayer.tcz" :-(

Code: [Select]
$ mplayer -v
MPlayer 1.1-4.7.2 (C) 2000-2012 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU:  (Family: 6, Model: 8, Stepping: 10)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 0 SSSE3: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowExt SSE SSE2 CMOV
get_path('codecs.conf') -> '/home/tc/.mplayer/codecs.conf'
Reading optional codecs config file /home/tc/.mplayer/codecs.conf: No such file or directory
Reading optional codecs config file /usr/local/etc/mplayer/codecs.conf: No such file or directory
Using built-in default codecs.conf.
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/tc/.mplayer/fonts'
Usage:   mplayer [options] [url|path/]filename

Basic options: (complete list in the man page)
 -vo <drv>        select video output driver ('-vo help' for a list)
 -ao <drv>        select audio output driver ('-ao help' for a list)
 vcd://<trackno>  play (S)VCD (Super Video CD) track (raw device, no mount)
 dvd://<titleno>  play DVD title from device instead of plain file
 -alang/-slang    select DVD audio/subtitle language (by 2-char country code)
 -ss <position>   seek to given (seconds or hh:mm:ss) position
 -nosound         do not play sound
 -fs              fullscreen playback (or -vm, -zoom, details in the man page)
 -x <x> -y <y>    set display resolution (for use with -vm or -zoom)
 -sub <file>      specify subtitle file to use (also see -subfps, -subdelay)
 -playlist <file> specify playlist file
 -vid x -aid y    select video (x) and audio (y) stream to play
 -fps x -srate y  change video (x fps) and audio (y Hz) rate
 -pp <quality>    enable postprocessing filter (details in the man page)
 -framedrop       enable frame dropping (for slow machines)

Basic keys: (complete list in the man page, also check input.conf)
 <-  or  ->       seek backward/forward 10 seconds
 down or up       seek backward/forward  1 minute
 pgdown or pgup   seek backward/forward 10 minutes
 < or >           step backward/forward in playlist
 p or SPACE       pause movie (press any key to continue)
 q or ESC         stop playing and quit program
 + or -           adjust audio delay by +/- 0.1 second
 o                cycle OSD mode:  none / seekbar / seekbar + timer
 * or /           increase or decrease PCM volume
 x or z           adjust subtitle delay by +/- 0.1 second
 r or t           adjust subtitle position up/down, also see -vf expand

 * * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *

vo: x11 uninit called but X11 not initialized..
« Last Edit: November 20, 2014, 07:25:24 AM by quellen »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: mplayer doesn't work
« Reply #9 on: November 20, 2014, 07:53:42 AM »
Quote
yeah - I'd guess this has been compiled for i686, rather than for the tinycore standard of i486.

Actually, this mplayer extension fails to run even on my 2Ghz P4, illegal instruction.  I was intending to rebuild it myself as I PM'd the maintainer and waited a while, just haven't had the time.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: mplayer doesn't work
« Reply #10 on: November 20, 2014, 07:59:28 AM »
the link is to the tc-2.x repository, whereas the app browser is looking at the tc-5.x repo

you could try downloading the extension using http://repo.tinycorelinux.net/2.x/tcz/Mplayer-nodeps.tcz

..but it is not sure that it will work.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: mplayer doesn't work
« Reply #11 on: November 20, 2014, 10:33:45 AM »
Mplayer-nodeps is not in the 5.x repo because it actually depends on libpng12.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: mplayer doesn't work
« Reply #12 on: November 20, 2014, 11:36:22 AM »
Mplayer-nodeps is not in the 5.x repo because it actually depends on libpng12.

You can try with libpng12.tcz from 6.x repo
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline quellen

  • Newbie
  • *
  • Posts: 47
Re: mplayer doesn't work
« Reply #13 on: November 20, 2014, 05:24:06 PM »
i installed mplayer-nodeps.tcz (i taked libpng from DSL). it works with all movies/mp3, but there is a problem:
is mute
:-( :-( :-(

why?
the sound works on XChat.

Code: [Select]
$mplayer -ao help
MPlayer SVN-r30660-snapshot (C) 2000-2010 MPlayer Team
Available audio output drivers:
oss OSS/ioctl audio output
mpegpes DVB audio output
v4l2 V4L2 MPEG Audio Decoder output
null Null audio output
pcm RAW PCM/WAVE file writer audio output
i tried all drivers but nothing works.
Code: [Select]
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
Failed to initialize audio driver 'oss'
Could not open/initialize audio device -> no sound.

DVB card number must be between 1 and 4
Failed to initialize audio driver 'mpegpes'
Could not open/initialize audio device -> no sound.

Failed to initialize audio driver 'v4l2'
Could not open/initialize audio device -> no sound.

[AO PCM] File: audiodump.wav (WAVE)
PCM: Samplerate: 44100Hz Channels: Stereo Format s16le
[AO PCM] Info: Faster dumping is achieved with -vc null -vo null -ao pcm:fast
[AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default).
AO: [pcm] 44100Hz 2ch s16le (2 bytes per sample)

i must install a driver? what is the most lighter?

EDIT:
i installed OSS.tcz (and OSS-modules3.8.13). now tha audio works but it's horrible :-(
in "osstest" the audio is good.
« Last Edit: November 20, 2014, 05:47:56 PM by quellen »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: mplayer doesn't work
« Reply #14 on: November 20, 2014, 06:46:37 PM »
Do not use modules from DSL.  Use the libpng12 from 6.0 as instructed.
Try running alsa instead of oss.
It works for me using the above.