Kodi Community Forum

Full Version: pvr.mythtv add-on
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2017-01-25, 09:30)janbar Wrote: [ -> ]
(2017-01-24, 22:07)kyfalcon Wrote: [ -> ]I have a channel that will no longer play in kodi, either livetv or recording. Get the hourglass and then exits to guide. I am using Kodi 17.0 RC3 and Mythtv PVR client 4.12.12.

If I downgrade to Kodi 16 and myth tv pvr 3.4.14 everything works. I can provide a short recording file if that would help.

Yes please, drop it somewhere I can get it. Thanks.

Janbar here are several files, they all play fine in myth frontend, vlc and mplayer.

https://www.dropbox.com/s/mkrib88ltwcllg...22.ts?dl=0
https://www.dropbox.com/s/53ou9h6sqk8g0c...24.ts?dl=0
https://www.dropbox.com/s/zpk2jgmwg2alg0...58.ts?dl=0
https://www.dropbox.com/s/hdc8ymwm1ofhmx...24.ts?dl=0


Just a heads up in previous versions of kodi, this channel plays but the sound was always ahead by a couple of seconds.
Thanks!
Hello janbar. I've been running raybuntu's build for the odroid c2 (based upon Krypton). I can't get audio passthrough to work with live TV streaming. It works fine with recordings though. Personally, I don't really think this a problem with your add-on, but I thought post anyway just in case. I really think it's videoplayer that is forcing it to PCM. Any thoughts on this? The Jarvis builds from wrxtasy worked fine, so I know passthrough is possible.

Sent from my Moto G (4)
(2017-01-25, 12:07)janbar Wrote: [ -> ]Goto https://packages.gentoo.org/packages/med...pvr-mythtv
Seems distro has something right. If you have issue with the package for gentoo you should contact the mainteners to request fix.

Edit: also please drop somewhere the addon zip you have build. I will try it.

Thanks Janbar.

(The gentoo plugin does exactly the same)

I'm currently recompiling everything with libstdc++ to get everything on the same page. I think Gentoo/GCC 5.4.0 is building kodi in a way which is incompatible for the plugin.
Ok - into something.
All the addon library's in /usr/lib/kodi/addons/library*/ are in x86_64 but the boxes are looking for _486. This is probably why it's failing. Am going to try renaming them all manually.

And now it's working.. I guess this is a mainstream kodi problem.
(2017-01-25, 16:09)afremont Wrote: [ -> ]Hello janbar. I've been running raybuntu's build for the odroid c2 (based upon Krypton). I can't get audio passthrough to work with live TV streaming. It works fine with recordings though. Personally, I don't really think this a problem with your add-on, but I thought post anyway just in case. I really think it's videoplayer that is forcing it to PCM. Any thoughts on this? The Jarvis builds from wrxtasy worked fine, so I know passthrough is possible.

Sent from my Moto G (4) (typie typie)
In Krypton passthrough is disabled for all live tv.
(2017-01-27, 03:27)nickr Wrote: [ -> ]
(2017-01-25, 16:09)afremont Wrote: [ -> ]Hello janbar. I've been running raybuntu's build for the odroid c2 (based upon Krypton). I can't get audio passthrough to work with live TV streaming. It works fine with recordings though. Personally, I don't really think this a problem with your add-on, but I thought post anyway just in case. I really think it's videoplayer that is forcing it to PCM. Any thoughts on this? The Jarvis builds from wrxtasy worked fine, so I know passthrough is possible.

Sent from my Moto G (4) (typie typie)
In Krypton passthrough is disabled for all live tv.
Is this temporary or permanent?

Sent from my Moto G (4)
Permanent. There are plenty of threads about it, but it is to do with synchronisation of audio and video, and the need to slow down or speed up audio occasionally to keep in sync with video. That speeding up or slowing down is, naturally, inconsistent with passthrough.
(2017-01-27, 03:10)rdoac Wrote: [ -> ]Ok - into something.
All the addon library's in /usr/lib/kodi/addons/library*/ are in x86_64 but the boxes are looking for _486. This is probably why it's failing. Am going to try renaming them all manually.

And now it's working.. I guess this is a mainstream kodi problem.

I updated the README of the branch Krypton. It should more understandable that we need to clone the Krypton branch of xbmc and the Krypton branch of pvr.mythtv, to compile the reached addon.

Edit: Have you tried to compile Krypton or master ?
(2017-01-25, 15:47)kyfalcon Wrote: [ -> ]
(2017-01-25, 09:30)janbar Wrote: [ -> ]
(2017-01-24, 22:07)kyfalcon Wrote: [ -> ]I have a channel that will no longer play in kodi, either livetv or recording. Get the hourglass and then exits to guide. I am using Kodi 17.0 RC3 and Mythtv PVR client 4.12.12.

If I downgrade to Kodi 16 and myth tv pvr 3.4.14 everything works. I can provide a short recording file if that would help.

Yes please, drop it somewhere I can get it. Thanks.

Janbar here are several files, they all play fine in myth frontend, vlc and mplayer.

https://www.dropbox.com/s/mkrib88ltwcllg...22.ts?dl=0
https://www.dropbox.com/s/53ou9h6sqk8g0c...24.ts?dl=0
https://www.dropbox.com/s/zpk2jgmwg2alg0...58.ts?dl=0
https://www.dropbox.com/s/hdc8ymwm1ofhmx...24.ts?dl=0


Just a heads up in previous versions of kodi, this channel plays but the sound was always ahead by a couple of seconds.
Thanks!
Yes, I confirm. The player doesn't handle the stream. And nothing special except the framerate is 60 fps.

Please could you open a track ticket, or ask in corresponding thread of kodi ?
I tryed to compile the add-on from source for arch arm V7 with cmake and make.
I compiled te jarvis build tree.
clone xbmc
clone pvr
cmake
make

All as instructed on your github.
That went all well.

But when I try to install the zip. It gives an error.
(2017-01-27, 08:43)nickr Wrote: [ -> ]Permanent. There are plenty of threads about it, but it is to do with synchronisation of audio and video, and the need to slow down or speed up audio occasionally to keep in sync with video. That speeding up or slowing down is, naturally, inconsistent with passthrough.
That's really disappointing, it's worked fine in the past. I don't understand why it can be done with a recording, but not with live. The conversion to PCM isn't working right either. I have dialogue booming out of the rear channels at times.

What forum contains the threads of which you speak? I'd like to read why it suddenly can't be done, and if this is only for the C2 or across the board for Kodi.

There are other ways to stay in sync without adjusting the audio, such as frame dropping or duping. At any rate, it's local broadcast TV and seems like it should be a natural for playback at the encoded frame rate.

EDIT: Okay, I found a bunch of threads scattered around the various Kodi sub-forums. It appears that they plan to make this permanent, but I also see it's making a lot of people unhappy besides myself. It doesn't seem to be an impossibility, but it's stated as being "too hard" to maintain sync on real-time streams.

Sent from my Moto G (4)
(2017-01-27, 12:16)bavoV Wrote: [ -> ]I tryed to compile the add-on from source for arch arm V7 with cmake and make.
I compiled te jarvis build tree.
clone xbmc
clone pvr
cmake
make

All as instructed on your github.
That went all well.

But when I try to install the zip. It gives an error.

How did you try and install the zip file ?

If you tried using Kodi install from zip, there was (maybe still is) a problem that it did not always work.

Try this instead:

copy zip file to .kodi/addons/ folder
unzip the zip file (e.g. unzip -o <zip filename>)
restart Kodi


Mike
(2017-01-27, 12:13)janbar Wrote: [ -> ]
(2017-01-25, 15:47)kyfalcon Wrote: [ -> ]
(2017-01-25, 09:30)janbar Wrote: [ -> ]Yes please, drop it somewhere I can get it. Thanks.

Janbar here are several files, they all play fine in myth frontend, vlc and mplayer.

https://www.dropbox.com/s/mkrib88ltwcllg...22.ts?dl=0
https://www.dropbox.com/s/53ou9h6sqk8g0c...24.ts?dl=0
https://www.dropbox.com/s/zpk2jgmwg2alg0...58.ts?dl=0
https://www.dropbox.com/s/hdc8ymwm1ofhmx...24.ts?dl=0


Just a heads up in previous versions of kodi, this channel plays but the sound was always ahead by a couple of seconds.
Thanks!
Yes, I confirm. The player doesn't handle the stream. And nothing special except the framerate is 60 fps.

Please could you open a track ticket, or ask in corresponding thread of kodi ?

Ok I create a trak ticket.
not a pvr.mythtv addon issue
(2017-01-27, 12:09)janbar Wrote: [ -> ]
(2017-01-27, 03:10)rdoac Wrote: [ -> ]Ok - into something.
All the addon library's in /usr/lib/kodi/addons/library*/ are in x86_64 but the boxes are looking for _486. This is probably why it's failing. Am going to try renaming them all manually.

And now it's working.. I guess this is a mainstream kodi problem.

I updated the README of the branch Krypton. It should more understandable that we need to clone the Krypton branch of xbmc and the Krypton branch of pvr.mythtv, to compile the reached addon.

Edit: Have you tried to compile Krypton or master ?
I tried both. It seems my setup insists on creating library's that are i486 but named as x86-64 which means kodi can't find them.

Manually renaming then does work.

Incident 16.0 is fine.

Sent from my Nexus 6