#3832(avfilter:new): support frame metadata in idet filter
#3832: support frame metadata in idet filter -------------------------------------+------------------------------------- Reporter: dericed | Owner: Type: | Status: new enhancement | Component: avfilter Priority: wish | Keywords: idet, Version: git- | metadata master | Blocking: Blocked By: | Analyzed by developer: 0 Reproduced by developer: 0 | -------------------------------------+------------------------------------- Summary of the enhancement: I would find it useful if the idet filter set frame metadata similar to how cropdetect, signalstats, and ebur128 do. How to reproduce: {{{ ffprobe -f lavfi mandelbrot,idet -show_frames }}} For frame metadata I suggest lavfi.idet.mfd and lavfi.idet.sfd. Perhaps the output of {{{ ffprobe -f lavfi movie=INPUT,idet -show_entries frame_tags=lavfi.idet.mfd }}} could be {{{ [FRAME] TAG:lavfi.idet.mfd=Undetermined [/FRAME] [FRAME] TAG:lavfi.idet.mfd=BFF [/FRAME] [FRAME] TAG:lavfi.idet.mfd=Progressive [/FRAME] [FRAME] TAG:lavfi.idet.mfd=TFF [/FRAME] }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/3832> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3832: support frame metadata in idet filter -------------------------------------+------------------------------------- Reporter: dericed | Owner: Type: enhancement | Status: new Priority: wish | Component: avfilter Version: git-master | Resolution: Keywords: idet, | Blocked By: metadata | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by ubitux): You can extract that information from frame by adding {{{frame=interlaced_frame,top_field_first}}} to the {{{-show_entries}}} option. I'm not sure it would make sense to duplicate that information into metadata. I know I was the one to suggest this initially, but I actually had in mind to export the confidence of the interlacing instead of the result. -- Ticket URL: <https://trac.ffmpeg.org/ticket/3832#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3832: support frame metadata in idet filter -------------------------------------+------------------------------------- Reporter: dericed | Owner: Type: enhancement | Status: new Priority: wish | Component: avfilter Version: git-master | Resolution: Keywords: idet, | Blocked By: metadata | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by dericed): Thanks, I have a sample called 5B_clean_capture_ffv1.mov which in idet reports a mixture of bff, tff, progressive, and undetermined. With: {{{ ffmpeg -i 5B_clean_capture_ffv1.mov -vf idet -v debug -f null - }}} The first frames show: {{{ [Parsed_idet_0 @ 0x7fa153e00000] Single frame:Undetermined , Multi frame:Undetermined [Parsed_idet_0 @ 0x7fa153e00000] Single frame:Bottom Field First, Multi frame:Bottom Field First [Parsed_idet_0 @ 0x7fa153e00000] Single frame:Undetermined , Multi frame:Bottom Field First [Parsed_idet_0 @ 0x7fa153e00000] Single frame:Bottom Field First, Multi frame:Bottom Field First [Parsed_idet_0 @ 0x7fa153e00000] Single frame:Undetermined , Multi frame:Bottom Field First [Parsed_idet_0 @ 0x7fa153e00000] Single frame:Progressive , Multi frame:Bottom Field First [Parsed_idet_0 @ 0x7fa153e00000] Single frame:Progressive , Multi frame:Bottom Field First [Parsed_idet_0 @ 0x7fa153e00000] Single frame:Undetermined , Multi frame:Bottom Field First [Parsed_idet_0 @ 0x7fa153e00000] Single frame:Bottom Field First, Multi frame:Bottom Field First [Parsed_idet_0 @ 0x7fa153e00000] Single frame:Undetermined , Multi frame:Bottom Field First [Parsed_idet_0 @ 0x7fa153e00000] Single frame:Bottom Field First, Multi frame:Bottom Field First [Parsed_idet_0 @ 0x7fa153e00000] Single frame:Undetermined , Multi frame:Bottom Field First [Parsed_idet_0 @ 0x7fa153e00000] Single frame:Top Field First , Multi frame:Bottom Field First [Parsed_idet_0 @ 0x7fa153e00000] Single frame:Top Field First , Multi frame:Top Field First [Parsed_idet_0 @ 0x7fa153e00000] Single frame:Undetermined , Multi frame:Top Field First }}} When I use your suggestion and run: {{{ ffprobe -f lavfi movie=5B_clean_capture_ffv1.mov,idet -show_entries frame=interlaced_frame,top_field_first }}} then every frame is reported with the same values. {{{ [FRAME] interlaced_frame=0 top_field_first=0 [/FRAME] [FRAME] interlaced_frame=0 top_field_first=0 [/FRAME] [FRAME] interlaced_frame=0 top_field_first=0 [/FRAME] }}} If I simplify the command to remove lavfi and run: {{{ ffprobe 5B_clean_capture_ffv1.mov -show_entries frame=interlaced_frame,top_field_first }}} then every interlaced_frame and top_field_first is still the same within the report, but now different than the prior version. {{{ [FRAME] interlaced_frame=1 top_field_first=0 [/FRAME] [FRAME] [/FRAME] [FRAME] [/FRAME] [FRAME] interlaced_frame=1 top_field_first=0 [/FRAME] [FRAME] [/FRAME] }}} What I'm hoping for is an ffprobe output that includes the data of idet debug output. -- Ticket URL: <https://trac.ffmpeg.org/ticket/3832#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3832: support frame metadata in idet filter -------------------------------------+------------------------------------- Reporter: dericed | Owner: Type: enhancement | Status: closed Priority: wish | Component: avfilter Version: git-master | Resolution: fixed Keywords: idet, | Blocked By: metadata | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => closed * resolution: => fixed Comment: Should be fixed by Kevin Mitchell in ae6118de -- Ticket URL: <https://trac.ffmpeg.org/ticket/3832#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg