Signed-off-by: Ganesh Ajjanagadde <gajjanaga...@gmail.com> --- doc/faq.texi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
diff --git a/doc/faq.texi b/doc/faq.texi index 5fe716b..696c5b2 100644 --- a/doc/faq.texi +++ b/doc/faq.texi @@ -149,6 +149,26 @@ Try a @code{make distclean} in the ffmpeg source directory before the build. If this does not help see (@url{http://ffmpeg.org/bugreports.html}). +@section Why does ffmpeg mess up my terminal when it crashes? + +ffmpeg modifies the terminal state in order to accept user input. +On crashing, the shell needs to restore the terminal state. + +For @command{zsh}, add the following to your @code{.zshrc}: + +@example +# "freeze" terminal settings +ttyctl -f +@end example + +For @command{bash}, add the following to your @code{.bashrc}: + +@example +# "freeze" terminal settings +bash_tty_mode=$(stty -g) +PROMPT_COMMAND='stty $bash_tty_mode' +@end example + @section How do I encode single pictures into movies? First, rename your pictures to follow a numerical sequence. -- 2.5.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel