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