[Libav-user] av_probe_input_buffer

2013-05-30 Thread Andy Huang
Hi, I am trying to create an app on android that can play MPEG stream. So I have following code: AVFormatContext*LibavDecoder::openInput () { AVFormatContext *avFormatContextPtr = NULL; int err = 0; this->iobuffer

[Libav-user] enable logcat

2013-05-22 Thread Andy Huang
Hi, I am new to ffmpeg. I was able to compile ffmpeg for Android by following the advice. But how can I compile a version that has the logging using Android's logcat, i.e. the log should be displayed on logcat window. Thx. ___ Libav-user mailing list Liba

[Libav-user] avformat_open_input

2013-05-22 Thread Andy Huang
When I can call it "avformat_open_input(&avFormatContextPtr, "", NULL, NULL), it works on iOS, but it blocks on Android, never returns, any ideas? ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

[Libav-user] av_read_frame

2013-03-28 Thread Andy Huang
Hi, I am trying to write a mpeg player for iOS, for some reason, same code that calls "av_read_frame" has different result on Windows and iOS. after calling "av_read_frame", "stream_index" field inside " AVPacket" has non-zero value in iOS whereas on Windows it is always 0, when trying to play same