doc:appunti:linux:video:ffmpeg_final_rendering
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:linux:video:ffmpeg_final_rendering [2026/11/20 09:27] – [Encoding for High Definition Video] niccolo | doc:appunti:linux:video:ffmpeg_final_rendering [2026/11/20 10:28] (current) – [Pixel format considerations] niccolo | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| ^ Basic x264 | ^ Basic x264 | ||
| ^ Video encoding | ^ Video encoding | ||
| - | ^ Pixel format | + | ^ Pixel format |
| ^ Bits per sample | ^ Bits per sample | ||
| - | ^ Color range | + | ^ Color range |
| ^ Audio codec | ^ Audio codec | ||
| ^ Audio bitrate | ^ Audio bitrate | ||
| Line 34: | Line 34: | ||
| -metadata: | -metadata: | ||
| -filter:v " | -filter:v " | ||
| - | -vcodec ' | + | -vcodec ' |
| + | | ||
| + | | ||
| -b:v 4M -maxrate:v 6M -bufsize:v 6M \ | -b:v 4M -maxrate:v 6M -bufsize:v 6M \ | ||
| -acodec copy \ | -acodec copy \ | ||
| Line 64: | Line 66: | ||
| -i full32bit-veryslow-crf18-fullcolor.mkv \ | -i full32bit-veryslow-crf18-fullcolor.mkv \ | ||
| -metadata title=" | -metadata title=" | ||
| - | -vcodec ' | + | -vcodec ' |
| -profile:v ' | -profile:v ' | ||
| -b:v 6M -maxrate:v 9M -bufsize:v 18M \ | -b:v 6M -maxrate:v 9M -bufsize:v 18M \ | ||
| Line 75: | Line 77: | ||
| -i full32bit-veryslow-crf18-fullcolor.mkv \ | -i full32bit-veryslow-crf18-fullcolor.mkv \ | ||
| -metadata title=" | -metadata title=" | ||
| - | -vcodec ' | + | -vcodec ' |
| -profile:v ' | -profile:v ' | ||
| -b:v 6M -maxrate:v 9M -bufsize:v 18M \ | -b:v 6M -maxrate:v 9M -bufsize:v 18M \ | ||
| Line 88: | Line 90: | ||
| ===== Pixel format considerations ===== | ===== Pixel format considerations ===== | ||
| - | We used the **yuvj420p | + | We use the **yuv420p |
| - | First of all consider the **420** code; this means tat for each matrix of 4x2 pixels the stream encode all the values for the luminance, only 2 values for the chrominance on the X axis and zero values for the chrominance on the Y axis. This figure explains clearly the 4:4:4, 4:2:2 and 4:2:0 subsampling methods: | + | First of all consider the **420** code; this means that for each matrix of 4x2 pixels the stream encode all the values for the luminance, only 2 values for the chrominance on the X axis and zero values for the chrominance on the Y axis. This figure explains clearly the 4:4:4, 4:2:2 and 4:2:0 subsampling methods: |
| {{subsampling.png? | {{subsampling.png? | ||
doc/appunti/linux/video/ffmpeg_final_rendering.1795163223.txt.gz · Last modified: by niccolo
