[Libav-user] Problem in Getting Stream Information

2012-05-26 Thread Vijay Ajay
Hi, I am using libavformat to get the stream information...but there is a problem in getting the total stram information here is my code... typedef struct Duration { int hours, mins, secs, us; }Duration; Duration getDuration(AVFormatContext *ic) { Duration dur; if (ic-duration !=

[Libav-user] Working h264 codec configuration for current ffmpeg build

2012-05-26 Thread Christian Brümmer
Hi, i'm new to libav and video compression at all. What i tried so far is reusing output-example.c or decoding-encoding.c slightly modyfied for compiling on VS++2010 (win7) and to use it for x264 encoding. One of my main problems are that i didnt find up-to-date x264 configurations (c:

[Libav-user] How to cleanup libavcodec buffers when release is called during decode?

2012-05-26 Thread Ratin
Hi, for h.264 decode with hardware like Nvidia's VDPAU decoding, what should I do to cleanup the resources when avcodec_release callback is called? It seems that there are are some memory leaks when running decode for long period of time. Also whats the significance of AVFrame-age , is it used to

Re: [Libav-user] How to cleanup libavcodec buffers when release is called during decode?

2012-05-26 Thread Carl Eugen Hoyos
Ratin ratin3@... writes: Hi, for h.264 decode with hardware like Nvidia's VDPAU decoding, what should I do to cleanup the resources when avcodec_release callback is called? It seems that there are are some memory leaks when running decode for long period of time. I am only guessing since