doc:appunti:linux:video:ffmpeg
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:appunti:linux:video:ffmpeg [2023/01/07 14:51] – [Final rendering (re-encoding)] niccolo | doc:appunti:linux:video:ffmpeg [2023/01/07 15:21] – [AVC (x264) is better than ASP (xvid4)] niccolo | ||
---|---|---|---|
Line 271: | Line 271: | ||
^ Video filter | ^ Video filter | ||
^ Basic x264 | Preset: **slow** (or less), Tuning: **film**, Profile: **High**, IDC Level: **Auto** | | ^ Basic x264 | Preset: **slow** (or less), Tuning: **film**, Profile: **High**, IDC Level: **Auto** | | ||
- | ^ Video encoding | + | ^ Video encoding |
^ Audio codec | < | ^ Audio codec | < | ||
^ Audio bitrate | ^ Audio bitrate | ||
- | We can use **Avidemux** to make the final rendering (re-encoding). For a **comman | + | We can use **Avidemux** to make the final rendering (re-encoding). For a **command |
+ | |||
+ | <code bash> | ||
+ | #!/bin/sh | ||
+ | TITLE=" | ||
+ | ffmpeg \ | ||
+ | -i " | ||
+ | -i ' | ||
+ | -map ' | ||
+ | -metadata title=" | ||
+ | -metadata: | ||
+ | -metadata: | ||
+ | -filter:v " | ||
+ | -vcodec ' | ||
+ | -acodec copy \ | ||
+ | " | ||
+ | </ | ||
====== Re-encoding with tonal correction ====== | ====== Re-encoding with tonal correction ====== | ||
Line 309: | Line 326: | ||
The gamma correction for the three RGB channels was determined with the GIMP, using the //Colors// => //Levels// => //Pick the gray point for all channels// tool. The use of MPEG-TS clips allowed the montage of the final video by just concatenating them. | The gamma correction for the three RGB channels was determined with the GIMP, using the //Colors// => //Levels// => //Pick the gray point for all channels// tool. The use of MPEG-TS clips allowed the montage of the final video by just concatenating them. | ||
- | ==== AVC (x264) is better than ASP (xvid4) ==== | + | ===== AVC (x264) is better than ASP (xvid4) |
See this page: **[[https:// | See this page: **[[https:// |
doc/appunti/linux/video/ffmpeg.txt · Last modified: 2023/11/13 11:24 by niccolo