Posts: 16
Joined: Jul 2015
Reputation:
0
Having tracked down this issue for a few days I've finally managed to figure out that it's amcodec causing a near constant buffering on all channels from headend.
I was wondering if there was a way to force the client to use an alternative codec to amcodec for SD channels? With it disabled in the video settings the channels play fine but as a knock on effect our HD and 4k movies are jerky as anything as they aren't using amcodec for acceleration. So we need amcodec only to decode 720p and above.
This is on a T95 android box running an octa core Mali GPU and a 64bit Quad core amlogic A5 main processor and Android 5.1.
Any suggestions for either the backend or frontend would be appreciated.
Posts: 2,770
Joined: Mar 2011
Reputation:
95
Sounds like an Android client problem more than a tvheadend issue. That said, if your back end is powerful enough, you may be able to transcode the SD channels in tvh, see if that helps?
It's odd not to be able to play MPEG2/SD, though. I wonder what's up with the stream that's making the box stutter. Does it happen only on live, or on recordings as well? Any difference between a recording played through the pvr.hts addon versus playing it over a file share or playing it locally?
Posts: 16
Joined: Jul 2015
Reputation:
0
I don;t think it's actually the client at fault, I think the version of amcodec isn't supporting the latest generation of amlogic chipsets. I remember in 15.2 it wouldn't play if your TV wasn't 1080p- zoomed out badly so had to be disabled by anyone with a 1080i TV.
I've more than enough grunt on the server to transcode but there's 120 or so IPTV channels we're running into headend. We can transcode using the source panel but in all honesty what would we transcode to when it seems all SD is the issue. For now I've disabled amcodec because there's no other option but as a result bye bye 4K rendering.
Posts: 16
Joined: Jul 2015
Reputation:
0
The boxes are fine playing it, they're actually very, very beefy units but they just don't like playing it via the htsp client. They've said amcodec would be deprecated for long time, I thought it may have gone in Jarvis but it's still there. It's annoying because the last generation using s802 processors play everything fine via amcodec, it's only the new s905 that have issues.
If only there was a way of simply disabling amcodec in the headend client. It's a queer old issue with it affecting both h264 and mpeg2 alike.
Posts: 2,770
Joined: Mar 2011
Reputation:
95
Okay, so we're getting closer - are you saying that it's only via pvr.hts? And not if you record the files?
I'm still not sure if it's a stream/CODEC issue or a tvheadend issue. If it's something to do with the addon, then negge or kso(ooo.....) might have something to add.
Posts: 3,735
Joined: Dec 2010
Reputation:
53
negge
yo guysv7may bd latr tomorroe
Posts: 3,735
You should post a debug log.
Posts: 16
Joined: Jul 2015
Reputation:
0
Thanks wrxtasy- I couldn't actually find a way to disable de-interlacing using mediacodec to see if it helps. Anyone know which file R/W might need changing?
Anybody know if the Kodi devs are going to look at this in detail? Seems to be a massive problem when you consider the s905 is now the standard amlogic processor set replacing all s8xx series chipsets.