DeadEnded / MotionEyeAudio

Script to add Audio to MotionEye recordings
66 stars 26 forks source link

Creating two separate files. #14

Open generalk25 opened 1 year ago

generalk25 commented 1 year ago

https://i.imgur.com/GFdbNgf.png https://i.imgur.com/uIH8Qe9.png

It's creating a separate audio file with the same name as the mp4.

DeadEnded commented 10 months ago

Creating the separate audio file is normal - that is how the script works. It creates the audio file while the video is being recorded. When the video stops recording the script stops recording audio, and then merges the two files together. Once the merge is complete it deletes the audio file.

So - check your recordings - was the merge successful? Do the mp4 files have audio in them? If not, the script is either not executing or failing on the stop command (this would be the "run a command" box at the bottom of your second screenshot).

If the recording does have audio - than the system is just failing to delete the aac file afterwards. My guess would be that this is a permission issue - but not positive.

Just to let you know - I haven't used this in years - if something has changed in MotionEye that would break it, I wouldn't know.

Cheers! DeadEnd