On Sat, Dec 14, 2019 at 10:59:31PM +0000, Alexandre Heitor Schmidt wrote: > avfilter/drawtext: Added two special metadata tags which can, be used by > 'drawtext' filter and others to have access to source file path, and its > basename. > > The new field AVPacket->source_file will contain a path to its corresponding > filename everytime the packet corresponds to a single file. This behavior is > common for image2 filter. When this field is filled, frames passed to filters > will contain two special metadata tags called source_path (the entire path to > the file) and source_basename (only the file name). These metatags can be > used by filters like drawtext to be able to plot the entire path or the > basename of it respectively to the frame being processed. > > doc/filters: The documentation for drawtext was also updated and an usage > example was added. > > Fixes #2874. > > Signed-off-by: Alexandre Heitor Schmidt <alexandre.schm...@gmail.com> > --- > doc/filters.texi | 13 +++++++++++++ > fftools/ffmpeg.c | 12 ++++++++++++ > libavcodec/avcodec.h | 8 ++++++++ > libavcodec/avpacket.c | 1 + > libavformat/img2dec.c | 9 +++++++++ > 5 files changed, 43 insertions(+)
doc/filters.texi:9885: misplaced { doc/filters.texi:9885: misplaced } make: *** [doc/ffprobe-all.html] Error 1 make: *** Waiting for unfinished jobs.... doc/filters.texi:9885: misplaced { doc/filters.texi:9885: misplaced } make: *** [doc/ffplay-all.html] Error 1 doc/filters.texi:9885: misplaced { doc/filters.texi:9885: misplaced } make: *** [doc/ffmpeg-all.html] Error 1 doc/filters.texi:9885: misplaced { doc/filters.texi:9885: misplaced } make: *** [doc/ffmpeg-filters.html] Error 1 [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Let us carefully observe those good qualities wherein our enemies excel us and endeavor to excel them, by avoiding what is faulty, and imitating what is excellent in them. -- Plutarch
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".