Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 490 Bytes

File metadata and controls

25 lines (17 loc) · 490 Bytes

ffmpeg

  • Extract part of a movie

    ffmpeg -ss 01:03:18 -i originalfile.m4v -t 00:00:04.35 -vcodec copy -acodec copy newfile.m4v
    
  • Convert m4v to gif

    ffmpeg -i wake_up_unikitty.m4v -pix_fmt rgb8 -r 10 -y -s 720x360 wake_up_unikitty.gif
    
  • To see title in the file:

    ffprobe -loglevel quiet -show_format input.m4v | grep title
    
  • To change title in the file:

    ffmpeg -i input.m4v -codec copy -metadata title="New title" output.m4v