Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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