mirror of
https://github.com/leandromoreira/digital_video_introduction.git
synced 2026-01-09 14:38:02 -05:00
add oscilloscope y visualization
This commit is contained in:
@@ -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.
|
||||
[](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
|
||||
> ```
|
||||
> 
|
||||
|
||||
## 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
BIN
i/ffmpeg_oscilloscope.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.0 MiB |
Reference in New Issue
Block a user