[FFmpeg-trac] #42(FFmpeg:closed): don't read stdin when running in a noninteractive shell

FFmpeg trac at avcodec.org
Thu Jul 19 23:33:21 CEST 2012


#42: don't read stdin when running in a noninteractive shell
-------------------------------------+-------------------------------------
             Reporter:  taeuber      |                    Owner:
                 Type:  enhancement  |                   Status:  closed
             Priority:  wish         |                Component:  FFmpeg
              Version:  git          |               Resolution:  fixed
             Keywords:               |               Blocked By:
  noninteractive shell stdin         |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  1            |
-------------------------------------+-------------------------------------
Changes (by saste):

 * analyzed:  0 => 1
 * status:  open => closed
 * resolution:   => fixed
 * reproduced:  0 => 1


Comment:

 Should be addressed in:
 {{{
 commit 0fe8acf2d69bf4bce620128e48b62a957421a106
 Author: Nicolas George <nicolas.george at normalesup.org>
 Date:   Wed Jul 11 21:10:17 2012 +0200

     ffmpeg: add -(no)stdin option.

     Allows to disable interaction from standard input.
     Useful, for example, if ffmpeg is in the background process group.
     Roughly the same result can be achieved with "ffmpeg ... < /dev/null"
     but it requires a shell.
 }}}

 The -nostdin option will disable reading from stdin mode, and seems more
 robust than try to be more clever than the user and auto-detect
 interactive mode.
 Together with -nostats should allow what pfalcon asks.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/42#comment:11>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list