[FFmpeg-trac] #11327(ffmpeg:new): interactive mode interferes with stats_period time
FFmpeg
trac at avcodec.org
Sat Nov 30 01:20:07 EET 2024
#11327: interactive mode interferes with stats_period time
--------------------------------------+----------------------------------
Reporter: Michael Enke | Type: defect
Status: new | Priority: normal
Component: ffmpeg | Version: 7.1
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------------+----------------------------------
Summary of the bug:
When reading from a camera, ffmpeg prints the following line:
{{{
Press [q] to stop, [?] for help
}}}
When pressing 'q', the input is only read after the next statistics output
is printed.
Up to version 6.2, pressing q was read and executed immediately,
independent of the stats_period. With version 7.0 and 7.1 under Windows
(not sure if Linux has the same problem), ffmpeg only reads from stdin
after stats_period seconds elapsed.
How to reproduce:
{{{
% ffmpeg.exe -y -stats_period 300 -f dshow -i "video=Integrated Webcam" -s
600x400 webcam.out
ffmpeg version n7.1-39-g64e2864cb9-20241129
from
https://github.com/BtbN/FFmpeg-
Builds/releases/download/autobuild-2024-11-29-13-00/ffmpeg-n7.1-39-g64e2864cb9-win64-lgpl-7.1.zip
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11327>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list