Created
May 14, 2009 00:35
-
-
Save boscomonkey/111402 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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