[FFmpeg-user] Zeroing 'top_field_first' & 'repeat_pict' -- Possible?

Monex monex12345 at gmail.com
Sat Apr 25 13:22:47 EEST 2020


On 4/25/20, Mark Filipak <markfilipak.windows+ffmpeg at gmail.com> wrote:
> ffprobe reports: frames.frame.0.interlaced_frame=0 
> frames.frame.0.top_field_first=1 frames.frame.0.repeat_pict=1 
> frames.frame.1.interlaced_frame=0 frames.frame.1.top_field_first=0 
> frames.frame.1.repeat_pict=0 frames.frame.2.interlaced_frame=0 
> frames.frame.2.top_field_first=0 frames.frame.2.repeat_pict=1 
> frames.frame.3.interlaced_frame=0 frames.frame.3.top_field_first=1 
> frames.frame.3.repeat_pict=0
> 
> Is there an ffmpeg way to zero those metadata flags in the input
> prior to the decoder so that the decoder thinks that the input is
> solely progressive?
> 
> frames.frame.0.interlaced_frame=0 frames.frame.0.top_field_first=0 
> frames.frame.0.repeat_pict=0 frames.frame.1.interlaced_frame=0 
> frames.frame.1.top_field_first=0 frames.frame.1.repeat_pict=0 
> frames.frame.2.interlaced_frame=0 frames.frame.2.top_field_first=0 
> frames.frame.2.repeat_pict=0 frames.frame.3.interlaced_frame=0 
> frames.frame.3.top_field_first=0 frames.frame.3.repeat_pict=0
> 
> Alternatively, is there a way to simply force the decoder to ignore
> the flags?
> 
> Thanks, Mark.
> 
> -- COVID-19 facts: The United States is 4% of world population, 32%
> of cases, 25% of deaths. The U.S. & S.Korea reported 1st cases on the
> same day. In March, week 2, S.Korea did 10,000 tests per day, 4 hour
> results. In March, week 2, The U.S. did 400 tests per day, 7 day
> results.
> 
> 
So now you are an epidemiologist too? Please don't further embarrass yourself by joining the growing mass of amateur pandemicsplainers. Email sigs, like top-posting, are discouraged here. 


More information about the ffmpeg-user mailing list