ffmpeg -ss 00:12:34 -i rick_and_morty_s01e06.mkv -t 3 -vf "fps=10,scale=320:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" morty_scream.gif If your file is rick_and_morty_s01e06.mkv , first run:
Here’s a short, practical piece for using ffmpeg on (“Rick Potion #9” — the Cronenberg episode). Extract a clip from Rick and Morty S01E06 with ffmpeg Let’s say you have the episode file named rick_and_morty_s01e06.mkv and want to clip the iconic “Keep Summer Safe” scene. rick and morty s01e06 ffmpeg
ffmpeg -i rick_and_morty_s01e06.mkv -filter_complex "[0:v]loop=2:300:0,eq=brightness=0.1:contrast=1.5" -c:a copy cronenberg_effect.mkv (That loops 300 frames twice and messes with contrast — a little on‑theme.) ffmpeg -ss 00:12:34 -i rick_and_morty_s01e06
Play the file in mpv or ffplay to note start/end times. Example: start 00:17:30 , end 00:18:45 . Example: start 00:17:30 , end 00:18:45
ffmpeg -i rick_and_morty_s01e06.mkv to see codec/stream info before processing.
(fast, lossless)
ffmpeg -i rick_and_morty_s01e06.mkv -ss 00:22:10 -to 00:22:35 -q:a 2 -map a jerry_rant.mp3 (loop & degrade)