#1  
01-27-2020, 07:02 PM
jjdd jjdd is offline
Free Member
 
Join Date: Jul 2012
Posts: 159
Thanked 15 Times in 15 Posts
Hi trying to understand ConditionalReader must i use ScriptClip to get it to work

i did notice that a movie that i have does not have same phase shift throughout the film i have to change it about 5 times


Code:
AviSource("\\CAPTURE2\Capture_Dator2\tpta4444.avi").AssumeTFF().ConvertToYV12(interlaced=true).SeparateFields()
#trim(myvar,0).Weave() #did not work at all
ScriptClip("trim(int(myvar),0)").Weave() # did work but not corectly

ConditionalReader("D:\field.txt", "myvar", false)


inside my field.txt
Code:
Type int
Default 1

R 24511 59205 0
R 70170 70200 0
R 120673 170057 0
R 207332 270254 0

I know I can do it in a different way but this look maby easier if i can get it to work
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
01-27-2020, 08:36 PM
jjdd jjdd is offline
Free Member
 
Join Date: Jul 2012
Posts: 159
Thanked 15 Times in 15 Posts
i did get it to work i think

Code:
AviSource("\\CAPTURE2\Capture_Dator2\tpta4444.avi")
ScriptClip(last, "AssumeTFF().SeparateFields().trim(myvar,0).Weave()")
ConditionalReader("field.txt", "myvar", false)

return last
Reply With Quote
  #3  
01-28-2020, 04:18 AM
lordsmurf's Avatar
lordsmurf lordsmurf is online now
Site Staff | Video
 
Join Date: Dec 2002
Posts: 13,629
Thanked 2,458 Times in 2,090 Posts
What is the use case? I'm not clear on what it does, what you're doing.

- Did my advice help you? Then become a Premium Member and support this site.
- For sale in the marketplace: TBCs, workflows, capture cards, VCRs
Reply With Quote
  #4  
01-28-2020, 05:03 AM
jjdd jjdd is offline
Free Member
 
Join Date: Jul 2012
Posts: 159
Thanked 15 Times in 15 Posts
i think itīs called phase shift or temporal field alignment on this movie i have to shift it 5 times when itīs not correct it looks like the film is more interlace than it is


here is a example how it is corrected but on this film it was sometimes correct and sometimes not so i have to switch between Trim(0,0) and Trim(1,0) on some part of the movie


Code:
AVISource("film.avi").AssumeTFF()

# 'phase shift'
SeparateFields().Trim(1,0).Weave()
maybe something weird did happened when i did record it from the analog TV signal about 25 years ago
or itīs in the movie



here msgohan explain phase shift to me when i did not know how to fix it in post 35 http://www.digitalfaq.com/forum/vide...quality-2.html

here in post 4 you can see how it looks before and after http://www.digitalfaq.com/forum/vide...l-filters.html

Last edited by jjdd; 01-28-2020 at 05:42 AM.
Reply With Quote
  #5  
01-31-2020, 08:47 AM
msgohan msgohan is offline
Free Member
 
Join Date: Feb 2011
Location: Vancouver, Canada
Posts: 1,323
Thanked 334 Times in 276 Posts
For a PAL movie, it could easily be 2:2 pulldown if the phase shifts happen at scene cuts. TFM handles this automagically, although as with most auto processes it's not perfect. It can sometimes pick the wrong field matches.

Code:
TFM(mode=0,pp=0,micmatching=0)
If it's happening randomly in the middle of shots, there is probably something in your capture chain causing dropped or inserted fields. Myself and others have noticed this effect with various TBCs.
Reply With Quote
The following users thank msgohan for this useful post: jjdd (01-31-2020)
  #6  
01-31-2020, 10:11 AM
jjdd jjdd is offline
Free Member
 
Join Date: Jul 2012
Posts: 159
Thanked 15 Times in 15 Posts
msgohan Thanks i have to test that

did ordered one more capture device from ebay again itīs Matrox MX02 Le MAX + PCIe host adapter + PCIe host adapter so i can use it on my old Dell XPS M1710 Laptop

Last edited by jjdd; 01-31-2020 at 10:32 AM.
Reply With Quote
  #7  
01-31-2020, 12:45 PM
jjdd jjdd is offline
Free Member
 
Join Date: Jul 2012
Posts: 159
Thanked 15 Times in 15 Posts
i did mean Matrox MX02 Le MAX + PCIe host adapter + ExpressCard/34 adapter

info about it https://www.matrox.com/video/en/supp..._le_max/specs/
Reply With Quote
Reply




Tags
conditionalreader

Similar Threads
Thread Thread Starter Forum Replies Last Post
Camcorder Color Denoise usage guide? Feedbucket Restore, Filter, Improve Quality 3 07-19-2021 07:52 AM
New vs. old aWarpSharp2 usage? stevevid Restore, Filter, Improve Quality 5 09-23-2018 09:17 PM
CPU usage in virtualdub wigam Capture, Record, Transfer 0 05-11-2018 10:20 AM
UPS planning/usage: Active PFC UPS? Skylake? VideoTechMan Computers 2 03-27-2016 08:28 AM
How to limit bandwidth usage in WHM? Brent Web Hosting 0 09-13-2013 06:38 PM

Thread Tools



 
All times are GMT -5. The time now is 07:35 PM