Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No HW decoding of VC-1 Advanced profile via MediaCodec #4

Open
CiNcH83 opened this issue Jul 18, 2018 · 3 comments
Open

No HW decoding of VC-1 Advanced profile via MediaCodec #4

CiNcH83 opened this issue Jul 18, 2018 · 3 comments

Comments

@CiNcH83
Copy link
Owner

CiNcH83 commented Jul 18, 2018

The MediaTek MT5891 SoC is perfectly capable of decoding VC-1 Advanced as the stock Video app shows no problem playing it back. This app however seems to have access to some private API definitions (via libstagefright).

Decoding VC-1 Advanced via the standard Android MediaCodec API is currently not properly supported and is therefore software decoded in Kodi via ffmpeg. The weak ARM cores of the MediaTek SoC obviously can’t handle the decoding of 1080p in real-time.

MediaTek drivers on Sony lack the respective codec:

OMX.MTK.VIDEO.DECODER.VC1                                video/wvc1

MediaTek drivers however expose:

OMX.MTK.VIDEO.DECODER.WMV                                video/x-ms-wmv

Some players instantiate the latter decoder in the hope that it can handle VC-1 Advanced profile. In VLC, this MTK decoder is blacklisted though as it only produces a black image for such content.

There is certainly a lack of information on how to properly handle VC-1 on MediaTek platforms.

(Here is a list of over 700 Blu-ray titles (>15%) encoded in VC-1.)

@CiNcH83 CiNcH83 self-assigned this Jul 18, 2018
@CiNcH83 CiNcH83 added this to the FW V6.5603 milestone Jul 18, 2018
@CiNcH83 CiNcH83 modified the milestones: FW V6.5603, FW V6.5629 Sep 21, 2018
@CiNcH83 CiNcH83 modified the milestones: FW V6.5629, FW V6.5830 Jan 31, 2019
@CiNcH83 CiNcH83 modified the milestones: FW V6.5830, FW V6.6510 May 23, 2019
@sjpotter
Copy link

sjpotter commented Jun 2, 2020

it seems mx player knows how to play hardware accelerated vc-1. tested last night and it shows its regular hw icon. when one switches it to sw decoding, it becomes a frame dropping mess, like vlc is.

@CiNcH83
Copy link
Owner Author

CiNcH83 commented Jun 3, 2020

Yes. Like the stock Video app, also MX Player can make use of libstagefright for decoding VC-1.

@CiNcH83 CiNcH83 modified the milestones: FW V6.6510, FW V6.6575 Oct 10, 2020
Repository owner deleted a comment from MESWEB Nov 3, 2020
Repository owner deleted a comment from MESWEB Nov 3, 2020
Repository owner deleted a comment from MESWEB Nov 3, 2020
@CiNcH83
Copy link
Owner Author

CiNcH83 commented Nov 3, 2020

@MESWEB I am trying to keep this place as clean as possible so that it can act as a reference. Your postings are adding more noise, not really belonging to this issue but seemly being a mixture of other issues also mentioned in this tracker:

@CiNcH83 CiNcH83 modified the milestones: FW V6.6575, FW V6.7140 Nov 18, 2020
@CiNcH83 CiNcH83 modified the milestones: FW V6.7140, FW V6.7165 Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants