This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tutorial:create_video_from_still_image_and_from_audio_file [2011/11/15 18:58] agent_007 [Part 4. Set encoders, and save file] |
tutorial:create_video_from_still_image_and_from_audio_file [2012/11/11 08:51] (current) |
||
---|---|---|---|
Line 23: | Line 23: | ||
{{:tutorial:adm_filee_open.png|}} | {{:tutorial:adm_filee_open.png|}} | ||
\\ | \\ | ||
- | 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). | + | 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 (e.g. .jpg -> .png) and try again. |
\\ | \\ | ||
{{:tutorial:avidemux_still_opened.jpg|}} | {{:tutorial:avidemux_still_opened.jpg|}} | ||
Line 66: | Line 66: | ||
===== AVIsynth+AVIdemux ===== | ===== AVIsynth+AVIdemux ===== | ||
- | This method is little harder, since you have to write stuff and install AVIsynth in case you don't have that already installed. Basic plan is quite simple, open AVproxy GUI, select AVIsynth input, write few lines of script, create proxy and save the video. | + | This method is little harder, since you have to write stuff and install AVIsynth in case you don't have that already installed. Basic plan is quite simple, open AVSproxy GUI, select AVIsynth input, write few lines of script, create proxy and save the video. |
**In nutshell:** | **In nutshell:** | ||
Line 74: | Line 74: | ||
- Set video and audio encoder (if needed), select output format then use **File -> Save -> Save video...** | - Set video and audio encoder (if needed), select output format then use **File -> Save -> Save video...** | ||
- | ==== Part 1. Open AVproxy==== | + | ==== Part 1. Open AVSproxy==== |
This is the easy part, just head to the AVIdemux install folder and start **avsproxy_gui.exe** | This is the easy part, just head to the AVIdemux install folder and start **avsproxy_gui.exe** | ||
\\ | \\ | ||
Line 84: | Line 84: | ||
If you want one image and audio track for that, you use [[http://avisynth.org/mediawiki/ImageSource|ImageSource]] + [[http://avisynth.org/mediawiki/DirectShowSource|DirectShowSource]] + [[http://avisynth.org/mediawiki/AudioDub|AudioDub]]. | If you want one image and audio track for that, you use [[http://avisynth.org/mediawiki/ImageSource|ImageSource]] + [[http://avisynth.org/mediawiki/DirectShowSource|DirectShowSource]] + [[http://avisynth.org/mediawiki/AudioDub|AudioDub]]. | ||
- | For Imagesource you define the image file (inside ""), and how many frames you want (end=), and the FPS (fps=). For DirectShowSource you set the audio file name, and force it to audio only mode. AudioDub just joins the video and the audio together, | + | For Imagesource you define the image file (inside ""), and how many frames you want (end=), and the FPS (fps=). For DirectShowSource you set the audio file name, and force it to audio only mode. AudioDub just joins (muxes) the video and the audio together. |
For example, following script would use ie_logo.png as still image input (1500/25=60 so duration is 60 seconds), and teaser.mp3 for audio | For example, following script would use ie_logo.png as still image input (1500/25=60 so duration is 60 seconds), and teaser.mp3 for audio | ||
Line 111: | Line 111: | ||
* Video: MPEG-4 ASP (Xvid), Audio: MP3 (lame), Format: AVI | * Video: MPEG-4 ASP (Xvid), Audio: MP3 (lame), Format: AVI | ||
- | You shouldn't leave the audio or the video part to Copy since AVIsynth passes forward only uncompressed audio and video (output filesize will be huge with uncompressed raw video). | + | You shouldn't leave the audio or the video part to Copy since AVIsynth passes forward only uncompressed audio and video (output file size will be huge with uncompressed raw video). |
//(you can apply filters at this point if you need them via Video -> Filters or Audio -> Filters)// | //(you can apply filters at this point if you need them via Video -> Filters or Audio -> Filters)// |