When trying to decode MPEG4 sequences I ran into a problem. After calling av_open_input_file() and av_find_stream_info() and obtaining the related structs AVFormatContext and AVCodecContext I assumed that these structs would be filled with the correct data. But some elements of the structs were set correctly, others not. E.g. at AVCodecContext the width and height are correct, but pix_fmt is always 0 (= PIX_FMT_NONE) or sample_rate is always 0. Similar effects when I access through AVFormatContext the related AVStream struct. nb_frames is set to the right value, while r_frame_rate is constantly 0.0. Are there any reasons for this behaviour? Can I do anything that libav fills these values correctly? Many thanks in advance!
-- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
