Это создает две вкладки, каждая из которых открывается в каталог «foo» или «bar» с названиями вкладок «foo» и «bar»
gnome-terminal --tab -t foo -e 'sh -c " cd foo; sh "'--tab -t bar -e' sh -c" cd bar; sh "'
Используете ли вы пакет движения, который поддерживает MMAL? Судя по этой ветке под названием:Motion/MMAL/Jessie , похоже, что Pi просто не справляется с частотой кадров.
Your resolution question is a bit more complicated. The clever part of this version of motion is that the Pi's camera feeds low resolution video to the motion detection algorithm - so that the Pi's processor isn't too heavily loaded - and at the same time, higher resolution stills and videos of the detected movement can be saved. So you need to have a good look at your config file to get the resolution you want. These are the key lines in the config
Пример конфигурации показывает частоту кадров 4:
width 320
height 188
framerate 4
mmalcam_secondary_buffer_upscale 5
pre_capture 4
output_both_pictures on
output_secondary_pictures on
target_dir /run/shm
snapshot_filename lastsnap
picture_filename preview
movie_filename %Y%m%d%H%M%S
ПРИМЕЧАНИЕ.:Используемый выше дистрибутив — Raspian.
Далее в этой ветке этот комментарий также является ключевым:
You should be getting the video at 640x480 and the stills at 2560x1920.
Есть еще одна ссылка на настройку MMAL-Re :Motion -MMAL camera .