Closed alekdavis closed 3 years ago
Hey Alek, that's really odd. Every once in a blue moon, I'll have a similar issue, and can't ever find the root cause (I've had this happen maybe twice over the course of tens of thousands of conversions). I suspect the original file was encoded in some non-standard way that causes ffmpeg to get confused when its re-encoding. The various info ffmpeg outputs to stdin/stderr doesn't necessarily get recorded in the conv2mp4 log unless they're part of a specific script operation, so if you come across this issue again, watch the actual script execution output (which will show the ffmpeg output) to see if there are any unusual messages. I'd suggest making a copy of the file in question outside of your media path as a backup, as well.
Yeah, I wish I knew that this was an issue in advance. I did the conversion without keeping the original backups, and I think I lost about 10% or so of the videos. Switched to using HandBrake.
I am not sure if this is a problem with ffmpeg or with the way it gets called, but I just converted one MKV file and conversion went fine:
The original file was fine, but when I tried to play the MP4, it would not work with any video player (tried Plex, VLC). I checked MediaInfo and all streams are gone (the MKV has one video stream, three audio streams, and five subtitle streams). Tried to run the converter twice just in case and the result was the same.