Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 ASP

Reply
 
Thread Tools Display Modes
Old 5th June 2004, 00:16   #1  |  Link
eyemessiah
Registered User
 
Join Date: Jan 2004
Posts: 12
Any ideas for really messing up XVID?

Hello!

I am doing some video editing and I am looking for ways to introduce errors into my video. I've downloaded plenty of corrupted videos by accident and am interested in producing the blocky picture warping and colour smudging in my own work.

I have tried messing up the video file using a hex editor, but much to my surprise XVID seems pretty error resilient. Interestingly I have found that sometimes messing up pages and pages of hex will produce no noticeable effect, and sometimes just changing one value from D5 to D6 will cause massive distortions. The trouble is that getting a good effect by hex editing seems very laborious, and more difficult than I had thought.

Are there any strings I could search for that flag particularly vital data?

Ideally I want the video to remain playable, and experimentation with mass replacements have proved catastrophic in this sense.

Any one got any ideas for quick ways of producing interesting, non-fatal corruption?

thanks,
eyemessiah is offline   Reply With Quote
Old 5th June 2004, 00:44   #2  |  Link
Manao
Registered User
 
Join Date: Jan 2002
Location: France
Posts: 2,760
Have a look here
Manao is offline   Reply With Quote
Old 5th June 2004, 01:11   #3  |  Link
eyemessiah
Registered User
 
Join Date: Jan 2004
Posts: 12
Great! Thanks, I'll take a look.

...

Interesting, but no solution yet.

I suppose what I am hoping for is someone who might be able to point me in the right direction for identifying key frames, or b frames or i frames, or something like those in a hex editor so I can write a script to automatically mess up more than a few seconds worth of them. I have tried messing with encoder settings, and reducing the bit rates and things but they arent quite what im looking for. That said, XVID does some pretty evil looking stuff to video at very low bit rates

Although my understanding of how XVID works is only getting better quite slowly, I have a hunch that what is happening is the the key frame(?) (B frame? I frame?) is getting corrupted (in those cases where this happens accidentaly) and the decoder is 'drawing' the motion, or the "differences between frames" onto the garbled key frame until it hits a fresh one. Or something crudely like that.
So what you get is something that looks like you froze a frame of the video, and then just drew the motion from the subsequent frames onto the frozen frame, without updating the image.

And what I want to do is find the key\b\i (sorry if this seems like a poor understanding of XVID, im still reading!) frame data in a hex editor and mess with it, and subsequent key\b\i frames to produce interesting effects.

Im also thinking of doing stuff with CRC's. Like maybe generating CRC's for snippets from one video clip, and then trying to "fix" the bits in another video clip to fit the CRC.

I'd also like to do something like extracting the motion information for a sequence of frames from one clip and using it to replace the motion information in another clip.

Any thoughts?

Should I maybe take this thread to the general forum?

I just posted here because I love XVID!

Its /the/ codec!

Last edited by eyemessiah; 5th June 2004 at 01:30.
eyemessiah is offline   Reply With Quote
Old 5th June 2004, 03:06   #4  |  Link
eb
Registered User
 
Join Date: Feb 2004
Location: Poland
Posts: 515
eyemessiah,

Try to use VirtualDubMod program and use for example logo or delogo plugins and then you can make some picture changes on individual or on serial frames. I think that also frames with "burned" solid subtitles can be used for your tests.

eb

PS
quickest way to foolout any codec is is to present to it records let say from tvsat with fading or interrapted signal

Last edited by eb; 5th June 2004 at 03:15.
eb is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 19:21.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.