You are not logged in.

1

Tuesday, September 20th 2011, 4:49pm

[ANNOUNCE] xine-lib vaapi support

Die xine-lib VAAPI Entwicklung hat eine neues zu Hause auf github bekommen.

Um an die Source zu kommen :

git clone git://github.com/huceke/xine-lib-vaapi.git
cd xine-lib-vaapi
git checkout vaapi-testing

ffmpeg muss in der aktuellen git Version verwendet werden oder folgender commit gegen Version 0.7/0.8 angewandt werden :

http://git.videolan.org/?p=ffmpeg.git;a=…47671af15de181a


Libxcb hat ein deadlock Problem welches im libxcb git behoben wurde oder folgenden Patch gegen libxcb 1.7 anwenden :

https://archvdr.svn.sourceforge.net/svnr…for_reply.patch


Es gibt auch ein rudimentäres README dazu :

https://github.com/huceke/xine-lib-vaapi…ng/README.vaapi


Oder einfach hier im Forum diesen Thread durchlesen :

http://www.vdr-portal.de/board16-video-disk-recorder/board85-hdtv-dvb-s2/102819-hd-vdr-mit-intel-hd-graphics-testbericht-zu-vaapi/

lg

ebsi
HW HD-VDR-1 : Foxconn H67S MiniITX, Intel G620T, 1x 80GB Intel Postvile X25 SSD, anysee E7 PS2 CI DVB-S2 intern, Gehäuse JCP MI 101, 2 GB DDR3 Ram.
HW HD-VDR-2 : Zotac H61 MiniITX , Intel G440, 1x 320GB HDD, TeVII 470, Gehäuse Silverstone Sugo SG05, 4 GB DDR3 Ram.
SW HD-VDR : archlinux 64bit mit archvdr Paketen ( http://archvdr.sf.net ) und VAAPI. Kernel 3.1.x, Rest bleeding edge :D
xine-lib-1.2 VAAPI : https://github.com/huceke/xine-lib-vaapi/commits/vaapi + vdr-xine als Frontend

2

Wednesday, September 21st 2011, 11:50pm

hi, ich hab da mal eine kurze frage.
gibt es gen_vaapi_patch.sh nun gar nicht mehr? habe damit immer den patch erzeugt um es in df-osd-handling+alter-vdpau-h264-decoder git einzubasteln, für mein debian paket.

3

Thursday, September 22nd 2011, 7:06am

hi, ich hab da mal eine kurze frage.
gibt es gen_vaapi_patch.sh nun gar nicht mehr? habe damit immer den patch erzeugt um es in df-osd-handling+alter-vdpau-h264-decoder git einzubasteln, für mein debian paket.
"git diff master vaapi-testing" macht den Trick.

lg

ebsi
HW HD-VDR-1 : Foxconn H67S MiniITX, Intel G620T, 1x 80GB Intel Postvile X25 SSD, anysee E7 PS2 CI DVB-S2 intern, Gehäuse JCP MI 101, 2 GB DDR3 Ram.
HW HD-VDR-2 : Zotac H61 MiniITX , Intel G440, 1x 320GB HDD, TeVII 470, Gehäuse Silverstone Sugo SG05, 4 GB DDR3 Ram.
SW HD-VDR : archlinux 64bit mit archvdr Paketen ( http://archvdr.sf.net ) und VAAPI. Kernel 3.1.x, Rest bleeding edge :D
xine-lib-1.2 VAAPI : https://github.com/huceke/xine-lib-vaapi/commits/vaapi + vdr-xine als Frontend

kh1309

Trainee

Posts: 70

Location: Saarbrücken

  • Send private message

5

Thursday, January 5th 2012, 10:55pm

Hallole,
ich habe da ein Problem mit dem Compile von xine-lib-vaapi. Der make scheitert an po Files

Source code

1
2
3
4
5
6
7
8
9
10
11
12
make[1]: Betrete Verzeichnis '/tmp/xine-lib-vaapi/po'
test ! -f ./libxine2.pot || \
          test -z "cs.gmo de.gmo en_US.gmo eo.gmo es.gmo eu.gmo fr.gmo it.gmo ja.gmo pl.gmo pt_BR.gmo sk.gmo tr.gmo" || make cs.gmo de.gmo en_US.gmo eo.gmo es.gmo eu.gmo fr.gmo it.gmo ja.gmo pl.gmo pt_BR.gmo sk.gmo tr.gmo
make[2]: Betrete Verzeichnis '/tmp/xine-lib-vaapi/po'
: --update cs.po libxine2.pot
rm -f cs.gmo && : -c --statistics -o cs.gmo cs.po
mv: Aufruf von stat für „t-cs.gmo“ nicht möglich: Datei oder Verzeichnis nicht gefunden
make[2]: *** [cs.gmo] Fehler 1
make[2]: Verlasse Verzeichnis '/tmp/xine-lib-vaapi/po'
make[1]: *** [stamp-po] Fehler 2
make[1]: Verlasse Verzeichnis '/tmp/xine-lib-vaapi/po'
make: *** [all-recursive] Fehler 1


Was läuft da falsch?
vdr hd: Intel core i3 2100T, 2GB, Intel DH67BL, Tevii S480 (v2.0), 1TB HDD, Intel CIR, Harmony 300
vdr sd: AMD Opteron 144 @1.1V, GA-K8NS, Ati Radeon 9600, 2 x TS Skystar2 DVB-S C't VDR 6.1

6

Friday, January 6th 2012, 12:52am

Hallole,
ich habe da ein Problem mit dem Compile von xine-lib-vaapi. Der make scheitert an po Files

Source code

1
2
3
4
5
6
7
8
9
10
11
12
make[1]: Betrete Verzeichnis '/tmp/xine-lib-vaapi/po'
test ! -f ./libxine2.pot || \
          test -z "cs.gmo de.gmo en_US.gmo eo.gmo es.gmo eu.gmo fr.gmo it.gmo ja.gmo pl.gmo pt_BR.gmo sk.gmo tr.gmo" || make cs.gmo de.gmo en_US.gmo eo.gmo es.gmo eu.gmo fr.gmo it.gmo ja.gmo pl.gmo pt_BR.gmo sk.gmo tr.gmo
make[2]: Betrete Verzeichnis '/tmp/xine-lib-vaapi/po'
: --update cs.po libxine2.pot
rm -f cs.gmo && : -c --statistics -o cs.gmo cs.po
mv: Aufruf von stat für „t-cs.gmo“ nicht möglich: Datei oder Verzeichnis nicht gefunden
make[2]: *** [cs.gmo] Fehler 1
make[2]: Verlasse Verzeichnis '/tmp/xine-lib-vaapi/po'
make[1]: *** [stamp-po] Fehler 2
make[1]: Verlasse Verzeichnis '/tmp/xine-lib-vaapi/po'
make: *** [all-recursive] Fehler 1


Was läuft da falsch?
Mach male ein "git pull --rebase" und probier es nochmal.

lg

ebsi
HW HD-VDR-1 : Foxconn H67S MiniITX, Intel G620T, 1x 80GB Intel Postvile X25 SSD, anysee E7 PS2 CI DVB-S2 intern, Gehäuse JCP MI 101, 2 GB DDR3 Ram.
HW HD-VDR-2 : Zotac H61 MiniITX , Intel G440, 1x 320GB HDD, TeVII 470, Gehäuse Silverstone Sugo SG05, 4 GB DDR3 Ram.
SW HD-VDR : archlinux 64bit mit archvdr Paketen ( http://archvdr.sf.net ) und VAAPI. Kernel 3.1.x, Rest bleeding edge :D
xine-lib-1.2 VAAPI : https://github.com/huceke/xine-lib-vaapi/commits/vaapi + vdr-xine als Frontend

kh1309

Trainee

Posts: 70

Location: Saarbrücken

  • Send private message

7

Friday, January 6th 2012, 9:09pm

HI ebsi

git pull hat nichts gebracht.

Source code

1
2
root@H67:~/tmp/xine-lib-vaapi# git pull --rebase
Current branch vaapi is up to date.

immer noch der gleiche Fehler.

Source code

1
2
3
4
5
6
7
root@H67:~/tmp/xine-lib-vaapi# git show
commit 9dfc02242c2cedb14c058db39733760efbedfba1
Merge: b64758d e608145
Author: root <root@i7.(none)>
Date:   Fri Jan 6 00:51:08 2012 +0100

    Merge branch 'vaapi-testing' of https://github.com/huceke/xine-lib-vaapi into vaapi

Noch ne Idee?
VG Kurt
vdr hd: Intel core i3 2100T, 2GB, Intel DH67BL, Tevii S480 (v2.0), 1TB HDD, Intel CIR, Harmony 300
vdr sd: AMD Opteron 144 @1.1V, GA-K8NS, Ati Radeon 9600, 2 x TS Skystar2 DVB-S C't VDR 6.1

8

Saturday, January 7th 2012, 2:19am

HI ebsi

git pull hat nichts gebracht.

Source code

1
2
root@H67:~/tmp/xine-lib-vaapi# git pull --rebase
Current branch vaapi is up to date.

immer noch der gleiche Fehler.

Source code

1
2
3
4
5
6
7
root@H67:~/tmp/xine-lib-vaapi# git show
commit 9dfc02242c2cedb14c058db39733760efbedfba1
Merge: b64758d e608145
Author: root 
Date:   Fri Jan 6 00:51:08 2012 +0100

    Merge branch 'vaapi-testing' of https://github.com/huceke/xine-lib-vaapi into vaapi

Noch ne Idee?
VG Kurt
Auf welcher Distri compilierst Du ?
HW HD-VDR-1 : Foxconn H67S MiniITX, Intel G620T, 1x 80GB Intel Postvile X25 SSD, anysee E7 PS2 CI DVB-S2 intern, Gehäuse JCP MI 101, 2 GB DDR3 Ram.
HW HD-VDR-2 : Zotac H61 MiniITX , Intel G440, 1x 320GB HDD, TeVII 470, Gehäuse Silverstone Sugo SG05, 4 GB DDR3 Ram.
SW HD-VDR : archlinux 64bit mit archvdr Paketen ( http://archvdr.sf.net ) und VAAPI. Kernel 3.1.x, Rest bleeding edge :D
xine-lib-1.2 VAAPI : https://github.com/huceke/xine-lib-vaapi/commits/vaapi + vdr-xine als Frontend

9

Saturday, January 7th 2012, 10:55am

Source code

1
2
3
: --update cs.po libxine2.pot
rm -f cs.gmo && : -c --statistics -o cs.gmo cs.po
mv: Aufruf von stat für „t-cs.gmo“ nicht möglich: Datei oder Verzeichnis nicht gefunden

Es ist etwas schwierig von den Optionen auf das Kommando zu schließen, aber fehlt da nicht einfach das Paket gettext und dadurch wird das Makefile falsch gebaut?

Gerald

OrigenAE S16T, ASRock K10N78D, Athlon II X2 4400e (unlocked Sempron 140), 2GB RAM, OCZ Vertex 30GB, 2xWD10EADS, 3xKNC One TV-Station DVB-C, G210 MSI N210-MD512H, yaVDR.
Seagate Dockstar, Debian Squeeze, VDR 1.7.16, 500 GB 2,5" HD, 2xSundtek MediaTV Home DVB-C/T.

kh1309

Trainee

Posts: 70

Location: Saarbrücken

  • Send private message

10

Saturday, January 7th 2012, 7:51pm

@gda
danke, guter Hinweis. Das Paket hat gefehlt. Dann compiliert es eine zeit lang, um dann aber mit

Source code

1
2
3
4
5
6
7
8
9
10
  CC     xineplug_vo_out_vaapi_la-video_out_vaapi.lo
video_out_vaapi.c:69:23: fatal error: va/va_x11.h: Datei oder Verzeichnis nicht gefunden
compilation terminated.
make[3]: *** [xineplug_vo_out_vaapi_la-video_out_vaapi.lo] Fehler 1
make[3]: Verlasse Verzeichnis '/root/tmp/xine-lib-vaapi/src/video_out'
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlasse Verzeichnis '/root/tmp/xine-lib-vaapi/src/video_out'
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/root/tmp/xine-lib-vaapi/src'
make: *** [all-recursive] Fehler 1

zu enden. Mir fehlt wohl libva-dev oder so. Habe übrigens yavdr 4.0/ubuntu 11.04 (natty) installliert und habe hole das X11/intel/libva Zeug aus xorg-edgers/ppa. Ist das evtl zu unsicher?

Update: kaum macht man's richtig so geht's :). Die Libs ham gefehlt. Werd mal schaun, wie/ob xine über vaapi läuft

VG Kurt
vdr hd: Intel core i3 2100T, 2GB, Intel DH67BL, Tevii S480 (v2.0), 1TB HDD, Intel CIR, Harmony 300
vdr sd: AMD Opteron 144 @1.1V, GA-K8NS, Ati Radeon 9600, 2 x TS Skystar2 DVB-S C't VDR 6.1

This post has been edited 2 times, last edit by "kh1309" (Jan 7th 2012, 9:08pm)


obarden

Intermediate

Posts: 365

Location: Eppstein

Occupation: EDV-Techniker

  • Send private message

11

Wednesday, May 9th 2012, 10:26am

Ich hab mich gerade mal an die xine-lib vaapi rangetraut, kann sie aber leider nicht kompillieren.

System ist Suse 12.1 mit Standardkernel.

Platform information:
--------------------
system name : Linux
release : 3.1.10-1.9-desktop
version : #1 SMP PREEMPT Thu Apr 5 18:48:38 UTC 2012 (4a97ec8)
machine : x86_64
model name : Intel(R) Core(TM) i7-2700K CPU @ 3.50GHz


ffmpeg, intel-Treiber und libva sind die aktuellsten GIT versionen

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Coruscant:/usr/src/xine-lib-vaapi # vainfo 
libva: VA-API version 0.34.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib64/dri/i965_drv_video.so
libva: Found init function __vaDriverInit_0_34
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.34 (libva 1.2.0.pre1)
vainfo: Driver version: Intel i965 driver - 1.0.16.pre1
vainfo: Supported profile and entrypoints
VAProfileNone               	: VAEntrypointVideoProc
VAProfileMPEG2Simple        	: VAEntrypointVLD
VAProfileMPEG2Main          	: VAEntrypointVLD
VAProfileH264Baseline       	: VAEntrypointVLD
VAProfileH264Baseline       	: VAEntrypointEncSlice
VAProfileH264Main           	: VAEntrypointVLD
VAProfileH264Main           	: VAEntrypointEncSlice
VAProfileH264High           	: VAEntrypointVLD
VAProfileH264High           	: VAEntrypointEncSlice
VAProfileVC1Simple          	: VAEntrypointVLD
VAProfileVC1Main            	: VAEntrypointVLD
VAProfileVC1Advanced        	: VAEntrypointVLD



beim Kompilieren der xine-lib-vaapi bricht es mit folgenden Fehler ab:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
/usr/include/va/va.h:708:1: note: declared here
video_out_vaapi.c: In function 'yuy2_to_nv12':
video_out_vaapi.c:3058:41: warning: assignment makes integer from pointer without a cast [enabled by default]
video_out_vaapi.c:3059:45: warning: assignment makes integer from pointer without a cast [enabled by default]
video_out_vaapi.c:3038:7: warning: unused variable 'uv_dst_size' [-Wunused-variable]
make[3]: *** [xineplug_vo_out_vaapi_la-video_out_vaapi.lo] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
make[3]: Leaving directory `/usr/src/xine-lib-vaapi/src/video_out'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/usr/src/xine-lib-vaapi/src/video_out'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/xine-lib-vaapi/src'
make: *** [all-recursive] Fehler 1


Was mich auch noch wundert, wenn ich ein autogen vorher mache, sollte dann nicht auch zumindest vaapi als video driver plugin aufgelistet werden ???

Source code

1
2
3
4
5
6
7
8
9
10
11
* video driver plugins:
   - XShm (X11 shared memory)
   - Xv (XVideo *shared*)
   - XxMC (XVideo extended motion compensation)
   - XvMC (XVideo motion compensation)
   - OpenGL (with GLU support)
   - vdpau (X11 Video Decode and Presentation API for Unix)
   - xcb-shm (X shared memory using XCB)
   - xcb-xv (XVideo using XCB)
   - fb (Linux framebuffer device)
   - sdl (Simple DirectMedia Layer)
VDR: SuSE Linux 12.1(64bit) - Kernel 3.1.0 - VDR 1.7.27
TechniSat SkyStarHD
ANTEC Fusion , Gigabyte GA-73UM-S2H mit onboard NVIDIA GeForce 7150, Core2Duo E6750, 2GB RAM
:vader :trooper :trooper :trooper :trooper :trooper :trooper :trooper :fans :trooper :trooper :trooper :trooper :trooper :trooper :trooper :trooper :vader

12

Wednesday, May 9th 2012, 12:16pm

VA-API GIT hat eine neue API:

Source code

1
2
3
4
5
#ifndef VA_SURFACE_ATTRIB_SETTABLE
/// make source compatible with old libva
#define vaCreateSurfaces(d, f, w, h, s, ns, a, na) \
    vaCreateSurfaces(d, w, h, f, ns, s)
#endif


und alle vaCreateSurfaces ändern auf neue API.

Johns
Sag mir, wo die Developer sind. Wo sind sie geblieben? . . . . . . . . . . . . . . . . . . . . SoftHdDevice - A software and GPU emulated HD output device plugin.
Sag mir, wo die Developer sind. Was ist geschehn?

Client0: Crown CW02 MSI-H55M-E55 I3-530 Sparkle_GT-430_passiv Cine-S2 iMon-MCE / streamdev softhddevice
Client1: Lian_Li_PC-Q09FB ASRock_H67M-ITX/HT I3-2100 ASUS_ENGT520_passiv / streamdev softhddevice
Test: Lian_Li_PC-Q09R ASRock_H61M-ITX G620 Buildin_IR+Harmony_300 / streamdev softhddevice vaapi-staging / <30 Watt Verbrauch
Server0: Dockstar TT-S2-3600-USB / streamdev
Server2: Lian_Li_PC-Q07R Intel_DH61DL G620 WD20EARX LC75ITX Cine-S2+DuoFlex-S2 / streamdev / 22 Watt Verbrauch

obarden

Intermediate

Posts: 365

Location: Eppstein

Occupation: EDV-Techniker

  • Send private message

13

Wednesday, May 9th 2012, 1:14pm

OK, d.h. ein paar Tage auf die Anpassung warten ? Oder wo müsste ich Deine zeilen abändern ??
VDR: SuSE Linux 12.1(64bit) - Kernel 3.1.0 - VDR 1.7.27
TechniSat SkyStarHD
ANTEC Fusion , Gigabyte GA-73UM-S2H mit onboard NVIDIA GeForce 7150, Core2Duo E6750, 2GB RAM
:vader :trooper :trooper :trooper :trooper :trooper :trooper :trooper :fans :trooper :trooper :trooper :trooper :trooper :trooper :trooper :trooper :vader

14

Wednesday, May 9th 2012, 3:11pm

VA-API GIT hat eine neue API:

Source code

1
2
3
4
5
#ifndef VA_SURFACE_ATTRIB_SETTABLE
/// make source compatible with old libva
#define vaCreateSurfaces(d, f, w, h, s, ns, a, na) \
    vaCreateSurfaces(d, w, h, f, ns, s)
#endif


und alle vaCreateSurfaces ändern auf neue API.

Johns
Nicht ganz korrekt. Der master Tree weist diese API Änderung nicht nicht auf.
HW HD-VDR-1 : Foxconn H67S MiniITX, Intel G620T, 1x 80GB Intel Postvile X25 SSD, anysee E7 PS2 CI DVB-S2 intern, Gehäuse JCP MI 101, 2 GB DDR3 Ram.
HW HD-VDR-2 : Zotac H61 MiniITX , Intel G440, 1x 320GB HDD, TeVII 470, Gehäuse Silverstone Sugo SG05, 4 GB DDR3 Ram.
SW HD-VDR : archlinux 64bit mit archvdr Paketen ( http://archvdr.sf.net ) und VAAPI. Kernel 3.1.x, Rest bleeding edge :D
xine-lib-1.2 VAAPI : https://github.com/huceke/xine-lib-vaapi/commits/vaapi + vdr-xine als Frontend

15

Wednesday, May 9th 2012, 5:18pm

Immer diese Erbsen Zählerei.

Die Fehlermeldung war GIT (branch vaapi-ext oder staging) und wer nimmt schon GIT master?

Die Änderung muß in ./src/video_out/video_out_vaapi.c.

Die #define am Anfang möglichst nach den Includes, dann die vaCreateSurfaces ändern,
oder den Macro umbauen, daß er aus der Alten Version die Neue macht.
Ein paar Parameter sind vertauscht und zwei zusätzliche (Null, 0).

Johns
Sag mir, wo die Developer sind. Wo sind sie geblieben? . . . . . . . . . . . . . . . . . . . . SoftHdDevice - A software and GPU emulated HD output device plugin.
Sag mir, wo die Developer sind. Was ist geschehn?

Client0: Crown CW02 MSI-H55M-E55 I3-530 Sparkle_GT-430_passiv Cine-S2 iMon-MCE / streamdev softhddevice
Client1: Lian_Li_PC-Q09FB ASRock_H67M-ITX/HT I3-2100 ASUS_ENGT520_passiv / streamdev softhddevice
Test: Lian_Li_PC-Q09R ASRock_H61M-ITX G620 Buildin_IR+Harmony_300 / streamdev softhddevice vaapi-staging / <30 Watt Verbrauch
Server0: Dockstar TT-S2-3600-USB / streamdev
Server2: Lian_Li_PC-Q07R Intel_DH61DL G620 WD20EARX LC75ITX Cine-S2+DuoFlex-S2 / streamdev / 22 Watt Verbrauch

obarden

Intermediate

Posts: 365

Location: Eppstein

Occupation: EDV-Techniker

  • Send private message

16

Wednesday, May 9th 2012, 6:08pm

Danke schon mal für die Klärung.
Wie schaut es denn mit meiner anderen Frage aus ?
Müsste nicht beim configure auch ein vaapi als video driver aufgelistet sein ??

Source code

1
2
3
4
5
6
7
8
9
10
11
12
 * video driver plugins:
   - XShm (X11 shared memory)
   - Xv (XVideo *shared*)
   - XxMC (XVideo extended motion compensation)
   - XvMC (XVideo motion compensation)
   - OpenGL (with GLU support)
   - vdpau (X11 Video Decode and Presentation API for Unix)
   - xcb-shm (X shared memory using XCB)
   - xcb-xv (XVideo using XCB)
   - fb (Linux framebuffer device)
   - sdl (Simple DirectMedia Layer)
   - dxr3 (Hollywood+ and Creative dxr3, mpeg video only)
VDR: SuSE Linux 12.1(64bit) - Kernel 3.1.0 - VDR 1.7.27
TechniSat SkyStarHD
ANTEC Fusion , Gigabyte GA-73UM-S2H mit onboard NVIDIA GeForce 7150, Core2Duo E6750, 2GB RAM
:vader :trooper :trooper :trooper :trooper :trooper :trooper :trooper :fans :trooper :trooper :trooper :trooper :trooper :trooper :trooper :trooper :vader

Similar threads

Used tags

vaapi, xine, xine-lib