Another Mplayer patch for crystalHD

46 views
Skip to first unread message

valpa

unread,
Jun 7, 2011, 8:17:52 PM6/7/11
to crystalhd-development
We are pleased to publish the MPlayer patches for 70012 CrystalHD
chip
(70015 is not tested but hope to work). These patches apply on
MPlayer-1.0rc4.

To setup the environment, following the Jarod Wilson’s git tree.
Install
the driver and library on you machine, or you can get all done
manually as
follows:

Check if 70012 exist and recognized by kernel:
#lspci | grep -i "14e4:1612"

Install the compiled driver module
#insmod driver/linux/crystalhd.ko

Create device for crystalhd if it does not exist
#mknod -m 666 /dev/crystalhd c 253 0

Copy the firmware to right place so they can be downloaded into
firmware
correctly
#cp firmware/fwbin/70012/*.bin /lib/firmware/

Copy the library files
#cp linux_lib/libcrystalhd/libcrystalhd.so* /lib/


We have two patchs:

The first one is designed for 24x7 playing with low latency between
two
movies. But unfortunately, it has memory leak problem. From
observation,
this patch will waste up to 15M memory per hour, it may depend on how
long
movies are.

The second one is good, no memory issue inside, but it will close/
reopen
crystalhd handler for every movie. This will incurs roughly 2
seconds
delay at the begining of each movie. For home entertainment usage,
we
suggest you to use patch 2.

To apply patch and compile
1. Download MPlayer-1.0rc4.
2. Apply patch: $patch -p1 < crystalhd-01.patch
3. Compile: ./configure --disable-mencoder; make


To play the HD movie continuously use playlist for mplayer:
$mplayer -loop 0 -playelist <file>

Or you can just play one movie:
$mplayer <file>


Download Link:
http://beonic.com/forums/viewtopic.php?f=1&t=2
Reply all
Reply to author
Forward
0 new messages