top | item 46401547

(no title)

andrewf | 2 months 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.

discuss

order

Tempest1981|2 months ago

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|2 months ago

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