$ vlc --version
VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2)
VLC version 3.0.16 Vetinari (3.0.13-8-g41878ff4f2)
Compiled by buildd on lcy02-amd64-080.buildd (Jun 18 2023 23:56:47)
Compiler: gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04.1)
$ mediainfo film.mp4
General
Complete name : film.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 1.14 GiB
Duration : 52 min 39 s
Overall bit rate : 3 099 kb/s
Writing application : Lavf56.32.100
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 5 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 5 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 52 min 39 s
Bit rate : 2 964 kb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 23.976 (24000/1001) FPS
Minimum frame rate : 23.564 FPS
Maximum frame rate : 24.390 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.134
Stream size : 1.09 GiB (96%)
Writing library : x264 core 122 r2184 5c85e0a
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language : English
Codec configuration box : avcC
Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 52 min 39 s
Bit rate mode : Constant
Bit rate : 128 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 48.3 MiB (4%)
Default : Yes
Alternate group : 1
Both of the following produce these errors:
[h264 @ 0x7fea7acfb980] Failed setup for format vaapi_vld: hwaccel initialisation returned error.
[00007fea7acd5a10] avcodec decoder error: existing hardware acceleration cannot be reused
This crashes (always) whenever I move the slider further on in the film. Note:
Assertion !p->parent->stash_hwaccel failed at src/libavcodec/pthread_frame.c:671
$ vlc film.mp4 &
[1] 42127
VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2)
dev@ThinkPad-W530:~/.../<...>$ [000055e1f4dd6580] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007fea68003ee0] gl gl: Initialized libplacebo v4.192.1 (API v192)
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
[00007fea7acd5a10] avcodec decoder: Using Intel i965 driver for Intel(R) Ivybridge Mobile - 2.4.1 for hardware decoding
[h264 @ 0x7fea7acfb980] A hardware frames or device context is required for hardware accelerated decoding.
[h264 @ 0x7fea7acfb980] Failed setup for format vaapi_vld: hwaccel initialisation returned error.
[00007fea7acd5a10] avcodec decoder error: existing hardware acceleration cannot be reused
[00007fea687e0170] gl gl: Initialized libplacebo v4.192.1 (API v192)
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
[00007fea68458540] gl gl: Initialized libplacebo v4.192.1 (API v192)
Assertion !p->parent->stash_hwaccel failed at src/libavcodec/pthread_frame.c:671
[1] Aborted (core dumped) vlc film.mp4
This does not crash but produces those above errors:
$ DRI_PRIME=1 vlc film.mp4 &
VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2)
dev@ThinkPad-W530:~/.../<...>$ [000055d9271c7580] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007fe1cc003ee0] gl gl: Initialized libplacebo v4.192.1 (API v192)
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
[00007fe1dc049720] main video output error: video output creation failed
[00007fe1f2cd5ae0] main decoder error: failed to create video output
[00007fe1cc071d10] gl gl: Initialized libplacebo v4.192.1 (API v192)
[00007fe1f2cd5ae0] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding
[h264 @ 0x7fe1f2cfba40] Failed setup for format vdpau: hwaccel initialisation returned error.
[00007fe1f2cd5ae0] avcodec decoder error: existing hardware acceleration cannot be reused
[00007fe1cc071d10] gl gl: Initialized libplacebo v4.192.1 (API v192)
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
[00007fe1cc071d10] gl gl: Initialized libplacebo v4.192.1 (API v192)
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
[00007fe1dc06e740] main video output error: video output creation failed
[00007fe1f2cd5ae0] main decoder error: failed to create video output
[00007fe1cc071d10] gl gl: Initialized libplacebo v4.192.1 (API v192)
Ubuntu 22.04 Thinkpad W530 Nvidia GK107GLM [Quadro K1000M]
Both of the following produce these errors:
This crashes (always) whenever I move the slider further on in the film. Note:
Assertion !p->parent->stash_hwaccel failed at src/libavcodec/pthread_frame.c:671
This does not crash but produces those above errors: