question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Apng - Error delegate failed ffmpeg

See original GitHub issue

Hi,

I am trying to use Magick.Net (v7.22.1) to build an animated png (apng) file in VB.net.

I have copied the latest ffmpeg.exe to the bin folder and am trying to adapt the gif example code (https://github.com/dlemstra/Magick.NET/blob/master/docs/CombiningImages.md) to output a apng file by adjusting the .Write line to something like;

collection.Write(“Snakeware.apng”, MagickFormat.APng)

I keep getting an error; delegate failed `“ffmpeg.exe” -nostdin -v -1 -i “%M%%d.pam” -plays %I “%u.%m” 2> “%u”’ @ error/delegate.c/InvokeDelegate/1898

I appreciate i am probably missing something obvious, but i couldn’t find any examples for apng creation so i’m just guessing it would be similar to a gif.

Thanks

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dlemstracommented, Nov 25, 2020

This issue should be resolved in the latest release. Can you give it another try?

0reactions
alaw-lufccommented, Dec 2, 2020

I did some further tests, when i retested last time at some stage i’d changed the file extension of the output to .png e.g. collection.Write(“Snakeware.png”, MagickFormat.APng) That errors as above, but if i change to collection.Write(“Snakeware.apng”, MagickFormat.APng) and it works in 7.22.2.2!

So this is resolved. Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

convert: delegate failed `"ffmpeg" - Legacy ...
I am having a problem installing ffmpeg to read/write MPEG images with ImageMagick. I have ffmpeg installed and running. Code: Select all [root@ ......
Read more >
IMagick delegate failed "ffmpeg" While Converting jpg ...
So I Fixed the problem by using - resize "even x even!" e.g. $ convert -antialias -delay 1/2 Images/*.jpg -resize "640x480!" test.mp4.
Read more >
Imagemagick convert command creating video from ...
I have installed imagemagick, ffmpeg (brew) und also avcon (after the same error appeared when I only installed the first two.. I installed...
Read more >
Thumbnail Generation went away with Command line ...
Hello, we had omeka s running for a while with thumbnails being created for images only with the following configuration:
Read more >
Unable to convert SVG to PNG with imagemagick.
I have a script which creates a weather display for a kindle, and it needs to be a png, so I use convert...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found