Android No video on Android TV player (MPEG2)
#1
Hi,
I have Minix Neo X5mini Android 4.1 TV player.
Android 4.1.2 OS, Rockchip RK3066 Dual-Core Cortex A9 Processor, Quad-Core Mali-400, 1GB DDR3 + 8GB NAND Flash

I'm using latest version of Kodi from Google Play for playing videos - everything is ok.
But with Tvheadend plugin there is no video output. HD MPEG4 DVB-T streams are ok, but normal DVB-T stream in MPEG2 has no video output.

It is not Raspberry Pi, I cannot buy any codec license.

How can I solve this? Is possible to force video decoding on CPU?
Reply
#2
You should be able to disable hardware acceleration from the settings. Can you try playing an MPEG-2 file locally (not through PVR)?
Reply
#3
Rockchip devices not fully supported by Kodi.
If you disable hardware acceleration, you will be able to watch the "normal DVB-T mpeg2" but you will get stuttering in all other videos.
http://forum.kodi.tv/showthread.php?tid=241921
Reply
#4
I installed VLC from Google Play. The same stream (URL) works great in VLC. In Kodi I see only black screen.

I create Android/data/org.xbmc.kodi/files/.kodi/userdata/advancedsettings.xml, but nothing happened.

Code:
<advancedsettings>
    <video>
        <stagefright>
            <!-- -1 is default, 0 is never used this codec, 1 is always use this codec, bypassing blacklist -->
            <useavccodec>1</useavccodec>
            <usevc1codec>1</usevc1codec>
            <usevpxcodec>1</usevpxcodec>
            <usemp4codec>1</usemp4codec>
            <usempeg2codec>1</usempeg2codec>
        </stagefright>
        <mediacodec>
            <useavccodec>1</useavccodec>
            <usevc1codec>0</usevc1codec>
            <usevpxcodec>0</usevpxcodec>
            <usemp4codec>0</usemp4codec>
            <usempeg2codec>0</usempeg2codec>
        </mediacodec>
    </video>
</advancedsettings>

Is possible deactivate HW acceleration only for MPEG2 in advancedsettings.xml?
What I need to use stagefright or mediacodec?
Reply
#5
you need to disable both mediacodec and stagefright in order to play mpeg2
according to http://kodi.wiki/view/Advancedsettings.xml
<mediacodec> tags as well as stagefright tags, but this was in error. There are only stagefright options for official Kodi builds.
Reply
#6
Is possible to disable only mpeg2? There is xml elemnt for this:
Code:
<useavccodec>1</useavccodec>
<usevc1codec>1</usevc1codec>
<usevpxcodec>1</usevpxcodec>
<usemp4codec>1</usemp4codec>

<usempeg2codec>0</usempeg2codec>


What is better for Android 4.2.2? Stagefright or mediacodec?
Reply
#7
I edited my previous post,
Do you see video if you disable both stagefright and mediacodec?
Reply
#8
Yes, if I disable HW decoding in Kodi GUI I see DVB-T (MPEG-2 TS) video.
But all other videos are terrible - H264 1280x720 is very bad.

I try modifiing advancedsettings.xml. In every cases nothing happened. It look like Kodi ignore this file.

Code:
<advancedsettings>
    <video>
        <stagefright>
            <!-- -1 is default, 0 is never used this codec, 1 is always use this codec, bypassing blacklist -->
            <useavccodec>-1</useavccodec>
            <usevc1codec>-1</usevc1codec>
            <usevpxcodec>-1</usevpxcodec>
            <usemp4codec>-1</usemp4codec>
            <usempeg2codec>0</usempeg2codec>
        </stagefright>
        <mediacodec>
            <useavccodec>-1</useavccodec>
            <usevc1codec>-1</usevc1codec>
            <usevpxcodec>-1</usevpxcodec>
            <usemp4codec>-1</usemp4codec>
            <usempeg2codec>0</usempeg2codec>
        </mediacodec>
    </video>
</advancedsettings>
Reply
#9
I will try to use XBMC 13.3 (13.3 not support Tvheadend PVR) for H264 and Kodi 15.1 for MPEG2 :-(
Reply
#10
kodi ignore mediacodec tags:
Code:
<mediacodec>
            <useavccodec>-1</useavccodec>
            <usevc1codec>-1</usevc1codec>
            <usevpxcodec>-1</usevpxcodec>
            <usemp4codec>-1</usemp4codec>
            <usempeg2codec>0</usempeg2codec>
        </mediacodec>
so if you enable stagefright, disable mediacodec and use
Code:
<advancedsettings>
    <video>
        <stagefright>
            <!-- -1 is default, 0 is never used this codec, 1 is always use this codec, bypassing blacklist -->
            <useavccodec>-1</useavccodec>
            <usevc1codec>-1</usevc1codec>
            <usevpxcodec>-1</usevpxcodec>
            <usemp4codec>-1</usemp4codec>
            <usempeg2codec>0</usempeg2codec>
        </stagefright>
    </video>
</advancedsettings>
you'll see the video.
Reply
#11
(2015-10-12, 18:06)Ben.Efrati Wrote: so if you enable stagefright, disable mediacodec and use
Code:
<advancedsettings>
    <video>
        <stagefright>
            <!-- -1 is default, 0 is never used this codec, 1 is always use this codec, bypassing blacklist -->
            <useavccodec>-1</useavccodec>
            <usevc1codec>-1</usevc1codec>
            <usevpxcodec>-1</usevpxcodec>
            <usemp4codec>-1</usemp4codec>
            <usempeg2codec>0</usempeg2codec>
        </stagefright>
    </video>
</advancedsettings>
you'll see the video.
Thank you. Now it works!
Reply

Logout Mark Read Team Forum Stats Members Help
No video on Android TV player (MPEG2)0