bad frames

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stormbreath
    Junior Member
    Junior Member
    • Dec 2002
    • 8

    bad frames

    I got 2 movies (the same) with bad frames. The first one got 25 bad frames (frame # 16 345 to 16 370) and the second one like 12 frames at the beginning.

    Is there any tool that can take the frame #16 345 to 16 370 from the second movie and replace the bad frames from the first one.

    Please help!!

    Thanx
  • khp
    The Other
    • Nov 2001
    • 2161

    #2
    Short answer: no

    Long answer: Yes, but it will be really really difficult. First of all both movies will have to be the same resolution and scaled to the exact same aspect ratio. And you will have to reencode a lot of it to get a keyframe every time you switch form one version to the other.
    Donate your idle CPU time for something usefull.
    http://folding.stanford.edu/

    Comment

    • stormbreath
      Junior Member
      Junior Member
      • Dec 2002
      • 8

      #3
      solution

      it's the exact same file for both. So who I can re-encode using the frames from each other?!

      Comment

      • khp
        The Other
        • Nov 2001
        • 2161

        #4
        You need to cut a segment from each movie, so that the two parts together makes the whole movie. For example cut frame 1-1000 from one movie and 1001-end from the other. And then join the two working parts.

        If you make sure that the movie you use for the second part contains a keyframe at the splitpoint you might be able to do it without reencoding the entire thing (assuming that both versions was encoded with the same codec)

        This guide contains explanations for both cutting and joining avi files.

        Donate your idle CPU time for something usefull.
        http://folding.stanford.edu/

        Comment

        • setarip
          Retired
          • Dec 2001
          • 24955

          #5
          If the two .AVIs are, as you state, identical in all aspects (other than bad frame numbers), use VirtualDub as follows (In writing it looks like a lot. In practice, it's quite easy, as you'll soon see):

          1) Set BOTH "Video" and "Audio" to "Direct Stream Copy"
          2) Load the first "problem" .AVI (bad frames # 16 345 to 16 370)
          3) Go to the first keyframe AFTER frame 16370 (Make note of the frame number, as you'll need it again later). From the "Edit" dropdown menu, click on "Set selection start"
          4) Go to the end of the entire video. From the "Edit" dropdown menu, click on "Set selection end"
          5) From the "File" dropdown menu, select "Save .AVI". Save with the name "Part3.AVI"

          6) Go to the beginning of the entire video. From the "Edit" dropdown menu, click on "Set selection start"
          7) Go to the last keyframe BEFORE frame 16345 (Make note of the frame number, as you'll need it again later). From the "Edit" dropdown menu, click on "Set selection end"
          8) From the "File" dropdown menu, select "Save .AVI". Save with the name "Part1.AVI"

          9) Load the second "problem" .AVI (bad frames # 0 to 12)
          10) Go to the last keyframe BEFORE frame 16345 (Make certain that it is the same frame number as the one noted in 7) above). From the "Edit" dropdown menu, click on "Set selection start"
          11) Go to the first keyframe AFTER frame 16370 (Make certain that it is the same frame number as the one noted in 3) above). From the "Edit" dropdown menu, click on "Set selection end"
          12) From the "File" dropdown menu, select "Save .AVI". Save with the name "Part2.AVI"

          13) Close and the restart VirtualDub (As a precaution).
          14) Set BOTH "Video" and "Audio" to "Direct Stream Copy"
          15) Load "Part1.avi"
          16) From the "File" drodpown menu, select "Append .avi". Select "Part2.avi" and click on "OK"
          17) From the "File" drodpown menu, select "Append .avi". Select "Part3.avi" and click on "OK"
          18) From the "File" dropdown menu, select "Save .AVI". Save with the name "All.AVI"

          Let us know of your success;>}

          Comment

          • stormbreath
            Junior Member
            Junior Member
            • Dec 2002
            • 8

            #6
            Thanx

            Thanx setarip!!! I really appreciate your help!

            I found a program named AVIDeFreezer and I test it. Someone told me that the worst that could append with this program was a little bit of noise in the movie for like 1 second. So I decided to try it before the cut and join party. I'm lucky, I don't have any noise in the movie, AVIDeFreezer made a really good job.

            If you don't have 2 copies of the movie and got like 25 bad frames, I suggest you to use AVIDeFreezer. 25 frames is less than 1 second in the movie!!

            But I must admit setarip that your method was the best in this case. I've just been lucky with the other program!!

            Comment

            • setarip
              Retired
              • Dec 2001
              • 24955

              #7
              My pleasure ;>}

              Congratulations on finding an alternate solution to your problem!

              Comment

              Working...