Official BS.Player forums

Official BS.Player forums (
-   BSPlayer for Android (
-   -   Maybe a fix for HighProfile (HP) movies on Tegra devices? (

Uhuhu 11th January 2012 03:07 AM

Maybe a fix for HighProfile (HP) movies on Tegra devices?
Just a quote from XDA-Developers Thread from here: [DEV] Possibility of h264 720p high profile playback on Tegra2 -EDIT - xda-developers

I hope this fixes our issues on our Xoom/Transformer/Galaxy/etc tablets playing High Profile videos.. :)


Originally Posted by AndroidON (Beitrag 21241807)
Currently, tegra2 devices have problem on h264 playback.

But, Optimus 2x updated their firmware and enabled it.

I am using Atrix and wanted to play h264 on my phone.

Of course DICE player can hardware accelerate it but not by streaming flash.

And other players still have problem.

I did a test on several movies and found a interesting thing.

High profile movies are not really different from baseline profile movies.

Here's some example.

These two files are exactly same movie file exept profile info on file's header.
(I didn't reencoded it!)
I've downloaded this from youtube and just changed the movie file.
So upper one is just a copy of youtube 720p h264 high profile,
and bottom one is same file except I modified profile info to baseline.

If you play upper one from tegra device, it says file cannot be hardware accelerated or not supported.
But, bottom one can be hardware acceerated and played on android stock player.

So the idea is, if we can change the profile detection method of android,
tegra2 will try to support hardware accelrate on more files.
Maybe even youtube 720p can be streamed on tegra2!

I've searched through android source and found this.

This is from

Since I am completely out of programming things,

I can't modify these codes. But somebody should be able to do this.

Help me please!:D

EDIT- Adding method what I tried on changing profile.

I used HEX editor, HxD to modify movie file's profile.

You can get it form here : Downloads | mh-nexus

1. Open the h264 file on HxD

2. Press Ctrl + F and search for 'avcc'

3. You will see like this.

4. You can find '64 00 1F' near from digits of 'avcc'.

※ 42 E0 – for Baseline Profile
4D 40 – for Main Profile
58 A0 – for Extended Profile
64 00 - for High Profile
1F (31 in dec) is level 3.1
29 (41 in dec) is level 4.1
33 (51 in dec) is level 5.1

So the '64 00 1F' means 'High profile 3.1'

5. Change the '64 00' to '42 E0'

6. Save the file. (HxD automaticaly creates backup file. So you have to disable it in setting if you don't want.)

So you can test this method for your own movie file.

But I hope someone make some edit on android source for this so everyone can enjoy it. :)

All times are GMT +1. The time now is 04:28 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
Ad Management plugin by RedTyger

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20