Adds external audio parsing and other fixes
All checks were successful
KnarCraft/FFmpegConvert/pipeline/head This commit looks good

Trims subtitle tiles before checking if it's full
Generalizes some stream parsing
Fixes an exception when a stream tag is set, but has no value
Looks for both subtitle and audio streams adjacent to the main file
This commit is contained in:
2024-04-21 19:54:45 +02:00
parent ded88eb5b5
commit 92b46bdc9e
4 changed files with 117 additions and 37 deletions

View File

@@ -0,0 +1,28 @@
package net.knarcraft.ffmpegconverter.property;
/**
* A representation of different stream types
*/
public enum StreamType {
/**
* A video stream
*/
VIDEO,
/**
* An audio stream
*/
AUDIO,
/**
* A subtitle stream
*/
SUBTITLE,
/**
* None of the above
*/
OTHER
}