"Totem could not get a screenshot of the video" error message on some videos
When trying to make a screenshot in Totem 3.26.2 on Arch Linux, the following error message appears: "Totem could not get a screenshot of the video. This is not supposed to happen; please file a bug report." When doing this from a terminal, the following text is displayed:
** (totem:28708): WARNING **: 18:42:48.642: Could not take screenshot: failed to retrieve or convert video frame
Since I've only been able to reproduce this issue on some videos, here is the MediaInfo dump for one of the faulty files:
Format : Matroska
Format version : Version 4 / Version 2
File size : 257 MiB
Duration : 23 min 22 s
Overall bit rate : 1 535 kb/s
Encoded date : UTC 2015-12-09 01:24:57
Writing application : mkvmerge v8.4.0 ('A better way to fly') 64bit
Writing library : libebml v1.3.1 + libmatroska v1.4.2
Attachments : FOT-MatisseVPro-EB.otf / FOT-MatisseVPro-UB.otf / Franklin Gothic Medium Italic.ttf / Franklin Gothic Medium.ttf / MVBOLI.TTF / nrkis.ttf
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L4@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 23 min 22 s
Bit rate : 1 071 kb/s
Width : 1 440 pixels
Height : 1 080 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.029
Stream size : 179 MiB (70%)
Writing library : x265 1.8+31-b6156a08b1de:[Windows][GCC 5.2.0][64 bit] 10bit
Encoding settings : wpp / ctu=64 / min-cu-size=8 / max-tu-size=32 / tu-intra-depth=1 / tu-inter-depth=1 / me=1 / subme=2 / merange=57 / no-rect / no-amp / max-merge=2 / temporal-mvp / no-early-skip / rdpenalty=0 / no-tskip / no-tskip-fast / strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / no-fast-intra / open-gop / no-temporal-layers / interlace=0 / keyint=250 / min-keyint=23 / scenecut=40 / rc-lookahead=20 / lookahead-slices=0 / bframes=4 / bframe-bias=0 / b-adapt=2 / ref=3 / limit-refs=0 / weightp / no-weightb / aq-mode=1 / qg-size=32 / aq-strength=1.00 / cbqpoffs=0 / crqpoffs=0 / rd=3 / psy-rd=0.30 / rdoq-level=0 / psy-rdoq=0.00 / signhide / deblock / sao / no-sao-non-deblock / b-pyramid / cutree / rc=2 / pass / bitrate=1070 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ipratio=1.40 / pbratio=1.30
Default : Yes
Forced : No
Audio #1
ID : 2
Format : AAC
Edited by Laurent Pointecouteau