[FFmpeg-devel] [FFmpeg-cvslog] vf_drawtext: Add pkt_pos, pkt_duration, pkt_size as variables

greg Luce electron.rotoscope at gmail.com
Wed Jul 10 23:31:06 EEST 2019


> Yes, but it's not needed. These are constants, so they have to be
> referenced within a function. There are two suitable ones: e and eif
>
> e.g.
>
> drawtext=text='pos %{e\:pkt_pos}, dur %{e\:pkt_duration}, size
> %{e\:pkt_size}'

Oh my goodness gracious that's amazing! Thanks, I'll try that out now!
So I guess does that mean %{e\:n} does the same thing as %{n} ?


More information about the ffmpeg-devel mailing list