Skip to content

Instantly share code, notes, and snippets.

@israeljrs
Created March 14, 2016 13:05
Show Gist options
  • Save israeljrs/4f55635dca795467b9c9 to your computer and use it in GitHub Desktop.
Save israeljrs/4f55635dca795467b9c9 to your computer and use it in GitHub Desktop.
ffmpeg api snippet codes.
/*
You don't need a file, just use your internet-audiostream url to open. like this:
*/
AVFormatContext *ic = avformat_alloc_context();
err = avformat_open_input(&ic, "rtmp://www.something.com/a.mp4", NULL, NULL);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment