Portál AbcLinuxu, 7. května 2025 20:02
-vo vaapi
Systém Ubuntu 12.04, MPlayer mám z Launchpadu, VLC distribuční. Prostředí Unity 3D, systém plně aktualizován. Paměti mám 6 GiB, disk je SSD takže tady úzké hrdlo nebude gum@edge:~$ mplayer -vo vaapi tmp/1080p-test.mp4 MPlayer UNKNOWN-4.6 (C) 2000-2012 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 tmp/1080p-test.mp4. libavformat version 53.22.0 (internal) libavformat file format detected. [lavf] stream 0: video (h264), -vid 0 [lavf] stream 1: audio (aac), -aid 0, -alang eng VIDEO: [H264] 1920x1080 24bpp 29.970 fps 8003.8 kbps (977.0 kbyte/s) Clip info: major_brand: isom minor_version: 512 compatible_brands: isomiso2avc1mp41 creation_time: 1970-01-01 00:00:00 encoder: Lavf52.31.0 Load subtitles in tmp/ libva: VA-API version 0.32.0 libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva: va_openDriver() returns 0 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 53.39.1 (internal) Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 2 ch, s16le, 125.4 kbit/8.16% (ratio: 15676->192000) Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio)) ========================================================================== AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... Unsupported PixelFormat 61 [VD_FFMPEG] Trying pixfmt=1. Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. VO: [vaapi] 1920x1080 => 1920x1080 H.264 VA-API Acceleration [VD_FFMPEG] XVMC-accelerated MPEG-2. A: 4.9 V: 1.9 A-V: 2.944 ct: -0.100 0/ 0 119% 143% 1.4% 50 0Výstup z VLC:
gum@edge:~$ cvlc tmp/1080p-test.mp4 VLC media player 2.0.1 Twoflower (revision 2.0.1-0-gf432547) [0x2318248] dummy interface: using the dummy interface module... libva: VA-API version 0.32.0 libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva: va_openDriver() returns 0 [0x7fa578c02fe8] avcodec decoder: Using VA API version 0.32 for hardware decoding. [h264 @ 0x7fa5792c8100] Cannot parallelize deblocking type 1, decoding such frames in sequential orderVýstup z Vainfo:
gum@edge:~$ vainfo libva: VA-API version 0.32.0 libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva: va_openDriver() returns 0 vainfo: VA-API version: 0.32 (libva 1.0.15) vainfo: Driver version: Intel i965 driver - 1.0.15 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileH264Baseline : VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264High : VAEntrypointVLDNenapadá někoho, co s tím?
a taky zkus nejnovější verze VAAPI, ty co máš, jsou zastaralé, protože v gitu jsou stále nějaké vylepšení pro platformy sandy/ivy nebo co to máš .
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.