1

I get a strange behaviour after running ffmpeg in console and piping its output to mplayer. After I close mplayer's window or I close ffmpeg with Ctrl+C sometimes I can't type anything in that console session. Also sometimes I can type but everytime I press Enter I get no new row, instead the prompt is displayed on the same line.

What could cause this issue and how to prevent it?

3
  • Have you hit Ctrl+S when that terminal was focused? What happens if you hit Ctrl+Q?
    – terdon
    Mar 28, 2013 at 17:53
  • Try stty sane to reset the terminal to sane values or stty may be enough to turn the echo back on
    – parkydr
    Mar 28, 2013 at 18:07
  • @parkydr - this seems to work, thanks. May you please post your comment as answer so I can mark it as the right answer?
    – ov1d1u
    Mar 28, 2013 at 18:53

1 Answer 1

3

ffmpeg has messed up the terminal settings (probably the echo).

stty sane will reset the terminal to sane values.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .