Need your help to solve such use case:
When ffmpeg is starting I want to send a pushover notification (simple sh script). Is there a way to do it real-time or do I need to use crontab and something like ps aux|grep ffmpeg?
I can also make a proxy script which will be run instead of ffmpeg directly but not sure how to proxy all ffmpeg parameters untouched. Any ideas?