Recursive (batch) video codec details with MediaInfo CLI
1
vote
1
answer
1215
views
I want to share my script to do this with Media Info CLI and python. At first I tried with pure bash but should have just gone python at first, much quicker and adaptable (for me).
My task was to recursively go through all files in a specified folder (in this case on a NAS), and print as well as store in a txt file all the video codec and profile level used in each.
The reason be I found some older Samsung TV wont play H264 with profile level greater than 4.1 , so some re-encoding was in order, also the latest Samsung TV have dropped support for xvid/divx.
Asked by Hayden Thring
(272 rep)
Oct 20, 2021, 05:36 AM
Last activity: Dec 13, 2021, 09:18 AM
Last activity: Dec 13, 2021, 09:18 AM