VideoHelp Forum




+ Reply to Thread
Results 1 to 27 of 27
  1. It seems that the red striped vest the girl wear has some stranged artifact.
    The first shot is strange, but the second one return to normal. These two shots were taken within a few seconds.
    I've got no idea how to deal with it.


    Screenshot was taken from the attach video clip which gave a more straightforward sight.
    Wishing someone could help me out.
    Image Attached Files
    Quote Quote  
  2. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    The m2v is progressive with 3:2 pulldown (telecine). Inverse telecine might make the stripes look smoother, but basically it's a digital artifact known as moire. It's a common occurrence in digital video. There are ways of smoothing it somewhat, but no one that I know of has devised a truly effective way of eliminating it.
    Last edited by sanlyn; 25th Mar 2014 at 19:33.
    Quote Quote  
  3. Formerly 'vaporeon800' Brad's Avatar
    Join Date
    Apr 2001
    Location
    Vancouver, Canada
    Search PM
    I would say it's not moiré and instead point to the MPEG-2 encoder as the culprit. If you step through the video at PAR you will see smooth wave-like distortions.

    Animated PNG:
    Image
    [Attachment 17764 - Click to enlarge]
    Click image for larger version

Name:	snap-APNG.png
Views:	1143
Size:	1.88 MB
ID:	17765
    Last edited by Brad; 10th May 2013 at 14:06.
    Quote Quote  
  4. The video was interlaced (telecined) at some point in the past and whet through a bad IVTC to make it progressive.
    Last edited by jagabo; 10th May 2013 at 16:37.
    Quote Quote  
  5. Formerly 'vaporeon800' Brad's Avatar
    Join Date
    Apr 2001
    Location
    Vancouver, Canada
    Search PM
    How do you figure? The waves, sail, etc. don't suffer along diagonals. Not to mention this is clearly from a HD master.

    What is the film, anyway?
    Quote Quote  
  6. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    I see those scratchy ripples frequently, even on retail DVD's. I'm sure there must be a dozen causes, including encoders, DVD players, TV's, and whatnot. I've never seen anything that will clean it up.
    Last edited by sanlyn; 25th Mar 2014 at 19:33.
    Quote Quote  
  7. Originally Posted by sanlyn View Post
    I see those scratchy ripples frequently, even on retail DVD's. I'm sure there must be a dozen causes, including encoders, DVD players, TV's, and whatnot. I've never seen anything that will clean it up.


    Name:  boom.gif
Views: 731
Size:  1.72 MB




    Anyways - There is aliasing on the boat hull as well, and it occurs on the exact same frames that the "moire" patterns occur on the bikini top => this supports the comments the defects are caused by an error in processing rather than optics or the sensor during acquisition . Moire patterns during acquisition will occur in different areas and patterns and not in this distribution

    Regardless of the cause, using a general antialiasing filter will help a bit, but damage other parts of the picture (small details will be erroded) , unless used selectively through masks

    This type of repair is typically done with motion tracking , clean plates ,with something like mocha pro , after effects . You can think of it as taking areas from surrounding "good" frames and moving , rotating, scaling them like a "patch" to "cover" over defect areas . It sounds difficult, but most of the "heavy lifting" is done by motion tracking . It's semi-automated with the right tools, but there is manual work involved and it has to be done by scene. You would use a similar approach on the boat hull or any other areas with problems
    Quote Quote  
  8. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    I figured there was a way, but not a simple one. Will save this little clip and try it in After Effects later.
    Last edited by sanlyn; 25th Mar 2014 at 19:33.
    Quote Quote  
  9. Originally Posted by vaporeon800 View Post
    How do you figure? The waves, sail, etc. don't suffer along diagonals.
    Yes they do.

    Originally Posted by vaporeon800 View Post
    Not to mention this is clearly from a HD master.
    1080i to 480p.
    Last edited by jagabo; 10th May 2013 at 16:51.
    Quote Quote  
  10. Formerly 'vaporeon800' Brad's Avatar
    Join Date
    Apr 2001
    Location
    Vancouver, Canada
    Search PM
    Frame 0: Image
    [Attachment 17771 - Click to enlarge]

    Frame 0 bob: Image
    [Attachment 17772 - Click to enlarge]

    Frame 0 TDeint: Image
    [Attachment 17770 - Click to enlarge]

    Frame 1: Image
    [Attachment 17773 - Click to enlarge]


    Show me an example of poorly deinterlaced 1080i being visible in a 480p downscale.

    Click image for larger version

Name:	ThinDiagonalLines-Bob.png
Views:	430
Size:	1.78 MB
ID:	17776Click image for larger version

Name:	ThinDiagonalLines-Original-480.png
Views:	345
Size:	372.9 KB
ID:	17774Click image for larger version

Name:	ThinDiagonalLines-Bob-480.png
Views:	212
Size:	369.6 KB
ID:	17775
    Quote Quote  
  11. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    @ op, it would help if you gave us more details about the source clip "snap.demuxed.m2v" origins. how was this clip obtained.. is this clip an extract of one of your encodes from elsewhere.. did you capture this clip from analog or digital source, etc. etc.

    otherwise, because this artifact seems more confined to that area, i would suspect the artifacts are a bi-product of some boched ivtc / filter combo on your part. or, if it came from some hd source, (receiver perhaps) then that device has a bad motion deinterlace/inverse telecine downscaler.
    Quote Quote  
  12. Oops, so there's no way to solve it in Avisynth?

    BTW, the movie is Love Has Many Faces (1965), and this is not a downscale source. It has been released through Made-On-Demand DVD only, never has HD appearance. If it has a bad motion deinterlace/inverse telecine downscaler, I won't know it since I'm not a personnel of Sony Home Entainment.
    Last edited by xuguang_he; 10th May 2013 at 19:17.
    Quote Quote  
  13. Formerly 'vaporeon800' Brad's Avatar
    Join Date
    Apr 2001
    Location
    Vancouver, Canada
    Search PM
    It's available to own in HDX on Vudu for $14, so there is an HD master and this DVD certainly wasn't sourced from an old telecine.
    Quote Quote  
  14. Since there are some good frames here and there You can try using ReplaceFramesMC() with a mask.

    https://forum.videohelp.com/threads/352741-Frame-interpolation?p=2226119&viewfull=1#post2226119

    The mask was just a fuzzy white box marking the area with the bikini top:

    Click image for larger version

Name:	mask.png
Views:	939
Size:	9.0 KB
ID:	17779

    Code:
    Mpeg2Source("snap.demuxed.d2v")#, CPU=2, Info=3) 
    Trim(0,97)
    src=last
    mask=ImageSource("mask.png").ConvertToYV12(matrix="PC.601")
    
    ReplaceFramesMC(1,1)
    ReplaceFramesMC(3,7)
    ReplaceFramesMC(16,22)
    ReplaceFramesMC(39,5)
    ReplaceFramesMC(45,19)
    ReplaceFramesMC(68,26)
    
    Overlay(src,last,0,0,mask)
    I stopped at frame 97 because there wasn't a good frame at the end of the video. But the woman moved so little you copy probably just copy frame 97 to fill it out. The technique didn't work well for frames 3 to 10 but the rest looks pretty good.
    Image Attached Files
    Last edited by jagabo; 10th May 2013 at 19:33.
    Quote Quote  
  15. Is whole movie like that? or only this scene ?

    The timing of the "good" frames doesn't make sense. If anything it confuses what might have happened

    point to the MPEG-2 encoder as the culprit.
    I'm curious why you think that ? I've never seen an encoder do this
    Quote Quote  
  16. Only these few seconds. Other parts although interlaced, could be decimate with: tfm(order=1).tdecimate()
    Quote Quote  
  17. Originally Posted by jagabo View Post
    Since there are some good frames here and there You can try using ReplaceFramesMC() with a mask.

    https://forum.videohelp.com/threads/352741-Frame-interpolation?p=2226119&viewfull=1#post2226119

    The mask was just a fuzzy white box marking the area with the bikini top:

    Image
    [Attachment 17779 - Click to enlarge]


    Code:
    Mpeg2Source("snap.demuxed.d2v")#, CPU=2, Info=3) 
    Trim(0,97)
    src=last
    mask=ImageSource("mask.png").ConvertToYV12(matrix="PC.601")
    
    ReplaceFramesMC(1,1)
    ReplaceFramesMC(3,7)
    ReplaceFramesMC(16,22)
    ReplaceFramesMC(39,5)
    ReplaceFramesMC(45,19)
    ReplaceFramesMC(68,26)
    
    Overlay(src,last,0,0,mask)
    I stopped at frame 97 because there wasn't a good frame at the end of the video. But the woman moved so little you copy probably just copy frame 97 to fill it out. The technique didn't work well for frames 2 to 10 but the rest looks pretty good.
    Not bad solution, but just take a look at the edge of the boat, bad aliasing still appear here and there.
    Quote Quote  
  18. Originally Posted by vaporeon800 View Post
    It's available to own in HDX on Vudu for $14, so there is an HD master and this DVD certainly wasn't sourced from an old telecine.
    To my knowledge, they won't play tricks on this DVD. The HD source maybe just transformed from this SD source.
    Quote Quote  
  19. Originally Posted by xuguang_he View Post
    Not bad solution, but just take a look at the edge of the boat, bad aliasing still appear here and there.
    Of course. I didn't address that.
    Quote Quote  
  20. Originally Posted by xuguang_he View Post
    Other parts although interlaced, could be decimate with: tfm(order=1).tdecimate()
    Wait a minute. Are you saying the whole thing was hard telecined? And you gave us the result of your IVTC? Because there's no interlacing in the sample. The sample is soft telecine - encoded as progressive with 3:2 pulldown. If what you gave us is the result of your IVTC and your reencode, I think we have the culprit - you.

    Or have I misunderstood what you said? Or is it maybe a mix of hard and soft telecine?
    Quote Quote  
  21. Originally Posted by manono View Post
    Originally Posted by xuguang_he View Post
    Other parts although interlaced, could be decimate with: tfm(order=1).tdecimate()
    Wait a minute. Are you saying the whole thing was hard telecined? And you gave us the result of your IVTC? Because there's no interlacing in the sample. The sample is soft telecine - encoded as progressive with 3:2 pulldown. If what you gave us is the result of your IVTC and your reencode, I think we have the culprit - you.

    Or have I misunderstood what you said? Or is it maybe a mix of hard and soft telecine?

    Of course not, the clip I gave you is the original DVD clip, I just try the TIVTC on avs.
    Also, the strange things appear on the girl's bikini is apparently not interlacing, it's not merely a coincidence I should say, many other sources I've come across with also have this kind of "wavy".
    Quote Quote  
  22. Formerly 'vaporeon800' Brad's Avatar
    Join Date
    Apr 2001
    Location
    Vancouver, Canada
    Search PM
    Originally Posted by poisondeathray View Post
    I'm curious why you think that ? I've never seen an encoder do this
    The artifacts appear to me to be blurred waves and not what I think of as a moiré effect (though I guess this is similar). Why would random single frames in the middle of the sequence turn out okay?

    Originally Posted by xuguang_he View Post
    To my knowledge, they won't play tricks on this DVD. The HD source maybe just transformed from this SD source.
    Vudu doesn't accept SD sources to sell as HD.
    Quote Quote  
  23. Originally Posted by vaporeon800 View Post
    Originally Posted by poisondeathray View Post
    I'm curious why you think that ? I've never seen an encoder do this
    The artifacts appear to me to be blurred waves and not what I think of as a moiré effect (though I guess this is similar). Why would random single frames in the middle of the sequence turn out okay?
    Moire looks exactly like this in motion when the camera moves. Obviously this is a film scan, but moire from digital sensors can occur at certain angles and depths and yet be perfectly fine when you move the camera just a few cm . If you've ever shot progressive video with DSLR's they line skip because the sensor is so large, you get these same patterns.

    To me, this looks more like an error in processing because basically everything is affected in the "bad" frames, not just a certain focal plane. But with an error in processing you would expect every frames to be affected (maybe some slightly less if there was a cadence pattern) but there is no pattern here . The fact that only this scene is messed up also adds support that someone just messed up.

    So I don't know why there are "good" frames at all - I basically asked the same thing above. The pattern doesn't make sense. But at least you can make use of them as clean plates


    Originally Posted by xuguang_he View Post
    Only these few seconds. Other parts although interlaced, could be decimate with: tfm(order=1).tdecimate()
    Since it's only a few seconds I can do a quick fix it for you. Here is the motion track/patch repair method done on the side front of the hull, and the bikini top .

    The aliasing in the center part of the boat would take more time than I'm willing to spend (you would have to roto out the man, the woman, shadows, moving ropes, it would take probabaly over an hour to get it perfect) , so I just used antialiasing filters with rough masks in that part

    (FFV1, lossless YV12)
    Image Attached Files
    Quote Quote  
  24. Member
    Join Date
    Aug 2007
    Location
    Isle of Man
    Search Comp PM
    Originally Posted by poisondeathray View Post
    This type of repair is typically done with motion tracking , clean plates ,with something like mocha pro , after effects.
    Just for my own education, how is http://en.wikipedia.org/wiki/Match_moving related to the motion tracking you mention? Where can I read more about motion tracking? And what are clean plates? From Google it seems to have a lot to do with healthy eating.

    Thanks!
    Francois
    Quote Quote  
  25. Originally Posted by fvisagie View Post
    Originally Posted by poisondeathray View Post
    This type of repair is typically done with motion tracking , clean plates ,with something like mocha pro , after effects.
    Just for my own education, how is http://en.wikipedia.org/wiki/Match_moving related to the motion tracking you mention? Where can I read more about motion tracking? And what are clean plates? From Google it seems to have a lot to do with healthy eating.


    Add "VFX" to "Clean Plates" in your search term...

    In general , a "clean plate" is a "good" frame - so no noise, errors, or unwanted objects (even actors) . In VFX work, a clean plate is often a background shot without the actors or foreground objects. It's used so you can digitally "subtract" objects or "add" or composite things into the scene as if they were originally there. eg. Think of movie stunts where you have actors suspended on wires - you want to remove the wires . It's easy to do if you have the exact same shot (identical camera move) with the background, without the wires . Or, similarly if you want to add CG elements like robots, spaceships, aliens , anything, to the scene - if you have clean plate sequences the work is much more trivial

    Clean plates go hand in hand with motion tracking and match moving. "match moving" is more specific and usually refers to 3D tracking; "motion tracking" is more generic term and can mean a 2D motion track only (a flat plane, only x, y coordinates) or can include match moving. For example if you want to add makeup or scars to actors' faces, maybe remove blemishes , and you want the effect to "stick" to the face, you need to use motion tracking techniques . If you want to add a 3d model, some dinosaur to the scene etc... you need to match move

    In match moving - If you shoot a live action sequence and want to place something into the scene , you need to reconstruct the geometry of the scene as if the 2D elements captured in the film/video existed in a 3D space - objects farther away in the horizon would have different x,y,z coordinates than something up close to the camera. So both the camera movement, and objects in the scene movement must be tracked. So the 2D objects from the film now have a 3D representation
    Last edited by poisondeathray; 17th May 2013 at 09:41.
    Quote Quote  
  26. Member
    Join Date
    Aug 2007
    Location
    Isle of Man
    Search Comp PM
    Thanks, guys!

    Cheers,
    Francois
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!