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 [2014/12/31 12:41]
cyril [ffmpeg]
software:video [2024/04/12 23:20] (current)
cyril [mp3] mp3cut usage
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 171: Line 175:
   * overlay two videos:<code>   * overlay two videos:<code>
 ffmpeg -i in1.avi -vf "movie=in2.avi [b]; [in][b] overlay=320:0" ffmpeg -i in1.avi -vf "movie=in2.avi [b]; [in][b] overlay=320:0"
 +</code><code>
 +ffmpeg -i in1.avi -i in2.avi -filter_complex "[0:v][1:v] overlay=320:0"
 </code> </code>
  
Line 182: Line 188:
  
   * cut clip (ss is start time, t is duration):<code>   * cut clip (ss is start time, t is duration):<code>
-ffmpeg -i in.avi -ss 00:00:23 -t 00:00:19 out.avi+ffmpeg -i in.avi -ss 00:00:23 -t 00:00:19 -vcodec copy -acodec copy out.avi
 </code> </code>
  
Line 216: Line 222:
 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
 </code> </code>
 +
 +=> ''mp3cut''
 +
 +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''
 +
 +To copy ID3 tags from a file to another one.
 +
 +=> ''id3v2''
 +
 +To view and edit ID3 tags in command line.
 +
 +=> ''kid3''
 +
 +To view and edit ID3 tags in GUI.
 +
  
 ==== ogg ==== ==== ogg ====
software/video.1420029717.txt.gz ยท Last modified: 2014/12/31 12:41 by cyril
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0