#2874: Export image2 file name as frame metadata
-------------------------------------+-------------------------------------
             Reporter:  jlubeck      |                    Owner:
                 Type:  enhancement  |                   Status:  open
             Priority:  wish         |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  drawtext     |               Blocked By:
  image2                             |
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by AlexSmith):

 Replying to [ticket:2874 jlubeck]:
 > It would be great if instead of %{n} we could use something to grab the
 filename, or even better, meta data from the jpg to be able to format the
 timestamp. But just with the file name would be great.

 It is possible to read the image's metadata and draw it on top of each
 frame by using the 'drawtext=' filter. For example, to read the DateTime
 metadata from each frame, one can use:

 {{{
 drawtext="text='%{metadata\:DateTime\:def_value}'"
 }}}

 Currently there's no way to print the input file name, unless some
 additional steps are taken, like shown here:
 https://trac.ffmpeg.org/ticket/2874#comment:13

 ffmpeg version 3.4.6-0ubuntu0.18.04.1

--
Ticket URL: <https://trac.ffmpeg.org/ticket/2874#comment:14>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to