hello, i want to know if the program support this files type:
Video: 3gp - 3GPP Multimedia File aac - Advanced Audio Coding File ac3 - AC3 Audio File avi - Windows video file flac - Free Lossless Audio Codec flv - Flash Video ipod - MPEG-4 Video File mov - Apple QuickTime Movie mp3 - Compressed audio file mp4 - MPEG-4 Video File mpg - Moving Picture Experts Group File ogg - Ogg Vorbis Compressed Audio File wav - Windows audio file wmv - Windows M Audio: ac3 - AC3 Audio File flac - Free Lossless Audio Codec m4a - MPEG-4 Video File mp3 - Compressed audio file mp4 - MPEG-4 Video File ogg - Ogg Vorbis Compressed Audio File wav - Windows audio file wma - Windows media file ac3 - AC3 Audio File aac - Advanced Audio Coding File 2010/2/5 Miguel Angel Arcos <[email protected]> > Then with the code of my first mail my app should work ok? > > tried all the other possibilities suggested, except your last suggestion > wl2776 about use av_alloc_put_byte() because I don't see clearlyhow it > works. > > ByteIOContext *av_alloc_put_byte( > unsigned char *buffer, > int buffer_size, > int write_flag, //??? > void *opaque, //??? > int (*read_packet)(void *opaque, uint8_t *buf, int > buf_size), //??? > int (*write_packet)(void *opaque, uint8_t *buf, int > buf_size), //??? > int64_t (*seek)(void *opaque, int64_t offset, int > whence)); //??? > > 2010/2/5 wl2776 <[email protected]> > > > > > Anyway, your code should work. > > My application has similar code, and it works. > > > > The reason, that the libav doesn't decode the first supplied frame, could > > be > > in the interframe compression. > > That is, this frame could depend on previous ones, which don't exist in > > your > > application. > > > > Try repeat the calls with the new portions of data. When I-frame will > come, > > it will be decoded, and all subsequent frames also. > > > > You should read elsewhere about I, P and B-frames. > > -- > > View this message in context: > > http://n4.nabble.com/H264-decoding-tp1468742p1469981.html > > Sent from the libav-users mailing list archive at Nabble.com. > > _______________________________________________ > > libav-user mailing list > > [email protected] > > https://lists.mplayerhq.hu/mailman/listinfo/libav-user > > > > > > -- > Miguel Angel Arcos > _______________________________________________ > libav-user mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/libav-user > _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
