18.11.2017, 12:01
Quote:Hmm... It would also need a way of being pointed towards user's baseline reference for Encoding settings or it won't be able to shorten the output, as well as towards the correct '*_Report.txt' file for PSNR & SSIM parsing if/when implemented. Other than that this looks good.That would both be some for some later version of the program.
To support only showing a portion of the 'Encoding settings' an additional parameter like:
--showEncodingSettings=[param1, param2,..]
The tool would then additionally need to:
a. grab the 'Encoding settings' in case they exist.
b. split them by " / " and check whether there is an entry for "paramX=" and then add those values to the new file name.
For PSNR, SSIM at least two additional parameters would be needed.
--reportFile="Path to report file"
--report1="regexp to capture the wanted"
Problem is:
a. something like
x264 [info]: SSIM Mean Y:0.9999810 (47.223db)
x264 [info]: PSNR Mean Y:73.727 U:72.391 V:72.120 Avg:73.127 Global:69.056 kb/s:87.37
SSIM Mean Y 0.9999810 (47.223db) PSNR Mean Y 73.727 U 72.391 V 72.120 Avg 73.127 Global 69.056 87.37 kBit per second
b. most folks won't be able to write RegExps which I can directly feed to Qt. So this wouldn't be that easy, especially if folks should be able to select what should be added and how it should be added.
=> Writing a small program which covers the
MediaInfoRenamer --Inform=<InformCall> --Separator=<used seperator> --Merger=<append> <File>
Adding the parts of the 'Encoding settings' and PSNR and/or SSIM values is a lot more work.
Cu Selur