Recently I changed how the script works and now when the script dumps the audio from the encoded h264 file it fails to dump all of it.
It doesn't seem to be giving a INT, EXIT, TERM, or KILL signal when it fails to dump the audio.
Because I only have part of the audio when it remuxes the files using mkvmerge I end up with a mkv file that only has sound for a portion of the final mkv file and then cuts out.
I've run this script one at a time and it seems to work but when I run more than one instance is when I seem to get the partial failures.
I was wondering if anyone had any ideas as to why this would happen or how I might go about fixing it.
I do have more than enough room on the drive for the audio (over 100gb remaining, and the .wav files are less than 300mb).
Here is the fcron line that I use to start the scripts:
Code: Select all
@exesev(true),runas(mythtv),mail(false),nice(19) 5 /scripts/bin/croncoderCode: Select all
mplayer -really-quiet video.h264 -ao pcm:waveheader:file=audio.wav -vc dummy -vo null || exit-MJ

