This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Poll: Would you like to see these features implemented?
You do not have permission to vote in this poll.
Yes
33.33%
1 33.33%
Some
33.33%
1 33.33%
No
0%
0 0%
Don't care
33.33%
1 33.33%
Total 3 vote(s) 100%
* You voted for this item. [Show Results]

Feature Suggestions Regarding Automatic Filename Generation
#4
Quote:I requested it here since this information is mostly already available through Hybrid and the files it produces as long as mkvinfo & mediainfo are up to date. It just takes a while to gather it all manually; except for PSNR & SSIM, as i'm still not sure how to find those values after setting their Metrics on at 'x265 > Misc'.
Tell Hybrid to create report files ('Config->Internals->Create report file') and you will see something like this:
x264 (1st pass bitrate) processing started...
starting 17_39_52_0610_01_video@17:39:57.702 - H:\Output\Test-AC3-5.1.mp4
"G:\Hybrid\x264.exe" --preset superfast --pass 1 --bitrate 1500 --profile high --level 4.1 --direct auto --sync-lookahead 27 --qcomp 0.5 --aq-mode 0 --sar 1:1 --psnr --ssim --non-deterministic --range tv --stats "H:\Temp\Test-AC3-5.1_17_39_52_0610_01.stats" --demuxer raw --input-depth 8 --input-res 640x480 --input-csp i420 --fps 25 --output NUL -
raw [info]: 640x480p 1:1 @ 25/1 fps (cfr)
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
x264 [info]: profile Main, level 4.1
x264 [info]: frame I:4     Avg QP: 5.25  size: 18380  PSNR Mean Y:68.74 U:68.97 V:68.39 Avg:68.54 Global:53.65
x264 [info]: frame P:210   Avg QP: 0.24  size:  1134  PSNR Mean Y:73.67 U:72.37 V:72.11 Avg:73.09 Global:69.33
x264 [info]: frame B:621   Avg QP: 1.96  size:    86  PSNR Mean Y:73.78 U:72.42 V:72.15 Avg:73.17 Global:70.01
x264 [info]: consecutive B-frames:  0.8%  0.0%  0.0% 99.2%
x264 [info]: mb I  I16..4: 89.1%  0.0% 10.9%
x264 [info]: mb P  I16..4:  0.5%  0.0%  0.0%  P16..4:  2.5%  0.0%  0.0%  0.0%  0.0%    skip:97.0%
x264 [info]: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.3%  0.0%  0.0%  direct: 0.7%  skip:99.0%  L0:20.5% L1:79.5% BI: 0.0%
x264 [info]: final ratefactor: -14.21
x264 [info]: direct mvs  spatial:98.4% temporal:1.6%
x264 [info]: coded y,uvDC,uvAC intra: 8.7% 13.7% 11.8% inter: 0.4% 0.4% 0.4%
x264 [info]: i16 v,h,dc,p: 85% 13%  2%  0%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 39% 23% 20%  3%  3%  4%  3%  2%  3%
x264 [info]: i8c dc,h,v,p: 69% 17% 13%  0%
x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
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
encoded 835 frames, 1081.61 fps, 87.37 kb/s
finished after 00:00:01.217
finished...

x264 (2nd pass bitrate) processing started...
starting 17_39_52_0610_02_video@17:39:58.926 - H:\Output\Test-AC3-5.1.mp4
"G:\Hybrid\x264.exe" --pass 2 --bitrate 1500 --profile high --level 4.1 --direct auto --sync-lookahead 27 --qcomp 0.5 --no-mbtree --partitions i4x4,p8x8,b8x8 --no-fast-pskip --subme 5 --trellis 0 --weightp 1 --aq-mode 0 --vbv-maxrate 62500 --vbv-bufsize 78125 --sar 1:1 --psnr --ssim --non-deterministic --range tv --colormatrix bt470bg --stats "H:\Temp\Test-AC3-5.1_17_39_52_0610_01.stats" --demuxer raw --input-depth 8 --input-res 640x480 --input-csp i420 --fps 25 --output "H:\Temp\17_39_52_0610_02.264" -
raw [info]: 640x480p 1:1 @ 25/1 fps (cfr)
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
x264 [warning]: target: 1500.00 kbit/s, expected: 125.46 kbit/s, avg QP: 0.0000
x264 [warning]: try reducing target bitrate
x264 [info]: profile High, level 4.1
x264 [info]: frame I:4     Avg QP: 0.00  size: 22342  PSNR Mean Y:76.13 U:74.39 V:73.57 Avg:75.24 Global:75.17
x264 [info]: frame P:210   Avg QP: 0.00  size:   785  PSNR Mean Y:76.04 U:74.58 V:74.03 Avg:75.32 Global:75.22
x264 [info]: frame B:621   Avg QP: 1.73  size:    43  PSNR Mean Y:76.10 U:74.61 V:74.04 Avg:75.37 Global:75.27
x264 [info]: consecutive B-frames:  0.8%  0.0%  0.0% 99.2%
x264 [info]: mb I  I16..4: 88.7%  0.1% 11.1%
x264 [info]: mb P  I16..4:  0.3%  0.0%  0.2%  P16..4:  1.0%  0.0%  0.1%  0.0%  0.0%    skip:98.5%
x264 [info]: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.2%  0.0%  0.0%  direct: 0.1%  skip:99.6%  L0:27.8% L1:72.1% BI: 0.1%
x264 [info]: 8x8 transform intra:0.1% inter:22.9%
x264 [info]: direct mvs  spatial:99.5% temporal:0.5%
x264 [info]: coded y,uvDC,uvAC intra: 10.0% 13.6% 11.5% inter: 0.1% 0.1% 0.1%
x264 [info]: i16 v,h,dc,p: 86% 12%  2%  0%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 61% 11% 29%  0%  0%  0%  0%  0%  0%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 24% 21%  3%  3%  4%  3%  3%  3%
x264 [info]: i8c dc,h,v,p: 72% 16% 12%  1%
x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x264 [info]: ref P L0: 87.1% 11.5%  1.4%
x264 [info]: ref B L0: 97.3%  2.7%
x264 [info]: ref B L1: 99.2%  0.8%
x264 [info]: SSIM Mean Y:0.9999934 (51.833db)
x264 [info]: PSNR Mean Y:76.085 U:74.601 V:74.039 Avg:75.356 Global:75.258 kb/s:67.26
encoded 835 frames, 907.61 fps, 67.26 kb/s
finished after 00:00:01.065
finished...

created H:\Temp\17_39_52_0610_02.264 (0.267804 MB)
starting cleanUpJob for: H:\Temp\Test-AC3-5.1_17_39_52_0610_01.stats
delete H:\Temp\Test-AC3-5.1_17_39_52_0610_01.stats
starting 17_39_52_0610_04_muxing@17:40:00.002 - H:\Output\Test-AC3-5.1.mp4
"G:\Hybrid\MP4Box.exe" -par 1=1:1 -add "H:\Temp\17_39_~1.264"#video:fps=25:xps_inband -brand avc1 -itags tool="Hybrid 2017.11.13.1" -tmp "H:\Temp" -new "H:\Output\17_39_52_0610__04.mp4"
finished after 00:00:00.118
finished...

created H:\Output\17_39_52_0610__04.mp4 (0.278579 MB)
starting cleanUpJob for: H:\Temp\17_39_52_0610_02.264
delete H:\Temp\17_39_52_0610_02.264
renamed H:\Output\17_39_52_0610__04.mp4 to H:\Output\Test-AC3-5.1.mp4
Inside the report file. In older versions the normal log showed these, but that was removed since it caused users to always post their normal 'log'.

Problem with generic tags is most applications don't support them.
Most containers like mp4 and mkv, support a few official tags. (For mkv see https://matroska.org/technical/specs/tagging/index.html.)
And libraries like MediaInfo only support these (not sure if MediaInfo really supports all official mkv tags).
-> So in your case it won't help at all if I would add additional mkv tags since MediaInfo won't detect them and report them. Smile

Quote:This is because i used 'enc\' filename prefix as a workaround in order to get a dynamic subfolder under the source folder.
Okay, this feature isn't used as intended and I do not plan to write any workaround for that.

Quote:So the point of suggestion 4 is about having full support for dynamic directories for all generated files.
So a different file directory for each type of generated file. -> Sorry, that's not happening.

Quote:I chose to keep the intermediate (.265 & .aac) files as a workaround, since Hybrid overwrites the .mkv test files i'm generating (as '_new' seems to only kick in occasionally, perhaps due to some condition i'm unaware of; most of my test files only differ by one parameter).
The '_new' will only checked and added when 'Generate' gets triggered.
For example:
You load a file (or multiple files) into Hybrid and 'Generate' is enabled, Hybrid will check for each file whether a name with it's name exists and will add '_new' in case it does. So assuming you now add a job for the file(s) you added, change your encoding settings and create another job:
a. generate won't get triggered
b. no additional '_new' would get added, even if 'Generate' was triggered since the output file doesn't exist.
c. if you do stuff like changing the output folder through file name generation like you did, Hybrid will look inside the wrong folder. Smile

Quote:I then check their metadata with MediaTab (which internally uses mediainfo).
Did some reading up and tested a few things, seems like MediaInfo nowadays supports custom tagging (it even shows non standard tags).
I theoretically could write an option which would add separate tags for any wanted data.
To add PSNR and SSIM results the output of the encoder would need to be parsed and then custom tags would need to be added. (Different code for each multiplexer.)
-> will think about it in case some other users also see a usefulness in this option.

Cu Selur
Reply


Messages In This Thread
RE: Feature Suggestions Regarding Automatic Filename Generation - by Selur - 17.11.2017, 19:25

Forum Jump:


Users browsing this thread: 1 Guest(s)