Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
software:video [2014/12/27 17:04] cyril [ffmpeg] |
software:video [2024/05/12 22:48] (current) cyril [ffmpeg] |
||
---|---|---|---|
Line 47: | Line 47: | ||
| convert im3.png - -append final.png | | convert im3.png - -append final.png | ||
</ | </ | ||
+ | |||
+ | === Create animated GIF === | ||
+ | |||
+ | < | ||
=== Formats === | === Formats === | ||
Line 158: | Line 162: | ||
==== ffmpeg ==== | ==== ffmpeg ==== | ||
- | * '' | + | * video codec: |
- | * '' | + | * audio codec: |
- | * '' | + | * codec bitrate: video '' |
- | * '' | + | * codec quality: video '' |
+ | |||
+ | * crop: '' | ||
+ | * resize: '' | ||
+ | * pad: '' | ||
+ | * rotate: '' | ||
+ | |||
+ | * blur: '' | ||
+ | * overlay two videos:< | ||
+ | ffmpeg -i in1.avi -vf " | ||
+ | </ | ||
+ | ffmpeg -i in1.avi -i in2.avi -filter_complex " | ||
+ | </ | ||
* append side by side two videos:< | * append side by side two videos:< | ||
Line 167: | Line 183: | ||
</ | </ | ||
- | * encode video from images sequence:< | + | * encode video from images sequence |
- | ffmpeg -r 50 -i 01/ | + | ffmpeg -r 50 -i 01/ |
+ | ffmpeg -r 10 -pattern_type glob -i " | ||
</ | </ | ||
* cut clip (ss is start time, t is duration):< | * cut clip (ss is start time, t is duration):< | ||
- | ffmpeg -i in.avi -ss 00:00:23 -t 00:00:19 out.avi | + | ffmpeg -i in.avi -ss 00:00:23 -t 00: |
</ | </ | ||
- | * render subtitles (requires to be compiled with libass):< | + | * render subtitles (requires to be compiled with libass): '' |
- | ffmpeg -i in.avi -vf subtitles=in.srt | + | |
+ | * transform portrait video 640x480 to landscape 1280x720 with blurry repeated sides:< | ||
+ | ffmpeg -i in.avi -filter_complex "[0:v] transpose=2, | ||
+ | ' | ||
</ | </ | ||
==== AviDemux ==== | ==== AviDemux ==== | ||
Line 203: | Line 223: | ||
lame -V2 --vbr-new -q0 --lowpass 10 -s 22.05 -b32 file.wav file.mp3 | lame -V2 --vbr-new -q0 --lowpass 10 -s 22.05 -b32 file.wav file.mp3 | ||
</ | </ | ||
+ | |||
+ | => '' | ||
+ | |||
+ | To cut an mp3 file (warning: ID3 tags are not copied): | ||
+ | <code bash> | ||
+ | mp3cut -o output.mp3 -t 00: | ||
+ | </ | ||
+ | |||
+ | To concatenate mp3 files: | ||
+ | <code bash> | ||
+ | mp3cut -o output.mp3 input1.mp3 input2.mp3 input3.mp3 | ||
+ | </ | ||
+ | |||
+ | => '' | ||
+ | |||
+ | To copy ID3 tags from a file to another one. | ||
+ | |||
+ | => '' | ||
+ | |||
+ | To view and edit ID3 tags in command line. | ||
+ | |||
+ | => '' | ||
+ | |||
+ | To view and edit ID3 tags in GUI. | ||
+ | |||
==== ogg ==== | ==== ogg ==== |