Skip to content

Instantly share code, notes, and snippets.

@yu81
Last active July 9, 2019 16:39
Show Gist options
  • Save yu81/1e3edb42fef69b35be4b658e82eebfe6 to your computer and use it in GitHub Desktop.
Save yu81/1e3edb42fef69b35be4b658e82eebfe6 to your computer and use it in GitHub Desktop.
#!/bin/bash
# http://kameya-z.way-nifty.com/blog/2010/10/ffmpegflvmp4-a4.html
file_name=$1
ffmpeg -threads 4 -y -i "${file_name}" -vcodec copy -acodec copy "${file_name/.flv/m4v}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment