Motion - Bug Report 2010x 04x 13x 032553
You are here: Foswiki>Motion Web>BugReports>BugReport2010x04x13x032553 (03 Jun 2012, AngelCarpintero)Edit Attach

BUG: ffmpeg writes FLV files even when FFV1 is selected.

motion has an ffmpeg output option to produce FF lossless video, however the actual create output differs.

In motion.conf I have selected: "ffmpeg_video_codec ffv1"

According to the documentation this should produce a file using the FFV1 lossless codec.

However in actual practice it creates an .avi containing a video stream using the FFLV (ie. Flash Video) codec.

The relevant bits of my motion.conf are:

ffmpeg_cap_new on
ffmpeg_cap_motion off
ffmpeg_timelapse 0
ffmpeg_bps 500000
ffmpeg_variable_bitrate 2
ffmpeg_video_codec ffv1


Motion version: 3.2.11-2ubuntu0.1

Environment

Motion version: 3.2.11.2
ffmpeg version: SVN-r19352-4:0.5+svn20090706-2ubuntu2
Shared libraries: ffmpeg, postgresql, libavcodec-extra-52, libavformat-extra-52, libavutil-extra-49, libjpeg62
Server OS: Ubuntu Server 9.10
-- TobyCorkindale - 13 Apr 2010

Follow up

Please check out svn version for 3.2 branch where i added a patch to fix this.

mkdir motion-3.2

cd motion-3.2

svn co http://www.lavrsen.dk/svn/motion/branches/3.2

./configure --prefix=/usr/local

make

sudo make install

/usr/local/bin/motion -c /etc/motion.conf

-- AngelCarpintero - 15 Apr 2010

Fix record

Released in SVN / GIT

-- AngelCarpintero - 03 Jun 2012
Topic revision: r3 - 03 Jun 2012, AngelCarpintero
Copyright © 1999-2019 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.