Bugfixing camera sensor_mode.
This commit is contained in:
parent
0f5b331084
commit
2e65514b2f
2 changed files with 2 additions and 2 deletions
|
@ -268,4 +268,4 @@ def init_sounds(hal: PizzaHAL, sounds: List):
|
||||||
@blocking
|
@blocking
|
||||||
def init_camera(hal: PizzaHAL):
|
def init_camera(hal: PizzaHAL):
|
||||||
if hal.camera is None:
|
if hal.camera is None:
|
||||||
hal.camera = PiCamera()
|
hal.camera = PiCamera(sensor_mode=5)
|
||||||
|
|
|
@ -207,7 +207,7 @@ class Statemachine:
|
||||||
Rewind all scrolls, post-process videos
|
Rewind all scrolls, post-process videos
|
||||||
"""
|
"""
|
||||||
# postprocessing
|
# postprocessing
|
||||||
cmdstring = f'MP4Box -add {fs_names.REC_CITY_DESC} -add{fs_names.REC_DRAW_CITY} {fs_names.REC_MERGED_VIDEO}'
|
cmdstring = f'MP4Box -add {fs_names.REC_DRAW_CITY} {fs_names.REC_MERGED_VIDEO}'
|
||||||
call([cmdstring], shell=True)
|
call([cmdstring], shell=True)
|
||||||
|
|
||||||
if self.move:
|
if self.move:
|
||||||
|
|
Loading…
Reference in a new issue