[Libav-user] FFMPEG+JNI+ANDROID

Rui Luís rui.luis at gmail.com
Mon Jun 18 18:59:03 CEST 2012


99% of the time the problem is located between the monitor and the chair..
And this is such a case...
After almost a week.. i was able to detect the possible cause of the
problem..
and is a memory leak from my side.. some memory that i was counting being
removed.. was not..
it seems to be fine now..

Thanks for the help. and sorry for the time spend.

------
Give a man a fish and you feed him for a day. Teach him how to fish and you
feed him for a lifetime.


On Mon, Jun 18, 2012 at 3:00 PM, Alex Cohn <alexcohn at netvision.net.il>wrote:

> On Mon, Jun 18, 2012 at 3:56 PM, Rui Luís <rui.luis at gmail.com> wrote:
>
>> I do not open any files.
>>
>
> ffmpeg streaming goes through file descriptors.
>
> On Mon, Jun 18, 2012 at 1:09 PM, Alex Cohn <alexcohn at netvision.net.il>wrote:
>>
>>> On Mon, Jun 18, 2012 at 1:33 PM, Rui Luís <rui.luis at gmail.com> wrote:
>>>
>>>> SIGSEGV was what i was expeting but nothing appears..
>>>> about the memory is no problem because i remove all that is created and
>>>> i am only using 10mb
>>>>
>>>> i try to put the ffmeg initialization to run only once but that also
>>>> didn't help..
>>>>
>>>> finally some errors that were not appearing in the log cat and now
>>>> appear just before crashing
>>>>
>>>> 06-18 10:59:53.898: W/InputDispatcher(155): channel '4161de58
>>>> com.inter/com.inter.aFAndroidActivity (server)' ~ Consumer closed input
>>>> channel or an error occurred.  events=0x8
>>>> 06-18 10:59:53.898: E/InputDispatcher(155): channel '4161de58
>>>> com.inter/com.inter.aFAndroidActivity (server)' ~ Channel is unrecoverably
>>>> broken and will be disposed!
>>>>
>>>
>>> Your crash suggests that some files are closed unexpectedly.
>>>
>>
> BR,
> Alex Cohn
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120618/92ac51f6/attachment.html>


More information about the Libav-user mailing list