[Libav-user] Problems to decode H.264 ...

JIA Pei jp4work at gmail.com
Mon Jun 11 21:17:42 CEST 2012


For the code CODEC_ID_H264

1) av_read_frame() seems always return a value < 0 at the wrong place.

2) decoding_encoding.c always fail to decode the video file due to len < 0,
where
len = avcodec_decode_video2(c, picture, &got_picture, &avpkt);

Have no idea where I'm wrong.

The testing file is at http://www.visionopen.com/questions/emount.mp4 .


Cheers
Pei


-- 

Pei JIA

Email: jp4work at gmail.com
cell:    +1 604-362-5816

Welcome to Vision Open
http://www.visionopen.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120611/41cc1bc1/attachment.html>


More information about the Libav-user mailing list