User Tools

Site Tools


video_tips

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
Next revision Both sides next revision
video_tips [2017/02/02 23:39]
maefloresta
video_tips [2019/07/16 20:31]
127.0.0.1 external edit
Line 6: Line 6:
 Usually, I have to deal with video files to make some tests, so I have decided to create this space to save all those little tips I need from time to time. Usually, I have to deal with video files to make some tests, so I have decided to create this space to save all those little tips I need from time to time.
  
-1. How to merge many video files together?+====How to merge many video files together?====
  
 First at all, install mencoder: First at all, install mencoder:
Line 14: Line 14:
     * mencoder -oac copy -ovc copy test_1.avi test_2.avi testN.avi -o completeFile.avi     * mencoder -oac copy -ovc copy test_1.avi test_2.avi testN.avi -o completeFile.avi
  
-2. How to convert an AVI file to FLV?+====How to convert an AVI file to FLV?====
  
 I found a great post right here: http://​forums.liveleak.com/​showthread.php?​t=1716 I found a great post right here: http://​forums.liveleak.com/​showthread.php?​t=1716
Line 34: Line 34:
    ​output.flv:​ the output file    ​output.flv:​ the output file
  
-3. How to extract audio from a video file?+====How to extract audio from a video file?====
  
 The command: The command:
     * ffmpeg -i example.avi -vn -acodec pcm_s16le -ar 44100 -ac 2 example.wav     * ffmpeg -i example.avi -vn -acodec pcm_s16le -ar 44100 -ac 2 example.wav
  
-4. How to remove audio from a video file?+====How to remove audio from a video file?====
  
 The command: The command:
Line 46: Line 46:
 Where output.flv is the video without sound. Where output.flv is the video without sound.
  
-5. How to mix a video with a sound file?+====How to mix a video with a sound file?====
  
 The command: The command:
     * ffmpeg -vcodec copy -i images.mpg -i sound.mp3 output.mpg     * ffmpeg -vcodec copy -i images.mpg -i sound.mp3 output.mpg
  
-6. More tips over here:+====Additional ​tips====
  
 http://​www.catswhocode.com/​blog/​19-ffmpeg-commands-for-all-needs http://​www.catswhocode.com/​blog/​19-ffmpeg-commands-for-all-needs
video_tips.txt ยท Last modified: 2019/09/02 17:17 by maefloresta