| Author |
Message |
buzzqw FFmpeg fanatic
Joined: 10 Jun 2004 Location: Italy
|
|
freebird73717 Member
Joined: 09 Dec 2003 Location: Buckle of the Bible Belt
|
|
ron spencer Monka's Brother
Joined: 23 May 2005 Location: Ish-ka-bibble
|
|
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
|
|
ron spencer Monka's Brother
Joined: 23 May 2005 Location: Ish-ka-bibble
|
|
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
http://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
|
|
freebird73717 Member
Joined: 09 Dec 2003 Location: Buckle of the Bible Belt
|
|
| ron spencer wrote: |
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
http://forum.videohelp.com/topic225951-60.html
|
Okay. Won't have the time until after christmas but thanks for the heads up!
_________________ My Tools
Ready to Learn?
|
|
ron spencer Monka's Brother
Joined: 23 May 2005 Location: Ish-ka-bibble
|
|
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
|
|
gadgetguy Contestant
Joined: 14 Feb 2002 Location: Michigan, USA
|
|
Not for "any" color conversion. Only if converting to or from YV12.
From the AviSynth documentation:
| Quote: |
| Note, the interlaced=true setting only does something if the conversion YV12 <-> YUY2/RGB is requested, otherwise it's simply ignored. |
To my knowledge, Convolution3D is not interlace aware and the fields must be separated before applying it.
_________________ "Shut up Wesley!"
-- Captain Jean-Luc Picard
|
|
ron spencer Monka's Brother
Joined: 23 May 2005 Location: Ish-ka-bibble
|
|
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
|
|
freebird73717 Member
Joined: 09 Dec 2003 Location: Buckle of the Bible Belt
|
|
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!
_________________ My Tools
Ready to Learn?
|
|
buzzqw FFmpeg fanatic
Joined: 10 Jun 2004 Location: Italy
|
|
just to be sure...
| Quote: |
| Convolution3D is not interlace aware and the fields must be separated before applying it |
mean that can't apply it directly.. but must first separate the fileds, apply convolution, merge the fields..
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
BHH
_________________ http://www.videohelp.com/tools/AutoMKV -> AutoMKV
http://www.videohelp.com/tools/MPlayer -> AutoMen
http://forum.videohelp.com/topic351415.html -> AutoFF, a nice gui for ffmpeg (windows/linux)
|
|
freebird73717 Member
Joined: 09 Dec 2003 Location: Buckle of the Bible Belt
|
|
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.
_________________ My Tools
Ready to Learn?
|
|
ron spencer Monka's Brother
Joined: 23 May 2005 Location: Ish-ka-bibble
|
|
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
http://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
|
|
freebird73717 Member
Joined: 09 Dec 2003 Location: Buckle of the Bible Belt
|
|
Okay ron. After christmas. I'm on my way to family right now and wont be near a computer for three days. Merry christmas!
_________________ My Tools
Ready to Learn?
|
|
ron spencer Monka's Brother
Joined: 23 May 2005 Location: Ish-ka-bibble
|
|
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
|
|
freebird73717 Member
Joined: 09 Dec 2003 Location: Buckle of the Bible Belt
|
|
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).
| ron spencer wrote: |
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"
|
You can process audio only easily. Just set your source and target directories on the first page then (don't open an HC template) then make your settings on the audio page like you normally would then click start. Thats assuming you already have your avs scripts generated.
_________________ My Tools
Ready to Learn?
|
|
ron spencer Monka's Brother
Joined: 23 May 2005 Location: Ish-ka-bibble
|
|
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
|
|
freebird73717 Member
Joined: 09 Dec 2003 Location: Buckle of the Bible Belt
|
|
| ron spencer wrote: |
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.
|
Probably could. I'll look into it.
| Quote: |
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.
| Quote: |
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"
|
One of those things I didn't document. I think I might add it to the online userguide.
| Quote: |
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"
|
I was just thinking the same thing after I had already uploaded v13.7. I will change that next.
_________________ My Tools
Ready to Learn?
|
|
ron spencer Monka's Brother
Joined: 23 May 2005 Location: Ish-ka-bibble
|
|
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
|
|
freebird73717 Member
Joined: 09 Dec 2003 Location: Buckle of the Bible Belt
|
|
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.
_________________ My Tools
Ready to Learn?
|
|
ron spencer Monka's Brother
Joined: 23 May 2005 Location: Ish-ka-bibble
|
|
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
|
|
ron spencer Monka's Brother
Joined: 23 May 2005 Location: Ish-ka-bibble
|
|
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
|
|
freebird73717 Member
Joined: 09 Dec 2003 Location: Buckle of the Bible Belt
|
|
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.
_________________ My Tools
Ready to Learn?
|
|
ron spencer Monka's Brother
Joined: 23 May 2005 Location: Ish-ka-bibble
|
|