Opened 5 years ago
Closed 5 years ago
#7875 closed defect (fixed)
ffmpeg freezedetect filter output
Reported by: | arianaa30 | Owned by: | Marton Balint |
---|---|---|---|
Priority: | normal | Component: | avfilter |
Version: | git-master | Keywords: | freezedetect |
Cc: | Marton Balint | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
The ffmpeg freeze output is expected to output intervals of detections always with start-duration-end tags. But we see sometimes, start tag is missing, and duration shows right after previous end. For development purposes, it is best to always have a start, even if start is equal to previous end.
Example command:
ffmpeg -i freeze.mp4 -vf "freezedetect=n=-60dB:d=0.1" -map 0:v:0 -f null -
How to reproduce:
% ffmpeg -i input ... output ffmpeg version N-93649-gd0ca749adb Copyright (c) 2000-2019 the FFmpeg developers built with gcc 8.3.1 (GCC) 20190414
[freezedetect @ 0000016df6c06a00] lavfi.freezedetect.freeze_start: 0 [freezedetect @ 0000016df6c06a00] lavfi.freezedetect.freeze_duration: 0.9009 [freezedetect @ 0000016df6c06a00] lavfi.freezedetect.freeze_end: 0.9009 [freezedetect @ 0000016df6c06a00] lavfi.freezedetect.freeze_duration: 0.1001 [freezedetect @ 0000016df6c06a00] lavfi.freezedetect.freeze_end: 1.001 [freezedetect @ 0000016df6c06a00] lavfi.freezedetect.freeze_start: 5.005 [freezedetect @ 0000016df6c06a00] lavfi.freezedetect.freeze_duration: 2.03537 [freezedetect @ 0000016df6c06a00] lavfi.freezedetect.freeze_end: 7.04037
Change History (5)
comment:1 by , 5 years ago
Component: | undetermined → avfilter |
---|---|
Keywords: | freezedetect added |
Priority: | important → normal |
Type: | enhancement → defect |
Version: | unspecified → git-master |
comment:2 by , 5 years ago
File: https://www.dropbox.com/s/h9hi9se6srmlp5p/freeze.mp4?dl=0
Command:
ffmpeg -i freeze.mp4 -vf "freezedetect=n=-60dB:d=0.1" -map 0:v:0 -f null -
comment:3 by , 5 years ago
Cc: | added |
---|---|
Owner: | set to |
Status: | new → open |
Please test the patch I submitted to ffmpeg-devel:
comment:5 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | open → closed |
Fixed by Marton in 328a96839d4d953285f9875b217bebaa5fd783b0
Note:
See TracTickets
for help on using tickets.
Please provide your command line together with the complete, uncut console output and an input sample that allows to reproduce the issue to make this a valid ticket.