[Libav-user] Serious Issue

Yamusani Vinay yamusanivinay at gmail.com
Tue Dec 17 07:51:23 CET 2013


Hi Kevin Dixon,
Thanks for your reply,
I did the same thing what you mentioned above..Still I am facing problem.If
I play normally without applying any filters it is working properly.But If
I apply filters and play the song.Then I am facing problem..which was
mentioned above.

Thanks & Regards,
Bitfield.



On Tue, Dec 17, 2013 at 12:07 PM, Yamusani Vinay <yamusanivinay at gmail.com>wrote:

>
>
>
> On Tue, Dec 17, 2013 at 1:24 AM, Kevin Dixon <kevin.c.dixon at gmail.com>wrote:
>
>> On Fri, Dec 13, 2013 at 12:14 PM, Alex Cohn <alexcohn at netvision.net.il>
>> wrote:
>> > On Thu, Dec 12, 2013 at 1:21 PM, Yamusani Vinay <
>> yamusanivinay at gmail.com> wrote:
>> >> Hi All,
>> >>
>> >>     I am using ffmpeg..in my android application..The main problem
>> what I am
>> >> facing is if I navigate to another application or if do another
>> >> activity..the song breaks means i will get some shutters and pops in
>> the
>> >> song.So Please let me know how to resolve this issue..
>> >>
>> >>   I am facing this issue when I am applying filters ln my code..If I
>> do not
>> >> apply any filters and play normally it is working fine..Even I checked
>> my
>> >> code inside a thread still I am facing problem.
>> >>
>> >>   So please resolve this issue..
>> >>
>> >> Thanks & Regards,
>> >> Bitfield.
>> >
>> > There is very little that ffmpeg libraries can do to help you here.
>> > Probably, filters require more CPU than normal playback. You can keep
>> > the thread priority high, even if the app that hosts it goes to
>> > background, but that's an entirely Android-specific issue.
>> >
>> > BR,
>> > Alex Cohn
>> > _______________________________________________
>> > Libav-user mailing list
>> > Libav-user at ffmpeg.org
>> > http://ffmpeg.org/mailman/listinfo/libav-user
>>
>>
>> Hi Yamusani,
>>
>> You should consider putting your audio processing in an Android Service
>> http://developer.android.com/reference/android/app/Service.html
>> You can even run the Service as a separate process if that is not good
>> enough for you, by assigning the
>> android:process="..." attribute in the AndroidManifest.xml for your
>> <service> element.
>>
>> I suspect that when your activity is backgrounded, the context switch
>> is very expensive. You might see messages in logcat from Choreographer
>> process complaining about dropping frames
>>
>> Kevin
>> _______________________________________________
>> 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/20131217/ac7485d0/attachment.html>


More information about the Libav-user mailing list