[Libav-user] [libav-user] Memory leak in Mac OS X Lion

2012-10-16 Thread Quy Pham Sy
Hi, I made a simple console test base on Dranger 's tutorial code by replace deprecated function by the new versions. here the full source code: https://github.com/phamquy/FFmpeg-tutorial-samples/blob/master/tutorial01.c It works fine, but there is a huge memory leak (i use Instrument to for

[Libav-user] rtmp seek support

2012-10-16 Thread 黎小辉
Hi all, My mediaplayer based on FFmpeg's old version. Now I want to make it support rtmp seek. What shoud I do use the FFmpeg' api which supports the rtmp seek. Thanks!___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] [libav-user] Memory leak in Mac OS X Lion

2012-10-16 Thread Michael Bradshaw
On Oct 16, 2012 2:11 AM, Quy Pham Sy phamsyqu...@gmail.com wrote: Hi, I made a simple console test base on Dranger 's tutorial code by replace deprecated function by the new versions. here the full source code: https://github.com/phamquy/FFmpeg-tutorial-samples/blob/master/tutorial01.c

Re: [Libav-user] decoding_encoding.c and theora

2012-10-16 Thread Denis
In data lunedì 15 ottobre 2012 16:00:02, Stefano Sabatini ha scritto: decoding_encoding.c only works with stream-based formats, and is only meant to show encoding/decoding API rather than muxing, so in general it won't work if you replace MPEG/H.264 with another (non stream-based) codec.

Re: [Libav-user] decoding_encoding.c and theora

2012-10-16 Thread Michael Bradshaw
On Tue, Oct 16, 2012 at 12:56 PM, Denis i...@denisgottardello.it wrote: In data lunedì 15 ottobre 2012 16:00:02, Stefano Sabatini ha scritto: decoding_encoding.c only works with stream-based formats, and is only meant to show encoding/decoding API rather than muxing, so in general it won't

[Libav-user] How do I seek to the very beginning of a file?

2012-10-16 Thread Michael Bradshaw
I'm trying to reliably seek to the very start of a file. Seeing as avformat_seek_file is still in beta and isn't finished, I'd rather not rely on it, so I'm using av_seek_frame (plus I've been advised to stay away from avformat_seek_file until it's properly implemented). However, I can't figure

Re: [Libav-user] How do I seek to the very beginning of a file?

2012-10-16 Thread Don Moir
I'm trying to reliably seek to the very start of a file. Seeing as avformat_seek_file is still in beta and isn't finished, I'd rather not rely on it, so I'm using av_seek_frame (plus I've been advised to stay away from avformat_seek_file until it's properly implemented). However, I can't figure

[Libav-user] [lav-user] Memory leaks in Mac OSX Lion

2012-10-16 Thread Quy Pham Sy
Hi, I update the source code from Dranger's tutorials (http://dranger.com/ffmpeg/) Here is tutorials01 (https://github.com/phamquy/FFmpeg-tutorial-samples/blob/master/tutorial01.c), Everything works fine, except there is a huge memory leak detected by Mac's Instrument. Here is the part i think

Re: [Libav-user] [lav-user] Memory leaks in Mac OSX Lion

2012-10-16 Thread Michael Bradshaw
On Tue, Oct 16, 2012 at 6:06 PM, Quy Pham Sy phamsyqu...@gmail.com wrote: Hi, [...] What is wrong with these code that might cause the leak? Thanks, Jack Is this an accidental repost? ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] How do I seek to the very beginning of a file?

2012-10-16 Thread Don Moir
On Tue, Oct 16, 2012 at 5:10 PM, Don Moir donm...@comcast.net wrote: I use avformat_seek_file and so does ffplay etc. I always use a valid stream index and not -1. I don't leave it up to ffmpeg to determine what stream to seek on. I always take the first_dts for the stream into account. The

Re: [Libav-user] [lav-user] Memory leaks in Mac OSX Lion

2012-10-16 Thread Quy Pham Sy
Is this an accidental repost? Sorry, my mistake, i didnt see the post in my sent box i though i accidentally discard the previous post. Please delete it ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] [libav-user] Memory leak in Mac OS X Lion

2012-10-16 Thread jackode
Thanks Michael, I really overlooked that one. -- View this message in context: http://libav-users.943685.n4.nabble.com/Libav-user-libav-user-Memory-leak-in-Mac-OS-X-Lion-tp4655841p4655853.html Sent from the libav-users mailing list archive at Nabble.com.