Skip to content

Instantly share code, notes, and snippets.

@2called-chaos
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 2called-chaos/ba6c901c803a8e66daf0 to your computer and use it in GitHub Desktop.
Save 2called-chaos/ba6c901c803a8e66daf0 to your computer and use it in GitHub Desktop.
ffmpeg -re -i <HLS-URL-HERE> -vcodec copy -acodec aac -ar 44100 -ab 128k -ac 2 -strict -2 -f flv rtmp://127.0.0.1:1935/chaos/namnam
Input #0, applehttp, from '<STREAM URL>':
Duration: N/A, start: 9250.421000, bitrate: N/A
Stream #0.0: Audio: aac, 48000 Hz, stereo, s16
Stream #0.1: Video: h264 (Main), yuv420p, 908x512, 1k tbr, 90k tbn, 60 tbc
Stream #0.2: Data: [21][0][0][0] / 0x0015
Output #0, flv, to 'rtmp://127.0.0.1:1935/chaos/namnam':
Metadata:
encoder : Lavf53.21.1
Stream #0.0: Video: libx264, yuv420p, 908x512, q=2-31, 1k tbn, 30 tbc
Stream #0.1: Audio: libvo_aacenc, 44100 Hz, stereo, s16, 128 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment