Skip to content

Instantly share code, notes, and snippets.

@plcgi1
Last active June 3, 2020 16:39
Show Gist options
  • Save plcgi1/8a58cbcd18200ff6f14d8eac8ca8f5c3 to your computer and use it in GitHub Desktop.
Save plcgi1/8a58cbcd18200ff6f14d8eac8ca8f5c3 to your computer and use it in GitHub Desktop.

Revisions

  1. plcgi1 revised this gist Jun 3, 2020. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion ffmpeg tips
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,6 @@
    // change video framerate
    ffmpeg -y -r 24 -i seeing_noaudio.mp4 seeing.mp4
    // change audio sampling rate
    ffmpeg -i "movie.avi" -y -ar 44100 -acodec mp3 "movie.flv"
    ffmpeg -i "movie.avi" -y -ar 44100 -acodec mp3 "movie.flv"
    // change framerate, audio sampling rate
    ffmpeg -i ~/Videos/4K\ Video\ Downloader/sula\ 2017.mp4 -y -ar 48000 -ac 2 -r 25 -acodec mp3 ~/Videos/sula\ 2017.mp4
  2. plcgi1 revised this gist Jun 3, 2020. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion ffmpeg tips
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,4 @@
    // change video framerate
    ffmpeg -y -r 24 -i seeing_noaudio.mp4 seeing.mp4
    ffmpeg -y -r 24 -i seeing_noaudio.mp4 seeing.mp4
    // change audio sampling rate
    ffmpeg -i "movie.avi" -y -ar 44100 -acodec mp3 "movie.flv"
  3. plcgi1 created this gist Jun 3, 2020.
    2 changes: 2 additions & 0 deletions ffmpeg tips
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    // change video framerate
    ffmpeg -y -r 24 -i seeing_noaudio.mp4 seeing.mp4