Skip to content

Instantly share code, notes, and snippets.

@boscomonkey
Created May 14, 2009 00:35
Show Gist options
  • Save boscomonkey/111402 to your computer and use it in GitHub Desktop.
Save boscomonkey/111402 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Transcode an MMS into an H.264 in an .mp4 container.
# Usage: transcode_vlc.sh mms://foo.com/bar.wmv bar.mp4
vlc $1 :sout '#transcode{vcodec=h264,vb=800,scale=1,acodec=mp4a,ab=128,channels=2}:duplicate{dst=std{access=file,mux=mp4,dst=$2}}' :sout-all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment