Nexus 7 and MythTV PVR plugin

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
rushingjs Offline
Member
Posts: 81
Joined: Mar 2013
Reputation: 0
Post: #1
Hey all,

not sure if this is a PVR issue or a general XBMC mpeg2 issue, but trying to play a live recording or streaming live TV to my Nexus 7 crashes XBMC. I'm running mythbackend .27 on Ubuntu, Android 4.3, and a nightly build of xbmc (12/8, I believe). Here is the xbmc log, and the android crash log.

I appreciate any help in advance.

Thanks,

Joe
find quote
rceccleston Offline
Junior Member
Posts: 13
Joined: Sep 2013
Reputation: 0
Post: #2
I experienced a similar issue and recall it was problem a hardware accelerated codec under system \ video \ playback.

Unfortunately, the tablet is not to hand to find out which one it was....
find quote
rushingjs Offline
Member
Posts: 81
Joined: Mar 2013
Reputation: 0
Post: #3
Okay,

Turning off both libstagefright and media codec hardware acceleration, I can stream the standard definition channels using software decoding. However, HD channels crash, unless I enable libstagefright, then it plays, but is choppy and pixelated with black squares.

Were you able to stream high bitrate mpeg2?

Thanks for the help!
find quote
rceccleston Offline
Junior Member
Posts: 13
Joined: Sep 2013
Reputation: 0
Post: #4
Until I get my FreeSat working, I am only able to record SD mpeg2.
find quote
ullix Offline
Junior Member
Posts: 41
Joined: Nov 2012
Reputation: 0
Post: #5
Same crash problem here. Nexus 7 is on 4.4.2, mythtv is 0.27, and xbmc is 13.0-Alpha11 Git:20131219-b361629 (compiled Dec 20) i.e. brandnew, compiled today.

As soon as I start Live-TV or any of the recordings - all is SD, no HD available, and all is MPEG2 video - then xbmc crashes. However, those MPEG2 recordings, after conversion with H.264 codec to *.mp4 or *.mkv files, do play well when started from within xbmc.

I am new to the Nexus. How and where do I find any xbmc logs? And is there something to acitvate playing of MPEG2 files?
find quote
ullix Offline
Junior Member
Posts: 41
Joined: Nov 2012
Reputation: 0
Post: #6
I am beginning to understand - Android devices can't play any MPEG2 content at all! (I only got the Nexus 7 for 2 days now) You need a license for MPEG2, and while you can buy a key for the Raspberry for a few bucks, you can't for Android! Brilliant.

Now then, how could I ever use xbmc with a Mythtv plugin to watch live-tv, since the majority of all DVB-T and -S content is MPEG2? Doesn't that problem rule out the use of Android devices as a frontend for any TV watching/recording application?
find quote
nickr Online
Donor
Posts: 8,105
Joined: May 2009
Reputation: 141
Location: Christchurch NZ
Post: #7
Not if your broadcaster isn't stuck with mpeg2.

If I have helped you or increased your knowledge, click the plus button and increase my reputation :)
find quote
rceccleston Offline
Junior Member
Posts: 13
Joined: Sep 2013
Reputation: 0
Post: #8
(2013-12-22 17:35)ullix Wrote:  I am beginning to understand - Android devices can't play any MPEG2 content at all! (I only got the Nexus 7 for 2 days now) You need a license for MPEG2, and while you can buy a key for the Raspberry for a few bucks, you can't for Android! Brilliant.

Now then, how could I ever use xbmc with a Mythtv plugin to watch live-tv, since the majority of all DVB-T and -S content is MPEG2? Doesn't that problem rule out the use of Android devices as a frontend for any TV watching/recording application?

What ROM are you running on your N7?

MythTV via XBMC Gotham Apha 10 is running without any problems on my N7 with CM10.2 when both MediaCodec & Libstagefright are disabled.
find quote
ullix Offline
Junior Member
Posts: 41
Joined: Nov 2012
Reputation: 0
Post: #9
(2013-12-25 21:14)rceccleston Wrote:  What ROM are you running on your N7?

MythTV via XBMC Gotham Apha 10 is running without any problems on my N7 with CM10.2 when both MediaCodec & Libstagefright are disabled.

I am running genuine Google, Nexus 7 is on 4.4.2, mythtv is 0.27, and xbmc is "13.0-Alpha11 Git:20131219-b361629 (compiled Dec 20)".

On further testing I found I could install MX Player, and it would play MPEG2 and any other videos I tried. Still, MPEG2 doesn't play under xbmc.

I tried to define MX Player as an external player to xbmc, using the playercorefactory.xml modifications as given here: http://wiki.xbmc.org/index.php?title=HOW...on_Android
After restarting xbmc it did know is was supposed to use MX Player, however, it always complained that it was running and had to terminate first. MX Player wasn't running; this complain came even after a full reboot of the Nexus 7.

Where can I check whether MediaCodec & Libstagefright are enabled, and howto enable/disable them?
(This post was last modified: 2013-12-28 19:59 by ullix.)
find quote
rceccleston Offline
Junior Member
Posts: 13
Joined: Sep 2013
Reputation: 0
Post: #10
(2013-12-28 19:56)ullix Wrote:  
(2013-12-25 21:14)rceccleston Wrote:  What ROM are you running on your N7?

MythTV via XBMC Gotham Apha 10 is running without any problems on my N7 with CM10.2 when both MediaCodec & Libstagefright are disabled.

I am running genuine Google, Nexus 7 is on 4.4.2, mythtv is 0.27, and xbmc is "13.0-Alpha11 Git:20131219-b361629 (compiled Dec 20)".

On further testing I found I could install MX Player, and it would play MPEG2 and any other videos I tried. Still, MPEG2 doesn't play under xbmc.

I tried to define MX Player as an external player to xbmc, using the playercorefactory.xml modifications as given here: http://wiki.xbmc.org/index.php?title=HOW...on_Android
After restarting xbmc it did know is was supposed to use MX Player, however, it always complained that it was running and had to terminate first. MX Player wasn't running; this complain came even after a full reboot of the Nexus 7.

Where can I check whether MediaCodec & Libstagefright are enabled, and howto enable/disable them?

Go to ' system / settings / video / playback ' change ' setting level ' to ' expert '.
find quote
ullix Offline
Junior Member
Posts: 41
Joined: Nov 2012
Reputation: 0
Post: #11
(2013-12-28 21:52)rceccleston Wrote:  Go to ' system / settings / video / playback ' change ' setting level ' to ' expert '.

Big Grin
Thx! Indeed, disabling both MediaCodec & Libstagefright allows smooth playback of MPEG2 video, so I can playback Live-TV and Recordings from the Mythtv plug-in!

with some experimenting I found:
- when Mediacodec is activated (alone or together with Libstagefright) xbmc crashes when playing back MPEG2 video
- when Libstagefright is activated alone, xbmc plays sound, and sometimes shows some scrambled picture, but xbmc does not crash and I can end the video within xbmc.

What am I actually doing by disabling MediaCodec & Libstagefright? Is it now replaying on software codec only? If so, quite amazing, the replay is smooth.
find quote
jmorton Offline
Junior Member
Posts: 1
Joined: Dec 2013
Reputation: 0
Post: #12
Hello
I just purchase a TV box and didnt think it would be that hard setting it up. May I please get some help setting up the PVR to at least connect. I tried and I keep getting a lost connection message. I cont know what to do. Not quite good at network setup
find quote
rceccleston Offline
Junior Member
Posts: 13
Joined: Sep 2013
Reputation: 0
Post: #13
(2013-12-29 13:57)ullix Wrote:  
(2013-12-28 21:52)rceccleston Wrote:  Go to ' system / settings / video / playback ' change ' setting level ' to ' expert '.

Big Grin
Thx! Indeed, disabling both MediaCodec & Libstagefright allows smooth playback of MPEG2 video, so I can playback Live-TV and Recordings from the Mythtv plug-in!

with some experimenting I found:
- when Mediacodec is activated (alone or together with Libstagefright) xbmc crashes when playing back MPEG2 video
- when Libstagefright is activated alone, xbmc plays sound, and sometimes shows some scrambled picture, but xbmc does not crash and I can end the video within xbmc.

What am I actually doing by disabling MediaCodec & Libstagefright? Is it now replaying on software codec only? If so, quite amazing, the replay is smooth.

The terminology of the options would suggest its playing in software within CPU rather than within the hardware of the GPU.

(2013-12-29 19:41)jmorton Wrote:  Hello
I just purchase a TV box and didnt think it would be that hard setting it up. May I please get some help setting up the PVR to at least connect. I tried and I keep getting a lost connection message. I cont know what to do. Not quite good at network setup

Actually, its quite easy to setup, but as they say.... its easy when you know how...

May I suggest creating a new thread, to keep this thread on topic, and I'll quite happy post the few steps to get you going...
(This post was last modified: 2013-12-30 01:33 by rceccleston.)
find quote
NiggyG Offline
Junior Member
Posts: 31
Joined: Apr 2008
Reputation: 0
Post: #14
(2013-12-30 01:23)rceccleston Wrote:  
(2013-12-29 13:57)ullix Wrote:  
(2013-12-28 21:52)rceccleston Wrote:  Go to ' system / settings / video / playback ' change ' setting level ' to ' expert '.

Big Grin
Thx! Indeed, disabling both MediaCodec & Libstagefright allows smooth playback of MPEG2 video, so I can playback Live-TV and Recordings from the Mythtv plug-in!

with some experimenting I found:
- when Mediacodec is activated (alone or together with Libstagefright) xbmc crashes when playing back MPEG2 video
- when Libstagefright is activated alone, xbmc plays sound, and sometimes shows some scrambled picture, but xbmc does not crash and I can end the video within xbmc.

What am I actually doing by disabling MediaCodec & Libstagefright? Is it now replaying on software codec only? If so, quite amazing, the replay is smooth.

The terminology of the options would suggest its playing in software within CPU rather than within the hardware of the GPU.

(2013-12-29 19:41)jmorton Wrote:  Hello
I just purchase a TV box and didnt think it would be that hard setting it up. May I please get some help setting up the PVR to at least connect. I tried and I keep getting a lost connection message. I cont know what to do. Not quite good at network setup

Actually, its quite easy to setup, but as they say.... its easy when you know how...

May I suggest creating a new thread, to keep this thread on topic, and I'll quite happy post the few steps to get you going...

I can't see a 'setting level' inside 'system / settings / video / playback'. Am I missing something? I'm trying to get MPEG2 to play for live TV. I've just picked up a Nexus 7 2012 and updated to 4.2.2. Am I missing something?
find quote
ullix Offline
Junior Member
Posts: 41
Joined: Nov 2012
Reputation: 0
Post: #15
(2014-01-05 01:53)NiggyG Wrote:  I can't see a 'setting level' inside 'system / settings / video / playback'. Am I missing something? I'm trying to get MPEG2 to play for live TV. I've just picked up a Nexus 7 2012 and updated to 4.2.2. Am I missing something?

A slight misunderstanding: when you are in 'system / settings / video / playback' you will see on the bottom left, below the other menu entries, the 'setting level'. Touch on them to change from Basic to Advanced to Expert. Then you'll see the hardware acceleration options on the right.

And this is about the xbmc 13 series Gotham, not 12.x Frodo!
find quote
Post Reply