• 1(current)
  • 2
  • 3
  • 4
  • 5
  • 52
libstagefright - Experimental hardware video decoding builds
#1
* WARNING: Not for AmLogic nor Allwinner SoC's, which do not support libstagefright *

libstagefright is hopefully the answer that many of you have been waiting for: universal support for hardware video decoding in XBMC.

This thread is for libstagefright test builds of XBMC to help the XBMC developers, since they only have so many different Android devices to test on.

If you require support on libstagefright builds then please use the Support Thread @ http://forum.xbmc.org/showthread.php?tid=168268

ONLY POST IN THIS THREAD IF YOU ARE WILLING TO BE A TESTER AND GIVE PROPER FEEDBACK (debug logs, etc).

The sources of the builds are XBMC master plus this Pull Request: https://github.com/xbmc/xbmc/pull/2504
They require Android 4.0 (aka Ice Cream Sandwich).

Instructions:
1. Download this build: http://mirrors.xbmc.org/test-builds/andr...bi-v7a.apk

2. Make sure that debugging is turned on in XBMC under Settings -> System -> Debugging -> Enable debug logging.

3. Restart XBMC so that the debug log (wiki) has start up information

4. Do not post your debug log (wiki) directly to the thread post. Instead, use add-on:XBMC Log Uploader (wiki) or manually paste the log to http://xbmclogs.com . Be careful not to expose any sensitive network passwords in your log. See debug log (wiki) for how to hide those passwords, if you use them.

5. Reply to this thread with the url of your debug log. Tell us the make/model of your Android device, what version of Android it is running, and the steps necessary to reproduce the issue. Describe the issue, such as video artifacts, blurring, stuttering, etc.

Remember: we are only testing video playback in this thread.

6. (optional) If you are looking for videos to test with, or need videos that help demonstrate your issue, look here: http://www.auby.no/files/video_tests/

7. If everything is working fine then we want to know that too. Tell us the make/model of your Android device, what version of Android it's running, what video you tested with, etc.

No just "Me too" posts! Always post the information requested here (debug logs, etc) even if someone else has reported the same or similar issue.

[UPDATE 4/4/2013]
Added Gotham Alpha2 with the Libstagefright PR

[UPDATE 18/01/2013]
This one should hopefully solve the "trembling" and "green bars" issue.
Note that this one is XBMC signed, so you'll have to uninstall the previous test before installing this one

[UPDATE 21/01/2013]
New build. Link updated in the post.

[UPDATE 27/01/2013]
New build. Link updated in the post.

[UPDATE 02/02/2013]
New build. Link updated in the post.

[UPDATE 19/02/2013]
New build. Link updated in the post.

[UPDATE 3/06/2013]
Build updated to Gotham alpha4
Corrected PR link
Removed "fulldebug" build

[UPDATE 4/06/2013]
Updated Gotham alpha4

[UPDATE 3/07/2013]
Updated Gotham alpha5

[UPDATE 14/07/2013]
Updated to intermediary 14/07 build
#2
Galaxy note/ics- 720 &1080 video playing real well no glitches.

Minix neo G5/jb- 720 video has glitches when playing. 1080 video crashes the app.i8i8
#3
(2013-01-14, 12:14)robbdeeze Wrote: Minix neo G5/jb- 720 video has glitches when playing. 1080 video crashes the app.i8i8

You probably missed the part where we ask to share the debug log...
#4
This build is working great with both the 720 & 1080p mkvs I tested it with (brave and american reunion) on my Minix Neo x5. I did get a random crash but im not sure if it is related to my device or xbmc only more testing will tell. But there is no stuttering, no glitches, etc. The Neo x5 is on android 4.1.1 and uses the rk3066 / Mali 400-MP4 + 1GB of ram. One thing ive seen that is still of minor annyoance, is that you cannot hide your status bar once youve enetered xbmc it must be done before otherwise it throws off the whole orientationof the sreen and buttons dont match up where they are supposed too
#5
Great work guys!

I tried this out earlier and XBMC crashes when opening a 720p MKV that I have - Log here; http://xbmclogs.com/show.php?id=28116

I also tried it with LiveTV (mediaportal addon, opening TS files from windows share) it works fine with SD, but 720 HD channels don't crash XBMC but give ~10 FPS (could be correct.. not sure how capable this tablet is!) - Log here; http://xbmclogs.com/show.php?id=28118

Device is an Archos 80 Cobolt (Rockchip 1.6 Dual Core, Mali 400 GPU, 1GB Ram) running ICS (stock Archos version).

I'll continue testing, and will try it with the videos linked above so that if it crashes at least you guys can try and reproduce Smile
#6
Hi there,

I just tested the libstagefright build on my device:

Samsung Galaxy Tab 2 10.1
Modelnumber: GT-P5110
Android Version: 4.1.1
Tablet Kernel Version: 3.0.31-523998

I'm trying to help here, as there of yet there has been no build of XBMC which will make it playback videos properly, so hey i'll give this libstagefright a shot.

Here are my results:

Screenshot: http://picpaste.com/samsung_galaxy_tab2_...Z1kdj.jpeg

1: Starting up the XBMC goes great.
2: Starting playback of a video called: "Moments_of_Everyday_Life.mp4" which is a 720p video.
3: For the first time on this Samsung Tablet, the playback is smooth - however there is a lot of jittering around the edge (see screenshot), and it seems like the rendering area doesn’t fit the screen (too small).
4: Well it looks weird during playback, and when the playback ends XBMC crashes.

XBMC.log for the above can be found here: http://xbmclogs.com/show.php?id=28113


A second attempt was made with the following results:

1: Starting up the XBMC goes great.
2: Starting playback of a video called: "Moments_of_Everyday_Life.mp4" which is a 720p video.
3: Same results with the image edge jittering green/gray noise (see screenshot).
4: This time however i stopped the playback manually before it reached the end, and everything was OK - no crashing Smile

XBMC.log for the second attempt can be found here: http://xbmclogs.com/show.php?id=28115

I just want to take this opportunity to let you and the other developers of XBMC know that you guys are doing a fantastic job, and i really encurage you to keep developing such a great multimedia tool.
It rocks, it always has, and the day i read that XBMC was being ported completely to Android, i knew that the future of Media Centers would be secured as well.

Mega props from me guys, and I hope with my help - we can get XBMC running smooth on more Android devices.

Best wishes,

EoniX_DK
#7
(2013-01-14, 21:36)EoniX_DK Wrote: I just tested the libstagefright build on my device:

Thanks for your report. Unfortunately, the screenshot seems MIA
#8
(2013-01-14, 21:26)Swifty Wrote: I tried this out earlier and XBMC crashes when opening a 720p MKV that I have - Log here; http://xbmclogs.com/show.php?id=28116

Thanks
Unfortunately, just the xbmc log doesn't show anything regarding crashes. If you know how to get a logcat log, please attach it.

(2013-01-14, 21:26)Swifty Wrote: I also tried it with LiveTV (mediaportal addon, opening TS files from windows share) it works fine with SD, but 720 HD channels don't crash XBMC but give ~10 FPS (could be correct.. not sure how capable this tablet is!) - Log here; http://xbmclogs.com/show.php?id=28118

libstagefright wasn't used for this PVR run. Not too sure why...
#9
Hi Koying,

The screenshot link is fixed i hope Smile
Have a nice evening.

EoniX_DK
#10
Thanks for looking into the logs Koying.

I've attached a logcat that I captured while trying to play the same video here; http://xbmclogs.com/show.php?id=28135

Hopefully this one has something that will be of use Smile

Anything I can get for you to help figure out why it libstagefright wasn't used for the PVR playback? (or is this to be expected at this stage of development)
#11
Hello.
I want to thank you for your interest on HW decoding enhancements.

I have 2 devices to test always through SMB.
I always use 1080p mkv test files.

The first is my Galaxy S3:

- It run them with no crash but a bit laggy ! 23-25 fps
- Also some bad pixel/parts on some videos
- CPU XBMC 50%

Still need improvement but i liked it...

Next post for other my device.

Do you need the log also if non crash ?
#12
Nexus 10 (have a 4 as well if someone doesn't get there first).

I want to say tearing but it's not the usual tearing.
http://xbmclogs.com/show.php?id=28140

Code:
ffmpeg[7A5B42A0]: [h264] Missing reference picture
Might be the cause? I know the chip is new so maybe ffmpeg doesn't even support it yet.

Also seem to crash/exit on video play finish but I'll get you a logcat for that one.
Image
AWXi - Ajax web interface. Wiki
#13
Mizaki - I have the same issue with the Nexus 10, BUT I also tested one of Koying's early builds about 4 weeks ago and 1080p ran butterly smooth there without any glitches (tested up to a 8GB 1080p with DTS which was the max bitrate for my wifi) - so it's not ffmpeg but some change since then.
#14
Ah, okay then Smile If you are already testing it on the 10, I'll move onto the Nexus 4.
Image
AWXi - Ajax web interface. Wiki
#15
wow...great work!!
jellyfish upto 80mbps and even the original killasample (16ref) runs smooth on my nexus7(4.1.1) Smile

...sgs3 seems laggy and tearing at the upper right corner...

nice start Smile
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 52

Logout Mark Read Team Forum Stats Members Help
libstagefright - Experimental hardware video decoding builds10