The rule is as follows:
Comment - does not contain - handbraked (just using this to mark files as converted)
Passes Shell Script - [below]
- Code: Select all
if ffprobe `$1` 2> | grep 'Video: hevc'; then
exit 0
else
exit 1
fi
Unless I've written this wrong, grep is supposed to search the output of ffprobe for "Video: hevc" and pass the script if it finds it. But it's not finding it. Any and all files fail to pass and just move on to the next rules.