GIF to animated WEBP 'batch convert' no longer working

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
theSuede
Posts: 3
Joined: Thu Sep 15, 2022 1:28 pm

GIF to animated WEBP 'batch convert' no longer working

Post by theSuede »

No idea if correlated, but after a power outage (XnView MP open in the background but inactive on forced power off) and subsequent new boot:
using 'Batch convert...' to convert a GIF to animated WEBP now only grabs the first frame in the GIF and exports a single-page WEBP.

I've tried cleaning up all user/program folders (incl 'AppData\roaming' for windows 11) and letting the program rebuild the xnview.ini.
I've tried a full uninstall w. totally wiping the old program traces and reinstalling.

Win11 21H2 + XnViewMP 1.3

Method: Select an animated GIF, press CTRL-U (Batch convert...)
tab 'ouput' choose 'to source folder', 'WEBP', 'Preserve date attributes', 'Convert multipage file to multipage file (when possible)'
tried both 'use multiple CPU cores (4)' on and off

worked perfectly before my power outage yesterday, converted animated GIF to animated WEBP
splitting a GIF animation to separate images with the other multipage option 'convert all pages from multipage file' still works.
Converting a multipage WEBP to a new WEBP doesn't work either - only grabs the first frame. Splitting it still works.
User avatar
xnview
Author of XnView
Posts: 46253
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: GIF to animated WEBP 'batch convert' no longer working

Post by xnview »

Output to animated WEBP was never possible
Pierre.
theSuede
Posts: 3
Joined: Thu Sep 15, 2022 1:28 pm

Re: GIF to animated WEBP 'batch convert' no longer working

Post by theSuede »

I guess that must have been an unintended function then, I have bee using XnView MP's 'batch convert' to convert GIF to animated WEBP for literally thousands of meme GIF's the last weeks :)

I promise, confirmed working with animation and all. To bad I can't find the versioning in the metadata of the files, I have no idea which version that was installed on this computer, found 1.0, 1.1, 1.2 and 1.3 install files in the DL folder.

I'll uninstall, andgo back through the versions to see if I can find a working set!
theSuede
Posts: 3
Joined: Thu Sep 15, 2022 1:28 pm

Re: GIF to animated WEBP 'batch convert' no longer working

Post by theSuede »

My mistake.
I was using an FFMPEG script that I'd linked in the context menu. I just remembered that I did it without leaving the XnViewMP browser window...
I blame either early onset dementia, or being slightly overworked... :| :| :|

script in simple *.bat file:
-----------------
@echo off
for %%a in (*.gif) do (
gif2webp -lossy -q 70 -f 30 "%%a" -o "%%~na.webp"
if %ERRORLEVEL% == 0 del "%%a"
)
pause
----------------
remove the 'if %ERRORLEVELS... ' if you don't want to take chances with a bad conversion still resulting in deleting the original file. Hasn't happened to me sofar.
Thank you for the promp answer anyway. Great support channel here.
Post Reply