[Libav-user] Memory leak after cropping 300/900 pictures

2012-09-25 Thread CHAUVET Guillaume
Hello, I try to use FFMpeg, this wonderful library through C language. But I encounter a problem : I have 900 pictures to crop, but at the image number 305, my app crash with message "Failed to allocate packet of size 34296000". I stuck because I don't know where is located my memory leak (av_m

[Libav-user] warning of "[libmp3lame @ 00CAB020] frame_size is too large" while calling avcodec_encode_audio2()

2012-09-25 Thread zhao0130
I am using ffmpeg api to transcode a movie (.mp4 -> .mov). I got a warning while calling avcodec_encode_audio2(): "[libmp3lame @ 00CAB020] frame_size is too large". I believe this should be due to that the frame size of decoding AVCodecContext, 1024, is different from that of encoding AVCodecCo

Re: [Libav-user] How to set number of threads in c++

2012-09-25 Thread Carl Eugen Hoyos
Svetlana Olonetsky writes: > I am reading video files using ffmpeg in C++. > > How can I set number of threads for ffmpeg to use ? See thread_count in AVCodecContext Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mail

Re: [Libav-user] DV Condec

2012-09-25 Thread Carl Eugen Hoyos
Denis Gottardello writes: > It means how to produce video with those codecs using > directly the ffmpeg libraries without use ffmpeg executable. There are usage examples for the libraries in doc/examples Please do not top-post here, Carl Eugen ___

Re: [Libav-user] DV Condec

2012-09-25 Thread Denis Gottardello
Sorry for my bad english. It means how to produce video with those codecs using directly the ffmpeg libraries without use ffmpeg executable. 2012/9/24 Carl Eugen Hoyos > Denis writes: > > > I can play the files "DV-ffmpeg.dv" and > > "MJPEG_Quality=100.avi" with vlc and > > with my own player