G'day. Transcoding from mp4 to mkv with embedded subtitles, using copy, fails: the mkv container can't hold the mov_text subtitle format. It works fine with, eg, -c:s webvtt, srt, or ass.
I don't want to transcode subtitle streams unnecessarily; while the ffmpeg subtitle codecs are generally good, they sometimes mess something up.
It'd be great to get an scodec predicate to enable this, matching the subtitle stream format(s). Right now I work around this using the path – transcode subtitles on any mp4 stream – which works, but is a blunt hammer for a specific requirement.
[matroska @ 000001d285d691c0] Subtitle codec 94213 is not supported.
Could not write header for output file #0 (incorrect codec parameters ?): Function not implemented
Error initializing output stream 0:0 --
G'day. Transcoding from
mp4
tomkv
with embedded subtitles, usingcopy
, fails: the mkv container can't hold themov_text
subtitle format. It works fine with, eg,-c:s webvtt
, srt, or ass.I don't want to transcode subtitle streams unnecessarily; while the ffmpeg subtitle codecs are generally good, they sometimes mess something up.
It'd be great to get an
scodec
predicate to enable this, matching the subtitle stream format(s). Right now I work around this using the path – transcode subtitles on any mp4 stream – which works, but is a blunt hammer for a specific requirement.example metadata output
error message