Releases: svt/encore
v0.2.11
v0.2.10
Added properties to video encode:
- cropTo (fraction) - applied before scaling
- padTo (fraction) - applied after scaling
- optional (boolean) - skip output when no input matches inputLabel
Added property to all outputs:
- enabled (boolean) - skip output if true. Can be used with SpEL-expressions in profile
v0.2.9
-
Bumped dependencies, most notably spring boot to 3.5.5, media-analyzer 2.0.9 with a fix for handling iphone APAC audio and springdoc-openapi to 2.8.13 together with fixes to make swagger work again.
-
Fixed progress parsing with Ffmpeg 8.0.
v0.2.8
- Add workaround for bug in spring data redis: spring-projects/spring-data-redis#2425
v0.2.7
- Most dependency versions have been updated, notably Spring Boot to 3.4.3 and Java to 21.
- Rotation metadata is now correctly managed when scaling portrait video within a landscape box, with
encodingProperties.flipWidthHeightIfPortraitenabled. - Resolved issue where the thumbnail at 0% was not functioning.
- Fixed issue with graceful shutdown. Jobs are re-queued upon receiving SIGTERM.
- A Gradle plugin causing build failures has been replaced.
- Redisson has been replaced with the default Redis client for Spring Boot. Redis ZSET is now used instead of Redisson’s abstraction for priority queues, changing the Redis type from LIST to ZSET. On startup, Encore will attempt to migrate existing queues to ZSET if
encore-settings.queue-migration-script-enabledis true. If the migration script fails, queues will need to be manually deleted.
v0.2.6
fix: add configuration property that allows disabling setting of notify-keyspace-events on redis server
Before this fix, when starting encore, spring data redis
would try to use the CONFIG command to set
notify-keyspace-events on the redis server. If the server did not support the CONFIG command,
which is the case in many managed redis services, encore would fail to start.
With this fix, setting the property redis.keyspace.disable-config-notifications
to true string will stop spring data redis from trying to change the config.
If the property is not set, or set to true, spring data redis will behave as before,
that is use the CONFIG command to set 'notify-keyspace-events'.
Note that this fix has to be set in compile time when native compile is used.
Thanks to @grusell for providing the fix.
v0.2.5
As a workaround for issues with thumbnails in combination with Ffmpeg 7, added option decodeOutput to ThumbnailEncode and ThumbnailMapEncode allowing them to use video output as input using loopback decoder introduced in Ffmpeg 7.
v0.2.4
Added boolean property encore-settings.encoding.exit-on-error (default true) that will add ffmpeg flag -xerror (Stop and exit on error).
Added map property encore-settings.encoding.global-params (default empty map) for params to be added before other params.
v0.2.3
New feature: Dialogue enhancement
AudioEncode can now enhance dialogue by compressing background channels using signal from front center channel of input. This is done with the Ffmpeg filter sidechaincompress. If the input is stereo, a front center is produced using the Ffmpeg filter dialoguenhance before applying sidechaincompress. Dialogue enhancement can optionally be combined with an audioMixPreset to further lift the center channel and/or lower the background channels.
To enable this feature, simply add dialogueEnhancement.enabled: true to an AudioEncode in a profile like this:
- type: AudioEncode
bitrate: 128k
suffix: _STEREO_DE
dialogueEnhancement:
enabled: true
Dialogue enhancement can be customized further using properties (listed are the default values):
- type: AudioEncode
bitrate: 128k
suffix: _STEREO_DE
dialogueEnhancement:
enabled: true
sidechainCompress:
ratio: 8
threshold: 0.012
release: 1000.0
attack: 100.0
dialogueEnhanceStereo:
enabled: true
original: 1
enhance: 1
voice: 2