there is even convolution3d for yv12...
http://avisynth.org/warpenterprises/files/convolution3dyv12_25_dll_20030329.zip
a more evoluted filter of this kind is mipsmooth
http://avisynth.org/warpenterprises/files/mipsmooth_25_dll_20051223.zip
anyway i prefer degrainmedian and removegrain..
thanks for this grat app!
BHH
+ Reply to Thread
Results 121 to 150 of 254
-
HDConvertToX, AutoMen, AutoMKV Developer
-
using conv3d for yv12 could be useful....one less colorspace change....
thanks for the PM!!!!'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie -
there is a bug for interlaced sources in the convolution3d scripting generation. I found this out by playing some encodes on a TV and everything looked wacky.
for interlaced sources you need to use:
ConvertToYUY2(interlaced=true)
HCbatchGUI only uses ConvertToYUY2 before running convolution3d. It seems that if the interlaced=true is not in place then you get field errors and jerly movement.
the same is also true for converting to yv12 before going to HC....you need:
ConvertToYV12(interlaced=true)
See:
http://forum.doom9.org/showthread.php?t=60864
and
https://forum.videohelp.com/topic225951-60.html
my sources are verified BFF and interlaced via GSpot....if you have the energy and want to fix this before Christmas I can check it out!!!!
thanks'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie -
Originally Posted by ron spencerDonadagohvi (Cherokee for "Until we meet again")
-
actually it has nothing to do with convolution....if a user uses ANY interlaced source the (interlaced=true) needs to appear after ANY convertto command....so maybe you could have a box for interlaced or not
there is an issue with the convolution scripts on their own...but I am verifying this now.'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie -
Not for "any" color conversion. Only if converting to or from YV12.
From the AviSynth documentation:
Note, the interlaced=true setting only does something if the conversion YV12 <-> YUY2/RGB is requested, otherwise it's simply ignored."Shut up Wesley!" -- Captain Jean-Luc Picard
Buy My Books -
yes you are right....I did see that....but better safe than sorry, esp. if avisynth ignores when not needed, and this proggy does convert the spaces...so should be there
'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie -
Well I did say I wan't an avisynth guru
Since I'm going to have to fix the script I'll just update the convoulution3d.dll to the yv12 version that buzzqw mentioned to reduce color conversion. I will add the (interlaced=true) to fix the script. Sorry about that. I thought I followed fulci's guide correctly but I'll have to admit that I did not read all 5 pages. Also I have only personally used convoution on progressive sources. I will fix as suggested. Thanks ron and gadgetguy! Hope I haven't caused too many people problems!Donadagohvi (Cherokee for "Until we meet again") -
just to be sure...
Convolution3D is not interlace aware and the fields must be separated before applying it
like this
SeparateFields() #separate the 2 fields
odd=SelectOdd.Convolution3D(1, 6, 10, 6, 8, 2.8, 0) # on every fields do convolution
evn=SelectEven.Convolution3D(1, 6, 10, 6, 8, 2.8, 0) # on every fields do convolution
Interleave(evn,odd) #set the working pair
Weave() # merge it
yadif() #deinterlace
or
yadif() #first deinterlace
Convolution3D(1, 6, 10, 6, 8, 2.8, 0) # then clean it
EDIT: just some considerations..
the first approach is the preferred. Working on single field before the deinterlace "do it damage" will produce the most clean picture. Working on already deinterlace picture will lead to minor "cleaning" since most rumor is now merged together. But.. working on already deinteralced frame is faster
Most if not depend if the source need do be deinterlaced.
If you use a good motion/frame adaptive (leakkernel, tdeint..) let's first deinterlace.. but otherwise.. first clean the room
BHHHDConvertToX, AutoMen, AutoMKV Developer -
Okay updated to 13.6
fixed convolution scripts (hopefully)
updated convolution to yv12 version
Once again my apollogies for any problems this may have caused.Donadagohvi (Cherokee for "Until we meet again") -
There is still a problem (I never mentioned this before). The convolution scripts is:
SeparateFields()
odd=SelectOdd.Convolution3D (1, 6, 10, 6, 8, 2.8, 0)
evn=SelectEven.Convolution3D (1, 6, 10, 6, 8, 2.8, 0)
Interleave(evn,odd)
Weave()
DoubleWeave.SelectOdd()
converttoyv12(interlaced=true)
DoubleWeave is invalid for NTSC DV sources that are not progressive. Beleive me is makes a MESS on playback; horrible. NTSC BFF interlaced material is cannot have this command....it must go. It was a relic when CCE could not handle BFF.
see:
http://forum.doom9.org/showthread.php?t=75734
https://forum.videohelp.com/topic225951-120.html
If I take it out then all is purrfect!!! so the doubleweave.selectodd() needs to go for NTSC BFF (all NTSC DV if BFF anyway).
script should be:
converttoyuy2(interlaced=true)
SeparateFields()
odd=SelectOdd.Convolution3D (1, 6, 10, 6, 8, 2.8, 0)
evn=SelectEven.Convolution3D (1, 6, 10, 6, 8, 2.8, 0)
Interleave(evn,odd)
Weave()
converttoyv12(interlaced=true)
Also....I thought that what happens if you start a long encode but forget the audio options....you need to cancel the encode. How about an option on the audio page to just do the audio....at least for the saving of the WAV (no resample or resample). You could add a button to "Process Audio Only"
whew!!!!
Merry Christmas!!!'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie -
Okay ron. After christmas. I'm on my way to family right now and wont be near a computer for three days. Merry christmas!
Donadagohvi (Cherokee for "Until we meet again") -
no problem....relatives are coming here now and my kids are crazy....so no encoding for a while 4 me either....
safe travels................................'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie -
Hope everyone had a merry christmas.
Released 13.7
Removed doubleweave from convolution3d script as it was causing some errors.
Added ability to add or remove converttoyv12 from avs script (does not affect convolution scripts. Just scripts without convolution).
Originally Posted by ron spencerDonadagohvi (Cherokee for "Until we meet again") -
I had a cool Christmas....used your app to make some home movie DVDs for relatives...worked perfectly.
Thanks for V13.7....looks awesome!!! Here are a couple of comments 4 U.
1. Not sure if this can be done or not (not really THAT relevant), but can it be done so that when you hit Generate ABISynth Scripts that the .avs file is physically made so a user can open with notepad and check it before the gui runs the HC batch file? This is not THAT important, but just a convenience thing.
2. in the converttoyv12 drop down box you have one of the three choices as:
converttoyv12(interlaced=true)# for interlaced video
the rest are:
converttoyv12() # for progressive video
# no colorspace conversion
Now this is really picky, but you should probably put a space after the bracket in the first option so you get:
converttoyv12(interlaced=true) # for interlaced video
This is wacky picky for sure, but you seem to be a programmer who likes to have all the i's dotted and t's crossed.
3. I never had a clue about audio only processing!!! I think this is such an important feature that you should mention in it in the template selection area....write in blue underneath the two template open boxes something like:
"Do not open an HC template if you wish to process only the audio; follow ALL OTHER steps though"
4. In the log file a reference to DGpulldown is always present. It says: "DGpulldown will now start" To a new user, they may be concerned if they did not choose a DGPulldown option. How about "DGPulldown, if applicable, will now start"
Again a great new version....just giving my humble opinion as it were.
Thumbs-Up!!!'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie -
Originally Posted by ron spencer
2. in the converttoyv12 drop down box you have one of the three choices as:
converttoyv12(interlaced=true)# for interlaced video
the rest are:
converttoyv12() # for progressive video
# no colorspace conversion
Now this is really picky, but you should probably put a space after the bracket in the first option so you get:
converttoyv12(interlaced=true) # for interlaced video
This is wacky picky for sure, but you seem to be a programmer who likes to have all the i's dotted and t's crossed.
Thats funny! I really don't think of myself as a programmer. The guys who made the great programs like HCenc, Aften, DGpulldown, etc.... are the REAL programmers.
3. I never had a clue about audio only processing!!! I think this is such an important feature that you should mention in it in the template selection area....write in blue underneath the two template open boxes something like:
"Do not open an HC template if you wish to process only the audio; follow ALL OTHER steps though"
4. In the log file a reference to DGpulldown is always present. It says: "DGpulldown will now start" To a new user, they may be concerned if they did not choose a DGPulldown option. How about "DGPulldown, if applicable, will now start"Donadagohvi (Cherokee for "Until we meet again") -
I really have nothing else to add for now....dunno about other features.
I am not sure the online guide should be the only place for the audio only processing thing....having a nice blue line on the GUI may also be good info....but that is just me...
Not sure what else to add for now really...will think'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie -
Released 13.8
Most small bugs should be fixed now. Added some new features.
Avs scripts are now created immediately after pressing "generate avs script"
You can review, edit, and save your avs scripts on the last page.Donadagohvi (Cherokee for "Until we meet again") -
Looks good...will give full test in morning....
Looked at GUI....one thing to note.
The AVISynth box that displays the scripting (in the AVISynth Creator Section) seems too small...while it will scroll up and down there is no space between the up and down arrows. At first I thought this may mean a bug, but it did work. Perhaps you could widen that window to be the same as the "Your Batch File" window so nobody else thinks there is an issue.
will test in AM...thanks'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie -
all seems ok so far!!!
How about your program shutting down PC after encoding is done? Your gui would need to do it and not HC, as the gui would be doing audio maybe as well. You can shutdown with a file from here:
http://www.aumha.org/win5/a/shutcut.php
then you would need to make a batch file to use the .exe called shutdown with a pause command before execution so any logs can be written. Then a radio button in the gui for shutdown when done.
Is this a good idea?'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie -
I thought about it and it's easily done. I personally leave my pc on almost all the time. But I'm sure others might find it useful. I will probably add it sooner or later.
Donadagohvi (Cherokee for "Until we meet again") -
just to let everyone know I think I have tested all the new options...5 encodes look good!!!
'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie -
Thanks for the diligent testing ron.
Donadagohvi (Cherokee for "Until we meet again") -
no problem.....I just looked at spelling....all seems ok as well.
I think this puppy is stable.....if you get a V14 out I will test that as well (LOL and big grin).....until then, happy programming and happy New Year!!!!'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie -
Released v13.9
Only a couple of changes.
Added ini file for the app. It will now remember your previous settings.
Changed install program so you can install the app into any directory or drive you like.
Added a setup tab so you can change your directory from "C:Program Files\HCbatchGUI" to any directory you like.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~
Happy New Year everyone! Please be safe!Donadagohvi (Cherokee for "Until we meet again") -
thanks!!!!
Couple of things from me here....
1. The Process Log Window always says del gen_avs.bat, but it never finds this file....did it always say that?
2. I am attaching a pic....look where I circled....for looks sake do you think you can add some added space between the up anb down arrows of the avisynth box? Would this apply to the "Your batch file" box as well?
3. This was just a carry over suggestion reminder if you think it is worth while.....shut down when done...again no big deal.
4. There is one bug....the audio file (whether you do audio only or audio with encode) is not saved in the target directory. It is now save on my system root drive....that is C: The video is put where it is chosen to go, but the audio is sent to c:\. For example, I put my stuff to encode into a "To Encode" folder....once it is encoded it is to be saved into a "Encoded" folder. Audio is never sent there.
thanks again!!!!! 8)
'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie -
Originally Posted by ron spencer
2. I am attaching a pic....look where I circled....for looks sake do you think you can add some added space between the up anb down arrows of the avisynth box? Would this apply to the "Your batch file" box as well?
3. This was just a carry over suggestion reminder if you think it is worth while.....shut down when done...again no big deal.I forgot about that.......
4. There is one bug....the audio file (whether you do audio only or audio with encode) is not saved in the target directory. It is now save on my system root drive....that is C: The video is put where it is chosen to go, but the audio is sent to c:\. For example, I put my stuff to encode into a "To Encode" folder....once it is encoded it is to be saved into a "Encoded" folder. Audio is never sent there.Donadagohvi (Cherokee for "Until we meet again") -
ok for 1 I posted.
For 2, it is just cosmetic....I am all for having stuff look good so if it were me I would expand the boxes a little, but it is not really that important, so I defer to you.
For 3, Power off, whenever is good.
Now for 4, my "bug" report, it will work ok if you manually choose the output folder, however it is bizarre. The video ALWAYS is put in the right spot no matter what (I checked a few times). For some reason if you let the program remember the settings the audio is forgotten about if you do not manually specify the output folder.
See attached a screen shot of the audio saving....as I circled and wrote in, the path does not seem to be sent!!! But this only seems to affect audio....it is a nice feature remembering stuff....but if it introduces issues feel free to leave it out.
:P
'Do I look absolutely divine and regal, and yet at the same time very pretty and rather accessible?' - Queenie -
I left out one silly little line for the audio. Sorry...
It should be fixed now. It should remember your audio path now. You will have to press the target button and select the directory button to initially set up the path but from then on it will remember it for you.
Grab v14.0
http://sourceforge.net/projects/hcbatchgui/
Once again....Very sorry.Donadagohvi (Cherokee for "Until we meet again")
Similar Threads
-
DVD slideshow GUI - development thread.
By tin2tin in forum ProgrammingReplies: 1872Last Post: 28th Aug 2018, 17:08 -
MKV2AC3 - development thread
By Delta2 in forum Newbie / General discussionsReplies: 216Last Post: 9th Apr 2016, 14:24 -
HCbatchGUI user guide ~ Batch process video and audio.
By freebird73717 in forum User guidesReplies: 4Last Post: 21st Dec 2009, 07:51 -
AVI TO AC3 - Development Thread
By freebird73717 in forum AudioReplies: 43Last Post: 2nd Sep 2008, 23:42 -
How to encode an Avi to dvd ready video and audio Using HCenc and Aften
By freebird73717 in forum User guidesReplies: 13Last Post: 14th Nov 2007, 14:16