vlc + vaapi help

does anyone can compile the vlc-git with the vaapi enable. i stopped at somewhere about vlc_ureduce function defination error.

Post more information, for example, lines from the telnet screen!

TOP

I've just tried. Vlc-git downloaded today and built (with --enable libva) on Debian Squeeze 64-bit with no problem.

TOP

i did it too. but when i run the program i got the following errors.

VLC media player 1.1.0-git Yellow Bastard
[0x90c79bc] main libvlc warning: cannot load module `/usr/lib/vlc/audio_output/libaout_sdl_plugin.so' (libvlccore.so.2: 無法開啟共用目的檔: 沒有此一檔案或目錄)
[0x90c79bc] main libvlc warning: cannot load module `/usr/lib/vlc/video_output/libvout_sdl_plugin.so' (libvlccore.so.2: 無法開啟共用目的檔: 沒有此一檔案或目錄)
[0x90c79bc] main libvlc warning: cannot load module `/usr/lib/vlc/codec/libsdl_image_plugin.so' (libvlccore.so.2: 無法開啟共用目的檔: 沒有此一檔案或目錄)
[0x90c79bc] main libvlc warning: cannot load module `/usr/lib/vlc/codec/libavcodec_plugin.so' (/usr/lib/libavcodec.so.52: undefined symbol: x264_encoder_open)
[0x90c79bc] main libvlc warning: cannot load module `/usr/lib/vlc/access/libaccess_avio_plugin.so' (/usr/lib/libavcodec.so.52: undefined symbol: x264_encoder_open)
[0x90c79bc] main libvlc warning: cannot load module `/usr/lib/vlc/access/libdvdnav_plugin.so' (libvlccore.so.2: 無法開啟共用目的檔: 沒有此一檔案或目錄)
[0x90c79bc] main libvlc warning: cannot load module `/usr/lib/vlc/demux/libavformat_plugin.so' (/usr/lib/libavcodec.so.52: undefined symbol: x264_encoder_open)
[0x9180c7c] main demux warning: no access_demux module matching "file" could be loaded

i did make some soft-linked to the required lib, but just more errors come up.

TOP

i tried that on another machine but still have a missing lib (libvlccore.so.2), so i soft-linked it to (libvlccore.so.4.0.0). now it plays h264 files ok. however, the cpu usage only drop from 100% to 70%. playing hd channels ok.

TOP

回覆 5# 的帖子

Does your vlc-vaapi play HD Jade OK? What's the system config (what CPU, which kernel, 32/64 bit, which nvidia driver version?) for this to work?

I played HD Jade OK with vlc but using s/w decode only. Kernel is 2.6.31 64-bit, CPU is AMD X2 250. CPU usage is around 55-60% (I guess one CPU core is almost 100% usage since vlc is single threaded).

On 32-bit kernel, vlc-vaapi playing of HD Jade is not satisfactory - with flickering. On 64-bit Ubuntu, vlc-vaapi also plays with flickering and colour is abnormal, e.g. faces of people becoming blue, etc. Above results are more or less the same using 9300GS and 9500GT external display cards.

TOP

Another note - vlc-vaapi is making use of vdpau only for decoding, not for rendering/de-interlacing. Hence there're two more memory block transfers between GPU and main memory for each frame, and also de-interlacing is software based done by CPU. Hence vlc-vaapi is expected to have much higher CPU utilisation than mplayer-vdpau and xine-vdpau. Also you can't have the better de-interlacing algorithm done by vdpau - temporal, temporal-spatial (but I have to say 'bob' de-interlacing done by vlc is good enough to me).

[ 本帖最後由 ksng 於 2009-12-19 09:06 編輯 ]

TOP

actually, my mplayer-vdpau and vlc-git-vaapi are about the same cpu usage. i will list my config and explain.

mother board : zotac 9300 wifi itx
cpu : intel e5200
software : x264-git, ffmpeg-svn, libva-sds, vdpau-video, vlc-git-va
os : archlinux 64-bit (mostly up-to-date).
xorg : 1.7.2
nvidia-driver : nvidia 195.22 (aur)

i think all my software are either git, svn or testing version. and for vlc, i can't even compile it yesterday. i think they need some times to "work together". i did not try the de-interlace yet, will try it tonight. my next step is to make hdmi to output sound.

TOP

回覆 8# 的帖子

Strange! My mplayer-vdpau has CPU usage of only 5 - 6% when playing HD Jade. Command line is 'mplayer -vo vdpau -vc ffh264vdpau -mc 2 -delay -0.4 -tsprobe 100000 <ts filename>/<http://IP ADDr:808x for watching live TV via streaming>'.

For vlc-vaapi, if you're building it using ffmpeg-svn, I believe you need to apply the h264_vaapi patch for ffmpeg, otherwise your vlc-vaapi won't be using vaapi for playing h264. ffmpeg-svn without the patch has vaapi support only for h263 and vc1, but not h264. You need to apply below patch:
http://lists.mplayerhq.hu/piperm ... 48f8/attachment.txt

TOP

from AUR, ffmpeg-svn has the configure with --enable-libx264. so i guess ffmpeg-svn has x264 support build in.

TOP