Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 13th September 2010, 05:30   #1  |  Link
ExperimentalAnimations
Registered User
 
Join Date: Mar 2009
Posts: 69
Need help from people smarter than me to IVTC a proprietary pulldown

I have a panasonic GH1 video DSLR which shoots 23.976 but puts its in a 60i wrapper. There are various paid solutions for removing panasonic's 3:2 pulldown, but from my experience they have been unstable, subpar, or have produced very large files. Really the issue is that all of them have combing artifacts in them, which means they're all deinterlacing the footage instead of doing a proper IVTC which shouldnt have any signs of interlace.

Here's a 10sec 14MB .mts sample. Please take a look and see if there's any way to retrieve the pristine 24p source from it.
ExperimentalAnimations is offline   Reply With Quote
Old 13th September 2010, 07:52   #2  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,391
Glancing at the naked source, it seems like a basic TFM().TDecimate() should do the job?
__________________
- We´re at the beginning of the end of mankind´s childhood -

My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)
Didée is offline   Reply With Quote
Old 13th September 2010, 08:37   #3  |  Link
Hagbard23
23sKiDdOo!
 
Hagbard23's Avatar
 
Join Date: May 2010
Location: Germany
Posts: 182
Smartdecimate should do the job easily either...(but first choice would be TFM+TDecimate)...
Hagbard23 is offline   Reply With Quote
Old 14th September 2010, 00:43   #4  |  Link
ExperimentalAnimations
Registered User
 
Join Date: Mar 2009
Posts: 69
Nope, still combing artifacts. And some weird luma distortions too.
ExperimentalAnimations is offline   Reply With Quote
Old 14th September 2010, 01:00   #5  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
maybe you have other problems , like system or decoder issues ?

What source filter ? decoder are you using ?



tfm().tdecimate() works fine on that clip for me

I used to have a GH1, and it worked fine for all 24p/60i footage from it

Note: there is a GH1 firmware hack that allows you to shoot 24p native now, and increased bitrates .
poisondeathray is offline   Reply With Quote
Old 14th September 2010, 02:00   #6  |  Link
ExperimentalAnimations
Registered User
 
Join Date: Mar 2009
Posts: 69
Huh, you're right, it works fine on my most recent clips, but not my older ones. Odd. I've tried the hack, 24p is super unstable, thats why im trying to find a pulldown method.

So how do i batch a folder through this script? Im using virtualdub but i believe it always works in rgb, so if i set it to yuy2 it would do yv12->rgb->yuy2? If so i'd like to find another way. Basically im looking to remove pulldown and convert them to yuy2 lagarith or huffyyuv.
ExperimentalAnimations is offline   Reply With Quote
Old 14th September 2010, 02:41   #7  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
vdub only does the rgb conversion if you use full processing mode, or some vdub filters . If you set to fast recompress it will skip the rgb conversion

you can batch with various avs batch script creators , and vdub in batch mode, or use ffmpeg batch file for huffyuv

if you're not comfortable with commandline and would like some gui tools you can look at this post , search later in the thread, I think some utilites are updated
http://www.hv20.com/showthread.php?2...tion-Utilities
poisondeathray is offline   Reply With Quote
Old 14th September 2010, 02:42   #8  |  Link
ExperimentalAnimations
Registered User
 
Join Date: Mar 2009
Posts: 69
Ouch, statement redacted, this doesnt work at all, it actually causes the video to glitch and stutter. It only seems to work on some videos and not others. This doesnt make any sense. Ill upload a clip once i can be certain its not a configuration issue.

Last edited by ExperimentalAnimations; 14th September 2010 at 02:47.
ExperimentalAnimations is offline   Reply With Quote
Old 14th September 2010, 03:11   #9  |  Link
ExperimentalAnimations
Registered User
 
Join Date: Mar 2009
Posts: 69
My 60i is now having pulldown and deinterlacing done to it in vdub, without any filters applied to it! I dont know what else to say, WHAT THE HELL.
ExperimentalAnimations is offline   Reply With Quote
Old 14th September 2010, 03:25   #10  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Did you by chance resize it to half size in VirtualDub, using either the resize filter or by changing the display size?

If not, is it the same clip in the first post? That one has hard pulldown so there's no way it could be corrected in VirtualDub without filtering.

And how are you opening the MTS in VirtualDub? Are you using Avisynth? If so, what is the script?

You're giving us such a moving target here that it is hard to know exactly what you are doing. Please give us the video clip and all other details needed.

Last edited by Guest; 14th September 2010 at 03:29.
Guest is offline   Reply With Quote
Old 14th September 2010, 03:26   #11  |  Link
ExperimentalAnimations
Registered User
 
Join Date: Mar 2009
Posts: 69
Info() is telling me that vdub reads it as progressive even though it is most definitely interlaced as i just recorded it.

Heres a new test file (20MB). I tried the Tdecimate filter and it just gives me combing artifacts, though i wouldnt be able to tell anyways as vdub seems to do what it wants.

edit: Does this clip have hardpulldown? Im not sure what the difference is, but its just 24p in a 60i wrapper. I didnt resize or do any processing, display size is at 100%.
ExperimentalAnimations is offline   Reply With Quote
Old 14th September 2010, 03:32   #12  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Please say what script you use. If no script, then how do you open MTS in VirtualDub? Did you install a plugin? Are you resizing as I asked? Please answer all my questions.

Downloading your clip.

EDIT: That server is dog slow. Use mediafire.com.
Guest is offline   Reply With Quote
Old 14th September 2010, 03:35   #13  |  Link
ExperimentalAnimations
Registered User
 
Join Date: Mar 2009
Posts: 69
Script is

Directshowsource("C:\....\myfile.mts")

Ive also checked my directshow filters (ffdshow) to see if its doing processing and everything is unchecked. Graphedit is showing my decompressor as just "avi decompressor" with little "xforms in/outs" on it, which goes out to VMR video renderer. Unless you see any problems with that i dont know what else to do.

edit: mediafire just gives me a "failed upload, IO error".

Last edited by ExperimentalAnimations; 14th September 2010 at 03:40.
ExperimentalAnimations is offline   Reply With Quote
Old 14th September 2010, 03:47   #14  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
It's the same characteristics as the 1st clip and using tfm().tdecimate() works fine as suggested in the 1st reply , as it works with all GH1 hard telecined clips (24p in 60i)


Directshowsource("video.mts")
TFM()
TDecimate()
poisondeathray is offline   Reply With Quote
Old 14th September 2010, 03:48   #15  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
I don't use DirectShow or ffdshow so I can't comment on that.

Both clips are hard 3:2 pulldown. This works fine for me on your second one:

loadplugin("dgdecodenv.dll")
dgsource("60i_gop5_.dgi")
assumetff()
telecide()
decimate()

It's just simple hard 3:2 pulldown with AVC video.
Guest is offline   Reply With Quote
Old 14th September 2010, 03:51   #16  |  Link
ExperimentalAnimations
Registered User
 
Join Date: Mar 2009
Posts: 69
Thanks for the help but it doesnt do me any good if vdub is automatically IVTC'ing my footage.
ExperimentalAnimations is offline   Reply With Quote
Old 14th September 2010, 03:53   #17  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
Quote:
Originally Posted by ExperimentalAnimations View Post
Ive also checked my directshow filters (ffdshow) to see if its doing processing and everything is unchecked. Graphedit is showing my decompressor as just "avi decompressor" with little "xforms in/outs" on it, which goes out to VMR video renderer. Unless you see any problems with that i dont know what else to do.
render the .mts in graphedit / graphstudio, not the .avs

do you have a directshow splitter , like haali media splitter installed?

can you play the .mts files in mpc ?

Quote:
Originally Posted by ExperimentalAnimations View Post
Thanks for the help but it doesnt do me any good if vdub is automatically IVTC'ing my footage.
vdub doesn't do anything automatically unless you tell it to

maybe your directshow system is applying some filters
poisondeathray is offline   Reply With Quote
Old 14th September 2010, 03:58   #18  |  Link
ExperimentalAnimations
Registered User
 
Join Date: Mar 2009
Posts: 69
Put dgdecode.dll in avisynth 2.5.7 plugin folder and loaded the script in vdub and it gives me "unable to load "dgdecodeenv.dll". Apparently its a paid program. Also tried dgdecode.dll, still doesnt work.
ExperimentalAnimations is offline   Reply With Quote
Old 14th September 2010, 04:00   #19  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Do what poisondeathray said: Open the MTS in GraphEdit, not the AVS. Report what happens.

I gave my script just to show that it is simple hard 3:2 pulldown that is easily handled.
Guest is offline   Reply With Quote
Old 14th September 2010, 04:08   #20  |  Link
ExperimentalAnimations
Registered User
 
Join Date: Mar 2009
Posts: 69
Ah yes, turns out to be directshow was set to deinterlace and whatnot by default. I thought graphedit would have picked up on that through the script.

Tried the first script and it works like it did before, but im getting combing artifacts again, and this time their really ugly.

ExperimentalAnimations is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:11.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.