Created
March 14, 2016 13:05
-
-
Save israeljrs/4f55635dca795467b9c9 to your computer and use it in GitHub Desktop.
ffmpeg api snippet codes.
This file contains hidden or 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
/* | |
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