Hi all, I'm trying to encode video using libavcodec on ARMv6 architecture on a mobile phone. I'm trying with the simulator which runs on Mac. When I run the simulator with Debug mode, the encoding process is just fine. When I run the app in the simulator, which is similar to running on the phone, my app crashes at avcodec_encode_video function, after a few seconds of encoding. I just want to know, in avcodec_encode_video function, what is the memory usage scheme? Will it allocating memory repeatedly while encoding? Because what I guess about the situtation is out of memory. My code is from output_example.c in FFmpeg, and apiexample.c in libavcodec as well. I tried with different size of output buffer, but no uses. I did track the error output but nothing happens. All of the log is about the encoding progress, which is fine. Anybody encountered sth similar? Thanks for your help. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
