| Summary: | Video capture | ||
|---|---|---|---|
| Product: | SDL | Reporter: | tommi uimonen <tuimonen> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | enhancement | ||
| Priority: | P2 | ||
| Version: | 2.0.0 | ||
| Hardware: | x86 | ||
| OS: | All | ||
|
Description
tommi uimonen
2006-01-04 05:35:07 UTC
(Changed severity to "API change" for a bunch of bugs.) --ryan. Setting Sam as "QA Contact" on all bugs (even resolved ones) so he'll definitely be in the loop to any further discussion here about SDL. --ryan. This feature is implemented in the dummy video driver for SDL 1.3. You have to set the environment variable SDL_VIDEO_DUMMY_SAVE_FRAMES to 1 to enable this feature. Also worth noting that you can implement this in your app without changes to SDL, if you don't need it to be transparent to the app...the disk bandwidth needed to write out uncompressed frames tends to kill the app's performance to the point where it won't work identically without some logic to handle this anyhow. And this isn't generally useful with OpenGL video modes anyhow. Here's something I wrote up a few years ago, if it's helpful to you: http://icculus.org/misc/mpeg.txt --ryan. (In reply to comment #4) > http://icculus.org/misc/mpeg.txt Wow, hardcore. :) Actually, I think I did something very similar with xine dumping out frames of the Civ:CTP movies, and re-encoding them as MPEG-1. I also used the same xine dump trick with the Railroad Tycoon 2 movies, and then encoded them in the custom MJPEG format. :) |