Kodi Community Forum
Support Thread for libstagefright - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Android (https://forum.kodi.tv/forumdisplay.php?fid=164)
+---- Thread: Support Thread for libstagefright (/showthread.php?tid=168268)



RE: Support Thread for libstagefright - Experimental hardware video decoding builds - Ned Scott - 2013-08-07

(2013-08-07, 05:58)darebee Wrote: Hardware : MINIX Neo X7 - RK3188

Well, I should say I started with the 08-05 Nightly without much luck. Just tried the 08-06 build with about the same results. It is definitely using hwaccel because the CPU is staying down at around 0% but the video is very choppy and the audio isn't any better. 720p content works very well. Using analog audio for now.

Also, the max resolution I seem to be able to take is 1280x672. I have the Android Settings\Screen\HDMI Mode set to 1920x1080p-60.

This is a known issue. For some reason, things bug out above normal 720 videos on rockchip SoCs. Rockchip is supposedly working on a firmware fix for it.


RE: Support Thread for libstagefright - Experimental hardware video decoding builds - darebee - 2013-08-07

(2013-08-07, 06:09)Ned Scott Wrote:
(2013-08-07, 05:58)darebee Wrote: Hardware : MINIX Neo X7 - RK3188

Well, I should say I started with the 08-05 Nightly without much luck. Just tried the 08-06 build with about the same results. It is definitely using hwaccel because the CPU is staying down at around 0% but the video is very choppy and the audio isn't any better. 720p content works very well. Using analog audio for now.

Also, the max resolution I seem to be able to take is 1280x672. I have the Android Settings\Screen\HDMI Mode set to 1920x1080p-60.

This is a known issue. For some reason, things bug out above normal 720 videos on rockchip SoCs. Rockchip is supposedly working on a firmware fix for it.

Ned, thanks for the feedback. Is there another forum out there I should be looking in? Some Rockchip forum?


RE: Support Thread for libstagefright - Experimental hardware video decoding builds - Ned Scott - 2013-08-07

Not that I know of.


Support Thread for libstagefright - Experimental hardware video decoding builds - speedway - 2013-08-07

(2013-08-06, 17:36)joelbaby Wrote: Ok, so I tried the nightly from August 5 - xbmc-20130805-523c662-master-armeabi-v7a.apk
With libstagefright turned ON ... the videos play at a faster speed (even SD videos) - but the sound plays at normal speed.
With libstagefright turned OFF the videos play at a normal speed.
Is a debug log of any use ?

Turn ON and OFF? How do you do this within XBMC?


RE: Support Thread for libstagefright - Experimental hardware video decoding builds - memeka - 2013-08-07

You need to enable advanced/expert settings in Confluence (left arrow when in Appearance screen)


RE: Support Thread for libstagefright - Experimental hardware video decoding builds - mo123 - 2013-08-07

Quote:Ned, thanks for the feedback. Is there another forum out there I should be looking in? Some Rockchip forum?

Here is a forum for all Rockchip devices -
http://www.freaktab.com/forumdisplay.php?134-RK3188-Devices(Quad core devices)

People with RK3188 devices might be interested in fixed video playback.
It requires flashing a custom kernel with a fixed vsync workaround.
http://www.freaktab.com/showthread.php?6206-Jerky-video-playback-FIXED-for-ALL-RK3188-devices!(Post #2 already has some custom kernels you can download)
http://www.freaktab.com/showthread.php?5939-Fixing-RK3188-video-playback&p=81489&viewfull=1#post81489(Post #38 for which file to edit when making your own kernel)

If one of the kernels don't work, you can ask soneone in the Minix Neo X7 subforum to make a custom kernel for you.

Unfortunately there is still no custom kernels for RK3066 devices like MK808B.


Support Thread for libstagefright - Experimental hardware video decoding builds - speedway - 2013-08-07

(2013-08-07, 07:31)memeka Wrote: You need to enable advanced/expert settings in Confluence (left arrow when in Appearance screen)

Thanks!


RE: Support Thread for libstagefright - Experimental hardware video decoding builds - menno - 2013-08-07

For RK 3066 devices I am not sure if that custom kernel with fixed vsync is needed. I dont think so, I also dont agree with Ned Scott on the problems on >720p videos. At least if you use a custom firmware with the libstagefright and ffmpeg fixes, plus the advancedsettings.xml plus one of the latest nightlies I actually get 0 drops on 1080p movies! There is even a DTS passthrough fix on the optical toslink connection on the minix X5! The X7 is so new that still requires a lot of fixing. Most interesting for the X7 is probably the work on www.omegamoon.com. There some devolpers work on an Openelec versio for RK 3188 devices!


RE: Support Thread for libstagefright - Experimental hardware video decoding builds - Ned Scott - 2013-08-07

(2013-08-07, 09:16)menno Wrote: For RK 3066 devices I am not sure if that custom kernel with fixed vsync is needed. I dont think so, I also dont agree with Ned Scott on the problems on >720p videos. At least if you use a custom firmware with the libstagefright and ffmpeg fixes, plus the advancedsettings.xml plus one of the latest nightlies I actually get 0 drops on 1080p movies! There is even a DTS passthrough fix on the optical toslink connection on the minix X5! The X7 is so new that still requires a lot of fixing. Most interesting for the X7 is probably the work on www.omegamoon.com. There some devolpers work on an Openelec versio for RK 3188 devices!

There is an issue with libstagefright and some firmwares on rockchip SoCs. The fact that you fixed the issue with a new firmware confirms this. It's not an issue with the hardware itself. I'm sorry if I didn't make that clear before.


RE: Support Thread for libstagefright - Experimental hardware video decoding builds - Koying - 2013-08-07

Re rk3066, the last time I tried there was indeed a firmware issue with 1080p.
Might have been patched, though, I didn't follow.


RE: Support Thread for libstagefright - Experimental hardware video decoding builds - Pitbull_Raven - 2013-08-07

Could someone with a Minix Neo X5 and working 720p or 1080p video in XBMC (no external player) please look at this post here and reply? Much appreciated!


RE: Support Thread for libstagefright - Experimental hardware video decoding builds - kaazvaag - 2013-08-07

(2013-07-26, 19:17)Pitbull_Raven Wrote:
(2013-07-17, 14:29)kaazvaag Wrote: I have tested 720p mkv, 1080p mkv and DVD (.ifo). All played flawlessy on the minix x5. I also tested online streaming with 720p and 1080p both worked fine.

I do miss the ability to use an external player (using playercorefactory.xml) in the 14/07 version. I want to use the external player for playing DTS/DD5.1 videos, because XBMC for android doesn't support that at this moment.

Can someone compile the 14/07 release with external player support ?
Please, oh pretty please, tell me: do I have to use a custom ROM? Or will the default ROM do? And what version of XBMC are you using? I am so tired of trying to get 720p working in XBMC and failing Sad Also have a MINIX NEO X5.

My setup on the Minix X5 is:
Firmware: Latest stock 4.2.2 (which includes libstagefright and ffmpeg) http://www.minix.com.hk/Support/13080214562944.html
XBMC: One of the latest nightlies which has libstagefright activated http://mirrors.xbmc.org/nightlies/android/xbmc-20130803-c33d66c-master-armeabi-v7a.apk

All the 720p x264 files I have tested are running without stuttering.

The issue I have is that when I select the digital output for passthrough (DTS and DolbyDigital) instead of analog I get a hissing sound. Is there a solution for this?


RE: Support Thread for libstagefright - Experimental hardware video decoding builds - menno - 2013-08-07

(2013-08-07, 10:10)Pitbull_Raven Wrote: Could someone with a Minix Neo X5 and working 720p or 1080p video in XBMC (no external player) please look at this post here and reply? Much appreciated!


I use this firmware;

MINIX Hybryd FW V2.2.4

Plus advancedsettings.xml (for me this was still required on this hardware to get smooth playback)

For me both 720p and 1080p show no framedrops upon pressing "o" on the keyboard. I am aware that this is not 100% waterproof. A zero framedrop project is being made by one of the xbmc developers.

Now there remains one issue with playing 1080p on this 720p rom. Which might be the issue Koyen is refering to. What happens on minix 720p roms playing 1080p movies is something in the line of the following;
- A 1080p movie gets downscaled to 720p
- And than upscaled to 1080p
- Here you loose details in the process.

Other than that playback itself is fine for me.


RE: Support Thread for libstagefright - Experimental hardware video decoding builds - Nix_Zero - 2013-08-07

(2013-08-07, 06:21)darebee Wrote:
(2013-08-07, 06:09)Ned Scott Wrote: This is a known issue. For some reason, things bug out above normal 720 videos on rockchip SoCs. Rockchip is supposedly working on a firmware fix for it.

Ned, thanks for the feedback. Is there another forum out there I should be looking in? Some Rockchip forum?

on freaktab forums there are devels working on rk3188 chipsets firmware, I dont know if there's anybody actually working on minix x7 as is just too new but shold be just matter of using the right modules for wifi and ethernet adapters that differ from other 3188 devices. (edit - oops, somebody already replied, sorry)


RE: Support Thread for libstagefright - Experimental hardware video decoding builds - Pitbull_Raven - 2013-08-07

(2013-08-07, 11:27)kaazvaag Wrote:
(2013-07-26, 19:17)Pitbull_Raven Wrote:
(2013-07-17, 14:29)kaazvaag Wrote: I have tested 720p mkv, 1080p mkv and DVD (.ifo). All played flawlessy on the minix x5. I also tested online streaming with 720p and 1080p both worked fine.

I do miss the ability to use an external player (using playercorefactory.xml) in the 14/07 version. I want to use the external player for playing DTS/DD5.1 videos, because XBMC for android doesn't support that at this moment.

Can someone compile the 14/07 release with external player support ?
Please, oh pretty please, tell me: do I have to use a custom ROM? Or will the default ROM do? And what version of XBMC are you using? I am so tired of trying to get 720p working in XBMC and failing Sad Also have a MINIX NEO X5.

My setup on the Minix X5 is:
Firmware: Latest stock 4.2.2 (which includes libstagefright and ffmpeg) http://www.minix.com.hk/Support/13080214562944.html
XBMC: One of the latest nightlies which has libstagefright activated http://mirrors.xbmc.org/nightlies/android/xbmc-20130803-c33d66c-master-armeabi-v7a.apk

All the 720p x264 files I have tested are running without stuttering.

The issue I have is that when I select the digital output for passthrough (DTS and DolbyDigital) instead of analog I get a hissing sound. Is there a solution for this?
Thanks for the reply. I have the latest stock also and am running a libstagefright XBMC (Gotham) version but still I get stuttering. I think it's that "vide playing too fast" issue reported a few pages back. Will try and see if I can access the settings and turn off or on. As for DTS... wouldn't know. I playback audio through the TV. I ain't got no fancy setup like yous all! Wink
(2013-08-07, 12:00)menno Wrote:
(2013-08-07, 10:10)Pitbull_Raven Wrote: Could someone with a Minix Neo X5 and working 720p or 1080p video in XBMC (no external player) please look at this post here and reply? Much appreciated!


I use this firmware;

MINIX Hybryd FW V2.2.4

Plus advancedsettings.xml (for me this was still required on this hardware to get smooth playback)

For me both 720p and 1080p show no framedrops upon pressing "o" on the keyboard. I am aware that this is not 100% waterproof. A zero framedrop project is being made by one of the xbmc developers.

Now there remains one issue with playing 1080p on this 720p rom. Which might be the issue Koyen is refering to. What happens on minix 720p roms playing 1080p movies is something in the line of the following;
- A 1080p movie gets downscaled to 720p
- And than upscaled to 1080p
- Here you loose details in the process.

Other than that playback itself is fine for me.
If turning lib on and off doesn't work, I'll try this rom and could you please point to the xml file so I can dload it?