add oscilloscope y visualization

This commit is contained in:
Leandro Moreira
2020-06-11 10:59:14 -03:00
parent 1be9f8daeb
commit d3f3609f20
2 changed files with 8 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ All the **hands-on should be performed from the folder you cloned** this reposit
* added DRM system
* released version 1.0.0
* added simplified Chinese translation
* added FFmpeg oscilloscope filter example
# Index
@@ -275,6 +276,13 @@ Previously we had calculated that we needed [278GB of storage to keep a video fi
Watch this incredible video explaining what is luma and learn about luminance, gamma, and color.
[![Analog Luma - A history and explanation of video](http://img.youtube.com/vi/Ymt47wXUDEU/0.jpg)](http://www.youtube.com/watch?v=Ymt47wXUDEU)
> ### Hands-on: Check YCbCr intensity
> You can visualize the Y intensity for a given line of a video using [FFmpeg's oscilloscope filter](https://ffmpeg.org/ffmpeg-filters.html#oscilloscope).
> ```bash
> ffplay -f lavfi -i 'testsrc2=size=1280x720:rate=30000/1001,format=yuv420p' -vf oscilloscope=x=0.5:y=200/720:s=1:c=1
> ```
> ![y color oscilloscope](/i/ffmpeg_oscilloscope.png "y color oscilloscope")
## Frame types
Now we can move on and try to eliminate the **redundancy in time** but before that let's establish some basic terminology. Suppose we have a movie with 30fps, here are its first 4 frames.

BIN
i/ffmpeg_oscilloscope.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB