לולי : |
עליך להתקין vdpau ולוודא שאתה משתמש בקודקים המתאימים . קרא כאן:
http://linmagazine.co.il/hacking/sml/2010/09/14/sml/pure-video#.VlqUPyD6xiI http://linmagazine.co.il/node/view/49868#.VlqU0CD6xiI יש שם עוד רשימות אחדות בנושא, שמתייחסות לדביאן ונגזרותיו ול VLC. |
קוד: |
apt search vdpau
p libvdpau-dev - Video Decode and Presentation API for Unix p libvdpau-doc - Video Decode and Presentation API for Unix p libvdpau-va-gl1 - VDPAU driver with OpenGL/VAAPI backend i libvdpau1 - Video Decode and Presentation API for Unix p libvdpau1-dbg - Video Decode and Presentation API for Unix p mesa-vdpau-drivers - Mesa VDPAU video acceleration drivers p mesa-vdpau-drivers-dbg - Debugging symbols for the Mesa VDPAU video p nvidia-vdpau-driver - Video Decode and Presentation API for Unix v vdpau-driver - p vdpau-va-driver - VDPAU-based backend for VA API v vdpau-video - p vdpauinfo - Video Decode and Presentation API for Unix |
קוד: |
$ vdpauinfo
display: :0 screen: 0 API version: 1 Information string: NVIDIA VDPAU Driver Shared Library 340.65 Tue Dec 2 09:06:17 PST 2014 Video surface: name width height types ------------------------------------------- 420 4096 4096 NV12 YV12 422 4096 4096 UYVY YUYV Decoder capabilities: name level macbs width height ------------------------------------------- MPEG1 0 65536 4080 4080 MPEG2_SIMPLE 3 65536 4080 4080 MPEG2_MAIN 3 65536 4080 4080 H264_MAIN 41 65536 4096 4096 H264_HIGH 41 65536 4096 4096 VC1_SIMPLE 1 8190 2048 2048 VC1_MAIN 2 8190 2048 2048 VC1_ADVANCED 4 8190 2048 2048 MPEG4_PART2_SP 3 8192 2048 2048 MPEG4_PART2_ASP 5 8192 2048 2048 DIVX4_QMOBILE 0 8192 2048 2048 DIVX4_MOBILE 0 8192 2048 2048 DIVX4_HOME_THEATER 0 8192 2048 2048 DIVX4_HD_1080P 0 8192 2048 2048 DIVX5_QMOBILE 0 8192 2048 2048 DIVX5_MOBILE 0 8192 2048 2048 DIVX5_HOME_THEATER 0 8192 2048 2048 DIVX5_HD_1080P 0 8192 2048 2048 Output surface: name width height nat types ---------------------------------------------------- B8G8R8A8 16384 16384 y Y8U8V8A8 V8U8Y8A8 R10G10B10A2 16384 16384 y Y8U8V8A8 V8U8Y8A8 Bitmap surface: name width height ------------------------------ B8G8R8A8 16384 16384 R8G8B8A8 16384 16384 R10G10B10A2 16384 16384 B10G10R10A2 16384 16384 A8 16384 16384 Video mixer: feature name sup ------------------------------------ DEINTERLACE_TEMPORAL y DEINTERLACE_TEMPORAL_SPATIAL y INVERSE_TELECINE y NOISE_REDUCTION y SHARPNESS y LUMA_KEY y HIGH QUALITY SCALING - L1 y HIGH QUALITY SCALING - L2 - HIGH QUALITY SCALING - L3 - HIGH QUALITY SCALING - L4 - HIGH QUALITY SCALING - L5 - HIGH QUALITY SCALING - L6 - HIGH QUALITY SCALING - L7 - HIGH QUALITY SCALING - L8 - HIGH QUALITY SCALING - L9 - parameter name sup min max ----------------------------------------------------- VIDEO_SURFACE_WIDTH y 1 4096 VIDEO_SURFACE_HEIGHT y 1 4096 CHROMA_TYPE y LAYERS y 0 4 attribute name sup min max ----------------------------------------------------- BACKGROUND_COLOR y CSC_MATRIX y NOISE_REDUCTION_LEVEL y 0.00 1.00 SHARPNESS_LEVEL y -1.00 1.00 LUMA_KEY_MIN_LUMA y LUMA_KEY_MAX_LUMA y |
קוד: |
~/Videos/HD/MONGOL> mplayer -vc ffvc1vdpau -vo vdpau 00000.m2ts MPlayer -4.8 (C) 2000-2015 MPlayer Team Playing 00000.m2ts. libavformat version 56.40.101 (external) TS file format detected. VIDEO VC1(pid=4113) AUDIO A52(pid=4352) NO SUBS (yet)! PROGRAM N. 1 Searching for VC1 sequence header... found VIDEO: VC-1 1920x1080, 23.976 fps, header len: 33 Load subtitles in ./ ========================================================================== Forced video codec: ffvc1vdpau Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 56.60.100 (external) Movie-Aspect is undefined - no prescaling applied. VO: [vdpau] 1920x1080 => 1920x1080 VC1 VDPAU acceleration [zoom] Selected video codec: [ffvc1vdpau] vfm: ffmpeg (FFmpeg WVC1 (VDPAU)) ========================================================================== ========================================================================== Trying to force audio codec driver family libmad... Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 2 ch, floatle, 640.0 kbit/20.83% (ratio: 80000->384000) Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3) ========================================================================== AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample) Starting playback... Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. VO: [vdpau] 1920x1080 => 1920x1080 VC1 VDPAU acceleration [zoom] A: 26.1 V: 26.2 A-V: -0.045 ct: -0.084 347/347 22% 0% 0.9% 1 0 |