[B2G][Helix][Multimedia][tianhuajian]How to configure the type of multimedia file decoder and encoder

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
5 years ago
6 months ago

People

(Reporter: tianhuajian, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; aff-kingsoft-ciba; .NET4.0C; .NET4.0E)

Steps to reproduce:

I want to know how to judge a multimedia file is hardware decoder or software decoder?
Are there any methods to configure it ?
Thanks,
Tian
> I want to know how to judge a multimedia file is hardware decoder or
> software decoder?

About Music/Video playback. Decoders are created like following.
- If a video decoder is created by stagefright's omx(like H.264), hw video codec is created. Emulator is an exception, only in this case sw video codec is created.
- If a video decoder is created by other library other than stagefright's omx, sw video codec is created. On current b2g, stagefright's omx is not used for vp8 decoder creation. See Bug 821524.
- If an audio decoder is created by stagefright's omx, hw decoder is created if possible. If failed to create hw decoder, sw decoder is created.
- stagefright's omx is used when media file format is mp3/mp4/amr.

> Are there any methods to configure it ?

Current B2G do not provide a way to configure it by applications.
Hw video codec at stagefright's omx is disabled by bug 834150.

Comment 3

6 months ago
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Last Resolved: 6 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.