You are not logged in.

#1 2021-06-21 12:45:21

iEatTendies
Member
Registered: 2021-06-18
Posts: 8

720p/1080p+ videos stutter in mpv

I have larbs.xyz installed.

My /etc/environment is set as LIBVA_DRIVER_NAME=iHD, I've uninstalled xf86-video-intel and installed intel-media-driver after seeing other thread about mpv stutter issues.

Playing 1080+ videos yields some errors.

 $ mpv -v Feels\ Good\ Man\ \(2020\)\ \[1080p\]\ \[WEBRip\]\ \[YTS.MX\]/Feels.Go
ip.x264.AAC-\[YTS.MX\].mp4
[cplayer] Command line options: '-v' 'Feels Good Man (2020) [1080p] [WEBRip] [YTS.MX]/Feels.Good
.x264.AAC-[YTS.MX].mp4'
[cplayer] mpv 0.33.1-dirty Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
[cplayer]  built on UNKNOWN
[cplayer] FFmpeg library versions:
[cplayer]    libavutil       56.70.100
[cplayer]    libavcodec      58.134.100
[cplayer]    libavformat     58.76.100
[cplayer]    libswscale      5.9.100
[cplayer]    libavfilter     7.110.100
[cplayer]    libswresample   3.9.100
[cplayer] FFmpeg version: n4.4
[cplayer]
[cplayer] Configuration: /usr/bin/waf configure --prefix=/usr --confdir=/etc/mpv --enable-cdda -
vdnav --enable-libarchive --enable-libmpv-shared --disable-build-date
[cplayer] List of enabled features: 52arch alsa asm caca cdda cplayer cplugins cuda-hwaccel cuda
rm dvbin dvdnav egl egl-drm egl-helpers egl-x11 ffmpeg ffnvcodec gbm gbm.h gl gl-wayland glibc-t
osix gpl iconv jack javascript jpeg lcms2 libarchive libass libavdevice libbluray libdl libm lib
librt linux-fstatfs linux-input-event-codes lua memfd_create optimize plain-gl posix posix-or-mi
berband shaderc shaderc-shared stdatomic uchardet vaapi vaapi-drm vaapi-egl vaapi-vulkan vaapi-w
pi-x11 vdpau vt.h vulkan wayland wayland-protocols x11 xv zimg zlib
[cplayer] Reading config file /etc/mpv/encoding-profiles.conf
[cplayer] Applying profile 'default'...
[cplayer] Setting option 'v' = '' (flags = 8)
[cplayer] Waiting for scripts...
[osd/libass] libass API version: 0x1501000
[osd/libass] libass source: commit: 0.15.1-0-g5447214643eacef71776350e779adf4b6c07bb3b-dirty
[osd/libass] Shaper: FriBidi 1.0.10 (SIMPLE) HarfBuzz-ng 2.8.1 (COMPLEX)
[osd/libass] Setting up fonts...
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[cplayer] Set property: shared-script-properties -> 1
[cplayer] Done loading scripts.
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] ytdl:// hook
[ytdl_hook] not a ytdl:// url
[ifo_dvdnav] Opening Feels Good Man (2020) [1080p] [WEBRip] [YTS.MX]/Feels.Good.Man.2020.1080p.W
].mp4
[bdmv/bluray] Opening Feels Good Man (2020) [1080p] [WEBRip] [YTS.MX]/Feels.Good.Man.2020.1080p.
X].mp4
[file] Opening Feels Good Man (2020) [1080p] [WEBRip] [YTS.MX]/Feels.Good.Man.2020.1080p.WEBRip.
[demux] Trying demuxers for level=normal.
[cplayer] Set property: shared-script-properties -> 1
[osd/libass] libass API version: 0x1501000
[osd/libass] libass source: commit: 0.15.1-0-g5447214643eacef71776350e779adf4b6c07bb3b-dirty
[osd/libass] Shaper: FriBidi 1.0.10 (SIMPLE) HarfBuzz-ng 2.8.1 (COMPLEX)
[osd/libass] Setting up fonts...
[lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[cplayer] Set property: shared-script-properties -> 1
[demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
[cplayer] Opening done: Feels Good Man (2020) [1080p] [WEBRip] [YTS.MX]/Feels.Good.Man.2020.1080
.MX].mp4
[find_files] Loading external files in Feels Good Man (2020) [1080p] [WEBRip] [YTS.MX]/
[ifo_dvdnav] Opening Feels Good Man (2020) [1080p] [WEBRip] [YTS.MX]/Feels.Good.Man.2020.1080p.W
].srt
[bdmv/bluray] Opening Feels Good Man (2020) [1080p] [WEBRip] [YTS.MX]/Feels.Good.Man.2020.1080p.
X].srt
[file] Opening Feels Good Man (2020) [1080p] [WEBRip] [YTS.MX]/Feels.Good.Man.2020.1080p.WEBRip.
[demux] Trying demuxers for level=normal.
[cplayer] Set property: shared-script-properties -> 1
[lavf] Found 'srt' at score=100 size=2048.
[lavf] Data looks like UTF-8, ignoring user-provided charset.
[lavf] avformat_find_stream_info() finished after 126495 bytes.
[lavf] demuxer read all data; closing stream
[demux] Detected file format: srt (libavformat)
[cplayer] Running hook: ytdl_hook/on_preloaded
[lavf] select track 0
[lavf] select track 1
[lavf] select track 0
[cplayer]  (+) Video --vid=1 (*) (h264 1920x1072 23.976fps)
[cplayer]  (+) Audio --aid=1 (*) (aac 2ch 48000Hz)
[cplayer]  (+) Subs  --sid=1 'Feels.Good.Man.2020.1080p.WEBRip.x264.AAC-[YTS.MX].srt' (subrip) (
[vo/gpu] Probing for best GPU context.
[vo/gpu/opengl] Initializing GPU context 'wayland'
[vo/gpu/opengl] Initializing GPU context 'x11egl'
[vo/gpu/x11] X11 opening display: :0
[vo/gpu/x11] Display 0 (eDP-1): [0, 0, 1600, 900] @ 59.946021 FPS
[vo/gpu/x11] Current display FPS: 59.946021
[vo/gpu/opengl] EGL_VERSION=1.5
[vo/gpu/opengl] EGL_VENDOR=Mesa Project
[vo/gpu/opengl] EGL_CLIENT_APIS=OpenGL OpenGL_ES
[vo/gpu/opengl] Trying to create Desktop OpenGL context.
[vo/gpu/opengl] Choosing visual EGL config 0x15, visual ID 0x21
[vo/gpu/opengl] GL_VERSION='4.6 (Core Profile) Mesa 21.1.2'
[vo/gpu/opengl] Detected desktop OpenGL 4.6.
[vo/gpu/opengl] GL_VENDOR='Intel'
[vo/gpu/opengl] GL_RENDERER='Mesa Intel(R) UHD Graphics 600 (GLK 2)'
[vo/gpu/opengl] GL_SHADING_LANGUAGE_VERSION='4.60'
[vo/gpu] Testing FBO format rgba16f
[vo/gpu] Using FBO format rgba16f.
[vo/gpu] No advanced processing required. Enabling dumb mode.
[vo/gpu] Assuming 59.946021 FPS for display sync.
[vd] Container reported FPS: 23.976024
[vd] Codec list:
[vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vd]     h264_v4l2m2m (h264) - V4L2 mem2mem H.264 decoder wrapper
[vd]     h264_qsv (h264) - H264 video (Intel Quick Sync Video acceleration)
[vd]     h264_cuvid (h264) - Nvidia CUVID H264 decoder
[vd] Opening decoder h264
[vd] No hardware decoding requested.
[vd] Using software decoding.
[vd] Detected 4 logical cores.
[vd] Requesting 5 threads for decoding.
[vd] Selected codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
[vf] User filter list:
[vf]   (empty)
[ad] Codec list:
[ad]     aac - AAC (Advanced Audio Coding)
[ad]     aac_fixed (aac) - AAC (Advanced Audio Coding)
[ao/pulse]  - #fl
[ao/pulse]  - #fr
[ao/pulse]  - #fc
[ao/pulse]  - #lfe
[ao/pulse]  - #bl
[ao/pulse]  - #br
[ao/pulse]  - #flc
[ao/pulse]  - #frc
[ao/pulse]  - #bc
[ao/pulse]  - #sl
[ao/pulse]  - #sr
[ao/pulse]  - #tc
[ao/pulse]  - #tfl
[ao/pulse]  - #tfc
[ao/pulse]  - #tfr
[ao/pulse]  - #tbl
[ao/pulse]  - #tbc
[ao/pulse]  - #tbr
[ao/pulse] result: stereo
[ao/pulse] device buffer: 4800 samples.
[ao/pulse] using soft-buffer of 9600 samples.
[cplayer] AO: [pulse] 48000Hz stereo 2ch float
[cplayer] AO: Description: PulseAudio audio output
[autoconvert] inserting resampler
[swresample] format change, reinitializing resampler
[swresample] 48000Hz stereo floatp -> 48000Hz stereo float
[af] [out] 48000Hz stereo 2ch float
[cplayer] VO: [gpu] 1920x1072 yuv420p
[cplayer] VO: Description: Shader-based GPU Renderer
[vo/gpu] reconfig to 1920x1072 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg
[vo/gpu/x11] not waiting for MapNotify
[vo/gpu] Resize: 835x857
[vo/gpu] Window size: 835x857 (Borders: l=0 t=0 r=0 b=0)
[vo/gpu] Video source: 1920x1072 (1:1)
[vo/gpu] Video display: (0, 0) 1920x1072 -> (0, 195) 835x466
[vo/gpu] Video scale: 0.434896/0.434701
[vo/gpu] OSD borders: l=0 t=195 r=0 b=196
[vo/gpu] Video borders: l=0 t=195 r=0 b=196
[vo/gpu] Reported display depth: 8
[vo/gpu] Texture for plane 0: 1920x1072
[vo/gpu] Texture for plane 1: 960x536
[vo/gpu] Texture for plane 2: 960x536
[vo/gpu] Testing FBO format rgba16f
[vo/gpu] Using FBO format rgba16f.
[vo/gpu] No advanced processing required. Enabling dumb mode.
[lavf] queuing seek to 0.000000
[lavf] execute seek (to 0.000000 flags 0)
[lavf] seek done
[lavf] EOF reached.
[vo/gpu] DR enabled: yes
[cplayer] first video frame after restart shown
[cplayer] Set property: shared-script-properties -> 1
[cplayer] audio ready
[cplayer] delaying audio start 0.000000 vs. 0.000000, diff=0.000000
[cplayer] playback restart complete @ 0.000000, audio=ready, video=playing
[statusline] AV: 00:00:00 / 01:33:36 (0%) A-V:  0.000
[cplayer] starting audio playback
[ao/pulse] starting AO
[vo/gpu/x11] Disabling screensaver.
[statusline] AV: 00:00:00 / 01:33:36 (0%) A-V:  0.000
[cplayer] Set property: shared-script-properties -> 1
[statusline] AV: 00:00:01 / 01:33:36 (0%) A-V:  0.205 Dropped: 12
[sub/ass] fontselect: (sans-serif, 400, 0) -> /usr/share/fonts/ttf-linux-libertine/LinBiolinum_Rah.ttf, 0, LinBiolinum
[vo/gpu] Reallocating OSD texture to 512x256.
[statusline] AV: 00:00:07 / 01:33:36 (0%) A-V:  0.000 Dropped: 101
[vo/gpu] Reallocating OSD texture to 1024x128.
[statusline] AV: 00:00:09 / 01:33:36 (0%) A-V:  0.000 Dropped: 101
[lavf] queuing seek to 69.050708
[lavf] queuing seek to 69.050708
[lavf] execute seek (to 69.050708 flags 0)
[lavf] seek done
[lavf] execute seek (to 69.050708 flags 4)
[lavf] seek done
[osd/libass] libass API version: 0x1501000
[osd/libass] libass source: commit: 0.15.1-0-g5447214643eacef71776350e779adf4b6c07bb3b-dirty
[osd/libass] Shaper: FriBidi 1.0.10 (SIMPLE) HarfBuzz-ng 2.8.1 (COMPLEX)
[osd/libass] Setting up fonts...
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[osd/libass] fontselect: (sans-serif, 400, 0) -> /usr/share/fonts/ttf-linux-libertine/LinBiolinum_Rah.ttf, 0, LinBiolinum
[vo/gpu] Reallocating OSD texture to 1024x128.
[vo/gpu/x11] Enabling screensaver.
[file] stream level seek from 1673373999 to 1551695669
[statusline] AV: 01:33:36 / 01:33:36 (100%) A-V:  0.000
[lavf] Seek failed (Operation not permitted)
[lavf] seek done
[lavf] EOF reached.
[vf] filter input EOF
[vf] filter output EOF
[cplayer] video EOF reached
[statusline] AV: 01:33:36 / 01:33:36 (100%) A-V:  0.000
[lavf] queuing seek to 6276.694000
[lavf] queuing seek to 6276.694000
[lavf] execute seek (to 6276.694000 flags 0)
[lavf] seek done
[lavf] execute seek (to 6276.694000 flags 4)
[lavf] Seek failed (Operation not permitted)
[lavf] seek done
[lavf] EOF reached.
[vf] filter input EOF
[vf] filter output EOF
[cplayer] video EOF reached
[af] filter input EOF
[af] filter output EOF
[cplayer] audio filter EOF
[cplayer] audio ready (and EOF)
[cplayer] starting audio playback
[ao/pulse] audio end or underrun
[cplayer] playback restart complete @ -9223372036854775808.000000, audio=draining, video=eof
[vo/gpu/x11] Disabling screensaver.
[cplayer] audio EOF reached
[cplayer] EOF code: 1
[vo/gpu/x11] Enabling screensaver.
[cplayer] finished playback, success (reason 0)
[cplayer]
[cplayer] Exiting... (End of file)
[cplayer] Set property: shared-script-properties -> 1
[cplayer] draining left over audio
[ao/pulse] drain timeout 

I wonder how I can configure videos to work normally again because those same videos played without issues on this laptop (Teclast F6 Plus) running Ubuntu 20.04.

Offline

#2 2021-06-21 16:18:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,678

Re: 720p/1080p+ videos stutter in mpv

You aren't using HW decoding so whatever you are setting your libva to is irrelevant regarding this specific mpv run. What's the problem? Do you have an actual issue or are you wondering about the error messages?

First suggestion I'd give you is if this only appeared after setting up larbs config is to get rid of said config and actually try and understand what you are setting up. LARBS config contains highly opinionated and personalized configuration that plain isn't going to work on a lot of systems that aren't his own.

Last edited by V1del (2021-06-21 16:19:14)

Offline

Board footer

Powered by FluxBB