User Tools

Site Tools


tutorial:create_video_from_still_image_and_from_audio_file

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorial:create_video_from_still_image_and_from_audio_file [2011/11/06 14:58]
agent_007 tiny addition
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 47: Line 47:
 {{:​tutorial:​adm_main_track_external.png|}} {{:​tutorial:​adm_main_track_external.png|}}
 \\  \\ 
-If you have imported MP3 audio, but it isn't included, then try to process the audio file with [[http://​wiki.hydrogenaudio.org/​index.php?​title=MP3packer|MP3packer]] or with similar tool.+If you have imported MP3 audio, but it isn't included, then try to process the audio file with [[http://​wiki.hydrogenaudio.org/​index.php?​title=MP3packer|MP3packer]] or with similar tool ([[http://​audacity.sourceforge.net/​|Audacity]] also works if you e.g. turn the MP3 audio file to WAV).
  
 ==== Part 4. Set encoders, and save file ==== ==== Part 4. Set encoders, and save file ====
-Now your video is ready for saving ​(you can apply filters at this point if you need them). Choosing video and audio encoders isn't easy for many people, so below are some preselected choices that will work+Now your video is ready for saving. Choosing video and audio encoders isn't easy for many people, so below are some preselected choices that will work
  
   * Video: MPEG-4 AVC (x264), Audio: AAC (Faac), Format: MP4   * Video: MPEG-4 AVC (x264), Audio: AAC (Faac), Format: MP4
Line 56: Line 56:
  
 You can leave the audio part to Copy (with MP3 audio file), that way you avoid unneeded encoding step which will save some time and keep the audio quality. ​ You can leave the audio part to Copy (with MP3 audio file), that way you avoid unneeded encoding step which will save some time and keep the audio quality. ​
 +
 +//(you can apply filters at this point if you need them via Video -> Filters or Audio -> Filters)//
  
 Saving the video happens via **File -> Save -> Save video...** (remember to give file extension, e.g. if you selected Format: MP4, then add .mp4 to filename) Saving the video happens via **File -> Save -> Save video...** (remember to give file extension, e.g. if you selected Format: MP4, then add .mp4 to filename)
Line 61: Line 63:
 {{:​tutorial:​adm_save_video.png|}} {{:​tutorial:​adm_save_video.png|}}
 \\  \\ 
-File sizes should be quite small, since still images turned into video can be compressed very efficiently.+File sizes should be quite small, since still images turned into video can be compressed very efficiently ​with most video encoders.
  
 ===== 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 72: 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 82: 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 104: Line 106:
  
 ==== Part 4. Set encoders, and save file ==== ==== Part 4. Set encoders, and save file ====
-Now your video is ready for saving ​(you can apply AVIdemux filters at this point if you need them). Choosing video and audio encoders isn't easy for many people, so below are some preselected choices that will work+Now your video is ready for saving . Choosing video and audio encoders isn't easy for many people, so below are some preselected choices that will work
  
   * Video: MPEG-4 AVC (x264), Audio: AAC (Faac), Format: MP4   * Video: MPEG-4 AVC (x264), Audio: AAC (Faac), Format: MP4
   * 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)//
  
 Saving the video happens via **File -> Save -> Save video...** (remember to give file extension, e.g. if you selected Format: MP4, then add .mp4 to filename) Saving the video happens via **File -> Save -> Save video...** (remember to give file extension, e.g. if you selected Format: MP4, then add .mp4 to filename)
Line 115: Line 119:
 {{:​tutorial:​adm_save_video.png|}} {{:​tutorial:​adm_save_video.png|}}
 \\  \\ 
-File sizes should be quite small, since still images turned into video can be compressed very efficiently.+File sizes should be quite small, since still images turned into video can be compressed very efficiently ​with most video encoders.
tutorial/create_video_from_still_image_and_from_audio_file.1320587928.txt.gz · Last modified: 2012/11/11 08:51 (external edit)