Avisynth: Merge Chroma/Luma encoding time?
During a recent encode test using these filters for the first time I noticed that my encode time increased by at least 33%! I am not sure if it is worth my limited cpu time to use these.
|
Re: Merge Chroma/Luma encoding time
Quote:
the ideas are in the "air". :wink: ending a few moments my tests with and without this filters: 40% faster without merge luma/chroma filters! :) |
File size will be WAY bigger without the filters :wink:
-kwag |
Quote:
:wink: |
When I have some time I will run a test and compare sizes. Kwag or others, have you done a test to determine how much larger without the filters it is (10%, 20%, etc.).
For me, 40% extra encoding time is not worth it. I will have to look at other filters that aren't as drastic on time..... |
i do the tests for you (we) my friend.
if Kwag do it too will be great! i got a new cpu and i'm "eletric"! :lol: i will use the same chapter for sample, and encode with the same CQ(60), with and without the filters,ok? i post the result later. :wink: |
Quote:
Code:
*1 minute clip * -kwag |
Quote:
|
mergechroma and mergeluma are well worth the extra encoding time :!: At least for me :wink:
-kwag |
after 6 hours:
8O @ Telemike, Kwag and friends: doing tests and the results: scripts from MovieStacker (edited in notepad to adjust what was needed for each case): this is the "full" script: LoadPlugin("C:\DVD2SV~1\MPEG2DEC\MPEG2DEC.DLL") mpeg2source("D:\TESTTELEMIKE\DVD2AV~1.D2V") LoadPlugin("C:\DVD2SVCD1\MPEG2Dec\Mpeg2dec.dll") LoadPlugin("C:\DVD2SVCD1\Dlls\Legalclip.dll") Legalclip() BicubicResize(464,464,0,0.6,0,0,720,480) LoadPlugin("C:\DVD2SVCD1\Dlls\STMedianFilter.dll") STMedianFilter(10,30,0,0,10,30) LoadPlugin("C:\DVD2SVCD1\Dlls\UnFilter.dll") Unfilter(50,50) temporalsmoother(1,2) LoadPlugin("C:\DVD2SVCD1\Dlls\MergeChroma.dll") mergechroma(blur(1.50)) LoadPlugin("C:\DVD2SVCD1\Dlls\MergeLuma.dll") mergeluma(blur(0.2)) AddBorders(8,8,8,8) Legalclip() encoding with ToK:(TMPGEnc 2.510.49.157) before each encode,the system was rebooted to refresh... and it do a big difference in the performance! ;-) with: the script posted(only the differences for each case), bitrate: min=300, max=2500 , CQ 60 (Fix CQ without prediction...free final size!), SVCD , MPEG2!(only video, without audio), sample: chapter 02 with 05:22 from "Sade live" (dvd) ToK Log: D:\TestTelemike\testes\1.avs ================================================== =========== Resolution (fps):480x480 (29,970 fps) Total Frames: 9664 Total Time : 00:05:22 ------------------------------------------------------------- 1-without STM ,merge luma/chroma: Encoding D:\TestTelemike\testes\1.avs Encoding... CQ : 60,000 Final Encoded Size: 72.334.830 Total Time (all operations): 00:18:28 final size: 68,8mb(70,640kb) 2-without STM (only): Encoding D:\TestTelemike\testes\2.avs Encoding... CQ : 60,000 Final Encoded Size: 67.765.383 Total Time (all operations): 00:48:47 final size: 64,6mb(66,178kb) 3-without merge luma/chroma(only): Encoding D:\TestTelemike\testes\3.avs Encoding... CQ : 60,000 Final Encoded Size: 69.410.478 Total Time (all operations): 00:19:34 final size: 66,1mb(67,784kb) 4-full script: Encoding D:\TestTelemike\testes\full.avs Encoding... CQ : 60,000 Final Encoded Size: 65.484.445 Total Time (all operations): 00:49:56 final size: 62,4mb(63,950kb) resume of all tests:(final sizes and times needed to encode) 1-without STM ,merge luma/chroma.:68,8mb(70,640kb)00:18:28 :? for quality and :wink: for time! 2-without STM (only).............:64,6mb(66,178kb)00:48:47 :wink: for quality and 8O 8O for time! 3-without merge luma/chroma(only):66,1mb(67,784kb)00:19:34 :wink: for quality and :wink: for time! 4-full script....................:62,4mb(63,950kb)00:49:5 6 :? for quality and 8O 8O for time! result of the image quality in Power DVD: not too big... seems that without STM is fine for me! only my opinion... maybe with unfilter 30,30 will be good and is needed less time/less final size too! the best: Sade dancing and singing. :wink: and i'm :bugeyes: was edited: only the emoticons,nothing more! :) |
Wow- Thanks Jorel! :D
30 minutes difference is HUGE! |
It is the blur function that takes most of the time. This function has been optimized a lot for YV12, just as merge.
|
Thanks guys for the post!!!! Saving 48 or 64Mb, just isn't worth the extra encoding time when encoding a DVD that has two movies.
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.