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: [email protected] cell: +1 604-362-5816 Welcome to Vision Open http://www.visionopen.com
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
