Skip to content

Instantly share code, notes, and snippets.

@4poc
Created January 5, 2012 13:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 4poc/1565186 to your computer and use it in GitHub Desktop.
Save 4poc/1565186 to your computer and use it in GitHub Desktop.
ffmpeg / mpeg-ts / m3u8 / HLS
ffmpeg \
-i INPUT_FILE \
-re \
-r 23.976 \
-s 480x204 \
-aspect 2.35 \
-acodec libfaac \
-ac 2 \
-ar 44100 \
-ab 128k \
-vcodec libx264 \
-vprofile baseline \
-preset fast \
-vb 500k \
-f mpegts \
-threads 0 \
-async 2 \
OUTPUT_FILE.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment