Skip to content

Instantly share code, notes, and snippets.

@lg3bass
Last active January 14, 2016 14:24
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 lg3bass/8852053 to your computer and use it in GitHub Desktop.
Save lg3bass/8852053 to your computer and use it in GitHub Desktop.
Convert Avermedia Game Recorder .avi (H.264) to .mp4 (H.264) - Passthrough
//basic usage
ffmpeg -i 140203-1229.avi -vcodec copy -acodec copy avi_cog.mp4
//add faststart (progressive DL)
ffmpeg -i inflation-intro-3000.3gp -vcodec copy -acodec copy -movflags +faststart inflation-intro-3000.mp4
//see my response here:
//http://avp.stackexchange.com/questions/3876/how-can-i-use-ffmpeg-to-lower-the-quality-of-h264-video-but-keep-it-in-h264-form
//EDIT:
ffmpeg -i 140624-1912.avi -vcodec copy -acodec libfaac -ac 2 -ar 44100 -ab 128k inclined_2.mp4
// problem is: Mac needs to be AAC!!!! Apple!@!@?
//source:
//http://rodrigopolo.com/ffmpeg/cheats.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment