[root@alma]# vi /usr/local/etc/motion/motion.conf

≪途中省略≫

############################################################
# Movie output configuration parameters
############################################################

# Create movies of motion events.
movie_output on

# Maximum length of movie in seconds.
movie_max_time 60

# The encoding quality of the movie. (0=use bitrate. 1=worst quality, 100=best)
movie_quality 100

# Container/Codec to used for the movie. See motion_guide.html
movie_codec mkv
※ 書き換え
movie_codec mp4※ MP4 に変更

≪以下省略≫