Artix Linux Forum

Artix Linux => Package management => Topic started by: apeman on 01 February 2022, 21:22:04

Title: ffmpegthumbnailer (2.2.2-3) is broken (?)
Post by: apeman on 01 February 2022, 21:22:04
i did the ffmpeg update
ffmpegthumbnailer 2.2.2-3 always outputs "Failed to decode video frame: bytesDecoded < 0"
after some searching i found that this version is patched to work with ffmpeg 5 and is seemingly taken from arch staging
the previous version (2.2.2-2.2) works just fine with ffmpeg 5 for me
Title: Re: ffmpegthumbnailer (2.2.2-3) is broken (?)
Post by: Dudemanguy on 01 February 2022, 23:21:59
How are you testing this exactly?
Title: Re: ffmpegthumbnailer (2.2.2-3) is broken (?)
Post by: apeman on 01 February 2022, 23:30:36
with 2.2.2-3:
ffmpegthumbnailer -i test.mkv -o test.jpg
Error: Failed to decode video frame: bytesDecoded < 0

upon downgrading to 2.2.2-2.2 the same command successfully creates test.jpg
i also have a script for vifm that uses ffmpegthumbnailer for image previews on videos which i noticed had broken once upgrading from 2.2.2-2.2 to 2.2.2-3
i do not have ffmpeg-compat-58 installed for this test
and having it installed changes nothing
Title: Re: ffmpegthumbnailer (2.2.2-3) is broken (?)
Post by: Dudemanguy on 01 February 2022, 23:47:07
Ah yep. I think our patch is just wrong (it's not exactly the same as Arch).
Title: Re: ffmpegthumbnailer (2.2.2-3) is broken (?)
Post by: apeman on 01 February 2022, 23:50:54
given that 2.2.2-2.2 seemingly works with ffmpeg 5 perhaps the patch isnt even needed
not that i would know of course
Title: Re: ffmpegthumbnailer (2.2.2-3) is broken (?)
Post by: Dudemanguy on 01 February 2022, 23:51:44
It doesn't build with ffmpeg 5. Although it still working is kind of funny.
Title: Re: ffmpegthumbnailer (2.2.2-3) is broken (?)
Post by: apeman on 01 February 2022, 23:53:57
according to this issue the current git version does (latest release ver does not)
https://github.com/dirkvdb/ffmpegthumbnailer/issues/212