What do I change in motion.conf to reduce saved video size besides changing size of the video?

I'm currently getting about 1.2MB per minute (with emulatemotion on) of film. Using msmpeg as encoder, tried changing the bit rate (default 500k, to 2,3,400k) with no result.

Also, is there a way I could auto-delete the old video files, say keeping only the newest 100 files?

  • Ae you doing this via command line or a script? – dbmitch Jul 21 '16 at 22:20
  • bash. Want to keep only the newest 100 files IF say, the folder size exceeds 1GB – azazelspeaks Jul 21 '16 at 22:52
  • Share the relevent part of your script and tag your question with bash. Do you have a Pi 3? Have you looked at ffmpeg or the jessie version called avconv? – dbmitch Jul 22 '16 at 0:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.