25 апреля 2012 г. 15:52 пользователь Григорий <[email protected]> написал:
> Hi all.
> I've built libffmpeg for Android and am trying to decode H.264 stream using
> it. I'm receiving that stream via RTMP connection and passing all video
> packets (excluding first byte that contains flags related to RTMP) to the
> avcodec_decode_video2 function. With H.263 it works perfectly, but when I
> try to use the same code (only with codec ID changed) for H.264, every call
> to avcodec_decode_video2 returns -1 and nothing gets decoded.
> Here is the output:

Do you know libavformat can read and demux RTMP stream by itself?
Seems like problem in your demuxer, because decoding the frames it
produces fail.

-- 
Andrey Utkin
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to