[FFmpeg-user] field order detection - numbering framepositions possible?

Christoph Gerstbauer christophgerstbauer at gmail.com
Sun Feb 14 19:08:41 CET 2016


For example I want to check an IMX50 file, which is specified as TOP 
FIELD FIRST only.

SO I want to give the field order checker the caommand that he gives me 
the frame numbers or time positions of all frames where the wanted field 
order is not preset (where it is bottom field first). Progressive frames 
encoded as TFF are allowed.

Best
Regards
Christoph

Am 09.02.16 um 15:59 schrieb Paul B Mahol:
> On 2/9/16, Christoph Gerstbauer <christophgerstbauer at gmail.com> wrote:
>> Hello Moritz,
>>
>> I dont want to extract the Metadata from each frame.
>> I want to analyse the video itself, not its metadata.
>> In some cases the metadata will not fit to the essence picture.
>> And for these cases I want to analyse the essence, and print out a
>> "report" on which timeposition a frame has different field order to the
>> wanted one.
> idet filter does analyse the video itself and sets frame metadata to what
> it thinks frame actually is.
>
> So could you provide more info what you want.
> What is wanted order and where one can specify it.
> How you gonna check what is actual frame order, and so on.
>
>> Best Regards
>> Christoph
>>
>>
>> Am 26.01.2016 um 13:06 schrieb Moritz Barsnick:
>>> Hi Christoph,
>>>
>>> On Tue, Jan 26, 2016 at 11:36:54 +0100, Christoph Gerstbauer wrote:
>>>> Is it possible to MARK the framenumbers to its detected field orders?
>>>> Via framenumber or timestamp?
>>>> Or to search a "known" TFF content for BFF frames? To force the output
>>>> to lines like:
>>>> Found BFF frames at position X
>>> I don't think ffmpeg provides the desired statistics, but you could
>>> extract them yourself.
>>>
>>> The idet filter inserts metadata into each frame as documented here:
>>> https://ffmpeg.org/ffmpeg-filters.html#idet
>>>
>>> You can use ffprobe to show and analyze the metadata and parse your own
>>> conclusions:
>>>
>>> $ ffprobe -f lavfi -i "movie=infile.avi,idet" -show_frames
>>> and use ffprobe arguments to show only the interesting fields (frame
>>> number, tff/bff, statistics) for the desired streams.
>>>
>>> Thinking about it, those "cumulative" values may even be the indicators
>>> you are looking for. (Not sure.)
>>>
>>> Cheers,
>>> Moritz
>>> _______________________________________________
>>> ffmpeg-user mailing list
>>> ffmpeg-user at ffmpeg.org
>>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list