MPlayer with LIVE library compile problems
#16
:help:

any chance to add live for pre6 xbmc mplayer ?
xbmc.fr

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#17
new error after makedll


Quote:$ makedll
*** compiling mplayer.dll
creating library file: mplayer_.lib
libvo/libvo.a(vo_jpeg.o):vo_jpeg.c:(.text+0x331): undefined reference to `jpeg_std_error'
libvo/libvo.a(vo_jpeg.o):vo_jpeg.c:(.text+0x354): undefined reference to `jpeg_createcompress'
libvo/libvo.a(vo_jpeg.o):vo_jpeg.c:(.text+0x364): undefined reference to `jpeg_stdio_dest'
libvo/libvo.a(vo_jpeg.o):vo_jpeg.c:(.text+0x398): undefined reference to `jpeg_set_defaults'
libvo/libvo.a(vo_jpeg.o):vo_jpeg.c:(.text+0x3b4): undefined reference to `jpeg_set_quality'
libvo/libvo.a(vo_jpeg.o):vo_jpeg.c:(.text+0x3ec): undefined reference to `jpeg_start_compress'
libvo/libvo.a(vo_jpeg.o):vo_jpeg.c:(.text+0x42a): undefined reference to `jpeg_write_scanlines'
libvo/libvo.a(vo_jpeg.o):vo_jpeg.c:(.text+0x442): undefined reference to `jpeg_finish_compress'
libvo/libvo.a(vo_jpeg.o):vo_jpeg.c:(.text+0x456): undefined reference to `jpeg_destroy_compress'
libvo/libvo.a(vo_jpeg.o):vo_jpeg.c:(.text+0x500): undefined reference to `jpeg_simple_progression'
libvo/libvo.a(vo_gif89a.o):vo_gif89a.c:(.text+0x341): undefined reference to `egifsetgifversion'
libvo/libvo.a(vo_gif89a.o):vo_gif89a.c:(.text+0x355): undefined reference to `egifopenfilename'
libvo/libvo.a(vo_gif89a.o):vo_gif89a.c:(.text+0x3b2): undefined reference to `makemapobject'
libvo/libvo.a(vo_gif89a.o):vo_gif89a.c:(.text+0x444): undefined reference to `egifputscreendesc'
libvo/libvo.a(vo_gif89a.o):vo_gif89a.c:(.text+0x460): undefined reference to `egifputextensionfirst'
libvo/libvo.a(vo_gif89a.o):vo_gif89a.c:(.text+0x483): undefined reference to `egifputextensionlast'
libvo/libvo.a(vo_gif89a.o):vo_gif89a.c:(.text+0x5e2): undefined reference to `quantizebuffer'
libvo/libvo.a(vo_gif89a.o):vo_gif89a.c:(.text+0x6a4): undefined reference to `egifputextension'
libvo/libvo.a(vo_gif89a.o):vo_gif89a.c:(.text+0x6e0): undefined reference to `egifputimagedesc'
libvo/libvo.a(vo_gif89a.o):vo_gif89a.c:(.text+0x70a): undefined reference to `egifputline'
libvo/libvo.a(vo_gif89a.o):vo_gif89a.c:(.text+0x8d8): undefined reference to `egifputcomment'
libvo/libvo.a(vo_gif89a.o):vo_gif89a.c:(.text+0x8e6): undefined reference to `egifclosefile'
libvo/libvo.a(vo_gif89a.o):vo_gif89a.c:(.text+0x964): undefined reference to `freemapobject'
libmpcodecs/libmpcodecs.a(vd_ijpg.o):vd_ijpg.c:(.text+0xdf): undefined reference to `jpeg_resync_to_restart'
libmpcodecs/libmpcodecs.a(vd_ijpg.o):vd_ijpg.c:(.text+0x16d): undefined reference to `jpeg_std_error'
libmpcodecs/libmpcodecs.a(vd_ijpg.o):vd_ijpg.c:(.text+0x1af): undefined reference to `jpeg_createdecompress'
libmpcodecs/libmpcodecs.a(vd_ijpg.o):vd_ijpg.c:(.text+0x1eb): undefined reference to `jpeg_resync_to_restart'
libmpcodecs/libmpcodecs.a(vd_ijpg.o):vd_ijpg.c:(.text+0x215): undefined reference to `jpeg_read_header'
libmpcodecs/libmpcodecs.a(vd_ijpg.o):vd_ijpg.c:(.text+0x23b): undefined reference to `jpeg_start_decompress'
libmpcodecs/libmpcodecs.a(vd_ijpg.o):vd_ijpg.c:(.text+0x38b): undefined reference to `jpeg_read_scanlines'
libmpcodecs/libmpcodecs.a(vd_ijpg.o):vd_ijpg.c:(.text+0x3e8): undefined reference to `jpeg_finish_decompress'
libmpcodecs/libmpcodecs.a(vd_ijpg.o):vd_ijpg.c:(.text+0x3f4): undefined reference to `jpeg_destroy_decompress'
libmpdemux/libmpdemux.a(demux_gif.o):demux_gif.c:(.text+0x1d7): undefined reference to `dgifgetrecordtype'
libmpdemux/libmpdemux.a(demux_gif.o):demux_gif.c:(.text+0x1f9): undefined reference to `dgifgetscreendesc'
libmpdemux/libmpdemux.a(demux_gif.o):demux_gif.c:(.text+0x224): undefined reference to `dgifgetextension'
libmpdemux/libmpdemux.a(demux_gif.o):demux_gif.c:(.text+0x25a): undefined reference to `dgifgetextensionnext'
libmpdemux/libmpdemux.a(demux_gif.o):demux_gif.c:(.text+0x27f): undefined reference to `dgifgetimagedesc'
libmpdemux/libmpdemux.a(demux_gif.o):demux_gif.c:(.text+0x32e): undefined reference to `dgifgetline'
libmpdemux/libmpdemux.a(demux_gif.o):demux_gif.c:(.text+0x443): undefined reference to `printgiferror'
libmpdemux/libmpdemux.a(demux_gif.o):demux_gif.c:(.text+0x4a3): undefined reference to `dgifgetextensionnext'
libmpdemux/libmpdemux.a(demux_gif.o):demux_gif.c:(.text+0x57c): undefined reference to `dgifopen'
libmpdemux/libmpdemux.a(demux_gif.o):demux_gif.c:(.text+0x63d): undefined reference to `printgiferror'
libmpdemux/libmpdemux.a(demux_gif.o):demux_gif.c:(.text+0x666): undefined reference to `dgifclosefile'
libmpdemux/libmpdemux.a(demux_gif.o):demux_gif.c:(.text+0x686): undefined reference to `printgiferror'
collect2: ld returned 1 exit status
make: *** [dll] error 1

any idea ?
xbmc.fr

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#18
for some reason you've managed to get gif and jpeg to be enabled. that shouln't be. we don't link the gif library.

we don't explicitly disable it, so it autodetected those libraries in your mingw/msys env. add
--disable-gif \
--disable-jpeg \
to configurexbmc and rerun it.

or add a link command for those two libraries in your makedll



Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#19
finaly its working (i mean dll linked with live)

Quote:$ makedll
*** compiling mplayer.dll
creating library file: mplayer_.lib
*** stripping mplayer.dll
*** mplayer.dll linked with: libavformat libavutil zlib dts vorbis fribidi live png
*** size of mplayer.dll = 5.8m

but when im trying to open a strm

Quote:05-01-2006 15:48:22 debug cplayercorefactor::getplayers(rtsp://mafreebox.freebox.fr/freeboxtv/201)
05-01-2006 15:48:22 info mplayer play:rtsp://mafreebox.freebox.fr/freeboxtv/201 cachesize:5376
05-01-2006 15:48:22 debug msg: set audio functions called
05-01-2006 15:48:22 debug msg: done
05-01-2006 15:48:22 info flipping bi-directional subtitles disabled
05-01-2006 15:48:22 debug msg:mplayer_init()
05-01-2006 15:48:22 debug msg:enable mplayer osd
05-01-2006 15:48:22 debug msg:mplayer dev-cvs-060105-15:29-3.4.4 (c) 2000-2004 mplayer team
05-01-2006 15:48:22 debug msg:cpu: intel celeron 2/pentium iii coppermine,geyserville
05-01-2006 15:48:22 debug msg:(family: 6, stepping: 10)
05-01-2006 15:48:22 debug msg:detected cache-line size is 32 bytes
05-01-2006 15:48:22 debug msg:cpuflags: mmx: 1 mmx2: 1 3dnow: 0 3dnow2: 0 sse: 0 sse2: 0
05-01-2006 15:48:22 debug msg:compiled for x86 cpu with extensions:
05-01-2006 15:48:22 debug msg: mmx
05-01-2006 15:48:22 debug msg: mmx2
05-01-2006 15:48:22 debug msg: sse
05-01-2006 15:48:22 debug msg:
05-01-2006 15:48:22 debug msg:
05-01-2006 15:48:22 debug msg:creating config file: q:\system\players\mplayer\config
05-01-2006 15:48:22 debug msg:
05-01-2006 15:48:22 debug msg:88 audio & 199 video codecs
05-01-2006 15:48:22 debug msg:mplayer_open_file(rtsp://mafreebox.freebox.fr/freeboxtv/201)
05-01-2006 15:48:22 info stating file rtsp://mafreebox.freebox.fr/freeboxtv/201.conf
05-01-2006 15:48:22 info stating file q:\system\players\mplayer\201.conf
05-01-2006 15:48:22 debug msg:playing rtsp://mafreebox.freebox.fr/freeboxtv/201.
05-01-2006 15:48:22 debug msg:find subtitles
05-01-2006 15:48:22 debug msg:auto open z:\subtitle
05-01-2006 15:48:22 debug msg:protocol:rtsp
05-01-2006 15:48:22 debug msg:open stream protocol:rtsp
05-01-2006 15:48:22 debug msg:resolving mafreebox.freebox.fr for af_inet...
05-01-2006 15:48:22 debug msg:connecting to server mafreebox.freebox.fr[mafreebox.freebox.fr]:554 ...
05-01-2006 15:48:22 debug msg:rtsp_session: not a real server. server type is 'fbxrtspd/1.0 freebox minimal rtsp server'.
05-01-2006 15:48:22 debug msg:not a realmedia rtsp url. trying standard rtsp protocol.
05-01-2006 15:48:22 debug msg:connected to server: mafreebox.freebox.fr
05-01-2006 15:48:22 debug msg:
this stream is non-cacheable
05-01-2006 15:48:22 debug msg:stream not seekable!
05-01-2006 15:48:22 error dns lookup for 0.0.0.0

whats wrong ?



xbmc.fr

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#20
no idea.. asfar as i can tell from the log nothing failed. best way to test would be to see how mplayer on windows compiled with live would do on that stream. pre6 version would be best, but current cvs should atleast give some idea.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#21
already tested

last (normal) mplayercvs + live work fine with this rtsp adresss
xbmc seems block


i added this line inside the makedll script

Quote:libavformat/libavformat.a live/basicusageenvironment/libbasicusageenvironment.a live/livemedia/liblivemedia.a libavcodec/libavcodec.a live/groupsock/libgroupsock.a live/usageenvironment/libusage
environment.a
it 's not necessary ?
xbmc.fr

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#22
that is probably necissary.. it to check.. remove untill it can'e make a dll anymore.. i would think you should only need to add one .a file there. not sure wich thou.

i would attatch a debugger to xbmc (visual studio) and check if some exception is thrown. it's possible the live library uses some winsock function that isn't compatible with the xbox xdk.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#23
only liblivemedia.a seems to be necessary


i find this inside the live compile log

Quote:c++ -c -iinclude -i../usageenvironment/include -i../groupsock/include -i. -o -dsocklen_t=int -d -wall -wno-deprecated mpeg1or2demux.cpp
mpeg1or2demux.cpp: in member function `void mpeg1or2demux::registerreadinterest(u_int8_t, unsigned char*, unsigned int, void (*)(void*, unsigned int, unsigned int, timeval, unsigned int), void*, void (*)(void*), void*)':
mpeg1or2demux.cpp:164: warning: cast to pointer from integer of different size
mpeg1or2demux.cpp: in member function `void mpegprogramstreamparser::parsepackheader()':
mpeg1or2demux.cpp:461: warning: cast to pointer from integer of different size

something is wrong ?
xbmc.fr

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#24
nah that is no problem..
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#25
i made some test

compile pre7 pc with live support --> working
compile pre6 pc with live support --> working
compile pre6 xbox with live support --> failed

here you have a part of the log (successful stream)

Quote:commandline: '-v' 'rtsp://mafreebox.freebox.fr/freeboxtv/201'
init_freetype
get_path('font/font.desc') -> 'c:/msys/1.0/home/modhack/mplayer/font/font.desc'
font: can't open file: c:/msys/1.0/home/modhack/mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
using mmx (with tiny bit mmx2) optimized onscreendisplay
using windows native timing
get_path('input.conf') -> 'c:/msys/1.0/home/modhack/mplayer/input.conf'
can't open input config file c:/msys/1.0/home/modhack/mplayer/input.conf: no such file or directory
can't open input config file /usr/local/etc/mplayer/input.conf: no such file or directory
falling back on default (hardcoded) input config
get_path('201.conf') -> 'c:/msys/1.0/home/modhack/mplayer/201.conf'
getch2: 6 can't get number of input events [disabling console input]
playing rtsp://mafreebox.freebox.fr/freeboxtv/201.
winsock2 init: 0
stream_rtsp, url: rtsp://mafreebox.freebox.fr/freeboxtv/201
filename for url is now rtsp://mafreebox.freebox.fr/freeboxtv/201
filename for url is now rtsp://mafreebox.freebox.fr/freeboxtv/201
resolving mafreebox.freebox.fr for af_inet...
connecting to server mafreebox.freebox.fr[212.27.38.253]:554 ...
rtsp_session: not a real server. server type is 'fbxrtspd/1.0 freebox minimal rtsp server'.
winsock2 init: 0
filename for url is now rtsp://mafreebox.freebox.fr/freeboxtv/201
filename for url is now rtsp://mafreebox.freebox.fr/freeboxtv/201
stream_live555, url: rtsp://mafreebox.freebox.fr/freeboxtv/201
stream: [rtsp and sip] rtsp://mafreebox.freebox.fr/freeboxtv/201
stream: description: standard rtsp and sip
stream: author: ross finlayson
stream: comment: uses live555 streaming media library.
stream not seekable!
==> found video stream: 0
winsock2 init: 0
checking for yuv4mpeg2
asf_check: not asf guid!
checking for nuppelvideo
checking for real
checking for smjpeg
checking for nullsoft streaming video
checking for mov
checking for vivo
avs: avs_check_file - attempting to open file (null)
checking for pva
checking for mpeg-ts...
tried up to position 84036, found 0, packet_size= 71, seems a ts? 188
good cc: 32, bad cc: 0
ts file format detected.
demux open, audio_id: -1, video_id: -1, subtitle_id: -1,
checking for mpeg-ts...
tried up to position 105468, found 0, packet_size= 71, seems a ts? 188
good cc: 32, bad cc: 0
probing up to 2000000, prog: 0
skip: 0+1, tid: 0, tlen: 13
parse_pat: section_len: 13, section 0/0
prog: 1 (1-th of 1), pmt: 66
skip: 0+1, tid: 2, tlen: 41
fill_pmt(prog=1), pmt_len: 45, is_start: 64, ts_pid: 66, size=45, m=0, es_cnt=0, idx=0, pmt_ptr=1153adf0
...descr id: 0xa, len=4
language descriptor: fra
parse_pmt(1 index 0), stream: 0, found pid=0x45 (69), type=0x50, es_descr_length: 6, bytes left: 17
parse_pmt(1 index 1), stream: 1, found pid=0x44 (68), type=0x10000002, es_descr_length: 0, bytes left: 12
...descr id: 0x56, len=5
parse_pmt(1 index 2), stream: 2, found pid=0x46 (70), type=0xffffffff, es_descr_length: 7, bytes left: 0
----------------------------



xbmc.fr

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#26
and here you have the log of xbmc

Quote:09-01-2006 06:35:02 debug msg:mplayer_open_file(rtsp://mafreebox.freebox.fr/freeboxtv/201)
09-01-2006 06:35:02 info stating file rtsp://mafreebox.freebox.fr/freeboxtv/201.conf
09-01-2006 06:35:02 info stating file q:\system\players\mplayer\201.conf
09-01-2006 06:35:02 debug msg:playing rtsp://mafreebox.freebox.fr/freeboxtv/201.
09-01-2006 06:35:02 debug msg:find subtitles
09-01-2006 06:35:02 debug msg:auto open z:\subtitle
09-01-2006 06:35:02 debug msg:protocol:rtsp
09-01-2006 06:35:02 debug msg:open stream protocol:rtsp
09-01-2006 06:35:02 debug msg:resolving mafreebox.freebox.fr for af_inet...
09-01-2006 06:35:02 debug msg:connecting to server mafreebox.freebox.fr[mafreebox.freebox.fr]:554 ...
09-01-2006 06:35:02 debug msg:librtsp: server responds: 'ctsp/1.0 200 ok'
xbmc.fr

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#27
another log with mingw4.1

Quote:09-01-2006 13:11:35 debug msg:mplayer_open_file(rtsp://mafreebox.freebox.fr/freeboxtv/201)
09-01-2006 13:11:35 info stating file rtsp://mafreebox.freebox.fr/freeboxtv/201.conf
09-01-2006 13:11:35 info stating file q:\system\players\mplayer\201.conf
09-01-2006 13:11:35 debug msg:playing rtsp://mafreebox.freebox.fr/freeboxtv/201.
09-01-2006 13:11:35 debug msg:find subtitles
09-01-2006 13:11:35 debug msg:auto open z:\subtitle
09-01-2006 13:11:35 debug msg:protocol:rtsp
09-01-2006 13:11:35 debug msg:open stream protocol:rtsp
09-01-2006 13:11:35 debug msg:resolving mafreebox.freebox.fr for af_inet...
09-01-2006 13:11:35 debug msg:connecting to server mafreebox.freebox.fr[mafreebox.freebox.fr]:554 ...
09-01-2006 13:11:35 debug msg:rtsp_session: not a real server. server type is 'fbxrtspd/1.0 freebox minimal rtsp server'.
09-01-2006 13:11:35 debug msg:not a realmedia rtsp url. trying standard rtsp protocol.
09-01-2006 13:11:35 debug msg:connected to server: mafreebox.freebox.fr
09-01-2006 13:11:35 debug msg:stream not seekable!
09-01-2006 13:11:35 error dns lookup for 0.0.0.0
t=0 failed: 11001
xbmc.fr

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#28
the log you posted for mplayer on windows was pre7 right. could you post the pre6 log instead.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#29
it was pre6
xbmc.fr

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#30
i don't understand
i made a pre6 again with live and

mplayer -v report this

Quote:$ mplayer.exe -v rtsp://mafreebox.freebox.fr/freeboxtv/201
mplayer 1.0pre6-3.4.4 (c) 2000-2004 mplayer team
cpu: intel pentium 4/xeon/celeron foster (family: 8, stepping: 9)
detected cache-line size is 64 bytes
cpuflags: mmx: 1 mmx2: 1 3dnow: 0 3dnow2: 0 sse: 0 sse2: 0
compiled for x86 cpu with extensions: mmx mmx2 sse sse2


commandline: '-v' 'rtsp://mafreebox.freebox.fr/freeboxtv/201'
init_freetype
get_path('font/font.desc') -> 'c:/msys/1.0/home/modhack/mplayer/font/font.desc'
font: can't open file: c:/msys/1.0/home/modhack/mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
using mmx (with tiny bit mmx2) optimized onscreendisplay
using windows native timing
get_path('input.conf') -> 'c:/msys/1.0/home/modhack/mplayer/input.conf'
can't open input config file c:/msys/1.0/home/modhack/mplayer/input.conf: no such file or directory
can't open input config file /usr/local/etc/mplayer/input.conf: no such file or directory
falling back on default (hardcoded) input config
get_path('201.conf') -> 'c:/msys/1.0/home/modhack/mplayer/201.conf'
getch2: 6 can't get number of input events [disabling console input]
playing rtsp://mafreebox.freebox.fr/freeboxtv/201.
filename for url is now rtsp://mafreebox.freebox.fr/freeboxtv/201
winsock2 init: 0
filename for url is now rtsp://mafreebox.freebox.fr/freeboxtv/201
resolving mafreebox.freebox.fr for af_inet...
connecting to server mafreebox.freebox.fr[212.27.38.253]:554 ...


mplayer interrupted by signal 11 in module: open_stream
- 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.
librtsp: server responds: 'ctsp/1.0 200 ok'
xbmc.fr

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
MPlayer with LIVE library compile problems0