Motion - Config Option Ffmpeg Video Codec

ffmpeg_video_codec

  • Type: Discrete Strings
  • Range / Valid values: mpeg4, msmpeg4, swf, flv, ffv1, mov, ogg, mp4, mkv, hevc
  • Default: mpeg4
  • Group: Movie File Output

Codec to be used by ffmpeg for the video compression. Timelapse will only work with the options mpeg4 or swf., Codec to be used by ffmpeg for the video compression. Timelapse will only work with the options mpeg4 or swf.

Supported formats are:

  • mpeg4 or msmpeg4 - gives you files with extension .avi
  • msmpeg4 is recommended for use with Windows Media Player because it requires no installation of codec on the Windows client.
  • swf - gives you a flash film with extension .swf
  • flv - gives you a flash video with extension .flv
  • ffv1 - FF video codec 1 for Lossless Encoding ( experimental )
  • mov - QuickTime ( testing )
  • ogg - Ogg/Theora ( testing )
  • mp4 - MPEG-4 Part 14 H264 encoding
  • mkv - Matroska H264 encoding
  • hevc - H.265 / HEVC (High Efficiency Video Coding)

Timelapse videos have two options.
  • swf - Creates swf file with mpeg-2 encoding.
    If motion is shutdown and restarted, new pics will be appended to any previously created file with name indicated for timelapse.
  • mpeg4 - Creates avi file with the default encoding.
    If motion is shutdown and restarted, new pics will create a new file with the name indicated for timelapse.
Topic revision: r13 - 07 Aug 2016, KennethLavrsen
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.