XBMC Community Forum  

Go Back   XBMC Community Forum > Development > XBMC Development

XBMC Development Developers forums for XBMC related development. Programmers/Coders only!
No end-user support, no bug reports, and no feature/function requests here!
Please, add platform prefix for suggestions that are not platform-independent!:
Thread prefixes; "[LINUX]", "[LIVE]", "[MAC]", "[WINDOWS]", and "[XBOX]"

Reply
 
Thread Tools Search this Thread Display Modes
Old 2004-01-19, 08:27   #1
dfangel
Junior Member
 
Join Date: Jan 2004
Posts: 10
dfangel is on a distinguished road
Default

i have a question for any of the developers about compiling mplayer.dll i can't seem to get the mplayer_source_patch to compile correctly. i can compile mplayer correctly through mingw and it plays my movies fine. matroska,mad,ogg, and vorbis are in and working fine. then i put in all the files from the rar and do the make distclean and make. i figure it works at this point because it does winmain16 undefined reference. i create the mplayer.def from the dlltool in the makedll. when i run makedll, not all the symbols are defined from the mplayer.def and it gives me undefined references that seem to refer to <vorbis//codec.h> (which i are there) and an undefined reference to xboxopendvdrom();

can someone help me fix this or at least help me understand what i am doing wrong?

thanks
dfangel is offline   Reply With Quote
Old 2004-01-19, 10:29   #2
Frodo
Team MediaPortal
 
Join Date: Sep 2003
Posts: 509
Frodo is on a distinguished road
Default

think the patch isnt up to date
i'll upload the entire .rar-ed patched mplayer source tonight
to cvs

frodo
__________________
XBMC Project Founder (Retired), now head programmer of MediaPortal
Frodo is offline   Reply With Quote
Old 2004-01-20, 20:46   #3
dfangel
Junior Member
 
Join Date: Jan 2004
Posts: 10
dfangel is on a distinguished road
Default

thanks frodo, that really helped....i'm working on getting timecode search to work with the remote...
dfangel is offline   Reply With Quote
Old 2004-01-22, 15:06   #4
Frodo
Team MediaPortal
 
Join Date: Sep 2003
Posts: 509
Frodo is on a distinguished road
Default

nice,
please add a timeout to the timecode thing
so that when a user doesnt enter anything for > 2 seconds
it disappears
frodo
__________________
XBMC Project Founder (Retired), now head programmer of MediaPortal
Frodo is offline   Reply With Quote
Old 2004-02-13, 21:30   #5
ezd
Member
 
Join Date: Oct 2003
Posts: 39
ezd is on a distinguished road
Default

i've got some ideas for implementing keyframe/speed-aware rewind handling in mplayer, but unfortunately can't get it to compile for xbox under mingw/msys.

i'm using the latest mplayer source package from cvs. after configure, at the end of make i get:

Quote:
libvo/libvo.a(video_out.o)(.data+0x60):video_out.c: undefined reference to `video_out_gl2'
libmpdvdkit2/libmpdvdkit.a(device.o)(.text+0x4c3):device.c: undefined reference to `xboxopendvdrom'
c:/mingw/bin/../lib/gcc-lib/mingw32/3.2.3/../../../libmingw32.a(main.o)(.text+0x97):main.c: undefined reference to `winmain@16'
make: *** [mplayer] error 1
is this normal for such xbox code? anyway, when i run makedll i get:

Quote:
c:\mingw\bin\..\lib\gcc-lib\mingw32\3.2.3\..\..\..\..\mingw32\bin\ld.exe: cannot find -lmatroska
is it indeed necessary to first install an external matroska library? if so, which one should i get and how should i install it?

a mini-xbmc-mplayer-compilation guide would be immensely appreciated

thanks for any help you can give,

ezd

(ps i didn't install libraries such as libogg etc as i don't need them for testing, and configure correctly disabled support for ogg so that shouldn't be a problem)
ezd is offline   Reply With Quote
Old 2004-07-28, 01:43   #6
kimp93
Aeon Group
 
Join Date: Mar 2004
Posts: 111
kimp93 is on a distinguished road
Default

i'm also trying to compile mplayer.dll
i got following errors similar with ezd's
anyone can help me to remove errors, even though i can still make dll with this errors.

Quote:
gcc: unrecognized option `-rdynamic'
vobsub.o(.text+0x8d4):vobsub.c: undefined reference to `pf_open'
vobsub.o(.text+0x1be8):vobsub.c: undefined reference to `pf_close'
vobsub.o(.text+0x2efc):vobsub.c: undefined reference to `pf_reserve'
vobsub.o(.text+0x2f7a):vobsub.c: undefined reference to `pf_open'
vobsub.o(.text+0x2f9d):vobsub.c: undefined reference to `pf_reserve'
vobsub.o(.text+0x2fb1):vobsub.c: undefined reference to `pf_write'
vobsub.o(.text+0x2fcd):vobsub.c: undefined reference to `pf_write'
vobsub.o(.text+0x300c):vobsub.c: undefined reference to `pf_write'
vobsub.o(.text+0x3077):vobsub.c: undefined reference to `pf_seek'
vobsub.o(.text+0x309f):vobsub.c: undefined reference to `pf_read'
vobsub.o(.text+0x30b7):vobsub.c: undefined reference to `pf_seek'
vobsub.o(.text+0x30c4):vobsub.c: undefined reference to `pf_open'
vobsub.o(.text+0x3181):vobsub.c: undefined reference to `pf_seek'
vobsub.o(.text+0x319b):vobsub.c: undefined reference to `pf_read'
vobsub.o(.text+0x31ea):vobsub.c: undefined reference to `pf_read'
vobsub.o(.text+0x2fdd):vobsub.c: undefined reference to `pf_close'
c:/mingw/bin/../lib/gcc-lib/mingw32/3.2.3/../../../libmingw32.a(main.o)(.text+0x
97):main.c: undefined reference to `winmain@16'
make: *** [mplayer] error 1
i've notice that /docs/mplayersource.rar outdated since april.
would be good to make it match with mplayer.dll.

thanks in advance
kimp93 is offline   Reply With Quote
Old 2004-07-28, 10:03   #7
Hullebulle
Fan
 
Join Date: Sep 2003
Posts: 1,972
Hullebulle is on a distinguished road
Default

iirc there is a extry branch for mplayer in the cvs that should be uptodate.
__________________
read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
Hullebulle is offline   Reply With Quote
Old 2004-08-02, 08:04   #8
jakeluck1
Junior Member
 
Join Date: Aug 2004
Posts: 18
jakeluck1 is on a distinguished road
Default

i too searched long and hard a month ago and didn't find any definitive building instructions. so here is a howto. it properly builds today's cvs checkout. enjoy. jake

http://10k.org/jake/xbox/howto-build...mplayerdll.txt
jakeluck1 is offline   Reply With Quote
Old 2004-08-02, 15:22   #9
jmarshall
Team-XBMC Developer
 
Join Date: Oct 2003
Posts: 15,077
jmarshall is on a distinguished road
Default

great post, jake.

i've just added it to the online wiki, though haven't bothered formatting it nicely...

cheers,
jonathan
__________________
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.


jmarshall is offline   Reply With Quote
Old 2004-08-02, 20:15   #10
jakeluck1
Junior Member
 
Join Date: Aug 2004
Posts: 18
jakeluck1 is on a distinguished road
Default

thanks for the encouragement, jonathan. i will put together some more documentation once i finished debugging those new codecs codes. jake
jakeluck1 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW-TO compile mplayer.dll from CVS DDay XBMC Tips, Tricks, and HOW-TO (Step-by-Step Guides) 38 2006-10-06 15:49
compile bat? thor918 XBMC for Xbox Specific Support 6 2006-06-13 11:43
compile bat thor918 XBMC General Discussion 1 2006-06-08 11:09
MPlayer with LIVE library compile problems Modhack XBMC Development 32 2006-01-27 20:12
Can't compile..... MajorTom XBMC for Xbox Specific Support 0 2005-10-16 14:32


All times are GMT +2. The time now is 21:10.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project