[Libav-user] avformat_find_stream_info does not provide information.
whoami Jils
get2jils at gmail.com
Wed Feb 26 06:27:03 CET 2014
1) What i am trying? -> understanding ffmpeg, writting new video player
in android.
2) avformat_find_stream_info returns nothing. :(
if (avformat_open_input(&pFormatCtx, "rtsp://<ip>:<port>", NULL, NULL)
!= 0) {
return -1;
}
AVDictionary *opts=NULL;
if (avformat_find_stream_info(pFormatCtx, &opts) < 0)
{
LOGD (" uNABLE TO GET STREAM INFO ..");
return -1; // Couldn't find stream information
}
3) print av_dict_count(opts) , and it give me the value zero [ 0 ].
Is it expected behavior or did i miss something?
Thanks for your support.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20140226/9cdc82dc/attachment.html>
More information about the Libav-user
mailing list