3

I have an AVI file that contains a lot of empty frames, i.e. frames without audio or even picture changes. Is it possible to remove those frames?

Specifically, I have an 8 GB AVI file where almost 20-30% of the frames are empty. Their length and positions in the file are random (some can be short, only 1 second, while others can be 10 minutes long).

I would appreciate any advice on how to remove these frames. Or are there tools or other video formats like MP4 which are more suitable?

7
  • @random, Hi, I do not know why this question is consider off topic. It is about asking for a software that can help to perform such operation. and according to faq, it mention about computer software. Please enlighten me. Thank you.
    – Jack
    Jan 17, 2013 at 4:18
  • Yes, product recommendations are off topic
    – random
    Jan 17, 2013 at 4:19
  • 2
    Technically he isn't asking for a recommendation, he just wants to know if such software exists. Seems like a reasonable question to me.
    – stone
    Jan 17, 2013 at 7:52
  • @skypecakes Thanks for the support. My English is just so bad that sometime people mis-understand what I really mean. (I think maybe there is no such software since it is quite quiet in Superuser)
    – Jack
    Jan 17, 2013 at 8:52
  • For future reference, please follow these guidelines on asking questions that may require software recommendations. Jan 17, 2013 at 18:01

1 Answer 1

0

I actually once built a tool that does exactly that (except for the sound factor). I don't have the tool anymore but I will describe how it works (and maybe build it again soon)

Using ffmpeg you break down the film to frames, one per second, then use compare to delete all the duplicate (>90% similarity) images.

Aftet that, you'll end up with different sequences of numbered image files (1..20,30..45,etc.), so you take that up, and again use ffmpeg to keep only the portions of the file that has mostly different frames.

I know this is a descriptive answer rather than a practical one, but I'll work on that tool and update here when possible.

1
  • This is a theoretical approach and a good one. I look forward to your tool & guide.
    – nixda
    Jan 18, 2013 at 6:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .