altergrin altergrin's Library tagged → View Popular
05 Dec 09
Не очень краткая памятка по прохождению растаможки посылок DHL / Электронная коммерция / Хабрахабр
15 Nov 09
ВОСПРОИЗВЕДЕНИЕ HD-video на старом ПК (CoreAVC)
-
вот небольшая инструкция в моей интерпретации

1)создадим дерикторию куда закачаем нужные исходники
mkdir ~/mplayer-with-coreavc
cd ~/mplayer-with-coreavc
sudo apt-get install build-essential subversion pkg-config xorg-dev
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
svn checkout http://coreavc-for-linux.googlecode.com/svn/trunk/ coreavc-for-linux
2) установим DShowServer (i386/32bit)
cd coreavc-for-linux/dshowserver
make
sudo cp dshowserver registercodec /usr/local/bin
3) далее нам потребуется вайн для установки CoreAVC
при установки потребуется ввести ключик
копируем файлы из из папки CoreAVC которая находится в ~/.wine/drive_c/Program Files/ в папку /usr/lib/win32/ если её нету то создайте
далее вводим в терминале
mkdir ~/.mplayer
registercodec -r ~/.mplayer/registry32 -k "HKLM\\Software\\CoreCodec\\CoreAVC Pro\\Serial" -v "тут ключик который вводили выше"
4) теперь проверим как всё работает
dshowserver -c CoreAVCDecoder.ax -s 1280x720 -g 09571a4b-f1fe-4c60-9760de6d310c7c31 -b 12 -f 0x34363248 -o 0x30323449
если всё хорошо то на выходе должно быть что-то такое
3248 -o 0x30323449
No id specified, assuming test mode
Opening device
len: 992
ProductVersion: 1.8.5
Decoder supports the following YUV formats: YUY2 UYVY YV12 I420
Decoder is capable of YUV output (flags 0x2b)
Setting fmt
Starting
Initialization is complete
5) патчим и устанавливаем мплеер
wget http://paste.ubuntu.com/160118/plain/ -O - | patch -p0
на экране должно появится нечто такое
(Stripping trailing CRs from patch.)
patching file libmpcodecs/vd.c
Hunk #1 succeeded at 25 (offset -4 lines).
Hunk #2 succeeded at 57 (offset -5 lines).
(Stripping trailing CRs from patch.)
patching file Makefile
Hunk #2 succeeded at 519 with fuzz 1 (offset 295 lines).
(Stripping trailing CRs from patch.)
patching file libmpcodecs/vd_dshowserver.c
далее собираем и устанавливаем
make
sudo make install
копируем файл codecs.conf из исходников в вашу папку
[ -f ~/.mplayer/codecs.conf ] || cp etc/codecs.conf ~/.mplayer
в него нужно добавить следующее
videocodec coreserve
info "CoreAVC DShow H264 decoder 1.3 for x86 - http://corecodec.org/"
status working
format 0x10000005
fourcc H264,h264 H264
fourcc X264,x264
fourcc avc1,AVC1 AVC1
fourcc davc,DAVC
fourcc VSSH
driver dshowserver
dll "CoreAVCDecoder.ax"
guid 0x09571a4b, 0xf1fe, 0x4c60, 0x97, 0x60, 0xde, 0x6d, 0x31, 0x0c, 0x7c, 0x31
out YV12,IYUV,I420,YUY2
в качестве морды мплеера я использую смплеер
всё работает замечательно, на моём ветерке тормозов при проигрывании 1280х720 не замечается
хотя на стандартном мплеере были
и ещё в смплеере размеры буферов выставлены на 0
Selected Tags
Related Tags
Sponsored Links
Ads by Google
Top Contributors
Groups interested in howto
Related Lists on Diigo
-
linux
Items: 92 | Visits: 141
Created by: Djiezes Kraaijst
-
Google Docs
This is a list of documents...
Items: 1 | Visits: 143
Created by: Liz Davis
-
howto
Items: 4 | Visits: 112
Created by: Rich Hintz
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo
