+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. Member
    Join Date: Mar 2009
    Location: Australia
    Hey,

    I am trying to detect the difference between a matted/letterboxed 2.23:1 picture and a matted/letterboxed 1.85:1 picture. Is this possible and is there any program available that can do this? Have tried looking through Windows Media Player API, DirectShow API and Windows Media Center API. Came across a couple of potential items, but can anyone shed any light if this is actually possible before I go wasting more time?

    Cheers,
    Matt
    Quote Quote  

  2. not likely. the only thing the video headers will supply is what the video is now - 4:3, not what it was before the black bars were permanently encoded into the video.
    Quote Quote  

  3. I am trying to detect the difference between a matted/letterboxed 2.23:1 picture and a matted/letterboxed 1.85:1 picture.
    If you're asking how to crop and resize them automatically, AutoGK has that feature. Maybe run the 2 of them through AGK and study the AviSynth scripts it generates. AviSynth's Autocrop.dll does the cropping.

    Otherwise I'm not quite sure what you're asking. I can tell the difference with my eyes.
    Quote Quote  

  4. Mask the frame with a rectangle exactly the same size and location of the active region of a 2.23:1 image and measure the amount of black in the resulting image. A 2.23:1 will result in a wholly black frame. A 1.85:1 will have residual active image data. You could create a histogram of the masked image to count the number of pixels of a given color. You may need to fine tune things to account for things such as the bars not being perfectly black etc.
    John Miller
    enosoft - high performance tools for music and video

    Home of the Enosoft DV Processor - Free for personal use!
    Quote Quote  




Similar Threads

  1. video censor detection
    By epsi1on in forum Newbie / General discussions
    Replies: 12
    Last Post: 13th Sep 2009, 12:24
  2. video breakup and glitch detection software
    By Zone3 in forum Newbie / General discussions
    Replies: 4
    Last Post: 16th Feb 2009, 22:22
  3. Replies: 1
    Last Post: 6th Jan 2009, 02:57
  4. Black Frame Detection for Splitting Video
    By sorefinger in forum Editing
    Replies: 2
    Last Post: 6th Mar 2006, 13:11
  5. I want to do edge detection in a video file
    By sundar2011 in forum Linux
    Replies: 9
    Last Post: 23rd Nov 2004, 19:39
About   Advertise   Forum   RSS Feeds   Statistics   Tools