Printable Version of Topic
Click here to view this topic in its original format
Unofficial VirtualDub Support Forums > Codec Discussion > Need Help W/ Xvid Or Ffdshow To Create P Frames


Posted by: botzi Nov 17 2012, 08:10 PM
Hello,

I need to datamosh some videos for a school project. I've been following tutorials on how to do it with a PC. They say to use VirtualDub and either ffdshow or xvid to compress video and insert P frames into video. The goal is to have to short clips (appended) each of which have a single I frame at the begging and then a bunch of P frames. Once that's done to "datamosh" you simply remove the second I frame which is at the begging of the second clip. I've been working at this hours now but I can't figure out how to correctly configure either codex to force it to create one I frame and a bunch of P frames.

Anybody have any ideas? I'm totally new to all of this. Really appreciate any help.

Thank you!

Posted by: malky Nov 18 2012, 01:17 PM
In VirtualDub you would load the video clip and click video > Compression and highlight the XviD codec then 'Configure'.
On the Configure pane, change 'Quality preset' to (user defined) and click 'more'.
Under the 'Motion', 'Other' set 'Maximum I frame' to something higher than the last frame (999999).
OK back to the main menu and save the new file.
Open the new file in AviDemux and delete any key frame that may have strayed into the new file (except the first one) and save it again.
You now have a file with one keyframe.

Powered by Invision Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)