shawnf 8 Posted December 9, 2014 Posted December 9, 2014 Hi Does anyone know of a program which will Interrogate video files and output what Codec they use to a text file. I want to do my media centre to find out which MKV's are still H.264 so I can convert them to H.265 without opening each one up. All I am after is something like File a H.264 File b H.265 File c xxxxx etc. I am not after 30 lines of meta data for each file. Or does Media browser have something? Thanks
Angelblue05 4132 Posted December 9, 2014 Posted December 9, 2014 (edited) MediaInfo is a good and free software that will help you identify, however for the automation part...I have no idea I personally use Handbrake to convert, you can queue up folders. Edited December 9, 2014 by Angelblue05
AdrianW 1058 Posted December 9, 2014 Posted December 9, 2014 I assume you're converting to x265 to save drive space. Just make sure you use a reasonable quality setting when encoding so you don't lose too much quality. I've seen files that are ridiculously small for 720p rips and the quality just suffers too much. I've been re-encoding some of my stuff with a quality setting of around 21 which gives good quality results. The default setting, at least in MeGUI, is 26 I think, but that compresses too much (IMO).
shawnf 8 Posted December 9, 2014 Author Posted December 9, 2014 AdrianW, on 09 Dec 2014 - 3:03 PM, said: I assume you're converting to x265 to save drive space. Just make sure you use a reasonable quality setting when encoding so you don't lose too much quality. I do DVD's at 18 and Bluray at 20. It is nice to save space, but it is more so Media Browser can stream them back out to my devices, as it doesn't like ISO's that much.
shawnf 8 Posted December 9, 2014 Author Posted December 9, 2014 MediaInfo is a good and free software that will help you identify, however for the automation part...I have no idea I personally use Handbrake to convert, you can queue up folders. I use handbrake as well, I just need to find what I have not already done.
shawnf 8 Posted December 9, 2014 Author Posted December 9, 2014 Angelblue05, on 09 Dec 2014 - 12:22 PM, said:MediaInfo is a good and free software that will help you identify, however for the automation part...I have no idea I personally use Handbrake to convert, you can queue up folders. I did try downloading Mediainfo, but my virus checker throws up warnings about it so I didn't bother to install it. I might try it on my windows 10 machine to see if it is just a installer of a toolbar thing that's causing the issue.
AdrianW 1058 Posted December 9, 2014 Posted December 9, 2014 I've been playing around with a script I found in this post on doom9 forums. Download the MediaInfo CLI version from here and unzip into a folder somewhere. Then create a batchfile something like this: set mi_exe=D:\Temp\MI\MediaInfo.exe set input_folder=\\KIYONE\Video set output_file=D:\Temp\VideoFormatList.csv For /r "%input_folder%" %%x in ("*.mp4","*.mkv","*.avi","*.m4v","*.mpg","*.wmv","*.mov") Do ( "%mi_exe%" --Inform="General;%%CompleteName%%,%%Video_Format_WithHint_List%%,%%Audio_Format_WithHint_List%%,%%Format_Commercial%%,%%Format_Profile%%" "%%~x">>"%output_file%" ) Change the path on the first line to the path to where you installed mediainfo.exe Change the path on the second line to the top folder of your video collection. (try a folder containing only a few videos first) Change the path on the third line to where you want the output creating. Save it as a file with ".bat" extension and then double click it. It should create a csv file containing the info you require for all video files below that top level folder. Main issue for me is that some of my video file names contain commas, which offsets the output columns on those lines. I can't figure out how to get literal quote characters into the output to quote the filenames.
Luke 42077 Posted December 10, 2014 Posted December 10, 2014 if you just want a birds eye glance at files and codecs, the reports section has that
Redshirt 1487 Posted December 10, 2014 Posted December 10, 2014 (edited) if you just want a birds eye glance at files and codecs, the reports section has that I had actually thought that info had been long stripped out of the reports section. But now that you've mentioned it I went back and had a look. In Chrome (Windows) several of the columns are not shown until you hit the forward arrow to go to the next page. edit: IE does the same thing. Edited December 10, 2014 by Redshirt
Happy2Play 9780 Posted December 10, 2014 Posted December 10, 2014 I had actually thought that info had been long stripped out of the reports section. But now that you've mentioned it I went back and had a look. In Chrome (Windows) several of the columns are not shown until you hit the forward arrow to go to the next page. edit: IE does the same thing. Just noticed the same thing. When Reports is opened columns stop at runtime. Then advancing to next page, (video, resolution, audio, subtitle, trailers, and specials) columns appear. FF 34
shawnf 8 Posted December 10, 2014 Author Posted December 10, 2014 Luke, on 10 Dec 2014 - 11:23 AM, said:if you just want a birds eye glance at files and codecs, the reports section has that Thanks, That's what I am looking for
shawnf 8 Posted December 31, 2014 Author Posted December 31, 2014 Hi Just a follow up question. Is there possibly a way to export the data from the reports into a CSV file or something simular? Or does it exist in a database file and if so what is it called. I could probably use access to get the data out in a format which would be easier to use. Could it be possibly in the future to have a "Media Type" field, for Blu Ray, DVD, Rip etc for filtering? I have managed to buy a couple of the same titles in blu ray because I forgot I already had it in that format were I though I had it on DVD
Luke 42077 Posted December 31, 2014 Posted December 31, 2014 you can't export reports but it's something we plan to add in the future
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now