#42: don't read stdin when running in a noninteractive shell -------------------------------------+------------------------------------- Reporter: taeuber | Owner: Type: enhancement | Status: open Priority: wish | Component: FFmpeg Version: git | Resolution: Keywords: | Blocked By: noninteractive shell stdin | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+-------------------------------------
Comment (by pfalcon): This is crazy, internets are full of question how to disable this flaming interactive mode, and years thru, it's still not solved, and now there's discussion "how to detect it". Being smarter than a user is highly optional, so just let user tell what one wants with -non-interactive. Don't forget that being non-interactive means not only not reading from stdin, but also not outputting that stupid progress indicator which otherwise doesn't allow to capture clean and nice log, and instead non- deterministically intersperses itself with it: {{{ [mpeg1video @ 0x813c710]ac-tex damaged at 21 17 [mpeg1video @ 0x813c710]Warning MVs not available [mpeg1video @ 0x813c710]concealing 22 DC, 22 AC, 22 MV errors frame= 932 fps= 0 q=0.0 size= -0kB time=37.28 bitrate= -0.0kbits/s dup=1 drop=0 ^M[mpeg1video @ 0x813c710]Warning MVs not a [mpeg1video @ 0x813c710]concealing 22 DC, 22 AC, 22 MV errors frame= 1841 fps=1839 q=0.0 size= -0kB time=73.64 bitrate= -0.0kbits/s dup=1 drop=0 ^M[mpeg1video @ 0x813c710]ac-tex damaged a }}} Thanks for thinking with perspective on how users can use your software! -- Ticket URL: <http://ffmpeg.org/trac/ffmpeg/ticket/42#comment:9> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac