Calling out to a subshell is slow, even if mediainfo contains lots of convenient information in a readable format. A better alternative would be to look for python libraries built for video processing, which would also hopefully give stronger guarantees on verifying that the resultant transcode is "good"
Calling out to a subshell is slow, even if
mediainfo
contains lots of convenient information in a readable format. A better alternative would be to look for python libraries built for video processing, which would also hopefully give stronger guarantees on verifying that the resultant transcode is "good"