use yuv420p pixel format for motion

This commit is contained in:
Blake Blackshear
2020-10-10 10:07:14 -05:00
parent 2c17f27ab4
commit 2a84d0afb9
5 changed files with 19 additions and 13 deletions

View File

@@ -55,7 +55,7 @@ FFMPEG_DEFAULT_CONFIG = {
'-use_wallclock_as_timestamps', '1']),
'output_args': FFMPEG_CONFIG.get('output_args',
['-f', 'rawvideo',
'-pix_fmt', 'rgb24'])
'-pix_fmt', 'yuv420p'])
}
GLOBAL_OBJECT_CONFIG = CONFIG.get('objects', {})