Absolutely! Pipe Viewer does exactlty that. Just insert it in your pipeline:
cat myfile | pv | processor_application
You can optimize away the cat
in the above example:
pv myfile | processor_application
Which has the advantage of providing an actual progress indicator, since pv can determine the size of the input directly. If you do use pv in the middle of a pipeline, you need to supply the file size yourself to get accurate progress:
input_process | pv -s 100M -p | processor_application
Check the website for more options to customize pv.