Hi! I'm using FFmpeg 5.1 for playing videos. For correct handling of the libs I used some examples found with google.
like: http://dranger.com/ffmpeg/tutorial01.html http://www.inb.uni-luebeck.de/~boehme/using_libavcodec.html But now I run into problems, that some buffers created from FFmpeg are getting bigger and bigger. I play lots of different videos, an every different video makes the allocated buffer bigger. I tested with valgrind too, to be free of any memleaks. Are there any functions functions to call else the following? // Free the RGB image delete [] buffer; av_free(pFrameRGB); // Free the YUV frame av_free(pFrame); // Close the codec avcodec_close(pCodecCtx); // Close the video file av_close_input_file(pFormatCtx); I couldn't find anything in the documentation, maybe for you it's completely clear, what i'm doing wrong. Do some examples exist? Should I move to a newer version? Thank you for answers! best regards Robert Grasböck -- Ing. Robert Grasböck Leopoldauer Straße 12/27 1210 Wien E-Mail: [email protected]
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
