for i in abbott_s02e*.mkv; do ffmpeg -i "$i" -c:v libx264 -crf 23 -preset fast -c:a aac "${i%.mkv}.mp4" done If you only need to change the container (MKV to MP4) without changing quality:
ffmpeg -i abbott_s02e01.mkv Look for codec, resolution, bitrate, and audio streams. Example output might show H.264 video, AAC audio, 1920x1080. A single 1080p episode can be ~2GB. To shrink it for a fan edit folder: abbott elementary s02 ffmpeg
ffmpeg -i abbott_s02e05.mkv -i subs.srt -c copy -c:s mov_text abbott_s02e05_with_subs.mp4 Let’s compress every episode into smaller MP4s: for i in abbott_s02e*
ffmpeg -i abbott_s02e10.mkv -ss 00:12:34 -t 00:00:45 -c copy trash_fire_clip.mkv -c copy copies streams without re-encoding (super fast). Say you want a vertical clip of Barbara’s hallway walk: To shrink it for a fan edit folder:
# macOS (Homebrew) brew install ffmpeg sudo apt install ffmpeg Windows (via Chocolatey) choco install ffmpeg 1. Check file info before processing Let’s inspect abbott_s02e01.mkv :
ffmpeg -i abbott_s02e04.mkv -vf "crop=1080:1920:420:0" -t 10 barbara_vertical.mp4 Adjust crop values based on your source. For 16:9 source, you’d pick a 9:16 region. Found .srt subtitles for S02E05’s “spelling bee” episode:
【免責聲明】所有內容資源來自網絡&網友分享,僅供日語學習試用,請于24小時內銷毀。如侵犯您的權益請告知,將會第壹時間刪除。
GMT+8, 2025-12-14 19:02 , Processed in 0.452401 second(s), 75 queries , Gzip On.
Powered by Discuz! TSDM SP
© 2010-2014 Style by chibimiku@TSDM