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

Mark Filipak markfilipak.windows+ffmpeg at gmail.com
Sat Apr 25 12:07:14 EEST 2020


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.


More information about the ffmpeg-user mailing list