Hi Hai Nguyen,
Can anyone can tell me why google does't support AC3 format on android?
>> I don't have the answer for this.
In this case, how i can play a video with ac3 audio?
>> I gues you should develop your AOSP base on the the release from your
SOC vendor. Google original does not support this , it's not mean your
current AOSP does not support it. Usually AOSP vendor support more codec
than original google AOSP because they already have hardware codec for
this. You should check it by your self, the above link is for Android
Application developer. I remember all your vendor AOSP codec would be
mentioned in some file like media_profile.xml , sorry i dig in this along
time so i don't remember exactly.

In the case your aosp vendor does not support the codec that you want to
have  you must implement this by your self. Of course , this should be a
software codec because if your soc has support hardware codec they usually
add this to their AOSP. First of all, you can try your luck by dig in to
some other android AOSP like cynamod,... may be they already add this, or
have some code that you can resue. By the way there are 2 step that you
need to implement your codec :
- Implement your software codec.
- Integrate this to your AOSP ( include export this to Application
developer)
The most important thing is that you need to have the working flow of a
software codec. To do this you can dig in media framework, modify some code
to force media framework use software codec instead of hardware codec. Then
follow this to see what will you need to do. About the alogrith for your
codec, you can refer to linux framework, they usually have this .
Sorry but i only can give you the general step. May be the other already
have android AC3 software codec for you.


Vào Th 5, 6 thg 6, 2019 vào lúc 21:07 Hai Nguyen <nt.thanh...@gmail.com>
đã viết:

> Hi ALL
> Can anyone can tell me why google does't support AC3 format on android?
>
> Below is the all supported media format:
> https://developer.android.com/guide/topics/media/media-formats
>
> In this case, how i can play a video with ac3 audio?
>
> Thanks,
> Hai
>
> --
> --
> unsubscribe: android-porting+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>
> ---
> You received this message because you are subscribed to the Google Groups
> "android-porting" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-porting+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-porting/81821c25-c4d5-4b11-b9da-5cecd4d47297%40googlegroups.com
> <https://groups.google.com/d/msgid/android-porting/81821c25-c4d5-4b11-b9da-5cecd4d47297%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-porting/CADfFnWhut16JTcZPspu-oqzCyf5GeowY_o_H15q6NtYeQiP13w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to