Skip to content

Instantly share code, notes, and snippets.

@joselo
Last active October 19, 2016 06:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joselo/f9772421a10332386f525f583182bbce to your computer and use it in GitHub Desktop.
Save joselo/f9772421a10332386f525f583182bbce to your computer and use it in GitHub Desktop.
Ffmpg Notes
Merge audio and video
1) Remove 1 secons of the video to have the same time of the audio,
the total of the video is 01:40:42
ffmpeg -ss 00:00:00 -t 01:40:41 -i video.mp4 -vcodec copy -acodec copy output.mp4
2) Remove the audio from the video
3) Merge de file
ffmpeg -i output.mp4 -i audio.m4a -acodec copy -vcodec copy wakinglife.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment