Adds a Letterbox cropper, and fixes cover images for the anime converter
All checks were successful
KnarCraft/FFmpegConvert/pipeline/head This commit looks good

Adds a new letterbox cropper, which will use 10 samples at 30 points in a video in order to find the correct crop to remove letter-boxing.
Makes sure to always copy codec of cover images, as ffmpeg treats them as video streams.
This commit is contained in:
2024-05-25 00:15:41 +02:00
parent c3c89fcb75
commit c0c8c9c054
13 changed files with 306 additions and 64 deletions

View File

@ -17,7 +17,7 @@ public class SubtitleStream extends AbstractStream implements StreamObject {
*
* @param streamInfo <p>All info about the stream</p>
* @param inputIndex <p>The index of the input file containing this stream</p>
* @param relativeIndex <p>The index of the subtitle stream relative to other subtitle streams.</p>
* @param relativeIndex <p>The index of the subtitle stream relative to other subtitle streams</p>
*/
public SubtitleStream(@NotNull Map<StreamTag, String> streamInfo, int inputIndex, int relativeIndex) {
super(streamInfo, inputIndex, relativeIndex);