You can use the subprocess.PIPE to redirect the console output to your program. For example:
process = subprocess.Popen(["ffmpeg", "-i", "test.mp4", "test.mp3"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
for line in iter(process.stdout.readline, b'')...