Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: quellen 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:
$ 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.
-
Post the output of 'cat /proc/cpuinfo'.
-
$ 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:
-
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
-
Hi quellen
If you run:
mplayer
I think it will spit out information on its requirements, post that.
-
thanks,
but what is dCore?
$ 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 * * *
-
"mplayer -v" is more useful, but it's pretty certain it would need a rebuild.
-
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?
-
i see here (http://distro.ibiblio.org/tinycorelinux/tcz_2x.html) there are other versions of mplayer. how can i install it? in my "Application Browser" there is only "mplayer.tcz" :-(
$ 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..
-
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.
-
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.
-
Mplayer-nodeps is not in the 5.x repo because it actually depends on libpng12.
-
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
-
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.
$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.
[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.
-
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.
-
As the mplayer maintainer is apparently not in touch, I made an attempt to compile mplayer for i486:
ARCH = x86
ARCH_X86 = yes
ARCH_X86_32 = yes
HAVE_MMX = no
HAVE_MMX2 = no
HAVE_SSE = no
HAVE_SSE2 = no
HAVE_SSSE3 = no
HAVE_FAST_CMOV = no
HAVE_CMOV = no
HAVE_FAST_CLZ = no
#define __CPU__ 486
you can download it from: http://tinycorelinux.net/6.x/x86/tcz/mplayer.tcz (download mplayer.tcz.dep as well) and it should work with tc-5.x
I don't have an i486 or pentium to test....
-
For mplayer you should enable the dynamic cpu detection. Forcing 486 just makes it slow on new processors.
-
As I don't use mplayer, I've no problem with leaving it to the expert ;)