diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-05-18 08:46:41 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-05-18 09:02:53 +0200 |
commit | 39bc48eb0e8b9a2b8d43d6f1a612c12d0c70ae23 (patch) | |
tree | 15957113d35981a11085bd98a79b399fbbea7a25 /bin/encodevideo+loop+stream | |
parent | 6f794349b9c0e7da1190235fdbd5229de533165f (diff) |
Convert pixel format explictly as filter (not implicitly as constraint, for each encoding).
Diffstat (limited to 'bin/encodevideo+loop+stream')
-rwxr-xr-x | bin/encodevideo+loop+stream | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/encodevideo+loop+stream b/bin/encodevideo+loop+stream index 266a733..b054782 100755 --- a/bin/encodevideo+loop+stream +++ b/bin/encodevideo+loop+stream @@ -54,8 +54,8 @@ fi # + Use same RTP payload types as GStreamer ffmpeg -hide_banner -threads auto -re \ -stream_loop -1 -i "$INPUT" \ + -vf format=pix_fmts=yuv420p \ -map '0:v' \ - -pix_fmt yuv420p \ -codec:v vp8 -quality realtime -deadline 1000000 -cpu-used "$SPEED_VP8" \ -b:v "$VBITRATE" -minrate "$VBITRATE" -maxrate "$VBITRATE" \ -undershoot-pct 95 -bufsize $((6000*VBITRATE/1000)) -rc_init_occupancy $((4000*VBITRATE/1000)) \ |