[FFmpeg-devel] [PATCH 1/2] libavfilter/scale: More descriptive in/ref/out logging

Ronald S. Bultje rsbultje at gmail.com
Wed Jul 19 13:44:10 EEST 2017

Hi Kevin,

On Wed, Jul 19, 2017 at 2:01 AM, Kevin Mark <kmark937 at gmail.com> wrote:

> Hello all,
> Just wondering if anyone had any thoughts on the grepability issue,
> which I believe is the only potential issue/breaking change with this
> patch.

You wrote something like:

"ffmpeg [...] scale2ref=0:0 [...] -v verbose - 2>&1 >/dev/null | grep -oP

Where regex is: [..]"

But my grep (Mac) has no -P option... I'd encourage you to keep things
simple and use a non-\n delimiter between the lines so non-GNU grep can
continue to be used for this also...


More information about the ffmpeg-devel mailing list