I was tweaking my sonarr encoder script so that i could tell what the command is that it runs and decided:
- construct the command in a bash variable (add a yadif deinterlace filter if needed)
- echo that variable into a file so i can look at it to make sure it's determining and applying the filter properly.
- eval the command variable and pipe that into a file so I can see the output if i need to troubleshoot.
could not for the life of me figure out why that last bit was always creating an empty text file, ffmpeg is extremely fucking verbose unless you tell it not to be.
anyway 2>&1

