Skip to content

Instantly share code, notes, and snippets.

@ansonparker
Created September 20, 2011 05:48
Show Gist options
  • Save ansonparker/1228449 to your computer and use it in GitHub Desktop.
Save ansonparker/1228449 to your computer and use it in GitHub Desktop.
Lossless FLV to MP4 conversion
Open command prompt (Terminal) and run:
ffmpeg -i "filename.flv" -vcodec copy -acodec copy "filename.mp4"
This will copy video track and audio track from filename.flv to filename.mp4. The operation is lossless (there is no quality loss).
@BenVlodgi
Copy link

For windows
start "" "ffmpeg.exe" -i "filename.flv" -vcodec copy -acodec copy "filename.mp4"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment