[FFmpeg-devel] [PATCH 2/4] ffmpeg: move AVFrame time base adjustment into a function
Michael Niedermayer
michael at niedermayer.cc
Sun Sep 13 19:14:13 EEST 2020
On Sun, Sep 13, 2020 at 01:26:20PM +0300, Jan Ekström wrote:
> This will have to be called later for video down the line.
> ---
> fftools/ffmpeg.c | 77 ++++++++++++++++++++++++++++++++----------------
> 1 file changed, 52 insertions(+), 25 deletions(-)
This affects the output, example:
./ffmpeg -i mm-small.mpg -vf idet -v 50 -bitexact -f null - 2>&1 | grep idet
Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'idet'.
Applying option vf (set video filters) with argument idet.
[Parsed_idet_0 @ 0x557fe4426b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x557fe4426b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x557fe4426b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x557fe4426b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x557fe4426b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x557fe4426b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x557fe4426b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x557fe4426b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x557fe4426b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x557fe4426b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x557fe4426b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x557fe4426b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x557fe4426b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x557fe4426b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x557fe4426b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x557fe4426b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x557fe4426b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x557fe4426b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x557fe4426b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x557fe4426b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x557fe4426b40] Repeated Field: neither, Single frame: progressive, Multi frame: progressive
[Parsed_idet_0 @ 0x557fe4426b40] Repeated Field: neither, Single frame:undetermined, Multi frame: progressive
VS:
Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'idet'.
Applying option vf (set video filters) with argument idet.
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame:undetermined, Multi frame:undetermined
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame: progressive, Multi frame: progressive
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame:undetermined, Multi frame: progressive
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame: progressive, Multi frame: progressive
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame:undetermined, Multi frame: progressive
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame: tff, Multi frame: progressive
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame:undetermined, Multi frame: progressive
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame: tff, Multi frame: progressive
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame:undetermined, Multi frame: progressive
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame: tff, Multi frame: progressive
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame:undetermined, Multi frame: progressive
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame: tff, Multi frame: progressive
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame:undetermined, Multi frame: progressive
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame: tff, Multi frame: progressive
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame:undetermined, Multi frame: progressive
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame: bff, Multi frame: progressive
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame:undetermined, Multi frame: progressive
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame: bff, Multi frame: bff
[Parsed_idet_0 @ 0x5567cbd30b40] Repeated Field: neither, Single frame:undetermined, Multi frame: bff
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200913/93ad696f/attachment.sig>
More information about the ffmpeg-devel
mailing list