This shows you the differences between two versions of the page.
tutorial:create_video_from_still_image_and_from_audio_file [2011/11/05 20:39] agent_007 created, first |
tutorial:create_video_from_still_image_and_from_audio_file [2012/11/11 08:51] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Create video from still image and from audio file ====== | ||
- | This page tries to explain how to create video file from still image(s) and from audio file. | ||
- | There are two methods with AVIdemux to make these kind of videos, first is AVIdemux only and second is AVIsynth+AVIdemux. | ||
- | |||
- | AVIdemux only method is faster and easier if you only use one image. | ||
- | |||
- | AVIsynth+AVIdemux is little harder, but makes adding multiple images easier. | ||
- | |||
- | ===== AVIdemux only ===== | ||
- | |||
- | Basic plan is quite easy, open single image file, copy+paste it few times, add audio and save the result (encode audio+video if needed). Unfortunately certain AVIdemux versions have issues with frame duplication that might crash AVIdemux sometimes. Other issues is related to MP3 audio files, which AVIdemux might ignore. | ||
- | |||
- | - Open image file via **File -> Open...** | ||
- | - Use **Edit -> Copy**, then use **Edit -> Paste** (use Ctrl+v / ⌘v) to replicate the still image | ||
- | - Add audio via **Audio -> Main Track...** | ||
- | - Set video and audio encoder (if needed), select output format then use **File -> Save -> Save video...** | ||
- | |||
- | ==== Part 1. Open image ==== | ||
- | This is the easiest step. Just use **File -> Open...** and select the .png or .jpg file you want to use. AVIdemux should show the image in the editor now (unfortunately AVIdemux doesn't open all image files nor show them correctly, if this happens, then use some image editor and change format of image and try again). | ||
- | |||
- | You can resize/crop the image later, but it is easier to resize/crop the image in image editor tool before you add it to AVIdemux. | ||
- | |||
- | ==== Part 2. Copy+paste ==== | ||
- | Now part that requires some math. Don't worry, calculations are quite easy. You have to use Copy+paste+paste+paste... until you have enough frames. Enough frames in this case means length of audio in seconds multiplied by FPS. Default FPS is 25, you can change FPS value from **Video -> Frame Rate...** | ||
- | |||
- | So if your audio track is 3 minutes and 24 seconds, and the FPS is 25, then you need (3*60+24)*25 = 204*25 = 5100 frames | ||
- | |||
- | Instead of Copy+paste+paste, you can use Copy+ |