Skip to content

Instantly share code, notes, and snippets.

@mikedawson
Created April 5, 2024 19:56
Show Gist options
  • Save mikedawson/9a08663ec0e0bef3ed1f3cb4ab340560 to your computer and use it in GitHub Desktop.
Save mikedawson/9a08663ec0e0bef3ed1f3cb4ab340560 to your computer and use it in GitHub Desktop.
Use VLC command line to transcode file to h264 video
/usr/bin/vlc -I dummy --no-repeat --no-loop -vv inputfile.extension --sout='#transcode{vcodec=h264,acodec=mp4a,vb=500,ab=96,deinterlace}:standard{mux=mp4,access=file,dst=output.mp4}' vlc://quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment