I use HandBrakeCLI in a post process script in plex to convert downloaded HDhomerun OTR tv files to .mp4 files which works most of the time but sometimes I get an incomplete frame from HDhomerun and when this happens HandBrakeCLI hangs at that point and fails to complete. I have a 4 core processor and three cores drop out at this point and one continues at 100% until I kill it.
Tell us about your environment. What version of HandBrake? What operating system are you running. etc.
I'm using Linux OS, I can't find the version of HandBrakeCLI
If there was any exception or error displayed, please copy it and paste it here:
Here's what I discovered at the end of HandBrakeCLI That stopped the process at 1 second to go.
Encoding: task 1 of 1, 99.77 % (75.56 fps, avg 82.93 fps, ETA 00h00m01s)[ac3 @ 0x7f65b83ddf60] incomplete frame
[12:04:34] reader: done. 1 scr changes
[12:04:58] sync: got 53882 frames, 53957 expected
THree processors stopped and 1 continued at ETA 00h00m01s Because of an incomplete frame in ac3
HERE'S THE COMMAND LINE:
Code: Select all
$PGMNAME -i "$1" -o "$BASEPATH/$FILENAME.mp4" --width 1280 --height 720 -s 1 --subtitle-burned --preset Normal
Is there some way to force HandBrakeCLI to skip this frame and finish?
Thanks