Skip to content

Instantly share code, notes, and snippets.

@leandromoreira
Last active April 25, 2020 18:07
Show Gist options
  • Save leandromoreira/73105e99e8dec67e31b1e41e9e7f580b to your computer and use it in GitHub Desktop.
Save leandromoreira/73105e99e8dec67e31b1e41e9e7f580b to your computer and use it in GitHub Desktop.
ffmpeg -hide_banner \
-re -f lavfi -i "testsrc2=size=384x216:rate=30,format=yuv420p" \
-f lavfi -i "sine=frequency=220:beep_factor=4:duration=5" -threads 8\
-c:v libvpx-vp9 -deadline realtime -cpu-used 4 -row-mt 1 \
-speed 6 -tile-columns 4 -frame-parallel 1 -threads 8 -static-thresh 0 -max-intra-rate 300 -deadline realtime -lag-in-frames 0 -error-resilient 1 \
-tile-columns 6 -frame-parallel 1 \
-minrate 400k -maxrate 400k -b:v 400k -keyint_min 30 -g 30 \
-c:a libvorbis -b:a 128k \
-window_size 5 -extra_window_size 10 -remove_at_exit 1 -adaptation_sets "id=0,streams=v id=1,streams=a" \
-fflags +genpts \
-movflags isml+frag_keyframe output.mpd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment