Using the latest xvba package and I'm pretty sure I got all the command parameters in there. Been trying since the 9.10 betas with no luck.
Announcement
Collapse
No announcement yet.
AMD's UVD2-based XvBA Finally Does Something On Linux
Collapse
X
-
Well I finaly got round to trying this and to my suprise it actually works.
Suprise because my card isn't listed as UVD2. It's an rv670 Sapphire radeon HD3850 AGP which according to wikipedia is UVD+, though I thought I'd give it a try as someone else in the thread mentioned success with a 2xxx.
Not all streams work, but broadcast BBC does, it even manages to de-interlace in the MBAFF case which is more that ffmpeg does. It doesn't de-int "normal" interlaced, though.
Comment
-
@Kano: thanks for the script! At one point I had to resolve a conflict in the files you where patching:
Code:Conflict discovered in 'fmt-conversion.c'
DRIVER/OS: fglrx 9-10 on kubuntu/carmic/32bit
Now I need some 1080i material to really test it
Comment
-
Originally posted by legume View PostWell I finaly got round to trying this and to my suprise it actually works.
Suprise because my card isn't listed as UVD2. It's an rv670 Sapphire radeon HD3850 AGP which according to wikipedia is UVD+, though I thought I'd give it a try as someone else in the thread mentioned success with a 2xxx.
Not all streams work, but broadcast BBC does, it even manages to de-interlace in the MBAFF case which is more that ffmpeg does. It doesn't de-int "normal" interlaced, though.
Comment
-
Originally posted by Filipek View PostSince I also have ATI 3850 in possesion, would you please mind describing step by step what everything you had to do in order to make it running? I would be very grateful.
I use LFS so may have dev/build type dependencies all ready present that you may or may not need to install from your distro.
You will need to be running the 9-10 version of fglrx.
download -
untar and cd into xvba-video-0.5.1.i686 then as root/sudo
Code:cp -a usr/lib/va/ /usr/lib/
Code:for p in debian/patches/*.patch; do patch -p1 < $p; done autoreconf ./configure --prefix=/usr make
Code:make install
vainfo
hopefully it will say something other than error.
cd ../ untar and cd into mplayer-vaapi-20091106
to build it -
Code:./checkout-patch-build.sh
Code:cd mplayer-vaapi ./mplayer -vo vaapi:gl -va vaapi /path/to/some/vid.xyz
This vid (40 meg) worked well for me. Mpeg2 didn't work and some other h264 had some artifacts.
Comment
-
ALMOST THEREI tend to say... Everything went smoothly, I heard even one sec of sound initialized but then:
Code:./mplayer -vo vaapi:gl -va vaapi /home/filipek/Download/BBCHD-P-40.ts MPlayer SVN-r29834-4.4.1 (C) 2000-2009 MPlayer Team mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing /home/filipek/Download/BBCHD-P-40.ts. TS file format detected. PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10) PROGRAM_ID=6903 (0x1AF7), PMT_PID: 261(0x105) PROGRAM_ID=6904 (0x1AF8), PMT_PID: 262(0x106) PROGRAM_ID=6940 (0x1B1C), PMT_PID: 256(0x100) PROGRAM_ID=6945 (0x1B21), PMT_PID: 257(0x101) PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10) PROGRAM_ID=6903 (0x1AF7), PMT_PID: 261(0x105) PROGRAM_ID=6904 (0x1AF8), PMT_PID: 262(0x106) PROGRAM_ID=6940 (0x1B1C), PMT_PID: 256(0x100) PROGRAM_ID=6945 (0x1B21), PMT_PID: 257(0x101) PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10) PROGRAM_ID=6903 (0x1AF7), PMT_PID: 261(0x105) PROGRAM_ID=6904 (0x1AF8), PMT_PID: 262(0x106) PROGRAM_ID=6940 (0x1B1C), PMT_PID: 256(0x100) PROGRAM_ID=6945 (0x1B21), PMT_PID: 257(0x101) PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10) PROGRAM_ID=6903 (0x1AF7), PMT_PID: 261(0x105) PROGRAM_ID=6904 (0x1AF8), PMT_PID: 262(0x106) PROGRAM_ID=6940 (0x1B1C), PMT_PID: 256(0x100) PROGRAM_ID=6945 (0x1B21), PMT_PID: 257(0x101) PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10) PROGRAM_ID=6903 (0x1AF7), PMT_PID: 261(0x105) PROGRAM_ID=6904 (0x1AF8), PMT_PID: 262(0x106) PROGRAM_ID=6940 (0x1B1C), PMT_PID: 256(0x100) PROGRAM_ID=6945 (0x1B21), PMT_PID: 257(0x101) PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10) PROGRAM_ID=6903 (0x1AF7), PMT_PID: 261(0x105) PROGRAM_ID=6904 (0x1AF8), PMT_PID: 262(0x106) PROGRAM_ID=6940 (0x1B1C), PMT_PID: 256(0x100) PROGRAM_ID=6945 (0x1B21), PMT_PID: 257(0x101) PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10) PROGRAM_ID=6903 (0x1AF7), PMT_PID: 261(0x105) PROGRAM_ID=6904 (0x1AF8), PMT_PID: 262(0x106) PROGRAM_ID=6940 (0x1B1C), PMT_PID: 256(0x100) PROGRAM_ID=6945 (0x1B21), PMT_PID: 257(0x101) PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10) PROGRAM_ID=6903 (0x1AF7), PMT_PID: 261(0x105) PROGRAM_ID=6904 (0x1AF8), PMT_PID: 262(0x106) PROGRAM_ID=6940 (0x1B1C), PMT_PID: 256(0x100) PROGRAM_ID=6945 (0x1B21), PMT_PID: 257(0x101) VIDEO H264(pid=2318) AUDIO A52(pid=2319) NO SUBS (yet)! PROGRAM N. 6940 ID_VIDEO_ID=2318 ID_AUDIO_ID=2319 ID_AID_2319_LANG=eng PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10) PROGRAM_ID=6903 (0x1AF7), PMT_PID: 261(0x105) PROGRAM_ID=6904 (0x1AF8), PMT_PID: 262(0x106) PROGRAM_ID=6940 (0x1B1C), PMT_PID: 256(0x100) PROGRAM_ID=6945 (0x1B21), PMT_PID: 257(0x101) PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10) PROGRAM_ID=6903 (0x1AF7), PMT_PID: 261(0x105) PROGRAM_ID=6904 (0x1AF8), PMT_PID: 262(0x106) PROGRAM_ID=6940 (0x1B1C), PMT_PID: 256(0x100) PROGRAM_ID=6945 (0x1B21), PMT_PID: 257(0x101) PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10) PROGRAM_ID=6903 (0x1AF7), PMT_PID: 261(0x105) PROGRAM_ID=6904 (0x1AF8), PMT_PID: 262(0x106) PROGRAM_ID=6940 (0x1B1C), PMT_PID: 256(0x100) PROGRAM_ID=6945 (0x1B21), PMT_PID: 257(0x101) FPS seems to be: 25.000000 ID_FILENAME=/home/filipek/Download/BBCHD-P-40.ts ID_DEMUXER=mpegts ID_VIDEO_FORMAT=0x10000005 ID_VIDEO_BITRATE=0 ID_VIDEO_WIDTH=0 ID_VIDEO_HEIGHT=0 ID_VIDEO_FPS=25.000 ID_VIDEO_ASPECT=0.0000 ID_AUDIO_FORMAT=8192 ID_AUDIO_BITRATE=0 ID_AUDIO_RATE=0 ID_AUDIO_NCH=0 ID_LENGTH=0.00 ID_SEEKABLE=1 ID_CHAPTERS=0 [vo_vaapi] Using OpenGL rendering libva: libva version 0.31.0-sds3 libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so libva: va_openDriver() returns 0 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family [VD_FFMPEG] VA API accelerated codec. [VD_FFMPEG] Trying pixfmt=0. Unsupported PixelFormat -1 Movie-Aspect is undefined - no prescaling applied. VO: [vaapi] 64x64 => 64x64 H.264 VA API Acceleration [vo_vaapi] Using 1:1 VA surface mapping [VD_FFMPEG] XVMC-accelerated MPEG-2. [VD_FFMPEG] XVMC-accelerated MPEG-2. Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ID_VIDEO_CODEC=ffh264 ========================================================================== Opening audio decoder: [liba52] AC3 decoding with liba52 Using SSE optimized IMDCT transform Using MMX optimized resampler AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000) ID_AUDIO_BITRATE=384000 ID_AUDIO_RATE=48000 ID_AUDIO_NCH=2 Selected audio codec: [a52] afm: liba52 (AC3-liba52) ========================================================================== AO: [oss] 48000Hz 2ch s16le (2 bytes per sample) ID_AUDIO_CODEC=a52 Starting playback... PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10) PROGRAM_ID=6903 (0x1AF7), PMT_PID: 261(0x105) PROGRAM_ID=6904 (0x1AF8), PMT_PID: 262(0x106) PROGRAM_ID=6940 (0x1B1C), PMT_PID: 256(0x100) PROGRAM_ID=6945 (0x1B21), PMT_PID: 257(0x101) [VD_FFMPEG] XVMC-accelerated MPEG-2. Movie-Aspect is 1.82:1 - prescaling to correct movie aspect. ID_VIDEO_ASPECT=1.8182 VO: [vaapi] 1440x1080 => 1964x1080 H.264 VA API Acceleration [h264 @ 0x89d0a80]number of reference frames exceeds max (probably corrupt input), discarding one MPlayer interrupted by signal 11 in module: flip_page ID_SIGNAL=11 - MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash. - MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and won't help unless you provide this information when reporting a possible bug.
Does the log ring any bells? We are close!!!
Just for the info to be complete. My current status:
Code:fglrxinfo display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: ATI Radeon HD 3850 OpenGL version string: 2.1.9026
Code:vainfo libva: libva version 0.31.0-sds3 libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so libva: va_openDriver() returns 0 vainfo: VA API version: 0.31 vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA API - 0.5.1 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointIDCT VAProfileMPEG2Main : VAEntrypointIDCT VAProfileH264High : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD
Last edited by Filipek; 24 November 2009, 05:35 PM.
Comment
Comment