[FFmpeg-devel] [PATCH] lavfi: add inverse telecine filter

Michael Niedermayer michaelni at gmx.at
Thu Mar 26 19:55:48 CET 2015


On Thu, Mar 26, 2015 at 01:54:44PM +0530, Himangi Saraogi wrote:
> ---
>  Changelog                   |   1 +
>  doc/filters.texi            |  27 ++++
>  libavfilter/Makefile        |   1 +
>  libavfilter/allfilters.c    |   1 +
>  libavfilter/vf_detelecine.c | 344 ++++++++++++++++++++++++++++++++++++++++++++
>  5 files changed, 374 insertions(+)
>  create mode 100644 libavfilter/vf_detelecine.c

it seems telecine and or this filter loose some AVFrame properties
see  -vf showinfo
vs.
-vf telecine,detelecine,showinfo

[Parsed_showinfo] n:   0 pts:      0 pts_time:0       pos:       -1 fmt:yuv420p sar:0/1 s:720x576 i:P iskey:1 type:? checksum:21320F6F plane_checksum:[E05E519C 9963A03C 25E71D88] mean:[37 127 128] stdev:[33.3 2.9 2.3]
[Parsed_showinfo] n:   1 pts:   3600 pts_time:0.04    pos:       -1 fmt:yuv420p sar:0/1 s:720x576 i:P iskey:1 type:? checksum:DAD8027E plane_checksum:[A5FC35E5 ED19958F 9E4E36FB] mean:[36 127 128] stdev:[33.2 2.9 2.3]

vs.

[Parsed_showinfo] n:   0 pts:      0 pts_time:0       pos:     2062 fmt:yuv420p sar:16/15 s:720x576 i:B iskey:1 type:I checksum:21320F6F plane_checksum:[E05E519C 9963A03C 25E71D88] mean:[37 127 128] stdev:[33.3 2.9 2.3]
[Parsed_showinfo]   side data - pan/scan
[Parsed_showinfo] n:   1 pts:   3600 pts_time:0.04    pos:    65550 fmt:yuv420p sar:16/15 s:720x576 i:B iskey:0 type:B checksum:DAD8027E plane_checksum:[A5FC35E5 ED19958F 9E4E36FB] mean:[36 127 128] stdev:[33.2 2.9 2.3]
[Parsed_showinfo]   side data - pan/scan

i suspect the filters are missing a call to av_frame_copy_props()

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is what and why we do it that matters, not just one of them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150326/1a3277a0/attachment.asc>


More information about the ffmpeg-devel mailing list