lisamelton / video_transcoding

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

transcode-video repeats three dots (...) but never executes HandbrakeCLI #352

Open megashub opened 1 week ago

megashub commented 1 week ago

transcode-video repeats three dots (...) but never executes HandbrakeCLI. I think crop detection may be hanging?

these two processes are running:

/usr/local/bin/ruby -W /usr/local/bundle/bin/transcode-video --crop detect --fallback-crop minimal --quick --filter deinterlace /path/to/1080p_file.mkv -o /path/to/output

ffmpeg -hide_banner -nostdin -noaccurate_seek -ss 306 -i /path/to/1080p_file.mkv -frames:v 10 -filter:v cropdetect=24:2 -an -sn -ignore_unknown -f null -

It's only happening with one specific 1080p bluray file. It's an extended cut movie that spans two discs, and it's the second disc's file that's behaving like this. I've used this same command successfully on hundreds of various DVDs, Blurays, and 4K video disc backups. The file was created via MakeMKV and plays fine in VLC, for whatever that's worth:

image