[Libav-user] How can I free data buffers missed by avcodec_free_frame?

2013-03-29 Thread Czarnek, Matt
In the description for avcodec_free_frame, it states: "Warning: this function does NOT free the data buffers themselves" I have allocated my buffers as such: int curAVFramesize = avpicture_get_size(PIX_FMT_YUV420P, ccontext->width, ccontext->height); uint8_t* curAVFramePicBuffer = (uint8_t*)(av_m

[Libav-user] Setting the bitrate of a rtsp stream to be read

2013-03-21 Thread Czarnek, Matt
Hello, I am reading a video stream coming in via RTSP, when I set it on the other end to 10 fps, it will read in successfully. However, when I set it to stream at 15 fps, then it drops every 16th frame, which seems to be an iframe. So the question is, how do I change it so that I can support hi

[Libav-user] H264 misses every 16th packet

2013-03-20 Thread Czarnek, Matt
Hello, I am connecting to an H264 stream and streaming video from it. When streaming from one camera it works, when streaming from the other one, it seems like exactly every 16th frame I am getting an error message along the lines of: [NULL @ 000bc800] RTP:missed 152 packets [h264 @ 000b7bc0] er