7) Install coreavc with wine, or just copy the CoreAVCDecoder.ax file into /usr/lib/win32. Create this folder, if it’s not there yet.
cp "$HOME/.wine/drive_c/Program Files/CoreCodec/CoreAVC Professional Edition/CoreAVCDecoder.ax" /usr/lib/win32
8 ) Test your dshowserver:
dshowserver -c CoreAVCDecoder.ax -s 1280x720 -g 09571a4b-f1fe-4c60-9760de6d310c7c31 -b 12 -f 0x34363248 -o 0x30323449
This is what you should see:
No id specified, assuming test mode
Decoder supports the following YUV formats: YUY2 UYVY YV12 I420
Decoder is capable of YUV output (flags 0x2b)
Initialization is complete
9) We’re almost there. Now start mplayer:
/usr/local/bin/mplayer -demuxer mkv -vc coreserve my-matroska-movie-here.mkv
Now you should see a window with your playback. Use the command
'top' at a command line and see if
dshowserver is running (should be at the top position), and press the key ‘
1‘ to see how
dshowserver is utilizing your CPU cores. If it also works without the ‘
-demuxer mkv‘ switch, leave it away.
If you don’t see a video, and you can hear sound only, check, if your mplayer have really been built recently. Check it like this
it should have the current timestamp:
ls -l /usr/local/bin/mplayer
-rwxr-xr-x 1 root root 9267480 2008-10-23 22:38 /usr/local/bin/mplayer
If you still can’t get it to work, please check the coreavc-for-linux site for updates.
NOTE: The playback of AVCHD footage from my camcorder (Canon HF100) doesn’t work properly. I’ve got only a few frames per second. I’ve addressed this issue already. Use the search function in this Blog.
For AVCHD playback you should use for Panasonic the
lavf demuxer or for Canon the
-fps 50 or NTSC 60 switch. See also here in this Blog. But like already mentioned: It’s not working atm.
Please report errors. Thanks.