Jump to content

Command Crate ¿about?

Reencode video files to MP4 format using the H.265 codec for better compression (ffmpeg)

for f in *; do ffmpeg -i "$f" -f mp4 -c:v libx265 -preset ultrafast -crf 24 -acodec aac "${f%.*}"_x265.mp4; done

Reencodes all video files in the current directory to a more efficient MP4 format using H.265 for video and AAC for audio.

utilities [kb:236]