Skip to content

comcut: add support for non-TS compatible video codecs#52

Open
graysky2 wants to merge 1 commit into
BrettSheleski:masterfrom
graysky2:codec
Open

comcut: add support for non-TS compatible video codecs#52
graysky2 wants to merge 1 commit into
BrettSheleski:masterfrom
graysky2:codec

Conversation

@graysky2

Copy link
Copy Markdown

This change dynamically detects the video codec of the input file. If the codec is not natively compatible with MPEG-TS (e.g., codecs other than H.264, HEVC, or MPEG series), the script now uses MKV as the intermediate container format instead of TS. It also updates the concatenation logic to use FFmpeg's concat demuxer with a file list for MKV files, ensuring wider format support while maintaining the existing TS workflow for compatible streams.

This change dynamically detects the video codec of the input file. If the codec is not natively compatible with MPEG-TS (e.g., codecs other than H.264, HEVC, or MPEG series), the script now uses MKV as the intermediate container format instead of TS. It also updates the concatenation logic to use FFmpeg's concat demuxer with a file list for MKV files, ensuring wider format support while maintaining the existing TS workflow for compatible streams.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant