I'm trying to filter the output of the mpv media player, removing a particular line, but when I do so I am unable to control mpv with the keyboard. Here is the command:mpv FILE | grep -v 'Error while decoding frame'When I run the command, everything displays correctly, but I am unable to use the LEFT and RIGHT keys to scan through the file, or do anything else with the keyboard. How do I filter the output of the program while retaining control of it?
How do I filter stdout of a program through grep while still controlling the program?
bash;grep;stdout;stdin