may24
7th August 2009, 10:35
Hi everyone,
I've a problem with one movie clip. The clip was compressed with bzip2 on a Linux machine. Unfortunately the file got corruped. Bzip2recover could divide the big file in 200 small ones.
I was able to decompress 199 but one is unrecoverable.
So basically this produces me two parts of the movie.
One of 6 minutes and a second with 1.5 hours.
When merging the two parts, only the first 6 min can be played back (regardless of the players ... VLC, mplayer, MPC ...)
Not quite a surprise since the index is stored at the end of the .avi and while some part in the middle is missing, the payer cannot allocate the next frames or the index at all.
However, I'm not willing to give up so quickly :D
My plan ist to find the first I-Frame in the second avi part.
So what I need is the bit sequence that marks an I-Frame. I know the AVC IDR sequence but I'm looking for the ASP I-Frame bytes. Does anybody know it (and maybe for B/P-Frames as well ?)
With this information I might be able to search via hex editor inside the video and restore the avi chunk.
TIA
may
I've a problem with one movie clip. The clip was compressed with bzip2 on a Linux machine. Unfortunately the file got corruped. Bzip2recover could divide the big file in 200 small ones.
I was able to decompress 199 but one is unrecoverable.
So basically this produces me two parts of the movie.
One of 6 minutes and a second with 1.5 hours.
When merging the two parts, only the first 6 min can be played back (regardless of the players ... VLC, mplayer, MPC ...)
Not quite a surprise since the index is stored at the end of the .avi and while some part in the middle is missing, the payer cannot allocate the next frames or the index at all.
However, I'm not willing to give up so quickly :D
My plan ist to find the first I-Frame in the second avi part.
So what I need is the bit sequence that marks an I-Frame. I know the AVC IDR sequence but I'm looking for the ASP I-Frame bytes. Does anybody know it (and maybe for B/P-Frames as well ?)
With this information I might be able to search via hex editor inside the video and restore the avi chunk.
TIA
may