Motion - Support Question 2005x 01x 14x 012409

Jpeg Cleanup

Question

Sorry for the dumb question, but I reccently upgraded from an old version to 3.1.18 snap 8, in the older version jpeg_cleanup worked with ffmpeg. The docs say it only works with Berkeley. How do I make motion cleanup the jpeg's after creating an mpeg?

Environment

Motion version: 3.1.18 snap8
Libraries: curl, xmlrpc, ffmpeg, mysql, postgresql
Server OS: FC 2

-- EricAiken - 14 Jan 2005

Answer

There are no dumb questions.

The Berkeley mpeg encode works by taking a sequence of jpeg pictures and turning them into an mpeg.

The ffmpeg library is much smarter. It builds the mpeg directly without needing to make jpeg picture. So when the Berkeley feature was removed so was the jpeg cleanup feature. If I had left it all it would do is delete the jpegs seconds after they are made.

The jpeg picture saving is still a feature in Motion and it is independent of the ffmpeg mpeg feature. You can turn one of them on and you can run with both. To disable saving jpegs that you do not need simply set the 'output_normal' option to 'off'.

-- KennethLavrsen - 14 Jan 2005
Topic revision: r2 - 14 Jan 2005, KennethLavrsen
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.