Skip to content

Instantly share code, notes, and snippets.

@meise
Created May 18, 2015 18:33
Show Gist options
  • Save meise/434f75655e8071169d23 to your computer and use it in GitHub Desktop.
Save meise/434f75655e8071169d23 to your computer and use it in GitHub Desktop.
ffmpeg webm vp8 hd to icecast2
ffmpeg -re -y -i 'rtmp://127.0.0.1:1935/stream/s1_native_hd' -aspect 16:9 -threads:0 0 -fflags +genpts -flags +global_header -c:v libvpx -g 75 -keyint_min 75 -deadline realtime -b:v 2800k -ac 1 -maxrate:a 96k -c:v libvpx -c:a libvorbis -f webm - | /usr/local/bin/mse_webm_remuxer -cm 2000 - - | oggfwd -w 127.0.0.1 8000 PASSWORD /s1_native_hd.webm;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment