Page 1 of 1

Force ffmpeg delegation of certain file extensions

Posted: 2015-04-03T05:17:34-07:00
by viseztrance
Hi everyone,

I'm using the convert command to generate thumbnails for certain files (both images and videos).

For instance

Code: Select all

convert some-file.mov[0] output.png
This works by delegating the request to ffmpeg. Unfortunately, it appears to be tied to the input extension. For example, the following will throw an error:

Code: Select all

some-file.mkv[0] output.png
If I were to rename the file extension from mkv to mov, the command would be executed successfully, generating the file. So the file is supported, except that imagemagick, doesn't know it.

I'm unsure on how to proceed. Is there a flag to force the ffmpeg delegation for certain file extensions? Or is there a way to register certain file extensions as supported?

Re: Force ffmpeg delegation of certain file extensions

Posted: 2015-04-03T06:01:46-07:00
by magick
Try this:
  • convert mpeg:some-file.mkv[0] output.png

Re: Force ffmpeg delegation of certain file extensions

Posted: 2015-04-03T06:14:01-07:00
by viseztrance
This worked great. Thank you!