Opened 10 years ago

Last modified 10 years ago

#42299 assigned enhancement

ImageMagick: support converting videos

Reported by: amannucci (Anthony Mannucci) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: petrrr
Port: ImageMagick

Description

The convert program is broken. It is configured to use the delegate avconv which does not exist, and is not available via Macports. The dependency used to be on ffmpeg, which does exist. This is to convert video such as mpeg.

Change History (6)

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to ryandesign@…
Port: ImageMagick added

In the future, please fill in the Port field and Cc the port maintainers (port info --maintainers ImageMagick).

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Status: newassigned
Summary: ImageMagick is broken on OS X 10.7.5ImageMagick: support converting videos
Type: defectenhancement
Version: 2.2.1

The ImageMagick Portfile makes no mention of ffmpeg or supporting converting from video files, but I'm happy to look into adding this feature.

comment:3 Changed 10 years ago by amannucci (Anthony Mannucci)

I fixed the problem by modifying the delegates.xml, using the file included in the binary OS X distribution on the ImageMagick site. The delegates.xml in MacPorts should be changed.

comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

So far, I have not figured out how to tell ImageMagick to use ffmpeg. The delegates.xml file is created at build time, and the placeholder "@MPEGDecodeDelegate@" is replaced with the mpeg decode delegate program name. I don't know how to tell ImageMagick's configure script what program name it should use there.

comment:5 Changed 10 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:6 Changed 10 years ago by petrrr

I today ran into the same issue, actually there may be even to different issued.

(1) Trying to get an AVI video output resulted in only the first frame being present in the resulting file (2) MPEG output tries to call avconv, this seems to be part of a library called libav

I understood, that only (2) delegates conversion to ffmpeg (or maybe libav as an alternative). While (2) should be built-in, so this maybe a different problem.

Note: See TracTickets for help on using tickets.