Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

source-frame-range parameter #247

Merged
merged 1 commit into from Sep 16, 2018
Merged

Conversation

fmeisschaert
Copy link
Contributor

@fmeisschaert fmeisschaert commented Mar 8, 2018

For still generation I earlier added selecting the first image frame in multi-image file formats. This is also useful in transcoding, but needs to be more general since the target file format is not restricted to jpeg. So I added a fictive "-source-frame-range" parameter for selecting one or more image frames. This fictive parameter is translated to actual frame selection syntax supported by ImageMagick. For instance:

convert source.tiff -resize 800x600 -source-frame-range 0-2 target.tiff

will be translated to

convert source.tiff[0-2] -resize 800x600 target.tiff

(-source-frame-range is not a valid convert option)

…more

image frames in transcoding multi-image file formats. The parameter is
translated in actual frame selection syntax supported by ImageMagick.

Use the more portable "escapeshellarg" function in selecting the first
image frame in still generation.
@rblanker rblanker merged commit 8895c5b into mediamosa:master Sep 16, 2018
@rblanker
Copy link
Collaborator

Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants