ffmpeg \ -i rickmancing_the_stone_raw.mkv \ -i rick_rant_about_szechuan.aac \ -i morty_sighs.wav \ -filter_complex "\ [0:v]trim=0:420,setpts=PTS-STARTPTS,split=3[v1][v2][v3]; \ [v1]crop=640:360:100:100,scale=1280:720[v_small]; \ [v2]edgedetect,chromakey=0x00FF00:0.1:0.2[v_key]; \ [v3]drawtext=text='WUBBA LUBBA DUB DUB':fontsize=48:fontcolor=red:x=w/2:y=h/2[v_text]; \ [v_small][v_key]overlay=10:10[v_over]; \ [v_over][v_text]overlay=main_w-overlay_w-10:10[v_out]; \ [0:a]volume=0.5[a_raw]; \ [1:a]adelay=1000|1000[a_rick]; \ [2:a]adelay=5000|5000[a_morty]; \ [a_raw][a_rick][a_morty]amix=inputs=3:duration=longest[a_mixed]" \ -map "[v_out]" -map "[a_mixed]" \ -c:v libx264 -crf 18 -preset ultrafast \ -c:a aac -b:a 192k \ -movflags +faststart \ rick_and_morty_s03e02_shitpost.mp4
ffmpeg -i input.mp4 -ss 00:00:10 -t 00:00:30 -c copy output.mp4 rick and morty s03e02 ffmpeg
To grab a specific scene—like the Blood Dome battles—use the -ss (start time) and -t (duration) flags. Using -c copy ensures the extraction is instant and preserves the original quality without re-encoding. ffmpeg \ -i rickmancing_the_stone_raw