bylee20 / bomi

bomi - a powerful and easy-to-use multimedia player
http://bomi-player.github.io
Other
425 stars 89 forks source link

Image glitches with VA-API acceleration enabled #147

Closed zeule closed 9 years ago

zeule commented 9 years ago

When playing H264 video with High@L4.0 profile, cmplayer shows sporadic glitches on screen (green squares). Mpv plays these video fine (with va-api acceleration).

Here is partial mediainfo:

Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.0
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 16 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Bit rate                                 : 2 200 Kbps
Width                                    : 720 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 3:2
Frame rate mode                          : Constant
Frame rate                               : 29.970 fps
Standard                                 : NTSC
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.212
Writing library                          : x264 core 142
Encoding settings                        : cabac=1 / ref=16 / deblock=1:-2:-2 / analyse=0x3:0x133 / me=tesa / subme=11 / psy=1 / psy_rd=1.00:0.25 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=6,6 / fast_pskip=0 / chroma_qp_offset=-4 / threads=12 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=16 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=2200 / ratetol=1.0 / qcomp=0.80 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.10 / aq=1:0.50

mpv -v output:

[cplayer] mpv git-8b2798c (C) 2000-2014 mpv/MPlayer/mplayer2 projects
[cplayer]  built on UNKNOWN                                                                                                             
[cplayer] ffmpeg library versions:                                                                                                      
[cplayer]    libavutil       54.7.100                                                                                                   
[cplayer]    libavcodec      56.1.100                                                                                                   
[cplayer]    libavformat     56.4.101                                                                                                   
[cplayer]    libswscale      3.0.100                                                                                                    
[cplayer]    libavfilter     5.1.100                                                                                                    
[cplayer]    libavresample   2.1.0                                                                                                      
[cplayer]                                                                                                                               
[global] search dirs: /home/eugene/.mpv /etc/mpv                                                                                        
[global] search dirs: /home/eugene/.mpv /etc/mpv                                                                                        
[global] config path: 'encoding-profiles.conf' -> '/etc/mpv/encoding-profiles.conf'                                                     
[cplayer] Reading config file /etc/mpv/encoding-profiles.conf                                                                           
[cplayer]                                                                                                                               
[global] search dirs: /home/eugene/.mpv /etc/mpv                                                                                        
[global] config file: 'config'                                                                                                          
[global]     -> '/home/eugene/.mpv/config'                                                                                              
[cplayer] Reading config file /home/eugene/.mpv/config                                                                                  
[cplayer]                                                                                                                               
[cplayer] Setting option 'vo' = 'vaapi' (flags = 4)                                                                                     
[global] search dirs: /home/eugene/.mpv /etc/mpv                                                                                        
[global] config file: 'mpv.conf'                                                                                                        
[cplayer] Setting option 'v' = '' (flags = 8)                                                                                           
[cplayer] Configuration: /var/portage/tmp/portage/media-video/mpv-9999/work/mpv-9999/waf --prefix=/usr --libdir=/usr/lib64 --disable-build-date --disable-optimize --disable-debug-build --disable-sdl1 --disable-sdl2 --disable-rsound --disable-vapoursynth --enable-encoding --disable-joystick --enable-libbluray --enable-libsmbclient --disable-lirc --enable-lua --lua=luajit --disable-pdf-build --enable-vf-dlopen-filters --disable-cdda --enable-dvdread --enable-dvdnav --enable-enca --enable-iconv --enable-libass --enable-libguess --enable-libmpv-shared --disable-dvb --disable-pvr --enable-libv4l2 --enable-tv --enable-tv-v4l2 --enable-mpg123 --enable-jpeg --disable-caca --enable-libpostproc --enable-alsa --disable-jack --disable-ladspa --disable-portaudio --enable-libbs2b --disable-openal --disable-oss-audio --enable-pulse --enable-shm --enable-x11 --enable-xext --enable-xrandr --enable-vaapi --enable-vdpau --disable-wayland --enable-xinerama --enable-xv --enable-gl --enable-lcms2 --enable-xss --confdir=/etc/mpv --mandir=/usr/share/man --docdir=/usr/share/doc/mpv-9999 --enable-zsh-comp --zshdir=/usr/share/zsh/site-functions configure                                                                               
[cplayer] Command line: 'mpv' '-v' ' video.mkv'                                                                            
[global] search dirs: /home/eugene/.mpv /etc/mpv                                                                                        
[global] config file: 'input.conf'                                                                                                      
[input] Falling back on default (hardcoded) input config                                                                                
[osc] Loading script @osc.lua...                                                                                                        
[global] search dirs: /home/eugene/.mpv /etc/mpv                                                                                        
[global] config file: 'lua'                                                                                                             
[osc] loading mp.defaults                                                                                                               
[osc] loading @osc.lua                                                                                                                  
[global] search dirs: /home/eugene/.mpv /etc/mpv                                                                                        
[global] config path: 'lua-settings/osc.conf' -> '(NULL)'                                                                               
[osc] lua-settings/osc.conf not found.                                                                                                  
[cplayer] Done loading @osc.lua.                                                                                                        
[global] search dirs: /home/eugene/.mpv /etc/mpv                                                                                        
[global] config file: 'lua'                                                                                                             
[global] search dirs: /home/eugene/.mpv /etc/mpv                                                                                        
[global] config path: 'watch_later/4FAB1EF86590256464918E8E1B311BF5' -> '(NULL)'                                                        
[global] search dirs: /home/eugene/.mpv /etc/mpv                                                                                        
[global] config path: 'watch_later' -> '(NULL)'                                                                                         
[cplayer] Auto-loading profile 'vo.vaapi'
[cplayer] Setting option 'hwdec' = 'vaapi' (flags = 52)
[global] search dirs: /home/eugene/.mpv /etc/mpv                                                                                        
[global] config path: 'watch_later/4FAB1EF86590256464918E8E1B311BF5' -> '(NULL)'                                                        
[global] search dirs: /home/eugene/.mpv /etc/mpv                                                                                        
[global] config path: 'watch_later' -> '(NULL)'                                                                                         
[cplayer] Playing: video.mkv
[file] Opened: video.mkv
[demux] Trying demuxer: disc (force-level: normal)                                                                                      
[demux] Trying demuxer: edl (force-level: normal)                                                                                       
[demux] Trying demuxer: cue (force-level: normal)                                                                                       
[demux] Trying demuxer: rawaudio (force-level: normal)                                                                                  
[demux] Trying demuxer: rawvideo (force-level: normal)                                                                                  
[demux] Trying demuxer: tv (force-level: normal)                                                                                        
[demux] Trying demuxer: libass (force-level: normal)                                                                                    
[demux] Trying demuxer: mkv (force-level: normal)                                                                                       
[mkv] Found the head...                                                                                                                 
[mkv] + a segment...                                                                                                                    
[mkv] /---- [ parsing seek head ] ---------                                                                                             
[mkv] Element 0x1549a966 at 282.                                                                                                        
[mkv] Element 0x1654ae6b at 363.                                                                                                        
[mkv] Element 0x1254c367 at 573.                                                                                                        
[mkv] Element 0x1c53bb6b at 710652802.                                                                                                  
[mkv] \---- [ parsing seek head ] ---------                                                                                             
[mkv] |+ segment information...                                                                                                         
[mkv] | + timecode scale: 1000000                                                                                                       
[mkv] | + duration: 2441.438s                                                                                                           
[mkv] | + segment uid db 0d 54 f6 d4 be 22 8b 34 76 54 60 6b 9b 15 5e                                                                   
[mkv] |+ segment tracks...                                                                                                              
[mkv] Error parsing element Tracks
[mkv] | + a track...
[mkv] |  + Track number: 1                                                                                                              
[mkv] |  + Track type: Video                                                                                                            
[mkv] |  + Video track                                                                                                                  
[mkv] |   + Display width: 720                                                                                                          
[mkv] |   + Display height: 480                                                                                                         
[mkv] |   + Pixel width: 720                                                                                                            
[mkv] |   + Pixel height: 480                                                                                                           
[mkv] |  + Codec ID: V_MPEG4/ISO/AVC                                                                                                    
[mkv] |  + CodecPrivate, length 44                                                                                                      
[mkv] |  + Language: und                                                                                                                
[mkv] |  + Default duration: 33.367ms ( = 29.970 fps)                                                                                   
[mkv] | + a track...                                                                                                                    
[mkv] |  + Track number: 2                                                                                                              
[mkv] |  + Track type: Audio                                                                                                            
[mkv] |  + Audio track                                                                                                                  
[mkv] |   + Sampling frequency: 48000.000000                                                                                            
[mkv] |   + Channels: 2                                                                                                                 
[mkv] |  + Codec ID: A_AC3                                                                                                              
[mkv] |  + Language: unknown                                                                                                            
[mkv] |+ found cluster                                                                                                                  
[mkv] Deferring reading cues.                                                                                                           
[mkv] All headers are parsed!                                                                                                           
[mkv] Aspect: 1.500000                                                                                                                  
[demux] Detected file format: Matroska                                                                                                  
[mkv] Replaygain tags not found                                                                                                         
[find_subfiles] Load subtitles in .                                                                                                     
[global] search dirs: /home/eugene/.mpv /etc/mpv                                                                                        
[global] config path: 'sub/' -> '(NULL)'                                                                                                
[cplayer] [stream] Video (+) --vid=1 (h264)
[cplayer] [stream] Audio (+) --aid=1 --alang=unknown (*) (ac3)
[cplayer] File tags:
[cplayer]  ENCODER: Lavf54.63.104
[cplayer] [V] fourcc:0x31637661  size:720x480  fps:29.970
[vo/vaapi/x11] X11 opening display: :0                                                                                                  
[vo/vaapi/x11] X11 running at 3840x1200 (":0" => local display)                                                                         
[vo/vaapi/x11] Detected wm supports NetWM.                                                                                              
[vo/vaapi/x11] Detected wm supports FULLSCREEN state.                                                                                   
[vo/vaapi/x11] Detected wm supports ABOVE state.                                                                                        
[vo/vaapi/x11] Detected wm supports BELOW state.                                                                                        
[vo/vaapi/x11] Detected wm supports STAYS_ON_TOP state.                                                                                 
[vo/vaapi/x11] Display 0 (eDP1): [0, 0, 1920, 1080] @ 60.010457 FPS                                                                     
[vo/vaapi/x11] Display 1 (HDMI2): [1920, 0, 3840, 1200] @ 59.950171 FPS                                                                 
libva info: VA-API version 0.36.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'i965'
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_36
libva info: va_openDriver() returns 0
[vo/vaapi/vaapi] VA API version 0.36
[vo/vaapi/vaapi] 8 image formats available:                                                                                             
[vo/vaapi/vaapi]   YV12                                                                                                                 
[vo/vaapi/vaapi]   I420                                                                                                                 
[vo/vaapi/vaapi]   NV12                                                                                                                 
[vo/vaapi/vaapi]   YUY2                                                                                                                 
[vo/vaapi/vaapi]   UYVY                                                                                                                 
[vo/vaapi/vaapi]   422H                                                                                                                 
[vo/vaapi/vaapi]   RGBX                                                                                                                 
[vo/vaapi/vaapi]   BGRX                                                                                                                 
[vo/vaapi] 6 subpicture formats available:                                                                                              
[vo/vaapi]   AI44, flags 0x6                                                                                                            
[vo/vaapi]   IA44, flags 0x6                                                                                                            
[vo/vaapi]   IA88, flags 0x6                                                                                                            
[vo/vaapi]   AI88, flags 0x6                                                                                                            
[vo/vaapi]   BGRA, flags 0x6                                                                                                            
[vo/vaapi]   RGBA, flags 0x6                                                                                                            
[vo/vaapi] Assuming 1000.000000 FPS for framedrop.                                                                                      
[vd] Codec list:                                                                                                                        
[vd]     lavc:h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10                                                                          
[vd]     lavc:h264_vdpau (h264) - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)                                        
[vd] Opening video decoder lavc:h264                                                                                                    
[vd] Trying to use hardware decoding.
[vd] Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc:h264]
[vo/vaapi/x11] Disabling screensaver.                                                                                                   
[ad] Codec list:                                                                                                                        
[ad]     lavc:ac3 - ATSC A/52A (AC-3)                                                                                                   
[ad]     lavc:ac3_fixed (ac3) - ATSC A/52A (AC-3)                                                                                       
[ad] Opening audio decoder lavc:ac3                                                                                                     
[ad] Selected audio codec: ATSC A/52A (AC-3) [lavc:ac3]                                                                                 
[cplayer] Starting playback...                                                                                                          
[af] Audio filter chain:                                                                                                                
[af]   [in] 48000Hz stereo 2ch floatp                                                                                                   
[af]   [out] 48000Hz stereo 2ch floatp                                                                                                  
[af]   [ao] 48000Hz stereo 2ch floatp                                                                                                   
[ao/pulse] requested format: 48000 Hz, stereo channels, floatp                                                                          
[ao/pulse] Library version: 5.0.0                                                                                                       
[ao/pulse] Proto: 29                                                                                                                    
[ao/pulse] Server proto: 4294967295                                                                                                     
[ao/pulse] device buffer: 6000 samples.                                                                                                 
[ao/pulse] using soft-buffer of 9600 samples.                                                                                           
[cplayer] AO: [pulse] 48000Hz stereo 2ch float
[cplayer] AO: Description: PulseAudio audio output
[af] Adding filter lavrresample                                                                                                         
[af] Audio filter chain:                                                                                                                
[af]   [in] 48000Hz stereo 2ch floatp                                                                                                   
[af]   [lavrresample] 48000Hz stereo 2ch float                                                                                          
[af]   [out] 48000Hz stereo 2ch float                                                                                                   
[af]   [ao] 48000Hz stereo 2ch float                                                                                                    
[af] Removing filter lavrresample                                                                                                       
[af] Adding filter lavrresample                                                                                                         
[af] Audio filter chain:                                                                                                                
[af]   [in] 48000Hz stereo 2ch floatp                                                                                                   
[af]   [lavrresample] 48000Hz stereo 2ch float                                                                                          
[af]   [out] 48000Hz stereo 2ch float                                                                                                   
[af]   [ao] 48000Hz stereo 2ch float                                                                                                    
[vd] Pixel formats supported by decoder: vaapi_vld vdpau yuv420p                                                                        
[vaapi] Using profile 'VAProfileH264High'.                                                                                              
[vd] Pixel formats supported by decoder: vaapi_vld vdpau yuv420p                                                                        
[vd] VIDEO:  720x480  29.970 fps    0.0 kbps ( 0.0 kB/s)                                                                                
[vd] VDec: vo config request - 720 x 480 (vaapi)                                                                                        
[vd] VO Config (720x480->720x480,0x429)                                                                                                 
[vf] Video filter chain:                                                                                                                
[vf]  [vd] 720x480 vaapi Autoselect/Autoselect CL=mpeg2/4/h264                                                                          
[vf]  [in] 720x480 vaapi BT.601 (SD)/TV CL=mpeg2/4/h264                                                                                 
[vf]  [out] 720x480 vaapi BT.601 (SD)/TV CL=mpeg2/4/h264                                                                                
[cplayer] VO: [vaapi] 720x480 vaapi
[cplayer] VO: Description: VA API with X11
[vo/vaapi/x11] Current display FPS: 60.010457                                                                                           
[vo/vaapi] Window size: 720x480                                                                                                         
[vo/vaapi] Video source: 720x480 (720x480)                                                                                              
[vo/vaapi] Video display: (0, 0) 720x480 -> (0, 0) 720x480                                                                              
[vo/vaapi] Video scale: 1.000000/1.000000                                                                                               
[vo/vaapi] OSD borders: l=0 t=0 r=0 b=0                                                                                                 
[vo/vaapi] Video borders: l=0 t=0 r=0 b=0                                                                                               
[vo/vaapi] Assuming 60.010457 FPS for framedrop.                                                                                        
[global] search dirs: /home/eugene/.mpv /etc/mpv                                                                                        
[global] config path: 'fonts' -> '(NULL)'                                                                                               
[global] search dirs: /home/eugene/.mpv /etc/mpv                                                                                        
[global] config path: 'subfont.ttf' -> '(NULL)'                                                                                         
[global] search dirs: /home/eugene/.mpv /etc/mpv                                                                                        
[global] config path: 'fonts.conf' -> '(NULL)'                                                                                          
[osd/libass] Setting up fonts...                                                                                                        
[osd/libass] Done.                                                                                                                      
[global] search dirs: /home/eugene/.mpv /etc/mpv                                                                                        
[global] config path: 'fonts' -> '(NULL)'                                                                                               
[global] search dirs: /home/eugene/.mpv /etc/mpv                                                                                        
[global] config path: 'subfont.ttf' -> '(NULL)'                                                                                         
[global] search dirs: /home/eugene/.mpv /etc/mpv
[global] config path: 'fonts.conf' -> '(NULL)'
[osd/libass] Setting up fonts...
[osd/libass] Done.
[global] search dirs: /home/eugene/.mpv /etc/mpv
[global] config path: 'fonts' -> '(NULL)'
[global] search dirs: /home/eugene/.mpv /etc/mpv
[global] config path: 'subfont.ttf' -> '(NULL)'
[global] search dirs: /home/eugene/.mpv /etc/mpv
[global] config path: 'fonts.conf' -> '(NULL)'
[osd/libass] Setting up fonts...
[osd/libass] Done.
[statusline] AV: 00:00:38 / 00:40:41 (1%) A-V:  0.000
[cplayer] Run command: quit, flags=9, args=[0]
[cplayer] EOF code: 6  
[cplayer] 
[ad] Uninit audio filters...
[af] Removing filter lavrresample 
[ad] Uninit audio decoder.
[vd] Uninit video.
[cplayer] 
[cplayer] Exiting... (Quit)
[osc] Exiting...
[ao/pulse] draining...
[vo/vaapi/x11] Enabling screensaver.
[vo/vaapi/x11] uninit ...

cmplayer --debug output:

$ cmplayer --debug video.mkv
[Translator] Cannot find translations for Qt, qt_en_US in /usr/share/qt5/translations
[OpenGL] Check OpenGL stuffs.
[OpenGL] Version: 3.0
[OpenGL] Available FBO texture format: OGL::RGBA16_UNorm
[OpenGL] Available FBO texture format: OGL::RGBA8_UNorm
[OpenGL] Available extensions: GL_ARB_texture_rg, GL_ARB_texture_float, GL_KHR_debug, GLX_SGI_swap_control, GLX_MESA_swap_control, GL_ARB_framebuffer_object
libva info: VA-API version 0.36.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'i965'
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_36
libva info: va_openDriver() returns 0
[VA-API] VA-API is initialized.
[Engine] Create audio/video plugins
[Engine] Make registrations and connections
[Engine] Initialized
[Engine] Start playloop thread
[Engine] Debug property unavailable: Couldn't get property 'time-pos'.
[Engine] Debug property unavailable: Couldn't get property 'length'.
[Engine] Debug property unavailable: Couldn't get property 'avsync'.
[Engine] Debug property unavailable: Couldn't get property 'seekable'.
[Engine] Debug property unavailable: Couldn't get property 'chapter'.
[Engine] Debug property unavailable: Couldn't get property 'aid'.
[Engine] Debug property unavailable: Couldn't get property 'vid'.
[Engine] Debug property unavailable: Couldn't get property 'sid'.
[Engine] Debug property unavailable: Couldn't get property 'metadata'.
[Engine] Debug property unavailable: Couldn't get property 'length'.
[Engine] Debug property unavailable: Couldn't get property 'media-title'.
[Engine] Debug property unavailable: Couldn't get property 'video-codec'.
[Engine] Debug property unavailable: Couldn't get property 'fps'.
[Engine] Debug property unavailable: Couldn't get property 'width'.
[Engine] Debug property unavailable: Couldn't get property 'height'.
[Engine] Debug property unavailable: Couldn't get property 'video-bitrate'.
[Engine] Debug property unavailable: Couldn't get property 'video-format'.
[Engine] Debug property unavailable: Couldn't get property 'video-params'.
[Engine] Debug property unavailable: Couldn't get property 'audio-codec'.
[Engine] Debug property unavailable: Couldn't get property 'audio-format'.
[Engine] Debug property unavailable: Couldn't get property 'audio-bitrate'.
[Engine] Debug property unavailable: Couldn't get property 'audio-samplerate'.
[Engine] Debug property unavailable: Couldn't get property 'audio-channels'.
[mpv/input] Falling back on default (hardcoded) input config
[mpv/global] config file: 'lua'
[mpv/cplayer] Run command: af, flags=0, args=[set, dummy:address=38549232:use_scaler=1:layout=3]
service is "org.kde.StatusNotifierItem-4641-1"
Registering a client interface to the KStatusNotifierWatcher
[Main] Show MainWindow.
[Main] Start main event loop.
[Engine] Debug property unavailable: Couldn't get property 'hwdec'.
[OpenGL/SG] OpenGL debug logger is running.
[OpenGL/SG] Logger: Recompiling vertex shader for program 9 (API/Medium/Performance)
[OpenGL/SG] Logger: vertex color clamping 1->0 (API/Medium/Performance)
[Engine] Load: /home/eugene/video/video.mkv (audio-device="auto",hwdec=vaapi,hwdec-codecs="mpeg1video,mpeg2video,mpeg4,h264,vc1,wmv3",start=2061.86,deinterlace=yes,volume=10,mute=no,audio-delay=0,sub-delay=0,sub-text-color=#ffffffff,sub-text-font="Liberation Sans",sub-text-font-size=38.4,sub-text-border-size=1.92,sub-text-border-color=#ff000000,sub-text-shadow-color=#7f000000,sub-text-shadow-offset=5.43058,cache=no,pause=no,audio-channels="stereo",af="dummy:address=38549232:use_scaler=1:layout=3",vf="noformat:address=38467040:swdec_deint=Yadif|1|CPU:hwdec_deint=LinearBob|1|OpenGL")
[mpv/cplayer] Run command: loadfile, flags=0, args=[/home/eugene/video/video.mkv, replace, audio-device=auto,hwdec=vaapi,hwdec-codecs=mpeg1video,mpeg2video,mpeg4,h264,vc1,wmv3,start=2061.86,deinterlace=yes,volume=10,mute=no,audio-delay=0,sub-delay=0,sub-text-color=#ffffffff,sub-text-font=Liberation Sans,sub-text-font-size=38.4,sub-text-border-size=1.92,sub-text-border-color=#ff000000,sub-text-shadow-color=#7f000000,sub-text-shadow-offset=5.43058,cache=no,pause=no,audio-channels=stereo,af=dummy:address=38549232:use_scaler=1:layout=3,vf=noformat:address=38467040:swdec_deint=Yadif|1|CPU:hwdec_deint=LinearBob|1|OpenGL]
[Engine] Debug property unavailable: Couldn't get property 'time-pos'.
[Engine] Debug property unavailable: Couldn't get property 'time-pos'.
[Engine] Debug property unavailable: Couldn't get property 'length'.
[Engine] Debug property unavailable: Couldn't get property 'avsync'.
[Engine] Debug property unavailable: Couldn't get property 'seekable'.
[Engine] Debug property unavailable: Couldn't get property 'chapter'.
[Engine] Debug property unavailable: Couldn't get property 'aid'.
[Engine] Debug property unavailable: Couldn't get property 'vid'.
[Engine] Debug property unavailable: Couldn't get property 'sid'.
[Engine] Debug property unavailable: Couldn't get property 'metadata'.
[Engine] Debug property unavailable: Couldn't get property 'length'.
[Engine] Debug property unavailable: Couldn't get property 'video-codec'.
[Engine] Debug property unavailable: Couldn't get property 'fps'.
[Engine] Debug property unavailable: Couldn't get property 'width'.
[Engine] Debug property unavailable: Couldn't get property 'height'.
[Engine] Debug property unavailable: Couldn't get property 'video-bitrate'.
[Engine] Debug property unavailable: Couldn't get property 'video-format'.
[Engine] Debug property unavailable: Couldn't get property 'video-params'.
[Engine] Debug property unavailable: Couldn't get property 'audio-codec'.
[Engine] Debug property unavailable: Couldn't get property 'audio-format'.
[Engine] Debug property unavailable: Couldn't get property 'audio-bitrate'.
[Engine] Debug property unavailable: Couldn't get property 'audio-samplerate'.
[Engine] Debug property unavailable: Couldn't get property 'audio-channels'.
[mpv/global] config path: 'watch_later/4FAB1EF86590256464918E8E1B311BF5' -> '(NULL)'
[mpv/global] config path: 'watch_later' -> '(NULL)'
[mpv/cplayer] Setting option 'audio-device' = 'auto' (flags = 16)
[mpv/cplayer] Setting option 'hwdec' = 'vaapi' (flags = 16)
[mpv/cplayer] Setting option 'hwdec-codecs' = 'mpeg1video,mpeg2video,mpeg4,h264,vc1,wmv3' (flags = 16)
[mpv/cplayer] Setting option 'start' = '2061.86' (flags = 16)
[mpv/cplayer] Setting option 'deinterlace' = 'yes' (flags = 16)
[mpv/cplayer] Setting option 'volume' = '10' (flags = 16)
[mpv/cplayer] Setting option 'mute' = 'no' (flags = 16)
[mpv/cplayer] Setting option 'audio-delay' = '0' (flags = 16)
[mpv/cplayer] Setting option 'sub-delay' = '0' (flags = 16)
[mpv/cplayer] Setting option 'sub-text-color' = '#ffffffff' (flags = 16)
[mpv/cplayer] Setting option 'sub-text-font' = 'Liberation Sans' (flags = 16)
[mpv/cplayer] Setting option 'sub-text-font-size' = '38.4' (flags = 16)
[mpv/cplayer] Setting option 'sub-text-border-size' = '1.92' (flags = 16)
[mpv/cplayer] Setting option 'sub-text-border-color' = '#ff000000' (flags = 16)
[mpv/cplayer] Setting option 'sub-text-shadow-color' = '#7f000000' (flags = 16)
[mpv/cplayer] Setting option 'sub-text-shadow-offset' = '5.43058' (flags = 16)
[mpv/cplayer] Setting option 'cache' = 'no' (flags = 16)
[mpv/cplayer] Setting option 'pause' = 'no' (flags = 16)
[mpv/cplayer] Setting option 'audio-channels' = 'stereo' (flags = 16)
[mpv/cplayer] Setting option 'af' = 'dummy:address=38549232:use_scaler=1:layout=3' (flags = 16)
[mpv/cplayer] Setting option 'vf' = 'noformat:address=38467040:swdec_deint=Yadif|1|CPU:hwdec_deint=LinearBob|1|OpenGL' (flags = 16)
[mpv/cplayer] Playing: /home/eugene/video/video.mkv
[mpv/file] Opened: /home/eugene/video/video.mkv
[mpv/demux] Trying demuxer: disc (force-level: normal)
[mpv/demux] Trying demuxer: edl (force-level: normal)
[mpv/demux] Trying demuxer: cue (force-level: normal)
[mpv/demux] Trying demuxer: rawaudio (force-level: normal)
[mpv/demux] Trying demuxer: rawvideo (force-level: normal)
[mpv/demux] Trying demuxer: libass (force-level: normal)
[mpv/demux] Trying demuxer: mkv (force-level: normal)
[mpv/mkv] Found the head...
[mpv/mkv] + a segment...
[mpv/mkv] /---- [ parsing seek head ] ---------
[mpv/mkv] Element 0x1549a966 at 282.
[mpv/mkv] Element 0x1654ae6b at 363.
[mpv/mkv] Element 0x1254c367 at 573.
[mpv/mkv] Element 0x1c53bb6b at 710652802.
[mpv/mkv] \---- [ parsing seek head ] ---------
[mpv/mkv] |+ segment information...
[mpv/mkv] | + timecode scale: 1000000
[mpv/mkv] | + duration: 2441.438s
[Video] Initialize VideoOutput
[Engine] Debug property unavailable: Couldn't get property 'editions'.
[Engine] Debug property unavailable: Couldn't get property 'chapter'.
[Engine] Error unsupported format for accessing property: Couldn't get property 'sid'.
[App] Initialize screensaver functions.
[App] Try to connect 'org.gnome.SessionManager'.
[App] Failed to connect 'org.gnome.SessionManager'. Fallback to 'org.freedesktop.ScreenSaver'.
[mpv/mkv] | + segment uid db 0d 54 f6 d4 be 22 8b 34 76 54 60 6b 9b 15 5e
[mpv/mkv] |+ segment tracks...
[mpv/mkv] Error parsing element Tracks
[mpv/mkv] | + a track...
[mpv/mkv] |  + Track number: 1
[mpv/mkv] |  + Track type: Video
[mpv/mkv] |  + Video track
[mpv/mkv] |   + Display width: 720
[mpv/mkv] |   + Display height: 480
[mpv/mkv] |   + Pixel width: 720
[mpv/mkv] |   + Pixel height: 480
[mpv/mkv] |  + Codec ID: V_MPEG4/ISO/AVC
[mpv/mkv] |  + CodecPrivate, length 44
[mpv/mkv] |  + Language: und
[mpv/mkv] |  + Default duration: 33.367ms ( = 29.970 fps)
[mpv/mkv] | + a track...
[mpv/mkv] |  + Track number: 2
[mpv/mkv] |  + Track type: Audio
[mpv/mkv] |  + Audio track
[mpv/mkv] |   + Sampling frequency: 48000.000000
[mpv/mkv] |   + Channels: 2
[mpv/mkv] |  + Codec ID: A_AC3
[mpv/mkv] |  + Language: unknown
[mpv/mkv] |+ found cluster
[mpv/mkv] Deferring reading cues.
[mpv/mkv] All headers are parsed!
[mpv/mkv] Aspect: 1.500000
[mpv/demux] Detected file format: Matroska
[mpv/mkv] Replaygain tags not found
[mpv/cplayer] [stream] Video (+) --vid=1 (h264)
[mpv/cplayer] [stream] Audio (+) --aid=1 --alang=unknown (*) (ac3)
[mpv/cplayer] File tags:
[mpv/cplayer]  ENCODER: Lavf54.63.104
[mpv/global] config path: 'fonts' -> '(NULL)'
[mpv/global] config path: 'subfont.ttf' -> '(NULL)'
[mpv/global] config path: 'fonts.conf' -> '(NULL)'
[mpv/libass] Setting up fonts...
[mpv/libass] Done.
[mpv/cplayer] [V] fourcc:0x31637661  size:720x480  fps:29.970
[mpv/vo/null] Setting option 'address' = '38544128' (flags = 0)
[mpv/vo/null] Assuming 1000.000000 FPS for framedrop.
[mpv/vf] Opening video filter: [noformat address=38467040 swdec_deint=Yadif|1|CPU hwdec_deint=LinearBob|1|OpenGL]
[mpv/noformat] Setting option 'address' = '38467040' (flags = 0)
[mpv/noformat] Setting option 'swdec_deint' = 'Yadif|1|CPU' (flags = 0)
[mpv/noformat] Setting option 'hwdec_deint' = 'LinearBob|1|OpenGL' (flags = 0)
[mpv/vd] Codec list:
[mpv/vd]     lavc:h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[mpv/vd]     lavc:h264_vdpau (h264) - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)
[mpv/vd] Opening video decoder lavc:h264
[App] Disable screensaver with 'org.freedesktop.ScreenSaver'.
[mpv/vd] Trying to use hardware decoding.
[mpv/vd] Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc:h264]
[mpv/ad] Codec list:
[mpv/ad]     lavc:ac3 - ATSC A/52A (AC-3)
[mpv/ad]     lavc:ac3_fixed (ac3) - ATSC A/52A (AC-3)
[mpv/ad] Opening audio decoder lavc:ac3
[mpv/ad] Selected audio codec: ATSC A/52A (AC-3) [lavc:ac3]
[mpv/cplayer] Starting playback...
[mpv/mkv] /---- [ parsing cues ] -----------
[mpv/cplayer] Run command: ignore, flags=9, args=[]
[mpv/mkv] \---- [ parsing cues ] -----------
[mpv/cplayer] Initial audio packets read: 1
[mpv/af] Adding filter dummy 
[mpv/af] Setting option 'address' = '38549232' (flags = 0)
[mpv/af] Setting option 'use_scaler' = '1' (flags = 0)
[mpv/af] Setting option 'layout' = '3' (flags = 0)
[mpv/af] Audio filter chain:
[mpv/af]   [in] 48000Hz stereo 2ch floatp
[mpv/af]   [dummy] 48000Hz stereo 2ch floatp
[mpv/af]   [out] 48000Hz stereo 2ch floatp
[mpv/af]   [ao] 48000Hz stereo 2ch floatp
[mpv/ao/pulse] requested format: 48000 Hz, stereo channels, floatp
[mpv/ao/pulse] Library version: 5.0.0
[mpv/ao/pulse] Proto: 29
[mpv/ao/pulse] Server proto: 4294967295
[mpv/ao/pulse] device buffer: 6000 samples.
[mpv/ao/pulse] using soft-buffer of 9600 samples.
[mpv/cplayer] AO: [pulse] 48000Hz stereo 2ch float
[mpv/cplayer] AO: Description: PulseAudio audio output
[mpv/af] Audio filter chain:
[mpv/af]   [in] 48000Hz stereo 2ch floatp
[mpv/af]   [dummy] 48000Hz stereo 2ch float
[mpv/af]   [out] 48000Hz stereo 2ch float
[mpv/af]   [ao] 48000Hz stereo 2ch float
[mpv/af] Audio filter chain:
[mpv/af]   [in] 48000Hz stereo 2ch floatp
[mpv/af]   [dummy] 48000Hz stereo 2ch float
[mpv/af]   [out] 48000Hz stereo 2ch float
[mpv/af]   [ao] 48000Hz stereo 2ch float
[mpv/vd] Pixel formats supported by decoder: vaapi_vld vdpau yuv420p
[mpv/vd] Pixel formats supported by decoder: vaapi_vld vdpau yuv420p
[mpv/vd] VIDEO:  720x480  29.970 fps    0.0 kbps ( 0.0 kB/s)
[mpv/vd] VDec: vo config request - 720 x 480 (vaapi)
[mpv/vd] VO Config (720x480->720x480,0x45F)
[mpv/vf] Video filter chain:
[mpv/vf]  [vd] 720x480 vaapi Autoselect/Autoselect CL=1
[mpv/vf]  [in] 720x480 vaapi BT.601 (SD)/TV CL=1
[mpv/vf]  [noformat] 720x480 vaapi BT.601 (SD)/TV CL=1
[mpv/vf]  [out] 720x480 vaapi BT.601 (SD)/TV CL=1
[mpv/cplayer] Set property: audio=1
[mpv/cplayer] VO: [null] 720x480 vaapi
[Video] Configure VideoOutput with vaapi(720x480) format
[mpv/cplayer] VO: Description: CMPlayer video output
[mpv/global] config path: 'fonts' -> '(NULL)'
[mpv/global] config path: 'subfont.ttf' -> '(NULL)'
[mpv/global] config path: 'fonts.conf' -> '(NULL)'
[mpv/osd/libass] Setting up fonts...
[mpv/osd/libass] Done.
[mpv/global] config path: 'fonts' -> '(NULL)'
[mpv/global] config path: 'subfont.ttf' -> '(NULL)'
[mpv/global] config path: 'fonts.conf' -> '(NULL)'
[mpv/osd/libass] Setting up fonts...
[mpv/osd/libass] Done.
[mpv/global] config path: 'fonts' -> '(NULL)'
[mpv/global] config path: 'subfont.ttf' -> '(NULL)'
[mpv/global] config path: 'fonts.conf' -> '(NULL)'
[mpv/osd/libass] Setting up fonts...
[mpv/osd/libass] Done.
[mpv/cplayer] Set property: aid=1
[OpenGL/SG] Logger: intel_miptree_blit: Can't use hardware blitter from MESA_FORMAT_R8G8B8A8_UNORM to MESA_FORMAT_A_UNORM8, falling back. (API/Medium/Performance)
[OpenGL/SG] Logger: intelCopyTexSubImage - fallback to swrast (API/Medium/Performance)
[OpenGL/SG] Logger: Recompiling vertex shader for program 42 (API/Medium/Performance)
[OpenGL/SG] Logger: vertex color clamping 1->0 (API/Medium/Performance)
[OpenGL/SG] Logger: Flushing before mapping a referenced bo. (API/Medium/Performance)
[OpenGL/SG] Logger: CPU mapping a busy miptree BO stalled and took 0.302 ms. (API/Medium/Performance)
[OpenGL/SG] Logger: intel_miptree_blit: Can't use hardware blitter from MESA_FORMAT_R8G8B8A8_UNORM to MESA_FORMAT_A_UNORM8, falling back. (API/Medium/Performance)
[OpenGL/SG] Logger: intelCopyTexSubImage - fallback to swrast (API/Medium/Performance)
[OpenGL/SG] Logger: Flushing before mapping a referenced bo. (API/Medium/Performance)
[OpenGL/SG] Logger: CPU mapping a busy miptree BO stalled and took 0.281 ms. (API/Medium/Performance)
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[VA-API] No usable SurfaceID. Decoding could fail
[App] Enable screensaver with 'org.freedesktop.ScreenSaver'.
[mpv/cplayer] Run command: quit, flags=9, args=[1]
[mpv/cplayer] EOF code: 6  
[mpv/cplayer] 
[mpv/ad] Uninit audio filters...
[mpv/af] Removing filter dummy 
[mpv/ad] Uninit audio decoder.
[mpv/vd] Uninit video.
[Engine] Debug property unavailable: Couldn't get property 'vid'.
[Engine] Finish playloop thread
[Engine] Playback has been terminated by request
[Main] Exit...
[Video] Uninitialize VideoOutput
[Engine] Finalized
$ vainfo 
libva info: VA-API version 0.36.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'i965'
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_36
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.36 (libva 1.4.1)
vainfo: Driver version: Intel i965 driver for Intel(R) Haswell Mobile - 1.4.1
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264MultiviewHigh      : VAEntrypointVLD
      VAProfileH264MultiviewHigh      : VAEntrypointEncSlice
      VAProfileH264StereoHigh         : VAEntrypointVLD
      VAProfileH264StereoHigh         : VAEntrypointEncSlice
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileH264MultiviewHigh      : VAEntrypointVLD
      VAProfileH264MultiviewHigh      : VAEntrypointEncSlice
      VAProfileH264StereoHigh         : VAEntrypointVLD
      VAProfileH264StereoHigh         : VAEntrypointEncSlice
bylee20 commented 9 years ago

Can you test with this tar ball? https://drive.google.com/file/d/0B7k0IbH_XHW4RlZNSjBUY3VqVEE/view?usp=sharing This is a test-purpose version and lots of functions doesn't work, but I want to know this can help you. To compile and run this cmplayer, please follow next:

$ ./configure
$ make
$ build/cmplayer
zeule commented 9 years ago

This version is free of glitches, but seems to be also free of HW-acceleration. At least the combobox in the settings window is empty and in the playback information acceleration is stated to be disabled. CPU usage is higher also.

bylee20 commented 9 years ago

Can you see VAAPI[8bit] in playback information like here?: https://cloud.githubusercontent.com/assets/3054729/5619788/43bbfa40-9536-11e4-9267-46cfbb2a9b3d.png All options related with H/W acc are disabled in that version because it requires more changes, so I disabled temporarily. Instead, CMPlayer tries automatic hwacc like mpv's hwdec=auto option. CPU usage might be higher but it should not be over twice of original version. Can you post the actual value of CPU usage?

zeule commented 9 years ago

Indeed, it is not significantly higher. Here is screenshot, please: https://cloud.githubusercontent.com/assets/394621/5620085/82367b96-9528-11e4-9aff-b66486d01191.png

bylee20 commented 9 years ago

Okay, it seems fine though I cannot check the CPU usage because I think your shcreenshot is taken when paused. Thank you. I'll close this when that version merged into upstream.

bylee20 commented 9 years ago

Fixed. If the problem still exists, please let me know. Thank you!

zeule commented 9 years ago

Wait-wait! :) Indeed, there are not image distortions anymore, but the CPU usage by CMplayer is incomparable to that of mpv. For example, 1.5-3% by mpv and 8-10% by cmplayer. I see that mpv reports "VO: [vaapi] 720x480 vaapi" while cmplayer "[mpv/cplayer] VO: [opengl-cb] 720x480 vaapi". Could it be the reason?

bylee20 commented 9 years ago

As total or per core average? Also, please check the CPU usage of mpv with --vo=opengl --hwdec=vaapi option. By the way, basically, CMPlayer use more CPU than mpv because it does more things on top of mpv.

zeule commented 9 years ago

With --vo=opengl mpv uses up to 4%. All of these are numbers given by htop via its meter PERCENT_CPU.

bylee20 commented 9 years ago

Can you test without hardware hacceleration? run mpv with --hwdec=no --vo=opengl and turn off hwacc in CMPlayer.

zeule commented 9 years ago

mpv: 11-15% cmplayer: 19-22%

bylee20 commented 9 years ago

In that case it's certain that the hwacc works well because the difference is kept in close range. However, I'm not sure why CMPlayer consumes much more CPU. Of course CPU usage can vary depending the environment. Are you sure there was no such big difference in previous version?

zeule commented 9 years ago

Checked with cmplayer 0.8.16, CPU usage is almost the same as with current git master. I guess this issue may be closed then.

bylee20 commented 9 years ago

Okay, thank you for checking.

zeule commented 9 years ago

Thank you for working on this issue!

bylee20 commented 9 years ago

One possibility for higher CPU usage: check the volume normalizer and playback speed. Please turn off volume normalizer and set playback speed to 100% if not and measure the CPU usage.

zeule commented 9 years ago

Volume normalization is disabled, playback speed is default. BTW, when i press 'n', cmplayer crashes with SIGSEGV:

0 0x000000000048c076 in detail::AudioMixerPre<166>::prepare(AudioDataBuffer<float, true> const&, AudioNormalizerOption const&) ()

1 0x000000000048e60f in AudioMixerImpl<166, 38>::apply(mpaudio const) ()

2 0x0000000000469914 in AudioController::filter(afinstance, mp_audio*, int) ()

3 0x00000000006b6d89 in af_filter (s=s@entry=0x7fffcc042940, data=0x7fffcc21aff0, output=output@entry=0x7fffcc042ed0) at ../audio/filter/af.c:747

4 0x00000000006b574c in audio_decode (da=da@entry=0x7fffcc049dc0, outbuf=0x7fffcc042ed0, minsamples=minsamples@entry=3192) at ../audio/decode/dec_audio.c:223

5 0x00000000006e8ab2 in do_fill_audio_out_buffers (mpctx=mpctx@entry=0x13abbc0, endpts=endpts@entry=-9.2233720368547758e+18) at ../player/audio.c:497

6 0x00000000006e91c7 in fill_audio_out_buffers (mpctx=mpctx@entry=0x13abbc0, endpts=endpts@entry=-9.2233720368547758e+18) at ../player/audio.c:606

7 0x0000000000677694 in run_playloop (mpctx=mpctx@entry=0x13abbc0) at ../player/playloop.c:916

8 0x0000000000672de6 in play_current_file (mpctx=0x13abbc0) at ../player/loadfile.c:1191

9 mp_play_files (mpctx=mpctx@entry=0x13abbc0) at ../player/loadfile.c:1348

10 0x000000000066136a in playback_thread (p=0x13abbc0) at ../player/client.c:487

11 0x00007fffef2202d4 in start_thread () from /lib64/libpthread.so.0

12 0x00007fffee73fccd in clone () from /lib64/libc.so.6

bylee20 commented 9 years ago

Not reproducible here. Please make a new issue about this with next informations:

bylee20 commented 9 years ago

Oh, and another idea about CPU usage: channel mixing If the channel layouts of input and out mismatch, CMPlayer mixes them and in order to avoid akward clipping issue, CMPlayer makes a use of logarithm which requires some CPU resource.

zeule commented 9 years ago

I've done check of all settings you've mentioned. Bomi uses more CPU then mpv always, with any of the supported by my VAAPI device codecs.

bylee20 commented 9 years ago

Well, then I'm out. If you consider it as serious problem, one last option: send me the file so that I can test it, although it doesn't gaurantee anything.

zeule commented 9 years ago

Yes, it seems important to me. Why do I use video decoding acceleration at all? Because it decrease CPU utilization to a level where CPU cooler is almost inactive. However, on my laptop with typical usage, additional load from bomi triggers the cooler. As for the file, I will try to find a sample online.

bylee20 commented 9 years ago

FYI, activation of cooler means nothing. It'll be turned on anyway for CPU without H/W acc and for GPU with H/W acc.

zeule commented 9 years ago

Let me, please, measure heat, generated by device in front of me, by myself :) I just share my experience with you. If it does not fit into your ideas about the reality, the reality is not guilty :).

bylee20 commented 9 years ago

Oh, I didn't mean to blame you. If you feel unpleasant, I'm sorry. I just wanted to point it out that hardware acceleration is not a magic.

zeule commented 9 years ago

Thank you for your words and do not worry, please!

I understand why it is (and always was) more efficient than universal CPU. I just pointed out that with my hardware and habits, playing the FHD x264 10bit movie with or without acceleration means active or silent CPU cooler. And since if is VAAPI, discrete GPU and it's cooler are not involved at all.

bylee20 commented 9 years ago

That's odd. There's no API which supports 10bit format in Linux.

zeule commented 9 years ago

I may be wrong. I was running test for this half of an hour ago. I belive the file was 10 bit but it might be my mistake. Then the same is true for 8 bit. Will check the file tomorrow.

bylee20 commented 9 years ago

Okay, let me know any update.

zeule commented 9 years ago

I was wrong. It has 8 bit depth.

bylee20 commented 9 years ago

Any news about measuring temp.?

zeule commented 9 years ago

Not yet. Waiting for enough dust to be collected by the CPU heat sink.