This is the recipe:
a) Nvidia drivers 185.8.4
a) ffmpeg as per in this thread
b) xine-lib-1.2 from svn + vdpau patch for xine-lib-1.2
in configure do use --prefix=/usr and --enable-external-ffmpeg
voila, vdpau!
Useless, no good at all, waste of time
Pretty useless, but gave me a few ideas
Very useful, thanks
Best tutorial on the subject!
This is the recipe:
a) Nvidia drivers 185.8.4
a) ffmpeg as per in this thread
b) xine-lib-1.2 from svn + vdpau patch for xine-lib-1.2
in configure do use --prefix=/usr and --enable-external-ffmpeg
voila, vdpau!
As Mr. Burns always says, excellent!
I tried with xine-ui and it works perfectly. Now I'll give a shot to oxine.
By the way, I don't undertstand this:
ffmpeg is installed before. Could be dangerous reinstalling it from apt?sudo apt-get install vorbis-tools ffmpeg flac mount
My steps in addition to your how-to are:
for ffmpeg
for xinelibsudo -s
apt-get install libx264-dev libmp3lame-dev # these dependencies are missing in your tutorial
./configure --enable-shared --enable-gpl --enable-postproc --enable-libmp3lame --enable-libvorbis --enable-pthreads --enable-swscale --enable-libx264 --enable-libtheora --enable-libfaac --enable-libfaad --enable-libxvid
I used checkinstall, because it builds a deb package, so everything could be easly uninstalled.cd /usr/local/src
apt-get install libcdio-dev libvcdinfo-dev
hg clone http://hg.debian.org/hg/xine-lib/xine-lib-1.2
wget http://www.jusst.de/vdpau/files/xine...-r261.diff.bz2
bunzip2 xine-lib-1.2-vdpau-r261.diff.bz2
cd xine-lib-1.2
patch -p1 < ../xine-lib-1.2-vdpau-r261.diff
cd ..
wget http://www8.mplayerhq.hu/MPlayer/rel...071007.tar.bz2
tar xivf essential-20071007.tar.bz2
mv essential-20071007 /usr/local/lib/win32
ln -s /usr/local/lib/win32 /usr/local/lib/codecs
cd xine-lib
./autogen.sh --prefix=/usr --with-external-ffmpeg --disable-dxr3 --enable-w32dll --with-w32-path=/usr/local/lib/win32
make -j6
checkinstall --fstrans=no --install=yes --pkgname=libxine2-dev --pkgversion "1.2.svn`date +%Y%m%d`-12ubuntu3"
ldconfig -v
@everyone
Don't download the vdpau patch for xinelib directly from the link above.
The manteiner keeps the patch update with the xinelib main version. Just have a look to his page:
http://www.jusst.de/vdpau/files/xine-lib-1.2/?C=M;O=D
and download the latest patch.
Last edited by Sav; May 3rd, 2009 at 07:10 PM. Reason: missing text
Thanks for your input, I have added your contributions to the first page
Yes, no point in installing ffmpeg, that was a typo.
As a front-end I found near perfection using mms and oxine
The main menu is oxine
The entries are:
Play TV (replaced internal viewer with external script for vdpau)
DVD Menu->
1) Use Internal DVD player (no volume control in OSS)
2) Use MPLAYER as external DVD player (no subtitles)
Play Movie-> External script calling on MMS
Other
System
Shutdown
Hello!
Very good post, I hope I can complete it by the weekend.
I've already started and found some problems with lirc.
With the button mapping shown in first post, I have several dead keys:
Go, Pictures, Back/Exit, Ok, Prev.Ch, FFwd, FRew, * and #
If I use the configuration file found at linuxtv.org for HVR-4000, every button works.
Here how it looks:
PHP Code:
begin remote
name Hauppauge-HVR4000-Remote
bits 16
eps 30
aeps 100
one 0 0
zero 0 0
pre_data_bits 16
pre_data 0x8001
gap 133325
toggle_bit_mask 0x8001001C
begin codes
Power 0x0074
Go 0x0161
TV 0x0179
Video 0x0189
Music 0x0188
Pictures 0x016F
Guide 0x016D
Radio 0x0181
Up 0x0067
Down 0x006C
Left 0x0069
Right 0x006A
OK 0x001C
Back/Exit 0x00AE
Menu 0x008B
PrevCh 0x019C
Mute 0x0071
Vol+ 0x0073
Vol- 0x0072
Ch+ 0x0192
Ch- 0x0193
Rec 0x00A7
Stop 0x0080
Play 0x00CF
Pause 0x0077
Rewind 0x00A8
Forward 0x00D0
Replay 0x00A5
Skip 0x00A3
1 0x0002
2 0x0003
3 0x0004
4 0x0005
5 0x0006
6 0x0007
7 0x0008
8 0x0009
9 0x000A
0 0x000B
Text 0x0184
Sub/CC 0x0172
Red 0x018E
Green 0x018F
Yellow 0x0190
Blue 0x0191
end codes
end remote
Thank you Caladeira for your contribution! That's the spirit, to share your findings so together we make a cracking howto that helps others
I have added your lircd.conf after changing the name of the buttons to preserve the naming I had employed so the name of the buttons match those used in the lirc application config files
Indeed I had experience odd behaviour with * and # and now I see why and should be working fine.
I'm glad to help.
I've had only a few moments to test this setup, but one thing I noticed was that the speed of key repeating.
If you press a key for more than a little touch, you get multiple key presses.
I'm testing with xubuntu 9.04 that already have drivers for the nova-hd-s2.
My motherboard is a Giga-Byte GA-MA78GM-DS2H with the onboard graphics disabled and added a nvidia pcix GIGABYTE GF 8400 GS 512MB GDDR2 (GV-NX84S512HP).
CPU is an Athlon BE-2400 and 2GB DDR2 800.
As capture card, I only have a Hauppauge WinTV NOVA-HD-S2.
In the first post, you mention "wierbel".
Is this scan utility already available?
You have chose Oxine as front end.
I didn't know it, neither MMS.
But for what I've seen, MMS looks better and have been updated more recently.
Have you tested MMS?
Another difference from my setup to yours is related to the softcam.
I'm planning to use MBOX instead of CCCam.
I just haven't found yet a good tutorial.
I'll post my progress here.
1)try my updated lircd.conf
No multiple key presses and all keys working...
2)wierbelscan is available, it is attached to my first post, though it scans only a handful of satellites (astra1, astra2, hotbird, sirius, 23e)
and not dvb-s2 channels. It is mainly a DVB-S and DVB-T scanner but it supports same satellites as well as per above.
Best scanner is w_scan by the same author, but for now from the command line
Here you can find some channels lists produced by w_scan:
http://www.vdr-wiki.de/wiki/index.ph...nels.conf_DVBS
I tried ubuntu 9.04 64bits and the native drivers for the nova-hd-s2 were a complete disaster, everything compiled ok but no data ever communicated between applications (vdr, w_scan) and the drivers.
The sc plugin should help you with mbox but I think you will need to edit a config file for that purpose, but sorry, never used mbox although I have heard about it.
Oxine or MMS?
I use both
Oxine as a frontend is more flexible, you can make it run any command you like, including a script that kills oxine and launches MMS for a particular task (I like MMS for playing movies from the hard drive)
Keep us updated on your progress, it is a wonderful adventure! (and a brave thing to buy hardware you don´t know it works for certain, but hopefully it will all have a happy ending)
Bookmarks