Hmm, I think I found a bug.
When I run it on my Intel Core Duo processor, works fine. When I run it on my Pentium IV, it crashes, complaining that “You may be trying to run Mplayer on a different CPU than it was compiled on”.
Yes CoreDuo have some extra instructions and not to mention dual core.
Probably not a bug, There must be an option in the build to force generic X86, at the cost of performance.
This really not is the mistake. This mplayer on my side was compiled on CPU Intel(R) Core™2 Quad CPU Q6600 and acts on Core Duo. You should recompile him on older CPU.
To compile I use gcc4.4.0 and command option -march=native -mtune=native to maximization of performance.
Hello bbceler
my install Mplayer.tar.bz2 and SDL-1.2-x86-qnx6.3.2-bld1.tar.bz2
the OS qnx6.3.0-sp3
/root/Mplayer/mplayer /opt/MPEG/511.mpg
MPlayer 1.0rc2-4.4.0 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 2, Stepping: 9)
MMX supported but disabled
MMX2 supported but disabled
CPUflags: MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: SSE2
Playing /opt/MPEG/511.mpg.
MPEG-PS file format detected.
VIDEO: MPEG1 320x240 (aspect 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
[VO_SDL] Using driver: photon.
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 320 x 240 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale…
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
MPlayer interrupted by signal 4 in module: af_preinit
-
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.I would like to know how to use the mplayer
Thanks!!!
OK. I compiling mplayer with -O3 -mtune=generic and send to ajam.org.pl/
It`s Mplayer-generic.tar.bz2. try it.
bogdan
Thanks bbceler
Anyway to get it to stop trying to play full screen? It freezes my computer.
Yes ,I also have this problem
mplayer -x 790 -y 600 /opt/MPEG/77-1.mpg
MPlayer 1.0rc1- (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Playing /opt/MPEG/77-1.mpg.
MPEG-PS file format detected.
VIDEO: MPEG1 640x480 (aspect 1) 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
[VO_SDL] Using driver: photon.
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 640 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale…
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
[AO ALSA5] alsa-init: requested format: 44100 Hz, 2 channels, s16le
[AO ALSA5] alsa-init: 1 soundcard(s) found, using: i8x0 PCM 0
[AO ALSA5] alsa-init: error setting parameters: Invalid argument
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
AO: [sdl] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback…
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
VO: [sdl] 640x480 => 790x600 Planar YV12
A: 3.4 V: 2.9 A-V: 0.498 ct: 0.089 74/ 74 7% 102% 1.9% 50 0 $<50>
************************************************
**** Your system is too SLOW to play this! ****
************************************************
Possible reasons, problems, workarounds:
- Most common: broken/buggy audio driver
- Try -ao sdl or use the OSS emulation of ALSA.
- Experiment with different values for -autosync, 30 is a good start.
- Slow video output
- Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
- Don’t try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Don’t try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
- Broken file
- Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
- Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
- Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.
- Try -nocache.
A: 16.3 V: 14.2 A-V: 2.046 ct: 0.093 358/358 6% 103% 1.3% 324 0 $<50>
the mplayer Operating normally, but the output screen is a blank screen
#hogs -n
…
19607598 mplayer 4007 93% 133%
…
See also CPU usage, it is not clear why such a high occupancy
Marschen,
What video driver are you using in Photon?
If it’s the plain vanilla VESA driver then I’m not surprised you are using the entire CPU.
I’d imagine MPlayer is only going to work if you happen to have a video card that QNX supports with an actual driver.
Tim
Hi Tim
My graphics card is integrated graphics, video driver i830
/usr/photon/bin/io-graphics -di830 vid=0x8086,did=0x2562,pci=0,photon=/dev/photon,xres=1024,yres=768,bitpp=32 -pphoton
Mine is an Nvidia TNT.
Anything new?