Skip to main content
Topic: ffmpegthumbnailer (2.2.2-3) is broken (?) (Read 589 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

ffmpegthumbnailer (2.2.2-3) is broken (?)

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

Re: ffmpegthumbnailer (2.2.2-3) is broken (?)

Reply #1
How are you testing this exactly?

Re: ffmpegthumbnailer (2.2.2-3) is broken (?)

Reply #2
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

Re: ffmpegthumbnailer (2.2.2-3) is broken (?)

Reply #3
Ah yep. I think our patch is just wrong (it's not exactly the same as Arch).

Re: ffmpegthumbnailer (2.2.2-3) is broken (?)

Reply #4
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

Re: ffmpegthumbnailer (2.2.2-3) is broken (?)

Reply #5
It doesn't build with ffmpeg 5. Although it still working is kind of funny.