Kodi Community Forum
MythTV front-end client built-into to XBMC - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Feature Requests (https://forum.kodi.tv/forumdisplay.php?fid=9)
--- Thread: MythTV front-end client built-into to XBMC (/showthread.php?tid=2297)



- elupus - 2008-12-21

Yup, most likely. The protocol is quite horrible. I don't really know what more I can do. Maybe i can increase the cache in dvdplayer.

If you compile yourself,in file:
xbmc\cores\dvdplayer\DVDDemuxers\DVDDemuxFFmpeg.h

change: "#define FFMPEG_FILE_BUFFER_SIZE 32768"
to "#define FFMPEG_FILE_BUFFER_SIZE 131072"

That might make it read in larger chunks. Hopefully that will help.


- dteirney - 2008-12-22

dteirney Wrote:Finally got XBMC playing the new HD DVB-T digital terrestrial standard here in New Zealand.

Having some problems with the audio getting out of sync when watching Live TV. Anyone else having any problems like that? Playback of recordings seems to be working fine, just Live TV that is doing weird stuff.

I'm running AreaScout's XBMC branch with the latest version of FFmpeg and a patch for LATM AAC audio decoding.

BTW: the patch for being able to group recordings by title is very handy!

For anyone using XBMC with MythTV recorded DVB-T H264 content, you may need to use the <skiploopfilter> setting in advancedsettings.xml to get playback without the audio getting out of sync.

I was having audio sync problems with 1080i content with LATM AAC audio. AAC is quite CPU intensive (or so I'm told) and my AMD X2 6000+ CPU wasn't quite cutting the mustard combined with the also CPU intensive H264 video content. So, unless you've got a rocketship CPU that's faster than 3.0Ghz try adding <skiploopfilter>48</skiploopfilter> to the advancedsettings.xml file in userdata.

Valid values are -16, 0, 8, 16, 32, 48.

Basically the larger the number the more h264 content gets thrown out in an effort to save on CPU cycles. I just managed to get audio to play in sync at 32. xbmc.bin was hovering just above 100% with that setting.


- Phunky - 2008-12-28

My only problem is the wife Smile change is not good and i need to be 100% sure things are stable before i start messing with things again Big Grin

Null you state it works but limited - what are the limitations at the moment?


XBMC hangs when trying to start LiveTV - [email protected] - 2008-12-29

I read most of this thread now, without beeing able to find someone with the same problem as me that has not been solved using the suggested fixes.

I have tried the mythtv:// protocol for XBMC and Plex on my Macbook with the same results. Epg and channel listing works fine, but when I try to watch live tv the encoder is started on the server (I can see this using mythweb), but the xbmc client just hangs (I have to kill it, sinnce its not responding).

I have tried adding the dns fix in advancedsettings.xml, and I don't have any prints regarding dns in the log. I have also checked the mythtv backend setting and made sure that it is not using localhost as the ip. And i get no further error messages in the xbmc.log.

I have also tried to run the mythtv client as standalone and that works fine.

Any suggestions on what to try next?


- apanloco - 2008-12-29

If the debug log really doesn't give you anything, take a Wireshark log and I promise to take a look at it.


- [email protected] - 2008-12-29

apanloco Wrote:If the debug log really doesn't give you anything, take a Wireshark log and I promise to take a look at it.

Hi,

not as far as I can tell at least, here is the end of it, after stream is created nothing more happens (downloading wireshark now, very nice of you to offer your help!):

edit: Wireshark seems to have some problems to work with my macbook, cannot find any network interfaces, so I'm afraid that log will not show up here anytime soon Smile

Code:
17:29:58 T:2685698176 M:1301020672  NOTICE: /Users/d99fish/Library/Application Support/Plex/userdata/sources.xml
17:29:58 T:2685698176 M:1300934656  NOTICE: Asking PlexHelper to reconfigure.
17:29:58 T:2685698176 M:1300930560  NOTICE: Asking PlexMediaServer to reconfigure.
17:29:58 T:2685698176 M:1293807616   ERROR: Window Translator: Can't find window xlinkkai
17:29:58 T:2685698176 M:1293807616   ERROR: Window Translator: Can't find window trainersettings
17:29:58 T:2685698176 M:1294585856   ERROR: Window Translator: Can't find window xlinkkai
17:29:58 T:2685698176 M:1294585856   ERROR: Window Translator: Can't find window trainersettings
17:29:58 T:2685698176 M:1294585856   ERROR: Load - unable to load remote map Lircmap.xml
17:29:58 T:2685698176 M:1294573568  NOTICE: Checking the Date!
17:29:58 T:2685698176 M:1294573568  NOTICE: start dvd mediatype detection
17:29:58 T:2685698176 M:1294565376  NOTICE: initializing playlistplayer
17:29:58 T:2685698176 M:1294565376  NOTICE: DONE initializing playlistplayer
17:29:58 T:2685698176 M:1294565376  NOTICE: load default skin:[MediaStream]
17:29:58 T:2685698176 M:1290272768   ERROR: Window Translator: Can't find window settingscategory
17:29:58 T:2685698176 M:1290289152   ERROR: Error evaluating boolean expression !Window.Previous(0) + !Window.Previous(SettingsCategory) + !Window.Previous(1001) + !Window.Previous(130) + !Window.Previous(34)
17:29:59 T:2685698176 M:1284194304  NOTICE: initialize done
17:29:59 T:2685698176 M:1284108288  NOTICE: Running the application...
17:29:59 T:2685698176 M:1284108288  NOTICE: Webserver: Starting...
17:29:59 T:2685698176 M:1284091904  NOTICE: ES: Starting event server
17:29:59 T:2957856768 M:1284067328  NOTICE: Webserver: Started
17:29:59 T:2958831616 M:1284067328  NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
17:29:59 T:2958831616 M:1284059136  NOTICE: UDP: Listening on port 9777
17:30:21 T:2685698176 M:1257504768 WARNING: CreateFile, error 2 opening file </tmp/plex/9b5015b4.fi>, flags:4, mode:124.
17:30:21 T:2961334272 M:1257697280   ERROR: Exists - unable to get find fanart.png
17:30:31 T:2685698176 M:1258037248 WARNING: CreateFile, error 2 opening file </tmp/plex/c6eaabb2.fi>, flags:4, mode:124.
17:30:34 T:2685698176 M:1255428096  NOTICE: DVDPlayer: Opening: myth://mythtv:[email protected]/channels/2.ts
17:30:34 T:2685698176 M:1255444480 WARNING: CDVDMessageQueue::Put MSGQ_NOT_INITIALIZED
17:30:34 T:2963464192 M:1255432192  NOTICE: Creating InputStream



- apanloco - 2008-12-29

Is the hostname "mythtv" properly resolved?

Code:
NOTICE: DVDPlayer: Opening: myth://mythtv:[email protected]/channels/2.ts

I bet it isn't ;D I've only tried IP-numbers, but I think it should be fixable with the advancedsettings stuff you mentioned. My guess is the DNS lookup doesn't work.


- [email protected] - 2008-12-29

apanloco Wrote:Is the hostname "mythtv" properly resolved?

Code:
NOTICE: DVDPlayer: Opening: myth://mythtv:[email protected]/channels/2.ts

I bet it isn't ;D I've only tried IP-numbers, but I think it should be fixable with the advancedsettings stuff you mentioned. My guess is the DNS lookup doesn't work.

That was my assumption as well, but I really think it is Smile
It should be 192.168.0.196 and thats what I get when I ping that hostname from the client.

Code:
d99fish$ ping mythtv
PING mythtv (192.168.0.196): 56 data bytes
64 bytes from 192.168.0.196: icmp_seq=0 ttl=64 time=3.119 ms
64 bytes from 192.168.0.196: icmp_seq=1 ttl=64 time=2.867 ms
64 bytes from 192.168.0.196: icmp_seq=2 ttl=64 time=2.928 ms
64 bytes from 192.168.0.196: icmp_seq=3 ttl=64 time=0.836 ms
64 bytes from 192.168.0.196: icmp_seq=4 ttl=64 time=2.840 ms
64 bytes from 192.168.0.196: icmp_seq=5 ttl=64 time=3.457 ms



- apanloco - 2008-12-29

That "ping" can resolve "mythtv" doesn't mean XBMC can (or is it Plex in this case?). Anyway, I cannot help any further unless you get Wireshark working on your mac. Perhaps you could paste what you did in advancedsettings and someone can confirm you did it right.


- [email protected] - 2008-12-29

apanloco Wrote:That "ping" can resolve "mythtv" doesn't mean XBMC can (or is it Plex in this case?). Anyway, I cannot help any further unless you get Wireshark working on your mac. Perhaps you could paste what you did in advancedsettings and someone can confirm you did it right.

Ok, good point. However, since the server start the encoder on the correct channel and everything, I would guess that parts of it is working. I will have to keep trying to get Wireshark running.

Good point about validating the advancedsettings.xml as well, here it is:
<hosts>
<entry name="mythtv">192.168.0.196</entry>
</hosts>


- davilla - 2008-12-29

[email protected] Wrote:Ok, good point. However, since the server start the encoder on the correct channel and everything, I would guess that parts of it is working. I will have to keep trying to get Wireshark running.

Good point about validating the advancedsettings.xml as well, here it is:
<hosts>
<entry name="mythtv">192.168.0.196</entry>
</hosts>


Not sure if this is under OSX but on OSX adding the above to advancedsettings.xml will have no effect, you need to add an entry into "/etc/hosts"


- [email protected] - 2008-12-29

davilla Wrote:Not sure if this is under OSX but on OSX adding the above to advancedsettings.xml will have no effect, you need to add an entry into "/etc/hosts"

Hi,

yes it is OSX, I added it to the hosts file as well, so I guess that's why i didn't get any dns errors, but its good to know it is not needed in the advancedsettings.xml then! thank you!


- [email protected] - 2008-12-29

apanloco Wrote:That "ping" can resolve "mythtv" doesn't mean XBMC can (or is it Plex in this case?). Anyway, I cannot help any further unless you get Wireshark working on your mac. Perhaps you could paste what you did in advancedsettings and someone can confirm you did it right.

Got the dump now Smile

The record started just before I went into the mythtv video folder, then I go into live tv, select a channel and try to view it. After 20 seconds or so, I stopped the logging (plex has hung, xbmc has the same behaviour)

Here is the log:

Logfile from Wireshark

Thank you for helping out!


- exiledx - 2008-12-31

How stable is the XBMC frontend? I remember seeing it a while back but I haven't checked on it since. It'd be a nice advancement, now especially since XBMC is ported to x86.


- Swifty - 2008-12-31

Can someone explain what functionality works via the myth:// method of connecting to mythtv?
Some screenies would help loads, as I need to make sure this is nice an easy for my girlfriend to use Smile

I'm in the process of trying to get my TT DVB S2-3600 to work under myth/linux (nightmare!) so can't test it myself yet..

Thanks!


This forum uses Lukasz Tkacz MyBB addons.