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 15:18] – [Final rendering (re-encoding)] niccolo | doc:appunti:linux:video:ffmpeg [2023/04/18 12:51] – [ffmpeg: leggere la sequenza di VOB da un DVD] niccolo | ||
---|---|---|---|
Line 278: | Line 278: | ||
<code bash> | <code bash> | ||
+ | #!/bin/sh | ||
TITLE=" | TITLE=" | ||
ffmpeg \ | ffmpeg \ | ||
Line 289: | Line 290: | ||
-vcodec ' | -vcodec ' | ||
-acodec copy \ | -acodec copy \ | ||
- | "$DST_FILE" | + | "2022-05_balcani.mkv" |
</ | </ | ||
Line 325: | 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:// | ||
Line 551: | Line 552: | ||
</ | </ | ||
+ | ====== ffmpeg: leggere la sequenza di VOB da un DVD ====== | ||
+ | |||
+ | Nella directory **VIDEO_TS** di un DVD la traccia principale è normalmente suddivisa in file numerati sequenzialmente, | ||
+ | |||
+ | In teoria è sufficiente concatenare i file in un solo file destinazione e quindi trattarlo come un normale file audio/ | ||
+ | |||
+ | <code bash> | ||
+ | SOURCE=" | ||
+ | ffmpeg -i " | ||
+ | </ | ||
+ | |||
+ | ====== ffmpeg: impostare un ritardo sui sottotitoli durante il muxing ====== | ||
+ | |||
+ | Se un flusso di sottotitoli (ad esempio nel formato Picture based DVD) non indica correttamente l' | ||
+ | |||
+ | <code bash> | ||
+ | ffmpeg -i video-stream.mkv -i audio-stream.mkv -itsoffset 44.5 -i subtitles-stream.mkv ... | ||
+ | </ | ||
+ | |||
+ | In generale dovrebbe essere possibile scoprire l' | ||
+ | |||
+ | < | ||
+ | [mpeg @ 0x55f98bb2c6c0] New subtitle stream 0:7 at pos: | ||
+ | </ | ||
====== Doppiaggio audio con Ardour ====== | ====== Doppiaggio audio con Ardour ====== | ||
Vedere la pagina dedicata: **[[ardour_dubbing]]**. | Vedere la pagina dedicata: **[[ardour_dubbing]]**. |
doc/appunti/linux/video/ffmpeg.txt · Last modified: 2023/11/13 11:24 by niccolo