I'm even more confused now, I did it all again from scratch, and it worked fine. Xine in KDE looks like this for me (I really thought it should say dshowserver instead of Matroska but apparenlty not):
Now I do not even know what else to try...
I think it's great that you have gotten it to work, and even better that you are willing to share! But I honestly do not believe your Wiki works... I have tried every possible way I can think of, and it does not work for me. You must have done something that is not in the wiki.
This is what I have done when following your 10 steps in the wiki:
Step 1) Download coreavc-for-linux on my MD as root.
I did this by ssh'ing to my core, from there shh to my moon59.
ssh linuxmce@192.168.80.1
sudo su
ssh moon59
Tried the svn command and it failed.... Subversion not installed. (This point is missing from your wiki.)
After installing subversion I could run the svn command
apt-get install subversion
svn checkout http://coreavc-for-linux.googlecode.com/svn/trunk/ coreavc-for-linux
Subversion could be installed as a prerequesit together with other missing packages. (see later steps)
Step 2) Download dshowserver.
From the information you gave I belive the file from June 20 to be the correct one.
Still in on my MD:
wget http://coreavc-for-linux.googlecode.com/files/dshowserver-ia32-r63-gentoo.tar.bz2
Step 3) Has no info, but it is extracting and installing dshowserver.
Still on my MD:
tar -xjf <path/to/>dshowserver-ia32-r63-gentoo.tar.bz2
cd dshowserver
cp dshowserver /usr/local/bin
cp ../loader/registercodec /usr/local/bin
In my opinion step 2 and 3 should be one step in the wiki and could be done like this:
wget http://coreavc-for-linux.googlecode.com/files/dshowserver-ia32-r63-gentoo.tar.bz2
tar -xjf dshowserver-ia32-r63-gentoo.tar.bz2
rm dshowserver-ia32-r63-gentoo.tar.bz2
cd dshowserver
cp dshowserver /usr/local/bin
cp ../loader/registercodec /usr/local/bin
Step 4) Buy CoreAVC, install it on a windows machine and copy CoreAVCDecoder.ax from that to the MD.
In my opinion this part should be the first step in your wiki. There is no need to do the first 3 steps if you can not or will not do this one...
The wiki fails to mention that there is no .mplayer folder in the home directory of a MD.
I transfered my CoreAVCDecoder.ax with a USB stick and with KDE I copied it to my home directory on the MD. After that I copied to the correct directory.
Still on my MD:
mkdir /usr/lib/win32/
cp CoreAVCDecoder.ax /usr/lib/win32
Step 5) Register CoreAVC on the MD.
The wiki fails to mention that there is no .mplayer folder in the home directory of a MD. Exporting registry will fail but no errors...
Still on my MD (And I did use my registered serial instead of the 55555-55555-CORE-55555-55555).
mkdir .mplayer
export REGISTRY=$HOME/.mplayer/registry32
registercodec -r $REGISTRY -k"HKLM\\Software\\CoreCodec\\CoreAVC Pro\\Serial" -v "55555-55555-CORE-55555-55555"
Step 6) Verify dshow server is working.
As noted in the wiki, I got a permission denied.
Still on my MD:
chmod a+x /usr/local/bin/dshowserver
dshowserver -c CoreAVCDecoder.ax -s 1280x720 -g 09571a4b-f1fe-4c60-9760de6d310c7c31 -b 12 -f 0x34363248 -o 0x30323449
Returned:
No id specified, assuming test mode
Opening device
Called unk_IsDebuggerPresent
len: 992
ProductVersion: 1.7.0
Decoder supports the following YUV formats: YUY2 UYVY YV12 I420
Decoder is capable of YUV output (flags 0x2b)
Setting fmt
Starting
Initialization is complete
Step 7) The info that should come in step 8. came here... And setting up the development environment should have been a prerequisite to the whole proses and come before step 1)
Step 7) did not say how much of the external wiki should be followed and where it should be installed. I followed the external wiki and installed it on my core. I only followed the steps in the section "Setting Up the Development Environment".
Step 8. Had no info, but I got the point in step 7)
Here is also where I was unsure on what to do. I did setup the development enviroment on my core, and the Wiki does not say where to compile/install libxine...
I could continue on my core and copy the libxine.so.1.19.0 to my MD and do the rest there, which was my first try, but that resulted in Xine not working on the MD anymore and no media played after that.
Compiling fails on both the core and the MD. I cannot say if the core was missing build-essential or not, since I had compiled other stuff there before. But the MD did not have it, and both Core and MD needed to install libxext-dev before compiling.
Needed packages could be installed in one go in the first step like this:
apt-get install subversion build-essential libxext-dev
Since I set up the development enviroment on the core, I tried compiling from the MD while the source was in the Core's home folder. Even being logged in as root, does not give the permission to do that. The compiler then fails with the following error:
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
The solution was to copy the source to the MD.
Running the patch on my Core or my MD with the patch -p1 <path/to/coreavc-for-linux/xine/dshowserver.patch command did not work for me. The prompt just got stuck nothing was done. I tried waiting for 5 hours once... CTRL X stops it. Using -Np1 -i like Zaerc suggested worked fine.
So from my MD I ran the following to copy, patch and compile:
cp -R /home/linuxmce/charon-merge/ubuntu/xine-lib-1.1.10.1/ .
cd xine-lib-1.1.10.1/
patch -Np1 -i /root/coreavc-for-linux/xine/dshowserver.patch
./configure
make
make install
Step 9)
Still on my MD:
cd /opt/libxine/lib
rm libxine.so.1
ln -s /usr/local/lib/libxine.so.1.19.0 libxine.so.1
Step 10)
Still on my MD:
reboot
After a reboot there is no difference at all for me. Still the same amount of jerkiness in MKV HD files, and still the same amount of green artifacts.
Now you know how I did everything, and that it was not possible for me to follow everything 100%.
I really hope this helps you in finding what I did wrong or different from you Jean, and I hope this helps someone else that wants this to work.