digitalFAQ.com Forum

digitalFAQ.com Forum (https://www.digitalfaq.com/forum/)
-   Restore, Filter, Improve Quality (https://www.digitalfaq.com/forum/video-restore/)
-   -   Confused about inverse telecine (https://www.digitalfaq.com/forum/video-restore/9252-confused-inverse-telecine.html)

stevevid 12-20-2018 04:03 PM

Confused about inverse telecine
 
I've spun myself around so often I'm confused. AviSynth Wiki states "TFM is a field matching filter that recovers the original progressive frames from a telecined stream". But, does the inclusion of the pp=0 parameter imply TFM is not deinterlacing the video? For example, the step 1 script in post 10 of http://www.digitalfaq.com/forum/vide...ermittent.html has:

TFM(pp=0) .TDecimate (cycle=20,CycleR=10)

Another entry in the script implies that the result is progressive because QTGMC(InputType=3) is used after TFM. According to AviSynth Wiki, InputType=3 is used on badly deinterlaced progressive video. So this implys the TFM output is progressive.

Maybe I'm lost because I don't have a clear understanding of inverse telecine. Can the result be progressive or interlaced?

So, is my head on frontwards or backwards. I can't tell.

Thanks,
Steve

sanlyn 12-20-2018 05:37 PM

https://www.afterdawn.com/guides/arc...th_page_11.cfm

stevevid 12-20-2018 06:08 PM

Thanks! My head is starting to align with my body, but I'm still partially walking backwards.

In the script, you used pp=0 to skip looking for combing artifacts instead of the default pp=6. What are the cues to determining which approach to use?

The decimate function is set to remove 10 out of 20. Is this related to the 2:3 pulldown pattern? Although this seems to be assuming a 1:2 pattern. What determines the M & N settings?

Thanks for your knowledge and patience,
Steve

sanlyn 12-20-2018 07:43 PM

Quote:

Originally Posted by stevevid (Post 57975)
Thanks! My head is starting to align with my body, but I'm still partially walking backwards.

In the script, you used pp=0 to skip looking for combing artifacts instead of the default pp=6. What are the cues to determining which approach to use?

The decimate function is set to remove 10 out of 20. Is this related to the 2:3 pulldown pattern? Although this seems to be assuming a 1:2 pattern. What determines the M & N settings?

Thanks for your knowledge and patience,
Steve

Those film captures were made from film shot at 16 or 17 fps, or something like that. You don't use 3:2 pulldown on that speed. I first ran a script with only TFM enabled, and after looking at the remaining frame flow it was evident that some duplicate frames as well as "interlaced" pulldown sequences were used. After running TFM and looking at the results, there was an irregular pattern remaining which broke down to 10 duplicates in every 20 frames. You determine the M in N pattern by looking at frames and counting in VirtualDub. If I recall, I made a spreadsheet with about 200 frame numbers and counted those marked as dupes. It turned out to be 10 dupes every 20 frames, sometimes 2 dupes in a row, a few times 3 dupes in a row (it was not a regular 1-2 pattern. I left it up to TDecimate to find the 10 dupes in every group of 20).

I believe the final flm speed came out to 17fps. In Avisynth I used AssumeFPS() to increase the speed to 18.98 fps and applied pulldown with DGPulldown, which would have been some wildly unusual pulldown sequence that DGPulldown "knows" how to calculate) to make the film play at 29.97fps for DVD. 19.98 fps (19000/1001) is the slowest speed that DGPulldown can work with accurately.

sanlyn 12-20-2018 09:38 PM

Folks, I really need to do something about my typos.

Quote:

Originally Posted by sanlyn (Post 57978)
I believe the final flm speed came out to 17fps. In Avisynth I used AssumeFPS() to increase the speed to 18.98 fps and applied pulldown with DGPulldown, which would have been some wildly unusual pulldown sequence that DGPulldown "knows" how to calculate) to make the film play at 29.97fps for DVD. 19.98 fps (19000/1001) is the slowest speed that DGPulldown can work with accurately.

That should read:

I believe the final flm speed came out to 17fps. In Avisynth I used AssumeFPS() to increase the speed to 19.98 fps and applied pulldown with DGPulldown (which would have been some wildly unusual pulldown sequence that DGPulldown "knows" how to calculate) to make the film play at 29.97fps for DVD. 19.98 fps (20000/1001) is the slowest speed that DGPulldown can work with accurately.

stevevid 12-20-2018 11:35 PM

Ah, this helps a lot.

Thank you very much for the explanation.

Steve


All times are GMT -5. The time now is 09:35 AM

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.