View Full Version : OT: What to do with a MPEG that contains garbage?
bugmenotwillyou
7th April 2005, 12:26
I recently downloaded a 600MB+ MPEG file from some P2P network (and yes, it's pr0n) I tried to open it with Media Player Classic, and it's ok, but when i try to jump further, it freezes and crashes. Thus i tried with Windows Media Player, and instead of crashing, it just goes back to the beginning of the file.
So. I tried to open it using VirtualDub... And after about 10% of the file, it stops reading, as if it went up to the end of the file, and i get a movie that is 11 minutes long.
I check file information dialog in VD, and it tells me (when summing I, B and P frame sizes plus audio "total size") that the file should be around 57 Mb.
Then, i tried to open the file with an hex editor (the one that comes in VirtualDub) and browsing... The file is made of several parts, switching from "garbage bytes" (random bytes that have no particular meaning, ie not text) and large amounts of 0x00. And those zeroes looks like padding to specific, hexadecimally round, addresses. IE, one of those begins at 0x20259000 and stop at 0x21E2E000 (that's almost 3 Mb of 0x00!)
Is there a way to know, up to a byte, how long the video should be?
Thanks in advance!
Malcolm
7th April 2005, 12:45
Originally posted by bugmenotwillyou
(and yes, it's pr0n) :D :D :D
Very funny!
ProjectX is able to process (and correct) corrupted mpegs. It's mainly used to demultiplex DVB recordings (MPEG), which can contain transmission errors and drop-outs.
But you can feed any(?) incarnation of MPEGs (VOBs, MPGs, MPVs, TS, ...)
You can download a precompiled version at http://www.oozoon.de. You also need a Java Runtime Environtment.
Alternatively you can use PVAstrumento. Which does rougly the same (but not as good IMHO)
greetings,
Malcolm
bugmenotwillyou
7th April 2005, 13:11
I've tried PVAStrument, and it tells me that it can't sync... And i can't get ProjectX to run despite i just installed the JDK... Any other tool that would help?
echooff
7th April 2005, 13:13
Are porn videos copyrighted? I think so.
bugmenotwillyou
7th April 2005, 13:42
This is not a licencing chat i'm about, but... In this particular case, it is not a "movie", but an amateur filming, made by people like you and me, with their camera... And i guess that if they broadcasted it somehow on the net for any reason, they had the right to, and gave us de-facto the right to download it...
bugmenotwillyou
7th April 2005, 13:43
By the way, i finally demuxed with TMPGEnc and remuxed... The video is, as expected, 57Mb big. I wonder what is in the remaining 549Mb...
Malcolm
7th April 2005, 13:55
Try to feed it DGIndex. You can hopefully watch the video beyond this 57MB barrier.
You can then create a Projectfile and open it in an avisynth-Script (which you can then open in any Videoplayer software)
greetings,
Malcolm
bugmenotwillyou
7th April 2005, 14:34
DGIndex says "No Data, check your PIDS"
echooff
7th April 2005, 14:42
This is not a licencing chat i'm about
I realized that from your first post
And i guess that if they broadcasted it somehow on the net for any reason, they had the right to
That doesn't necessarily follow. Most of the stuff on pnp networks are copyrighted content and hence, illegal. Since discussion of illegally obtained copyrighted material could compromise the forum, we don't discuss it. That was and is my concern. This is an outstanding forum and we all need to protect it, or we will lose it.
bugmenotwillyou
7th April 2005, 14:50
But the chat is about how to get data from the video file... not about the iamges themself... Would it be a video a friend sent me of his girlfriend, it'd be the same problem...
Guest
7th April 2005, 14:52
Originally posted by bugmenotwillyou
DGIndex says "No Data, check your PIDS" The next step, then, is to do PID detection, as, apparently, it is a transport stream.
bugmenotwillyou
7th April 2005, 15:53
Actually, as soon as i open the file, the "streams" menu gets disabled. I have no image, and nothing works.
Well... I think i'll just end up using that 57Mb file i got with TMPG by muxing and demuxing, and delete the other 606 Mb file.
video
8th April 2005, 02:00
Originally posted by bugmenotwillyou
Actually, as soon as i open the file, the "streams" menu gets disabled. I have no image, and nothing works.
Well... I think i'll just end up using that 57Mb file i got with TMPG by muxing and demuxing, and delete the other 606 Mb file.
copy the file (backup), cut out that 3megs of 0x00 (an advanced hex editor can do that) and retry with some mpeg reader pva... dgindex... whatever
the huge 0x00-s otherwise are nothing else, but p2p file sharing errors. when you order something to DL, first you receive heading info: such as file name, hash code, file size, and chunk size. after that the p2p program creates a file as the name received, but the file is full of 0x00. after that it starts downloading chunks, and replaces 0x00-s with received data of that chunk at the correct position. if the chunk is bad, then, it'll rejected, and the 0x00-s won't be replaced. If no other source available of that chunk, you end up with the 0x00-s in your file at that position.
but it's not worth to put so much effort in this file. You may manage crecover some video more, recover some audio, too, but you won't have a-v sync perfect after the errors, even when I don't think that audio have too much relevance..
bottom line: INSTEAD OF WATCHING OTHERS HOW THEY'RE DOING THINGS IN THE SALVAGEABLE MPEG C'MON GET A LIFE - GET A GIRLFRIEND :D
influenza
8th April 2005, 13:06
Would it be a video a friend sent me of his girlfriend, it'd be the same problem...
Well that's a good point. You want a solution for a problem you have. It would be easy enough for you to describe the problem in an abstract way. It has obviously no added value to tell us that it's downloaded from a p2p network, nor that it's pron.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.