[MPlayer-users] problem with MPEG-4 H.263
Miroslaw Dach
miroslaw.dach at psi.ch
Fri Mar 23 12:02:36 CET 2007
Hi All,
I have downloaded the MPlayer1.0pre8 and successfully built it on my
Scientific Linux 3 (kernel 2.4.21-32.0.1.ELsmp) PC platform.
I have installed also the mplayer-codecs-20061022-1 and
mplayer-codecs-extra-20061022-1 codes to the /usr/lib/codecs
The MPlayer works with some video formats but it does not work with MPEG-4
H.263 stream what is the key issue for me.
The output of the MPlayer is as following:
------------------------------------------------------------------------
[-bash SLSBASE=]# mplayer rtsp://myvideo-1/mpeg4/1/media.amp
MPlayer 1.0pre8-3.2.3 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (Family: 15, Model:
4, Stepping: 3)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Playing rtsp://myvideo-1/mpeg4/1/media.amp.
STREAM_RTSP, URL: rtsp://myvideo-1/mpeg4/1/media.amp
Resolving myvideo-1 for AF_INET...
Connecting to server myvideo-1[127.127.107.34]: 554...
rtsp_session: Not a Real server. Server type is 'unknown'.
STREAM_HTTP(2), URL: rtsp://myvideo-1/mpeg4/1/media.amp
Resolving myvideo-1 for AF_INET...
Connecting to server myvideo-1[127.127.107.34]: 80...
Cache size set to 320 KBytes
Cache fill: 0.01% (26 bytes)
Win32 LoadLibrary failed to load: avisynth.dll,
/usr/lib/codecs//avisynth.dll, /usr/lib/win32/avisynth.dll,
/usr/local/lib/win32/avisynth.dll
Exiting... (End of file)
-------------------------------------------------------
I thought that it is the issue of the avisynth.dll and I have installed
one but than the MPlayer did not work any better.
-------------------------------------------------------------------------
MPlayer 1.0pre8-3.2.3 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (Family: 15, Model:
4, Stepping: 3)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Playing rtsp://myvideo-1/mpeg4/1/media.amp.
STREAM_RTSP, URL: rtsp://myvideo-1/mpeg4/1/media.amp
Resolving x05da-video-1 for AF_INET...
Connecting to server myvideo-1[127.127.107.34]: 554...
rtsp_session: Not a Real server. Server type is 'unknown'.
STREAM_HTTP(2), URL: rtsp://myvideo-1/mpeg4/1/media.amp
Resolving x05da-video-1 for AF_INET...
Connecting to server myvideo-1[127.127.107.34]: 80...
Cache size set to 320 KBytes
Cache fill: 0.01% (26 bytes)
Exiting... (End of file)
------------------------------------------------------------------------
I have read more about the rtsp protocol and I have found that it might
refer to the live555 package. I have installed one and successfully built
it. So far so good.
It was written in the instruction that I have to rebuild my MPlayer. I did
as following:
./configure --with-codecsdir=/usr/lib/codecs/ --enable-live
--with-livelibdir=/usr/local/live/
make
----------------------------------------------------------------------
cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4
-march=prescott -mcpu=prescott -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.
-I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT
-I/usr/X11R6/include -I./libavutil -I./libavcodec -o mplayer mplayer.o
m_property.o mp_msg.o asxparser.o codec-cfg.o cpudetect.o edl.o find_sub.o
m_config.o m_option.o m_struct.o parser-cfg.o playtree.o playtreeparser.o
spudec.o sub_cc.o subreader.o vobsub.o unrarlib.o mixer.o parser-mpcmd.o
subopt-helper.o libvo/libvo.a libao2/libao2.a input/libinput.a
vidix/libvidix.a libmpcodecs/libmpcodecs.a loader/libloader.a
loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a libaf/libaf.a
libmpdemux/libmpdemux.a postproc/libswscale.a osdep/libosdep.a
-Llibmpdvdkit2 -lmpdvdkit libavcodec/libavcodec.a
libavformat/libavformat.a libavutil/libavutil.a
libpostproc/libpostproc.a -lpng -lz -lz -ljpeg -lfreetype
-lz -lncurses /usr/local/live//liveMedia/libliveMedia.a
/usr/local/live//groupsock/libgroupsock.a
/usr/local/live//UsageEnvironment/libUsageEnvironment.a
/usr/local/live//BasicUsageEnvironment/libBasicUsageEnvironment.a -lstdc++
-lnsl -lungif -lsmbclient -lfontconfig libfaad2/libfaad2.a
mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a tremor/libvorbisidec.a
-lGL -ldl -lXxf86dga -lXv -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext
-lX11 -lnsl -lpthread -lnsl -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
-L/usr/lib -ldl -lartsc -lpthread -L/usr/lib -lesd -laudiofile -lm
-Wl,-z,noexecstack -lpthread -ldl -rdynamic -lm
mplayer.o(.data+0x2e9c): undefined reference to `rtspStreamOverTCP'
mplayer.o(.data+0x2ec0): undefined reference to `rtsp_port'
libvo/libvo.a(x11_common.o)(.text+0x1028): In function
`vo_x11_check_events':
: undefined reference to `guiGetEvent'
libvo/libvo.a(vo_x11.o)(.text+0x957): In function `config':
: undefined reference to `guiGetEvent'
libvo/libvo.a(vo_xover.o)(.text+0x704): In function `config':
: undefined reference to `guiGetEvent'
libvo/libvo.a(vo_xv.o)(.text+0xc1a): In function `config':
: undefined reference to `guiGetEvent'
libvo/libvo.a(vo_gl.o)(.text+0x60d): In function `config':
: undefined reference to `guiGetEvent'
libvo/libvo.a(vo_gl2.o)(.text+0x11b): more undefined references to
`guiGetEvent' follow
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
---------------------------------------------------------------------
Right now I am lost. I would appreciate very much some hints how to resolve
this problem and to have the ability to view the MPEG-4 H.263 streams.
Best Regards
Mirek
--
=============================================================================
Miroslaw Dach (Miroslaw.Dach at psi.ch) - SLS/Controls Group
PSI - Paul Scherrer Institut CH-5232 Villigen
=============================================================================
More information about the MPlayer-users
mailing list