mkvtomp4 icon indicating copy to clipboard operation
mkvtomp4 copied to clipboard

Feature Request: Add support for Transcoding non H.264 streams

Open rgaufman opened this issue 4 years ago • 1 comments

Hi there,

I have some MKV files that don't have an H.264 video stream, it would be good to enable support to transcode those, e.g.

$ mkvtomp4 test.mkv
error: appropriate video track not found: [{'number': 0, 'type': 'video', 'codec': 'MS/VFW/FOURCC'}, {'number': 1, 'type': 'audio', 'codec': 'AAC', 'language': 'und'}, {'number': 2, 'type': 'subtitles', 'codec': 'TEXT/ASS', 'language': 'und'}]

Another example:

$ mkvtomp4 test.mkv
error: appropriate audio track not found: [{'number': 0, 'type': 'video', 'codec': 'MPEGH/ISO/HEVC', 'language': 'und', 'fps': 23.976}, {'number': 1, 'type': 'audio', 'codec': 'OPUS'}]

rgaufman avatar Oct 31 '20 12:10 rgaufman

It's a good suggestion. I have a new project that does this directly in a single ffmpeg command, and handles subtitles, etc. I plan to publish the source before the end of the year.

gavinbeatty avatar Nov 02 '20 18:11 gavinbeatty