[FFmpeg-trac] #3832(avfilter:new): support frame metadata in idet filter

FFmpeg trac at avcodec.org
Thu Aug 7 16:02:53 CEST 2014


#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


More information about the FFmpeg-trac mailing list