Official BS.Player forums  

Go Back   Official BS.Player forums > Main forum > BSPlayer for Android

LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11th January 2012
Junior Member
BS.Player Newbie
Join Date: Jan 2012
Posts: 1
Rep Power: 0
Uhuhu is on a distinguished road
Default 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 View Post
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. :)
Reply With Quote

devices, fix, highprofile, movies, tegra

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

LinkBacks (?)
LinkBack to this Thread:
Posted By For Type Date
FilesTube - Files Search Engine, Search & Download This thread Refback 9th August 2014 02:15 AM

All times are GMT +1. The time now is 06:12 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2023, 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