lisamelton / video_transcoding

Tools to transcode, inspect and convert videos.
MIT License
2.39k stars 160 forks source link

convert-video cannot find a compatible video track #203

Closed huwtheb closed 6 years ago

huwtheb commented 6 years ago

I've ripped a couple of DVDs using MakeMKV, now want to convert that MKV using convert-video. When I do, I get a "no compatible video track" message.

Using mkvmerge -i, it appears the video track is MPEG-1/2. Not sure if convert-video does not like that.

Is there a way to convert this type of video track?

lisamelton commented 6 years ago

@huwtheb Sorry I took so long to respond. I was at lunch.

My convert-video tool is designed to convert a video file from Matroska (MKV) to MP4 format or from MP4 to Matroksa format without transcoding the video. It's mostly useful as a helper utility for my transcode-video tool if want to switch formats after transcoding, e.g. you forgot to use the --mp4 option when you invoked transcode-video.

A DVD rip, as you've discovered, always contains video in MPEG-2 format. This video format is not allowed in MP4 files. This is a restriction by the format and not by my or anyone else's tools.

The only video format allowed in MP4 files is MPEG-4. The H.264/AVC codec produces the most widely used "flavor" of MPEG-4, and it's also the default output format of HandBrake. So, you'll need to use my transcode-video tool or some other transcoding utility to convert your DVD rip into MP4 format.

Does that answer your question?

huwtheb commented 6 years ago

Right, got it. Thanks, Don.

On Apr 18, 2018, at 2:11 PM, Don Melton notifications@github.com wrote:

@huwtheb https://github.com/huwtheb Sorry I took so long to respond. I was at lunch.

My convert-video tool is designed to convert a video file from Matroska (MKV) to MP4 format or from MP4 to Matroksa format without transcoding the video. It's mostly useful as a helper utility for my transcode-video tool if want to switch formats after transcoding, e.g. you forgot to use the --mp4 option when you invoked transcode-video.

A DVD rip, as you've discovered, always contains video in MPEG-2 format. This video format is not allowed in MP4 files. This is a restriction by the format and not by my or anyone else's tools.

The only video format allowed in MP4 files is MPEG-4. The H.264/AVC codec is the most widely used "flavor" of MPEG-4, and the default output format of HandBrake. So, you'll need to use my transcode-video tool or some other transcoding utility to convert your DVD rip into MP4 format.

Does that answer your question?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/donmelton/video_transcoding/issues/203#issuecomment-382513688, or mute the thread https://github.com/notifications/unsubscribe-auth/AkuW4J4iaXA2U0E68n7NcddeW6G_DALoks5tp53igaJpZM4Taofs.

lisamelton commented 6 years ago

@huwtheb No problem! Glad that helped.

I'll close this now but feel free to comment here again or open another issue. I get the notifications either way. :)