Hi everyone!
I have a little question about AVI file MPEG-4 video content.
The problem was obtained when I try to write encoded MPEG-4 packets in 
AVI file using av_write_frame and av_write_header. Encoded video  was 
received from IP-Camera over TCP protocol, thats why output stream may 
contain non-key coded frame in the first packet. All packets was 
successfully pushed in AVI file. After that I try to play them with 
ffplay. If first packet in AVI file contain  key frame - ffplay 
successfully play it, otherwise - video was broken.
Is it right that AVI file MUST have I-VOP in the first packet, or it may 
contain P-VOP or another type?

Thanks
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to