Created
August 21, 2015 04:24
-
-
Save nooitaf/4718650b8071b06b734f to your computer and use it in GitHub Desktop.
ffmpeg mp4 encoding
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg | |
-loglevel verbose | |
-re | |
-i input.mp4 | |
-preset:v veryfast | |
-vf scale=640:360 | |
-vcodec libx264 | |
-vprofile baseline | |
-acodec libmp3lame | |
-ar 44100 | |
-ac 1 | |
-f mp4 (or) flv | |
output.mp4 (or) rtmp://localhost:1935/hls/movie | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment