On Sat, Dec 21, 2019 at 05:32:26PM +0000, Alexandre Heitor Schmidt wrote: > > 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 > > Damn! You're right! New patch attached with this minor change corrected. > > Thanks! > > Alex. >
> doc/demuxers.texi | 11 +++++++++++ > doc/filters.texi | 7 +++++++ > libavformat/img2dec.c | 32 ++++++++++++++++++++++++++++++++ > 3 files changed, 50 insertions(+) > c75f4fef2f9595bc69315d450219adda125aaf25 > 0001-avformat-image2-Metadata-identifying-the-source-path.patch > >From 95ebffed3784ba12a32966128136e8deae0d8386 Mon Sep 17 00:00:00 2001 > From: Alexandre Heitor Schmidt <alexandre.schm...@gmail.com> > Date: Sat, 21 Dec 2019 16:19:31 +0000 > Subject: [PATCH] avformat/image2: Metadata identifying the source path of > input filename and documentation for its usage. > > libavformat/img2dec.c: Modify image2 demuxer to make available > two special metadata entries called lavf.image2dec.source_path > 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. not sure why i just now realize it but Storing the source path is problematic privacy and security wise Thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB No snowflake in an avalanche ever feels responsible. -- Voltaire
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".