[FFmpeg-devel] Fwd: [PATCH 1/2] ffmpeg: reset tty state correctly

Nicolas George george at nsup.org
Mon Jul 27 15:39:47 CEST 2015


Le nonidi 9 thermidor, an CCXXIII, Ganesh Ajjanagadde a écrit :
> Wasn't there in mine, thanks!

Glad I could be useful.

> No, since 2964 reports command:
> 
> ffmpeg -f lavfi -i testsrc -f null - 2>/dev/null
> 
> Say I change this trivially to:
> 
> </dev/null ffmpeg -f lavfi -i testsrc -f null - 2>/dev/null
> 
> Then your solution would not work.

Yes, and that is perfectly normal: this is exactly what redirecting stdin is
meant to do: prevent from reading from the tty.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150727/d983b76e/attachment.sig>


More information about the ffmpeg-devel mailing list