From 80b59372497e0d43294e388155d2938e48a3084e Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 16 Apr 2017 15:19:32 +0200 Subject: Always encode using pixel format yuv420p (a.k.a. I420). --- bin/encodevideo+loop+stream | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/encodevideo+loop+stream') diff --git a/bin/encodevideo+loop+stream b/bin/encodevideo+loop+stream index 0decf10..67e14d5 100755 --- a/bin/encodevideo+loop+stream +++ b/bin/encodevideo+loop+stream @@ -20,6 +20,7 @@ TMPMOVIE=../tmp/omni/show0/earth.yuv ffmpeg -threads auto -re \ -stream_loop -1 -i "$TMPMOVIE" \ -an \ + -pix_fmt yuv420p \ -codec:v vp8 -quality realtime -deadline realtime -cpu-used 15 \ -b:v "$VBITRATE" -minrate "$VBITRATE" -maxrate "$VBITRATE" \ -undershoot-pct 95 -bufsize $((6000*VBITRATE/1000)) -rc_init_occupancy $((4000*VBITRATE/1000)) \ -- cgit v1.2.3