Remix.run Logo
andrewf a day ago

Try something like: ffmpeg -i in.mp4 -c:v h264 -c:a aac out.mp4

To re-encode the content into H.264+AAC, rather than simply "muxing" the encoded bitstreams from the MP4 container into a new MOV container.

Tempest1981 a day ago | parent [-]

Thanks, I can even somewhat remember that. AI gave me args like

  -c:v libx264 -pix_fmt yuv420p -preset medium -crf 18 \
  -c:a aac -b:a 192k \
stackedinserter 21 hours ago | parent [-]

"-c:v h264_videotoolbox -b:v 5000k" on macos, it will use hardware encoder.