[Libav-user] decoding h264

2013-09-09 Thread luigi
Hi, I solved the problem: it was a trivial character forgotten in Mp4_demuxer (#) which checked the video fifo (that's why I never received error messages from av_video_decode2: the buffers never got processed). Now everything is fine, there was nothing wrong in the piece of code I enclosed in

[Libav-user] about index_entries in AVStream

2013-09-09 Thread YIRAN LI
Hi, I met a problem when doing seek in a mpeg file (MPEG2 encoded MPEG-PS video). After the file is opened using avformat_open_input, seems the index_entries of video stream is populated with incorrect values (the comment says these index_entries are only used if format does not support seeking