Motion - Bug Report 2013x 08x 11x 161945

BUG: Mpeg4 video format doesn't work for HTML5 video

The mpeg4 setting for ffmpeg_video_codec doesn't work correctly with the HTML5 <video> tag, the needed settings are different. It would make a lot more sense to add another setting with good defaults for html5 video. An example of those settings is here:

http://pitchpublish.com/ffmpeg-commands-for-html5-compatible-videos/

It would also make a lot more sense to not have ffmpeg linked into motion at all and just have the on_motion_detected event receive the raw image input on stdin so that the user can configure ffmpeg or any other encoder with whatever options he chooses.

Environment

Motion version: 3.2.12
ffmpeg version:  
Shared libraries: ffmpeg, mysql, postgresql
Server OS:  
-- PedroCorteReal - 11 Aug 2013

Follow up

Fix record

Topic revision: r1 - 11 Aug 2013, PedroCorteReal
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.