[FFmpeg-devel] [PATCH] avfilter: add pixscope filter

Dave Rice dave at dericed.com
Wed Apr 26 07:17:42 EEST 2017


> On Apr 24, 2017, at 5:03 PM, Paul B Mahol <onemda at gmail.com> wrote:
> 
> On 4/24/17, Dave Rice <dave at dericed.com> wrote:
>> 
>>> On Apr 24, 2017, at 4:47 PM, Paul B Mahol <onemda at gmail.com> wrote:
>>> 
>>> On 4/24/17, Dave Rice <dave at dericed.com> wrote:
>>>> 
>>>> I tested this filter and find it very useful, but could it be adjusted to
>>>> handle full range video. Currently when I test with a sample such as:
>>>> 
>>>> ./ffplay -f lavfi -i
>>>> color=c=white:s=640x480,format=yuv444p,lutyuv=y=255:u=248:v=10,pixscope
>>>> 
>>>> The outputs list Y=235, U=240, V=16.
>>> 
>>> Hmm, I cannot reproduce this with my old ffplay build or latest mpv or
>>> latest ffmpeg.
>>> 
>>> So it must be ffplay issue.
>> 
>> Can you recreate it with:
>> 
>> ./ffmpeg -f lavfi -i
>> color=c=white:s=640x480,format=yuv444p,lutyuv=y=255:u=248:v=10,pixscope -f
>> nut - | mpv -
> 
> No.
> 
> Neither with:
> 
> ./ffmpeg -f lavfi -i
> color=c=white:s=640x480,format=yuv444p,lutyuv=y=255:u=248:v=10,pixscope
> -f nut -c:v rawvideo - | mpv -
> 
> or:
> 
> mpv avdevice://lavfi:color=c=white:s=640x480,format=yuv444p,lutyuv=y=255:u=248:v=10,pixscope <avdevice://lavfi:color=c=white:s=640x480,format=yuv444p,lutyuv=y=255:u=248:v=10,pixscope>

I hard reset my copy of the repo, re-applied the patch, and now it works as expected. Thanks.
Dave Rice



More information about the ffmpeg-devel mailing list