1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Weird interlacing problem when capturing video, see pic

Discussion in 'Video capturing from analog sources' started by AGwolf, Jan 18, 2010.

  1. AGwolf

    AGwolf Member

    Joined:
    Nov 10, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    11
    I'm having issues with the video codecs on my computer (I think). I don't know a lot about this stuff but when you -first- capture video, it goes through a filter of some sort which processes the image into the visual picture that we see/recognize on the screen.

    I wasn't having any issue UNTIL I installed the "K-Lite codec package." They work really well in conjunction with that program "Super" when encoding and compressing video, but unfortunately this occurs:

    http://img9.imageshack.us/img9/525/43578967.jpg

    (150k-ish image)

    I am under the impression that the codec used for video capture processing is "ffdshow" or something, and i've tried to play with the configuration settings (enabling deinterlacing and stuff), but to no avail. And usually in subsequent processing, you can change a video from interlaced to progressive and it will get rid of those kind of lines, but it doesn't work now- one frame of video looks like that even when in progressive mode.

    Any ideas? I set a restore point before I installed the codec pack, but it still seems to have done its damage, and now any capture from the card looks like that :/
     
  2. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    You've given next to no details about your process,
    but I will say, the pattern your JPG shows is what you typically get
    when you resize an interlaced image without first de-interlacing.
     
    Last edited: Jan 20, 2010
  3. AGwolf

    AGwolf Member

    Joined:
    Nov 10, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    11
    Apologies;

    I'm using a Kworld DVD maker PCI VS-L883D
    http://www.kworld-global.com/main/prod_in.aspx?mnuid=1248&modid=6&pcid=47&ifid=16&prodid=103

    When I FIRST reformatted my computer, I had no issues with recorded video... I record direct uncompressed AVI from the card's S-Video input.

    The problem I have occurs after I install that K-Lite Codec Pack, which is essentially a metric f*ck-ton of assorted standard audio and video codecs... it makes it a lot easier than spending 2 hours on the internet finding each individual one.

    Any subsequent recordings I make look like the image that I posted; and when I process the video, the "deinterlaced" version looks fuzzy and you see ghost/dual images where-ever the interlace separation is as drastic as that screenshot.

    I can't seem to uninstall and wipe the codecs and the PCI card's original drivers, so I have to start fresh again to do more testing, but before I did that, I had wanted to see if there was any way to fix the capture card's output. It's as if the card is out of sync or something
     
  4. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    What format choices does the capturing app. give you?
    Have you tried any of the other choices, MPG, etc,etc.
    What resolutions?
    What device are you capturing from?
    Is it a game console ?

    Is the jpg you posted a screen shot from the uncompressed capture?
    It's an odd resolution, how did that come about ?
    (It's apparently 884*669 pixels)
     
  5. AGwolf

    AGwolf Member

    Joined:
    Nov 10, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    11
    MPG1, mpg2, other assorted crap - I'm looking for highest quality recording, so I chose AVI (uncompressed). I just tried two other capture/recording apps, both with more features and options, and the same issue occurred

    Haven't tried the other options; not worth trying since I didn't have this problem initially

    640x480, I don't see the need to record at a lower resolution, and the card's max is 720x480, which would stretch the content

    Device? as in what is the hardware in my machine or where is the video coming from?

    This happens to be a Saturn, but this same issue occurred with a PS2, PS3, Xbox, and Xbox 360 when I tried them

    It was not from the uncompressed capture.

    It was an odd resolution because there was a black border/padding around the physical image.

    here is a capture of the uncompressed video, one I just did now with a different capture app:

    http://img130.imageshack.us/img130/113/85424715.jpg
     
  6. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    It doesn't look as bad as the first. It's dimensions are
    663*556 pixels. If it came from the unmodified avi captured
    at 640*480 (or 720*480), shouldn't the JPG have one of those
    resolutions?

    As I mentioned in my first post, it looks suspiciously like
    a resizing of an interlaced image, which is almost always bad.

    Here's something to try, download the "viewfields" virtualdub
    filter and open the avi in virtualdub. Activate the filter,
    (video/filter/viewfields), and it will unfold the fields,
    one on top of the other on the right side.
    Do the two unfolded fields still show the combing pattern?
    http://www.softpedia.com/progDownload/ViewFields-Download-113753.html
     
  7. AGwolf

    AGwolf Member

    Joined:
    Nov 10, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    11
    I am simply doing a full 1920x1080 screen cap, pasting it into photoshop, and cropping the WMP window. Disregard what the jpeg resolution is, the video itself is 640x480, and there is a black border around the edges of the image as it comes from its original source.

    I assure you it is not a resizing of an interlaced image

    I have vdub installed but I dont think I've got that filter. I just tried to download it but I was greeted with a 404 :/

    also, here's another screencap at MPG2 encoding from my xbox:
    http://img63.imageshack.us/img63/6013/mpg2.jpg
     
  8. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    Hi - Download viewfields from here:
    http://www.thedeemon.com/VirtualDubFilters/

    (apologize for the bad link earlier)

    A 2nd thing you can try, is post a few seconds of the raw
    capture, and I'll take a look at it.

     
  9. AGwolf

    AGwolf Member

    Joined:
    Nov 10, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    11
    not exactly sure how the vdub thing is supposed to work, but this is the kind of output I got:
    http://img191.imageshack.us/img191/8643/13351975.jpg
    270kb

    and I would post a segment of the video if I had somewhere to upload; do you have AIM or something?


    I'm sitting here thinking about this- could it possibly be due to the source video stream not having the same FPS as the capture program? This game runs at about 20 FPS... I tested it on Sonic (and a different xbox game) which ran at 60fps... and both of these had the interlacing issue.
     
  10. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    Post a section to one of the many file hosting sites,
    for example this one:
    http://www.mediafire.com/


    It doesn't look as if the viewfields filter is active,
    it should look something like this:

    [​IMG]

    PS it's possible it's a framerate mismatch. Try capturing from
    a vcr or some other device to see if the problem is resolved.
     
    Last edited: Jan 20, 2010
  11. AGwolf

    AGwolf Member

    Joined:
    Nov 10, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    11
    okay, mybad, had to find it through a few menus; here you go:

    http://img97.imageshack.us/img97/5369/84935184.jpg


    and I'll try to record a brief clip- I hope it won't be too big considering it's uncompressed

    edit: no vcr or other middle-man device
     
    Last edited: Jan 20, 2010
  12. AGwolf

    AGwolf Member

    Joined:
    Nov 10, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    11
    http://www.megaupload.com/?d=ZQTC4DY8

    fair warning, the audio is kind of loud.

    edit: it's an extremely short clip, but you can still see the interlacing issue.. I didnt want it to get too big, its only like 12 megs
     
    Last edited: Jan 20, 2010
  13. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    Look at the fields on the right. Neither of them have the combed
    pattern, the viewfields show that the 2 split images are clean.
    You can see how viewfields can be useful to see
    what is really going in.

    However, trying to de-interlace this would be extremely difficult
    by merging the fields, because the fields are so different.
    I've got to believe individuals who are experienced at capturing
    from a console would know how to handle this special case.
    Off the top of my head perhaps you can split the fields,
    resize and double
    the frame rate - depends on your intended usage as to whether
    this is feasible.

    What does virtualdub say the resolution and frame rate is
    (file/info)

    Post your clip, I'd like to see it.
     
  14. AGwolf

    AGwolf Member

    Joined:
    Nov 10, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    11
    according to this screenshot I posted before:
    http://img97.imageshack.us/img97/5369/84935184.jpg
    it says
    640x480, 30.861fps, internal DIB decoder, 390 frames (0:12.63), 390 keyframes

    The video clip i posted is from another game, but captured the exact same method.
     
  15. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
  16. AGwolf

    AGwolf Member

    Joined:
    Nov 10, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    11
  17. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    It's possible, although I've never used those FFDS filters.
    I Guess it applies the filter during decoding ?
     
    Last edited: Jan 20, 2010
  18. AGwolf

    AGwolf Member

    Joined:
    Nov 10, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    11
    it applies the filter during "encoding."

    while it doesn't actually do any data compression, it processes the image/video stream.

    That specific filter/option increased the number of frames but maintained the same playback rate, so the video played at half speed. I tried a different one and it seemed okay ,but the video was slightly choppy. Im gonna run the Saturn through that filter and see how it fares.

    I really appreciate the back-and-forth you've provided... even if I still haven't come to the root of the problem, thank you much for kinda sticking through some of the troubleshooting. If I still can't get any satisfactory result in the next couple days, i may still reformat the computer and see where that takes me
     
  19. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    Thanks for the info. Seems that the real problem is the interlaced
    image from the game console. The 2 fields within the frame
    are so different, any attempts to use a frame as a flat image
    is impossible. So splitting the fields seems appropriate.

    In interlaced footage from VHS (or similar) the fields are usually
    blended into one during de-interlacing, since they'reso close
    together.

    I'm not sure if I have my FFDShow setup properly, I don't understand
    how to invoke those filters during encoding.

    I created a generic xvid with a 4cc that WMP uses FFDShow to play it
    back. I can use those filters in realtime while the video is playing
    to affect the image.

    How are you using it? Capturing uncompressed then recompressing
    using FFDS?
     
  20. AGwolf

    AGwolf Member

    Joined:
    Nov 10, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    11
    Oh I can make it filter the video during playback, but all it does is blend the interlaced frames together, causing that ghosting effect.

    Yes, I was capturing uncompressed then processing through different filters- but uncompressed to try deinterlacing and also other deinterlacing methods applied to encoded video.

    If I get the opportunity this weekend, I still intend on trying a reformat and specifically testing for the interlacing problem. I think I have a spare drive kicking around so I dont have to bother erasing everytthng Ive since installed on this one
     

Share This Page