HOWTO: Convert .ts to .mkv - Ubuntu Forums
-
ffmpeg -i input.ts -vcodec copy -sameq -acodec copy -f matroska output.mkv
MPlayer - The Movie Player
-
There are several ways to speed up the playback of 1080 H.264 files in MPlayer.
ВОСПРОИЗВЕДЕНИЕ 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
Sponsored Links
Ads by Google
Top Tags
View All Recent Tags (49)
- 15n810,
- 132nokia,
- 10mplayer,
- 7howto,
- 5tips,
- 5photography,
- 5maemo,
- 5tumblr,
- 3video,
- 3videomaking,
- 3VDPAU,
- 3ffmpeg,
- 3diy,
- 3post,
- 2games,
- 2interview,
- 2clothing,
- 2service-text,
- 2typo,
- 2copyright,
- 2fraud,
- 2malware,
- 2mobile,
- 2nootrop,
- 2repositories,
- 2ads,
- 2delirium,
- 2science,
- 2russia,
- 2firefox,
- 2health,
- 2electro,
- 2userscript,
- 2google-reader,
- 2childhood,
- 2linux-ubuntu,
- 2pulse,
- 2spam,
- 1service-bookmarks,
- 1yalom,
- 1avia,
- 1tell,
- 1hiking,
- 1mountains,
- 1jung,
- 1keyboard,
- 1linux,
- 1coreavc,
- 1vlc
Public Tags (597)
altergrin altergrin's Public Lists (0)
No lists have been created yet.
"List" is a great way to organize, share and display your specific collection of bookmarks.
Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »
Join Diigo