2006-04-29, 14:54
in middle of april alan nisota released two patches, which allows to use the coreavc directshow in mplayer:
* mplayer mailinglist. patch for coreavc 0.0.4
* doom9 board. coreavc 1.0
like many people in the nero digital mpeg-4 avc / x264 support thread i thought "hey that is perfect for the xbmc".
so first, i build a custom mplayer.dll with the 0.0.4 patch applied and copied it onto the xbox.
btw, please note that since i can't affort the 1.0 at the moment - i am quite broke - i do all the tests with the 0.0.4 which is probably illegal since it was only released for testing purposes.
but it didn't work:
xbmc.log (only some interesting lines)
- flsalloc
- flsgetvalue
- flssetvalue
- flsfree
- encodepointer
- decodepointer
therefore, i added the missing functions to the kernel32.dll emulation (xbmc/xbmc/xbmc/cores/dllloader/exports) layer:
xbm_exports-2006-04-28.zip
and a nice person in #xbmc build me a default.xbe with the modified files.
so i guess i have to take a further look into the "cmplayer::openfile" methods...
* mplayer mailinglist. patch for coreavc 0.0.4
* doom9 board. coreavc 1.0
like many people in the nero digital mpeg-4 avc / x264 support thread i thought "hey that is perfect for the xbmc".
so first, i build a custom mplayer.dll with the 0.0.4 patch applied and copied it onto the xbox.
btw, please note that since i can't affort the 1.0 at the moment - i am quite broke - i do all the tests with the 0.0.4 which is probably illegal since it was only released for testing purposes.
but it didn't work:
xbmc.log (only some interesting lines)
Quote:debug msg:opening video decoder: [dshow] directshow video codecsthe xbmc dllloader were unable to resolve the following symbols:
debug loadlibrarya('coreavcdecoder.ax')
error dll coreavcdecoder.ax was not found in path
debug getmodulehandlea(kernel32.dll) .. looking up
debug getmodulehandlea('kernel32.dll') => 0x6812b0
warning unable to resolve: kernel32.dll flsalloc
debug kernel32.dll!getprocaddress(0x6812b0, 'flsalloc') => 0x0
:
debug loadlibrary('coreavcdecoder.ax') returning: 0x8e07e0
debug coreavcdecoder.ax!getprocaddress(0x8e07e0, 'dllgetclassobject') => 0x15a57d0
debug msg:decoder supports the following yuv formats:
debug msg:yuy2
debug msg:iyuv
debug msg:yv12
debug msg:i420
debug msg:decoder is capable of yuv output (flags 0x27)
debug msg:vdec: vo config request - 640 x 480 (preferred csp: packed yuy2)
debug msg:[pp] using codec's postprocessing, max q = 4.
debug msg:vdec: using planar yv12 as output csp (no 0)
debug msg:movie-aspect is undefined - no prescaling applied.
debug msg:vo: [directx] 640x480 => 640x480 planar yv12
debug created yv12 texture 1
debug created yv12 texture 0
warning ol32.dll fake function cocreateinstance called
error cmplayer::openfile() e:\media\video\[k-f]_one_piece_169_[e977a001].mp4 failed
- flsalloc
- flsgetvalue
- flssetvalue
- flsfree
- encodepointer
- decodepointer
therefore, i added the missing functions to the kernel32.dll emulation (xbmc/xbmc/xbmc/cores/dllloader/exports) layer:
xbm_exports-2006-04-28.zip
and a nice person in #xbmc build me a default.xbe with the modified files.
Quote:debug: getmodulehandlea('kernel32.dll') => 0x8dda78unlike before, the xbmc was able to resolve the symbols, but still it did not work.
debug: kernel32.dll!getprocaddress(0x8dda78, 'flsalloc') => 0x171674
:
error: cmplayer::openfile() e:\media\video\[k-f]_one_piece_169_[e977a001].mp4 failed
so i guess i have to take a further look into the "cmplayer::openfile" methods...