[FFmpeg-devel] [PATCH] avfilter/image2: Add source file path and basename to each packet side data.

Gyan ffmpeg at gyani.pro
Sat Dec 21 19:07:36 EET 2019



On 21-12-2019 10:00 pm, Alexandre Heitor Schmidt wrote:
>
> I fixed it again. Some {} weren't escaped by the "@" character, thus 
> causing this error.
>
> The new patch follows attached.

In the commit msg,

> libavformat/img2dec.c: Modify image2 demuxer to make available
> two special metadata entries called lavf.image2dec.source_basename
> and lavf.image2dec.source_basename, which represents, respectively,
> the complete path to the source image for the current frame and
> the basename i.e. the file name related to the current frame.
> These can then be used by filters like drawtext and others.

First key name should end in source_path

Regards,
Gyan



More information about the ffmpeg-devel mailing list