>> |
Anonymous
1. If the video is in mkv format, get mkvtoolnix and mkvextractgui, and split the video stream into an avi. (If you get a .H264 file after the extraction, get avc2avi mod and use it to convert that file to avi. Be sure to set the framerate to match the original video's. See readme.txt.)
2. Open the avi with VirtualDub. Find your desired starting frame and set it as the start of your selection (press Home key). Find the desired ending frame and set it as the end (press End key). File -> Export as an image sequence in bmp or png format.[1]
3. Look through the resulting files with an image viewer and delete the duplicate frames.
4. In Irfanview, choose File -> Batch Conversion/Rename. Select the bmp/png frames, Add them to the batch list, and choose to convert to gif. Also set the advanced options to resize, crop, sharpen, etc. as desired. Run the batch-conversion.
5. Open UnFREEz. In Windows Explorer, select all the newly-generated gif frames (highlight the last frame, then hold shift and select the first frame). Drag and drop them into UnFREEz. Set your options and create an animated gif. This is the first draft, which has uniform play-speed.[2]
6. Open the gif with MS Gif Animator to adjust the play-speeds of various sections to your liking.[3]
[1]: VirtualDub can export to animated gif directly, but the result will be huge since it doesn't resize the image or remove duplicate frames.
[2]: The reason you need UnFREEz is because MS Gif Animator always sorts the frames backward when you drag-drop in more than one at a time. A bug that'll never see a fix, sadly.
[3]: Irfanview has a bug where it plays animated gifs too slowly. Windows Picture & Fax viewer has a bug where it won't finish playing long animated gifs. Use MS Gif Animator or a browser to check the play speed.
|