moving video (0,0) position

Discussion in 'Other video questions' started by liquidity, Aug 29, 2005.

  1. liquidity

    liquidity Member

    Joined:
    Aug 29, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    11
    I think it may be a strange request, but I have some recorded digital video where the camera lost sync about 1/2 way through the recording, and the upper left corner jumped from the (0,0) position, to roughly the (140,110) position and wrapped around the screen from there (320x240 sensor). So the image is still viewable, but I have a 4 quadrant screen now where the lower right portion is actually what should appear at the upper left.

    Does anyone know of any existing software that can reorient the AVI video's position on screen back to 0,0 after this jump occurred?

    Thanks
     
    Last edited: Aug 29, 2005
  2. celtic_d

    celtic_d Regular member

    Joined:
    Jan 23, 2005
    Messages:
    3,352
    Likes Received:
    0
    Trophy Points:
    46
    Well you could use AVISynth to cut up the four pieces (crop) and then join them back in any order you like (stackvertical/horizontal).

    video = avisource("video.avi")
    top_left = crop(video,0,0,-360,-288)
    top_right = crop(video,360,0,0,-288)
    bot_left = crop(video,0,288,360,0)
    bot_right = crop(video,360,288,0,0)
    top = stackhorizontal(bot_right,bot_left)
    bot = stackhorizontal(top_right,top_left)
    stackvertical(top,bot)

    Something like that anyway.
     

Share This Page