FallingSnow / h265ize

A node utility utilizing ffmpeg to encode videos with the hevc codec.
MIT License
527 stars 82 forks source link

AVCHD .MTS files are not recognized as video stream #119

Open omencat opened 6 years ago

omencat commented 6 years ago

From the helpers.js it looks like it checks to see if mime type starts with video, but for .MTS files, I guess they are not recognized as valid video files.

FallingSnow commented 6 years ago

That is probably correct. You would need to change the code located at https://github.com/FallingSnow/h265ize/blob/d9746cbe18f54b78fd8d7e666fcd189eae085071/lib/helpers.js#L217 to add .mts.