diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-04-16 15:19:32 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-04-16 15:41:44 +0200 |
commit | 80b59372497e0d43294e388155d2938e48a3084e (patch) | |
tree | eadb3d664a80dd124d2b7daa0bf989c65def6e35 /bin/decode+edit+loop+encode+stream | |
parent | a1d3c7fb53c459ad7d2090b85be627068286ba63 (diff) |
Always encode using pixel format yuv420p (a.k.a. I420).
Diffstat (limited to 'bin/decode+edit+loop+encode+stream')
-rwxr-xr-x | bin/decode+edit+loop+encode+stream | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/decode+edit+loop+encode+stream b/bin/decode+edit+loop+encode+stream index 686cf55..bf17f33 100755 --- a/bin/decode+edit+loop+encode+stream +++ b/bin/decode+edit+loop+encode+stream @@ -33,6 +33,7 @@ ffmpeg -threads auto -re \ "[0:v]scale=-1:$HEIGHT[bg]; [bg][1:v]overlay=main_w-overlay_w-20:main_h-overlay_h-20" \ -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)) \ |