Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software:video [2018/01/06 23:41]
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
 </code> </code>
 +
 +=== Create animated GIF ===
 +
 +<code>convert -delay 50 -loop 0 *.jpg out.gif</code>
  
 === Formats === === Formats ===
Line 179: Line 183:
 </code> </code>
  
-  * encode video from images sequence:<code> +  * encode video from images sequence (eg for timelapse):<code> 
-ffmpeg -r 50 -i 01/all/image_1_%07d.pgm -r 50 -c:v libx264 -b:v 800k video_01.avi+ffmpeg -r 50 -i 01/all/image_1_%07d.pgm -c:v libx264 -b:v 800k video_01.avi 
 +ffmpeg -r 10 -pattern_type glob -i "*.JPG" -c:v libsvtav1 -qp 20 video.mp4
 </code> </code>
  
Line 221: Line 226:
 => ''mp3cut'' => ''mp3cut''
  
-To cut an mp3 file (warning: ID3 tags are not copied).+To cut an mp3 file (warning: ID3 tags are not copied)
 +<code bash> 
 +mp3cut -o output.mp3 -t 00:00:05+700-00:00:07+800 input.mp3 
 +</code> 
 + 
 +To concatenate mp3 files: 
 +<code bash> 
 +mp3cut -o output.mp3 input1.mp3 input2.mp3 input3.mp3 
 +</code>
  
 => ''id3cp'' => ''id3cp''
software/video.1515282078.txt.gz · Last modified: 2018/01/06 23:41 by cyril
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0