Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| lwc:multimedia_and_graphics [2022/11/17 06:46] – John Harrison | lwc:multimedia_and_graphics [2023/08/18 08:22] (current) – John Harrison | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| * [[http:// | * [[http:// | ||
| - | * crossfade example with ffmpeg (audio and video): | + | |
| + | ==== Crossfade with ffmpeg ==== | ||
| + | === crossfade example with ffmpeg (audio and video) | ||
| < | < | ||
| / | / | ||
| Line 29: | Line 31: | ||
| [over1][va1]overlay=format=yuv420[outv]" | [over1][va1]overlay=format=yuv420[outv]" | ||
| -vcodec libx264 -preset ultrafast -qp 0 -aspect 1.778 -map [outv] -map [outa] -acodec libvorbis -qscale:a 10 -ss 00:00:02 -t 5 out.mp4 | -vcodec libx264 -preset ultrafast -qp 0 -aspect 1.778 -map [outv] -map [outa] -acodec libvorbis -qscale:a 10 -ss 00:00:02 -t 5 out.mp4 | ||
| + | </ | ||
| + | === crossfade using ffmpeg and xfade === | ||
| + | < | ||
| + | ffmpeg -i first.mp4 -i second.mp4 -filter_complex " | ||
| + | < | ||
| + | // from https:// | ||
| </ | </ | ||
| * compress video with ffmpeg: | * compress video with ffmpeg: | ||