Skip to content

Instantly share code, notes, and snippets.

@halfbyte
Created July 6, 2012 15:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save halfbyte/3061036 to your computer and use it in GitHub Desktop.
Save halfbyte/3061036 to your computer and use it in GitHub Desktop.
ploppcast conversion
input = ARGV[0]
output = ARGV[1]
unless input && output
puts "usage IN OUT" and exit
end
system "ffmpeg -i '#{input}' -map 0:0 -vn -acodec copy #{output}-1.m4a -map 0:1 -vn -acodec copy #{output}-2.m4a"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment