signalstats

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

signalstats

adam smith
Hi

Is it possible to limit the return of signalstats filter to only return certain values (YMAX, YMIN etc) instead of always outputting all values.
Perhaps only output values if they are outside of a tolerance eg <16 or >235

The other question regarding this filter, can it output 10bit values?
The 8bit values appear to be covered, but I am not sure how to get 10bit or higher.

System Bit Depth

Range in Digital Sample (Code) Values


Expected Video Range


Preferred Min. / Max.

Total Video Signal Range

8 bit

16 - 235

5 - 246

1 - 254

10 bit

64 - 940

20 - 984

4 - 1019

12 bit


256 - 3760


80 - 3936

16 - 4079

16 bit


4096 - 60160


1280 - 62976

256 - 65279


Thanks for your awesome work.
Thanks in advance of your resonse

Adam
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: signalstats

Gyan


On 14-02-2019 09:47 PM, adam smith wrote:
> The other question regarding this filter, can it output 10bit values?
> The 8bit values appear to be covered, but I am not sure how to get 10bit or higher.

 ┬áThe filter works with inputs up to 16 bit depth.

Gyan
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: signalstats

Kieran O Leary
On Thu, 14 Feb 2019, 16:53 Gyan <[hidden email] wrote:

>
>
> On 14-02-2019 09:47 PM, adam smith wrote:
> > The other question regarding this filter, can it output 10bit values?
> > The 8bit values appear to be covered, but I am not sure how to get 10bit
> or higher.
>
>   The filter works with inputs up to 16 bit depth.
>

I think a few years ago it was only 8-bit,so perhaps Adam is using an
ancient version..
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: signalstats

Chris Davis
In order to show specific entries with signal stats, I have used the
following.

input=[file to process]

ffprobe -f lavfi movie=$input,signalstats -show_entries
frame=pkt_pts_time:frame_tags=lavfi.signalstats.YDIF:frame_tags=lavfi.signalstats.VDIF:frame_tags=lavfi.signalstats.UDIF
-of compact=p=0:nk=1:s=',' | awk -F, '$2||$3||$4'

produces this output. pts_time, YDIF, UDIF, VDIF

0.041708,3.9209,0,0

0.083417,3.3272,0,0

0.125125,2.31667,0,0

0.166833,3.64537,0,0

0.208542,3.88414,0,0

0.250250,1.48258,0,0

0.291958,3.54581,0,0

0.333667,3.61441,0,0

0.375375,2.19445,0,0

0.417083,5.24294,0,0

0.458792,3.91119,0,0

0.500500,3.49364,0,0

0.542208,2.23117,0,0

0.583917,3.63617,0,0

0.625625,3.8388,0,0

0.667333,1.68407,0,0

0.709042,3.84471,0,0

0.750750,3.52209,0,0

0.792458,2.10397,0,0

0.834167,4.66315,0,0

0.875875,3.88427,0,0

0.917583,3.44534,0,0

0.959292,2.15088,0,0

1.001000,7.99362,0,0

etc

On Thu, Feb 14, 2019 at 12:22 PM Kieran O Leary <[hidden email]>
wrote:

> On Thu, 14 Feb 2019, 16:53 Gyan <[hidden email] wrote:
>
> >
> >
> > On 14-02-2019 09:47 PM, adam smith wrote:
> > > The other question regarding this filter, can it output 10bit values?
> > > The 8bit values appear to be covered, but I am not sure how to get
> 10bit
> > or higher.
> >
> >   The filter works with inputs up to 16 bit depth.
> >
>
> I think a few years ago it was only 8-bit,so perhaps Adam is using an
> ancient version..
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: signalstats

adam smith
Thanks very much.
I was hoping to restrict the output using ffmpeg and not ffprobe; mostly so I could make a proxy with overlay and metadata text file at the same time.

My question regarding bit depth was because the filter doc shows values between 0-255 which is cool for 8bit values, but 10bit obvs higher.

Thanks for your help
I will give it a whirl with a 10 bit file and see what comes out.

Sent from my iPhone

> On 14 Feb 2019, at 17:38, Chris Davis <[hidden email]> wrote:
>
> In order to show specific entries with signal stats, I have used the
> following.
>
> input=[file to process]
>
> ffprobe -f lavfi movie=$input,signalstats -show_entries
> frame=pkt_pts_time:frame_tags=lavfi.signalstats.YDIF:frame_tags=lavfi.signalstats.VDIF:frame_tags=lavfi.signalstats.UDIF
> -of compact=p=0:nk=1:s=',' | awk -F, '$2||$3||$4'
>
> produces this output. pts_time, YDIF, UDIF, VDIF
>
> 0.041708,3.9209,0,0
>
> 0.083417,3.3272,0,0
>
> 0.125125,2.31667,0,0
>
> 0.166833,3.64537,0,0
>
> 0.208542,3.88414,0,0
>
> 0.250250,1.48258,0,0
>
> 0.291958,3.54581,0,0
>
> 0.333667,3.61441,0,0
>
> 0.375375,2.19445,0,0
>
> 0.417083,5.24294,0,0
>
> 0.458792,3.91119,0,0
>
> 0.500500,3.49364,0,0
>
> 0.542208,2.23117,0,0
>
> 0.583917,3.63617,0,0
>
> 0.625625,3.8388,0,0
>
> 0.667333,1.68407,0,0
>
> 0.709042,3.84471,0,0
>
> 0.750750,3.52209,0,0
>
> 0.792458,2.10397,0,0
>
> 0.834167,4.66315,0,0
>
> 0.875875,3.88427,0,0
>
> 0.917583,3.44534,0,0
>
> 0.959292,2.15088,0,0
>
> 1.001000,7.99362,0,0
>
> etc
>
> On Thu, Feb 14, 2019 at 12:22 PM Kieran O Leary <[hidden email]>
> wrote:
>
>>> On Thu, 14 Feb 2019, 16:53 Gyan <[hidden email] wrote:
>>>
>>>
>>>
>>>> On 14-02-2019 09:47 PM, adam smith wrote:
>>>> The other question regarding this filter, can it output 10bit values?
>>>> The 8bit values appear to be covered, but I am not sure how to get
>> 10bit
>>> or higher.
>>>
>>>  The filter works with inputs up to 16 bit depth.
>>>
>>
>> I think a few years ago it was only 8-bit,so perhaps Adam is using an
>> ancient version..
>> _______________________________________________
>> ffmpeg-user mailing list
>> [hidden email]
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> [hidden email] with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

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