[MPlayer-dev-eng] [PATCH] making MPlayer work on QNX again

Gabucino gabucino at localhost.localdomain
Tue Oct 29 21:38:32 CET 2002


QNX data:
=========

GNU assembler version 2.10.1 (ntox86) using BFD version 2.10.1
GNU ld version 2.10.1 (with BFD 2.10.1)
gcc version 2.95.2 19991024 (release)


Follows some notes:
===================

1. -lph MUST be added to the linking options, else linking will fail.
   Sorry, I'm not familiar with ./configure, so someone else will
   have to do it.
2. VIDIX compiles, but I had to remove the "-soname ..." option from
   the linker, it was unknown.
   And when tried to use VIDIX, MPlayer complained about
   "*_vid.so: not a library" or what. What is that -soname for? Or is this
   another error?
3. The 'alsa5' output doesn't work on QNX anymore (says "No such file or
   directory" /?!/).
4. -vo sdl:photon put my display in powersave mode, and it never came back..
   I'll have to produce logs & experiment later.
5. There are RealPlayer libraries coming with QNX, but MPlayer can't
   use them (anyway, a ./configure patch is included):
   (encoding the .RM sample video coming with QNX)

MEncoder CVS-021029-20:15-2.95.2 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Advanced Micro Devices K6-2 (Family: 5, Stepping: 12)
CPUflags: Type: 5 MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Reading /root/.mplayer/codecs.conf: 40 audio & 110 video codecs
File not found: 'frameno.avi'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
success: format: 0  data: 0x0 - 0x78EFFA
Detected REAL file format!
Not audio/video stream or unsupported!
Not audio/video stream or unsupported!
Not audio/video stream or unsupported!
skip_str: 45 bytes skipped
skip_str: 38 bytes skipped
skip_str: 45 bytes skipped
skip_str: 38 bytes skipped
skip_str: 8 bytes skipped
skip_str: 16 bytes skipped
skip_str: 12 bytes skipped
skip_str: 30 bytes skipped
skip_str: 4 bytes skipped
read_str: 4 bytes read
======= WAVE Format =======
Format Tag: 26995 (0x6973)
Channels: 1
Samplerate: 8000
avg byte/sec: 6500
Block align: 232
bits/sample: 16
cbSize: 30
Unknown extra header dump: [0] [0] [6] [0] [0] [0] [1] [7] [0] [0] [0] [0] [0] [4d] [44] [50] [52] [0] [0] [0] [7e] [0] [0] [0] [1] [0] [0] [34] [bc] [0] 
skip_str: 12 bytes skipped
skip_str: 30 bytes skipped
skip_str: 12 bytes skipped
skip_str: 30 bytes skipped
skip_str: 12 bytes skipped
skip_str: 30 bytes skipped
skip_str: 12 bytes skipped
skip_str: 30 bytes skipped
skip_str: 12 bytes skipped
skip_str: 30 bytes skipped
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 1
Samplerate: 22050
avg byte/sec: 32115
Block align: 558
bits/sample: 16
cbSize: 30
Unknown extra header dump: [5d] [0] [10] [0] [7] [0] [1] [7] [0] [0] [0] [0] [0] [8] [1] [0] [0] [2] [2] [0] [0] [18] [4d] [44] [50] [52] [0] [0] [0] [7e] 
skip_str: 12 bytes skipped
skip_str: 30 bytes skipped
skip_str: 12 bytes skipped
skip_str: 30 bytes skipped
skip_str: 12 bytes skipped
skip_str: 20 bytes skipped
skip_str: 4 bytes skipped
read_str: 4 bytes read
======= WAVE Format =======
Format Tag: 26995 (0x6973)
Channels: 1
Samplerate: 8000
avg byte/sec: 6500
Block align: 232
bits/sample: 16
cbSize: 30
Unknown extra header dump: [0] [0] [6] [0] [0] [0] [1] [7] [0] [0] [0] [0] [0] [4d] [44] [50] [52] [0] [0] [0] [a1] [0] [0] [0] [b] [0] [0] [19] [64] [0] 
skip_str: 12 bytes skipped
skip_str: 30 bytes skipped
skip_str: 4 bytes skipped
read_str: 4 bytes read
======= WAVE Format =======
Format Tag: 26995 (0x6973)
Channels: 1
Samplerate: 8000
avg byte/sec: 6500
Block align: 232
bits/sample: 16
cbSize: 30
Unknown extra header dump: [0] [0] [6] [0] [0] [0] [1] [7] [0] [0] [0] [0] [0] [4d] [44] [50] [52] [0] [0] [0] [74] [0] [0] [0] [c] [0] [0] [34] [bc] [0] 
skip_str: 12 bytes skipped
skip_str: 20 bytes skipped
skip_str: 12 bytes skipped
skip_str: 30 bytes skipped
skip_str: 12 bytes skipped
skip_str: 30 bytes skipped
skip_str: 12 bytes skipped
skip_str: 30 bytes skipped
[V] filefmt:11  fourcc:0x30325652  size:160x120  fps:15.00  ftime:=0.0667
Opening video filter: [expand=-1:-1:-1:-1:1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [realvid] RealVideo decoder
opening shared obj '/x86/usr/real/codecs/drv2.so.6.0'
unknown symbol: __pure_virtual
unknown symbol: __pure_virtual
unknown symbol: __pure_virtual
unknown symbol: __pure_virtual
unknown symbol: __pure_virtual
unknown symbol: __pure_virtual
unknown symbol: __pure_virtual
unknown symbol: __pure_virtual
unknown symbol: __pure_virtual
unknown symbol: __pure_virtual
unknown symbol: __pure_virtual
unknown symbol: __pure_virtual
unknown symbol: __pure_virtual
unknown symbol: __pure_virtual
unknown symbol: __pure_virtual
unknown symbol: __pure_virtual
unknown symbol: __pure_virtual
unknown symbol: __pure_virtual
unknown symbol: __pure_virtual
unknown symbol: __pure_virtual
unknown symbol: __pure_virtual
unknown symbol: __pure_virtual
unknown symbol: __pure_virtual
unknown symbol: __pure_virtual
unknown symbol: __rtti_user
unknown symbol: __rtti_si
unknown symbol: __throw
unknown symbol: terminate__Fv
unknown symbol: __builtin_vec_new
unknown symbol: __builtin_vec_delete
unknown symbol: __rtti_class
Error: Unresolved symbols
ERROR: Couldn't open required DirectShow codec: drv2.so.6.0
You need to copy the contents from the RealPlayer codecs directory
into /x86/usr/real/codecs/ !
VDecoder init failed :(
*** Try to upgrade /root/.mplayer/codecs.conf from etc/codecs.conf
*** If it still does not work, read DOCS/codecs.html!
Can't find codec matching selected -vo and video format 0x30325652!
==========================================================================
Exiting...

Note: -rdynamic doesn't seem to be supported on QNX, will have to check that.

-- 
Gabucino
-------------- next part --------------
--- /home/gabucino/mplayer/main/configure	Tue Oct 29 05:56:54 2002
+++ configure.qnx	Tue Oct 29 17:00:08 2002
@@ -3636,7 +3636,7 @@
 if test "$_real" = auto ; then
   _real=no
   if test "$_dl" = yes ; then
-    if linux || freebsd || netbsd || cygwin ; then
+    if linux || freebsd || netbsd || cygwin || qnx; then
       _real=yes
     else
       echores "no (tested only on Linux/FreeBSD/NetBSD/CygWin)"
@@ -3644,7 +3644,7 @@
     if test "$_real" = yes ; then
       if test -z "$_reallibdir" ; then
 	for I in $_libdir/real /usr/lib/real /usr/lib/RealPlayer*/Codecs \
-          /usr/local/RealPlayer*/Codecs /usr/local/lib/RealPlayer*/Codecs; do
+          /usr/local/RealPlayer*/Codecs /usr/local/lib/RealPlayer*/Codecs \
+          /usr/real/codecs; do
           if test -d "$I" ; then
             _reallibdir="$I"
             break;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021029/fa2023a2/attachment.pgp>


More information about the MPlayer-dev-eng mailing list