I have used the ffmpeg API to build an application that outputs metadata packets along with video packets for a mpegts video file. My problem is that my metadata packets are being buffered rather than sent out immediately. In other words, I write out a video frame to the video codec and then write out my metadata (I have no codec as I am sending out the raw bytes) which is anywhere from close to 100 to 600 bytes. When I read them in using ffmpeg, my metadata packets have been combined so that the resulting packet is always 2930 until the last packet which is whatever is left. I need to be able to have a single metadata packet in each data packet being sent out. Is there a flag or setting in AVFormatContext or the AVStream structure that I can change to have the packets output immediately rather than get buffered up?
Thanks, Nathan I am sorry if this is a double post. I tried to post before becoming a subscribing member. I am pretty sure that message did not go through so I am re-posting. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
