Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 27 |
Nodes: | 6 (0 / 6) |
Uptime: | 46:21:58 |
Calls: | 632 |
Calls today: | 3 |
Files: | 1,187 |
D/L today: |
24 files (29,813K bytes) |
Messages: | 176,482 |
Hello all,
Using libwebp.dll I'm able to extract static images, but would also like to extract frames from animations.
Alas, although I have a description of the file headers and can see where a "vp8 " chunk starts, I cannot seem to find any information (using DDG) to how to extract-and-decode such a chunk (if at all possible with libwebp.dll).
Also, although it seems that I need(?) a second dll to handle such animated webp image I can't seem to find which one it should be (where I can download it, and its API description).
Some help would be appriciated.
By the way: win32
Regards,
Rudy Wieser
Will it play in VLC? That has both frame extract and single-frame
advance capability.
Or, will it play in IrfanView? That has extract-all-frames capability
(this can of course take a lot of space).
Hello all,
Using libwebp.dll I'm able to extract static images, but would also like to extract frames from animations.
Alas, although I have a description of the file headers and can see where a "vp8 " chunk starts, I cannot seem to find any information (using DDG) to
how to extract-and-decode such a chunk (if at all possible with
libwebp.dll).
Hello all,
Using libwebp.dll I'm able to extract static images, but would also like to extract frames from animations.
Alas, although I have a description of the file headers and can see where a "vp8 " chunk starts, I cannot seem to find any information (using DDG) to how to extract-and-decode such a chunk (if at all possible with libwebp.dll).
Also, although it seems that I need(?) a second dll to handle such animated webp image I can't seem to find which one it should be (where I can download it, and its API description).
Some help would be appriciated.
By the way: win32
Hello all,
Using libwebp.dll I'm able to extract static images, but would also like to extract frames from animations.
Alas, although I have a description of the file headers and can see where a "vp8 " chunk starts, I cannot seem to find any information (using DDG) to how to extract-and-decode such a chunk (if at all possible with libwebp.dll).
Also, although it seems that I need(?) a second dll to handle such animated webp image I can't seem to find which one it should be (where I can download it, and its API description).
Some help would be appriciated.
By the way: win32
Regards,
Rudy Wieser
On Mon, 9/29/2025 4:26 AM, R.Wieser wrote:
Hello all,
Using libwebp.dll I'm able to extract static images, but would also like to >> extract frames from animations.
Alas, although I have a description of the file headers and can see where a >> "vp8 " chunk starts, I cannot seem to find any information (using DDG) to >> how to extract-and-decode such a chunk (if at all possible with
libwebp.dll).
Also, although it seems that I need(?) a second dll to handle such animated >> webp image I can't seem to find which one it should be (where I can download
it, and its API description).
Some help would be appriciated.
By the way: win32
Regards,
Rudy Wieser
It seems to involve either just libwebp, or it involves libwebp plus libvpx
https://en.wikipedia.org/wiki/WebP
"library libvpx can extract VP8 key frames from WebM media"
If I was bored, I would concoct an FFMPEG command, asking
FFMPEG to read my source file "sample.webp" and make BMP files
from it (for all the animation frames). See if any FFMPEG
documentation hints at a de-capsulation.
webpmux is part of libwebp https://developers.google.com/speed/webp/docs/webpmux
tried this?
It seems to involve either just libwebp, or it involves libwebp plus
libvpx
https://en.wikipedia.org/wiki/WebP
"library libvpx can extract VP8 key frames from WebM media"
If I was bored, I would concoct an FFMPEG command, asking
FFMPEG to read my source file "sample.webp" and make BMP
files from it (for all the animation frames). See if any FFMPEG
documentation hints at a de-capsulation.
https://developers.google.com/speed/webp/download
https://github.com/coil-kt/coil/discussions/1216
"I followed the WEBP container specification docs and modified the
b4rtaz/android-webp-encoder"
# But this still gives the impression that you can pick out frames
# as such, but they still need libvpx to do the delta between frames
# to make bitmap images from the results. Which is what a FFMPEG
# run would do for you perhaps.
OK, there is a claim a recent GIMP can extract the animated frames. [snip]
OK, there is a claim a recent GIMP can extract the animated frames.
And like processing animated GIF in GIMP, you have to figure out
how to save an animated set of layers. I can never remember how
to do that. Apparently for GIF, it's in the Export As dialog that
appears and there is some save option to save as individual frames
from a decoded GIF. That suggests a WEBP animation could have
a similar design. And source for GIMP should be available,
from gimp.org , assuming this decoding actually works.
You can select a 2.10 if you want to avoid 3.0/3.1
https://download.gimp.org/gimp/
https://download.gimp.org/gimp/v2.10/
# Could be x64, not sure.
https://download.gimp.org/gimp/v2.10/windows/gimp-2.10.38-setup.exe
Paul
Schugo,
webpmux is part of libwebp
https://developers.google.com/speed/webp/docs/webpmux
Thats a program, not a DLL I can program against.
https://chromium.googlesource.com/webm/libwebp/+/refs/heads/main/examples/webpmux.c
tried this?
Well, I would than first need the involved DLLs, libary and header-files. Which is what I was/am looking for. :-)
And by the way: did you ever try the "txt" download in the lower-right ?
All I get is a base64-encoded blob ...
Also, thru your first link I found a download website for all kind of libwebp versions( https://storage.googleapis.com/downloads.webmproject.org/releases/webp/index.html )
, but when I downloaded libwebp-1.0.3-windows-x86.zip all I got was a set of executables, no DLLs. :-|
I even remember having, months ago, already downloaded the the 1.0.2 version from there - with the same result.
I could have done with some information to what those downloads contain - maybe one of the downloads does actually contain the DLLs I need - but no such documentation seems to be available. :-(
Regards,
Rudy Wieser
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0.tar.gz
(Unpack)
./configure
checking build system type... i686-pc-mingw32
:-) There was a reason I asked for DLLs. I do not have access to the needed build environment for those source-files. I'm strictly an
Assembler-language person. (I've dabbed into other languages, but always returned to it).
When I originally saw your post, I - as did some others - thought
you just wanted to be able to extract the frames
But it of course became clear that you're wanting to create
software that involves the extraction.
(so suggested what I'd try, VL and IrfanView - you said VLC
wouldn't play the file and hadn't tried IrfanView)
Just out of curiosity, what are you trying to do? Of course, don't say
if it's confidential.
J. P. ,Sorry, didn't spot that.
When I originally saw your post, I - as did some others - thought
you just wanted to be able to extract the frames
You thought absolutily correct - just not in the way I imagined it.
But it of course became clear that you're wanting to create
software that involves the extraction.
Thats why I, I thought rather explicitily, asked for a DLL.
Did Irfan work?(so suggested what I'd try, VL and IrfanView - you said VLC
wouldn't play the file and hadn't tried IrfanView)
I tried, as having an alternate (backup) method is never a bad thing to have.
Ideally, a selected frame rather than just the first one, which is oftenJust out of curiosity, what are you trying to do? Of course, don't say>> if it's confidential.
:-) I'm a hobbyist, and wanted to be able to at least see what's in the .webp files that are, on the web, offered as "animated GIF"s *. I already have an image-viewer written for static images which uses Gdiplus, FreeImage, and libwebp to display a wide(r) range of image-formats. Adding a "preview" of the animated webp (the first frame) should be (easily?) > do-able.
* like sometimes here https://www.picdumps.com/(Presented me a page in German where I had to pick one of two buttons.)>
Perhaps I will even try to add the animation of all frames to it. I first have to see what different animated webp files return, using my "trick", for each of the frame-images.
Regards,
Rudy Wieser
I tried, as having an alternate (backup) method is never a bad thing
to have.
Adding a "preview" of the animated webp (the first frame) should be
(easily?) do-able.
Ideally, a selected frame rather than just the first one, which is
often blank or a title only.
* like sometimes here https://www.picdumps.com/
(Presented me a page in German where I had to pick one of two buttons.)
Did Irfan work?
Using libwebp.dll I'm able to extract static images, but would also like
to extract frames from animations.
Using libwebp.dll I'm able to extract static images, but would also like
to extract frames from animations.
It turns out that libwebp.dll is capable of doing that by itself. The info was quite hidden (in a header file I found) for pople, like me, who don't know what to look for.
Next step: combine the current frame (which might have holes) with the ones before it to get a full frame.
Regards,
Rudy Wieser
"An animated image with Exif metadata may look as follows:[snip]
https://colinbendell.github.io/webperf/animated-gif-decode/3.webp
In a regular video
None of my tools are gaining traction on the topic, so good luck.
You might need a fair number of samples of animated webp,
before finding ones which are more "movie-like" inside.
Yep, thats the part I've just finished. Now I have frame-images
with "holes" in them.