FFmpeg: Difference between revisions
(2 intermediate revisions by the same user not shown) | |||
Line 354: | Line 354: | ||
==JavaScript API== | ==JavaScript API== | ||
To use FFmpeg in a browser, see [https://ffmpegwasm. | To use FFmpeg in a browser, see [https://ffmpegwasm.netlify.app/ ffmpegwasm]. | ||
This is used in https://davidl.me/apps/media/index.html. | |||
==My Preferences== | ==My Preferences== | ||
My preferences for encoding video | My preferences for encoding video | ||
===H264=== | ===H264=== | ||
H264 is best when you need the most compatability, especially with older or low end devices. | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
!#/bin/bash | !#/bin/bash | ||
Line 371: | Line 371: | ||
===H265/HEVC=== | ===H265/HEVC=== | ||
H264/HEVC is | H264/HEVC is now a good tradeoff between size, quality, and compatability. | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
!#/bin/bash | !#/bin/bash |