[FFmpeg-devel] [PATCH] lavu/opt: enhance printing durations.

Clément Bœsch u at pkh.me
Mon Oct 26 22:00:05 CET 2015

On Mon, Oct 26, 2015 at 09:56:37PM +0100, Nicolas George wrote:
> Le quintidi 5 brumaire, an CCXXIV, Clement Boesch a écrit :
> > > Note: While I am touching the options code, I have this crazy idea about
> > > replacing AV_OPT_TYPE_* that would allow to get out of escaping hell
> > > completely. I will not have time to act on it soon, but if someone wants to
> > > hear about it...
> > What escaping are you talking about?
> All the levels of backslashes you have to put before delimiters. For
> example, if you want to put a two minutes duration in a filter graph
> description, you can not write "testsrc=d=2:00", because the colon will
> delimit the option. You have to write a largish number of backslashes in
> front of the colon. It becomes ever worse when nesting values: think of
> colons inside the localtime expansion inside the text option of the drawtext
> filter.
> I believe we could avoid that almost entirely.

Oh. Wasn't "testsrc=d='2:00'" supposed to work, just like comma & friends
in eval inside filters options?

Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151026/c413d24e/attachment.sig>

More information about the ffmpeg-devel mailing list