Posts: 302
Joined: Apr 2013
Reputation:
2
Koying,
RC1 build runs great now no green screens on any of my devices.
Posts: 170
Joined: Mar 2014
Reputation:
0
Hi,
first I would like to report that with Gotham beta 4 (and ome nightlies after beta3) libstagefrights made a great step forward for our himedia Q-devices (hisilikon cortex A9 with Mali GPU).
Now HD-video runs perfekt in 720p and 1080-video runs much better then ever before. So I can start first time bluray-isos (in h264) from xbmc as well.
Compared to the Videoplayer-app from himedia (HimediaVideoplayer) you see with xbmc-player using 1080-video some short stutters (micro-stutters).
But: the step forward is really great and I hope on forther steps :-)
I have some questions in this context:
H264-video seems to run in right speed, but my VC-1 coded-Videos ("Matrix") are running still in slow-motion. Independently whether in bluray.iso or as *.mkv. Is this only a performance-question?
Some of my 1080-videos are DVB-S2 streams cuttet with "videoredo". I think, earlier Versions of this program made some frame-cuts which are not perfect in h264-rules. Most video-players (popcorn hour, HimdediaVideoplayer-app, wondows mediaplayer...) can play this videos (sometimes you see a short stutter on cutting-point), but xbmc-player stops after some frames and is not able to play the video. I think therefore you need a xbmc-log - I will post it later. But maybe xbmc has an option to be more "flexible" with videos-errors?
SaEt9000
Posts: 5,952
Joined: Sep 2008
Reputation:
201
Koying
Retired Team-Kodi Member
Posts: 5,952
Re VC-1, please try with mediacodec first. libstagefright doesn't handle VC-1 quite right.
If it doesn't work with mediacodec either, it just means your box doesn't support h/w acclerated VC1.
Re "videoredo", we have no control on what the h/w decoders can decode or not.
Posts: 170
Joined: Mar 2014
Reputation:
0
Hi Koying,
thanks for your fast reply :-)
By using mediacodec - until today - we have on himedia Q-boxes xbmc-crashes - always. Just in the moment, when you try to start the video.
I saw your recommendation for a test build above. Is there something special in this test build ?
I'm sure that the Q-box supports HW-accelerated VC1. The HimediaVideoPlayer-app is able to play it perfect - and this cant be in Software-Mode..
SaEt9000
Posts: 5,952
Joined: Sep 2008
Reputation:
201
Koying
Retired Team-Kodi Member
Posts: 5,952
Please try with beta4 first (with mediacodec) and provide a logcat of the crash.
Posts: 7
Joined: Apr 2014
Reputation:
0
Koying
Can you say anything else about problems with my device?
I has all previous problems on xbmc-20140419-51d4cbd-Gotham-armeabi-v7a.apk too (freese and crash on 1080 with libstagefright, greenscreens on non-mpeg2 with mediacodec)
Or may be I must go to MediaCodec's tread and forget about libstagefright support?
Posts: 136
Joined: Jun 2012
Reputation:
2
Hi,
What is the state of devices with the RK3188 chipset? I'm looking at the ATV580. Will Gotham use hardware acceleration on this platform?
Regards.
Posts: 170
Joined: Mar 2014
Reputation:
0
Hi,
i know - i ask my question not for the first time... I have some HD-videos stopping after some frames by using HW-accellaration, libstagefrigth.
please take a look at this part of xbmc.log:
I think the most important mesage is this: 20:05:23 T:1752806400 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:1125653.375000, should be:1003667.130299, error:-121986.244701
20:05:25 T:1752806400 DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:3008763.005299, should be:2977246.912698, error:-31516.092601
20:05:26 T:1742325616 ERROR: CStageFrightVideo - decoding error (-110)
20:05:31 T:1678302088 ERROR: Previous line repeats 1 times.
The video stops in this moment. What can I do?
Thank you SaET9000
here is the longer part of xbmc.log:
20:05:22 T:1717266512 DEBUG: CDVDPlayer::HandleMessages - player started 1
20:05:22 T:1528444712 DEBUG: CGUIInfoManager::SetCurrentMovie(/mnt/sda/sda2/video/KINDER/FILME/Die drei Fragezeichen - Das Geheimnis der Geisterinsel.mkv)
20:05:22 T:1528444712 DEBUG: int CVideoDatabase::GetMovieId(const CStdString&) (/mnt/sda/sda2/video/KINDER/FILME/Die drei Fragezeichen - Das Geheimnis der Geisterinsel.mkv), query = select idMovie from movie where idFile=1807
20:05:22 T:1528444712 DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
20:05:22 T:1528444712 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
20:05:22 T:1528444712 DEBUG: Activating window ID: 12005
20:05:22 T:1528444712 DEBUG: ------ Window Deinit (MyVideoNav.xml) ------
20:05:22 T:1528444712 DEBUG: ------ Window Init (VideoFullScreen.xml) ------
20:05:22 T:1528444712 DEBUG: Window VideoFullScreen.xml was already loaded
20:05:22 T:1528444712 DEBUG: Alloc resources: 0.38m
20:05:22 T:1717266512 DEBUG: CDVDPlayer::SetCaching - caching state 0
20:05:22 T:1752806400 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:201141.833000, should be:232000.000000, error:30858.167000
20:05:22 T:1528444712 NOTICE: Using GL_TEXTURE_2D
20:05:22 T:1528444712 DEBUG: GL: Requested render method: 0
20:05:22 T:1528444712 NOTICE: GL: Using EGL Image render method
20:05:22 T:1528444712 NOTICE: GL: NPOT texture support detected
20:05:22 T:1717266512 DEBUG: CDVDPlayer::HandleMessages - player started 2
20:05:22 T:1528444712 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
20:05:22 T:1678302088 DEBUG: script.videolanguage: finished
20:05:22 T:1678302088 INFO: CPythonInvoker(22, /mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.videolanguage/default.py): script successfully run
20:05:23 T:1678302088 INFO: Python script stopped
20:05:23 T:1678302088 DEBUG: Thread LanguageInvoker 1678302088 terminating
20:05:23 T:1752806400 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:1125653.375000, should be:1003667.130299, error:-121986.244701
20:05:25 T:1752806400 DEBUG: CDVDPlayerAudio:: Discontinuity2 - was:3008763.005299, should be:2977246.912698, error:-31516.092601
20:05:26 T:1742325616 ERROR: CStageFrightVideo - decoding error (-110)
20:05:31 T:1678302088 ERROR: Previous line repeats 1 times.
20:05:31 T:1678302088 NOTICE: Thread Timer start, auto delete: false
20:05:31 T:1678302088 DEBUG: Thread Timer 1678302088 terminating
20:05:32 T:1528444712 DEBUG: ------ Window Init (VideoOSD.xml) ------
20:05:32 T:1528444712 DEBUG: Window VideoOSD.xml was already loaded
20:05:32 T:1528444712 DEBUG: Alloc resources: 6.54m
20:05:32 T:1528444712 DEBUG: Unfocus WindowID: 12901, ControlID: 100
20:05:32 T:1752806400 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
20:05:32 T:1742325616 ERROR: CStageFrightVideo - decoding error (-110)
20:05:33 T:1752806400 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:10793192.038698, should be:10587678.957673, error:-205513.081024
20:05:33 T:1752806400 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
20:05:35 T:1742325616 ERROR: CStageFrightVideo - decoding error (-110)
20:05:40 T:1528444712 ERROR: Previous line repeats 1 times.
20:05:40 T:1528444712 DEBUG: ------ Window Deinit (VideoOSD.xml) ------
20:05:41 T:1742325616 ERROR: CStageFrightVideo - decoding error (-110)
20:05:45 T:1749080376 ERROR: Previous line repeats 1 times.
20:05:45 T:1749080376 DEBUG: Thread JobWorker 1749080376 terminating (autodelete)
20:05:46 T:1699259584 DEBUG: Thread JobWorker 1699259584 terminating (autodelete)
20:05:47 T:1742325616 ERROR: CStageFrightVideo - decoding error (-110)
20:05:49 T:1714837728 NOTICE: Thread Timer start, auto delete: false
20:05:49 T:1714837728 DEBUG: Thread Timer 1714837728 terminating