Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
ffmpeg_notes [2020-05-07 11:35] – nik | ffmpeg_notes [2021-06-19 07:41] – [concat] nik | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== Ffmpeg - various notes ==== | ==== Ffmpeg - various notes ==== | ||
+ | |||
+ | ==== add audio track to a video ==== | ||
+ | |||
+ | '' | ||
+ | |||
+ | ====extract audio from mp4 as mp3==== | ||
+ | |||
+ | '' | ||
+ | |||
+ | ====avoid audio/video reencode==== | ||
+ | |||
+ | options '-c:a copy' and '-c:v copy' | ||
====slo-mo video transcode (e.g. iphone)==== | ====slo-mo video transcode (e.g. iphone)==== | ||
Line 11: | Line 23: | ||
'' | '' | ||
- | ====video | + | ====video |
...timelapsed (1 frame every 4 seconds) | ...timelapsed (1 frame every 4 seconds) | ||
Line 17: | Line 29: | ||
'' | '' | ||
+ | ====image sequence | ||
+ | |||
+ | '' | ||
==== concat ==== | ==== concat ==== | ||
- | a list of files (e.g. named files.txt)\\ | + | create |
'' | '' | ||
'' | '' | ||
Line 26: | Line 41: | ||
'' | '' | ||
- | also -> https:// | + | alternatively, |
+ | '' | ||
+ | ffmpeg | ||
+ | also -> https:// | ||
====ffmpeg filters | ====ffmpeg filters | ||
Line 144: | Line 162: | ||
'' | '' | ||
- | ====extract audio from mp4==== | ||
- | |||
- | '' | ||
- | |||
- | ====avoid audio/video reencode==== | ||
- | |||
- | options '-c:a copy' and '-c:v copy' | ||
====blending=== | ====blending=== | ||
Line 158: | Line 169: | ||
====etc==== | ====etc==== | ||
+ | * tuning x265 output -> http:// | ||
* further examples -> https:// | * further examples -> https:// | ||
* An ffmpeg and SDL Tutorial or How to Write a Video Player in Less Than 1000 Lines (2015) http:// | * An ffmpeg and SDL Tutorial or How to Write a Video Player in Less Than 1000 Lines (2015) http:// | ||
* various examples -> https:// | * various examples -> https:// | ||