> What version of the library are you using? I am using the 0.5 release and > there is works well for 1080i in "AVC-HD" clips from my Sony Camera, i.e. > the special mpegts container with h.264 stream.
I am using the svn version I've downloaded last week. > > IMHO, it doesn't work perfect, since I think it is an error to report a > field rate of 50.0 (correct) from the libavformat, but reporting a frame > height of the full frame (does not match the frame rate), and also decoding > only complete frames (at 25.0 fps) later on in libavcodec. Of course if you > use libavcodec to do the deinterlacing, and if you ignore the incorrect > frame rate, it is actually more convenient. I would just like a flag from > the demuxer, which tells you *before* decoding if something will be > interlaced. I use 1080i streams from Sky Cinema HD (SatTV). I see that my seek to I-Slices work. Now I tried following. I use av_seek_frame to seek to an I-Slice (my streams does not have IDR-Frames). This works. If I use av_read_frame to read frames and save the AVPacket.data into a normal file (e.g. buffer.264), then I get the Frame if I test it with mplayer. GREAT! But I wonder why my Frame will not decoded with the help of av_decode_video with: bytesDecoded = avcodec_decode_video(mPCodecCtx, frame, &frameFinished, packet.data, packet.size); Do you get your frames decoded with libav? Best regards, Sven > > Best regards, > -Stephan > _______________________________________________ > 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
