FFmpeg
ffmpeg -i example.mp4 -c copy -an example_no_audio.mp4
ffmpeg -i input.mp4 -vn -acodec copy audio_track.aac
on openTerminal(location, remoteHost, serverPort) | |
tell application "System Events" | |
-- some versions might identify as "iTerm2" instead of "iTerm" | |
set isRunning to (exists (processes where name is "iTerm")) or (exists (processes where name is "iTerm2")) | |
end tell | |
tell application "iTerm" | |
activate | |
set targetTab to "" |
This document aims to provide an easy way encode video optimized for playback in mobile devices that use the Android or the iOS operating systems.
libx264
is used for (single or two-pass) video encoding and libfdk_aac
for audio encoding.
ffmpeg
, libx264
and libfdk_aac
settings are optimized for playback quality and compatibility on Android and iOS.
There is extensive documentation and references for each of the settings used and contributions are very welcome :)