2013-02-10, 18:44
Hi
I'm currently running xbmc and mythfrontend on the same computer in my living room. Mythfrontend can stream just fine from the backend, even though the backend is located at another place and is accessed over the internet. The connection between the two is 60mbit, both on fiber, latency averaging between 5-10ms. Everything is wired at their respective locations.
The problem I'm having is that the cmyth plugin constantly needs to buffer, which never was a problem with mythfrontend. After some debugging I can see that cmyth is reading anywhere from 700bytes to 32k a time, mostly in the lower part of that spectrum, which I belive is the problem. Is there an easy way to try to increase this?
I also get a lot of these, which I'm guessing is related.
If I didn't know it was possible to run mythtv over this link already I would've just guessed it was due to bandwith/latency, but since mythfrontend can handle it just fine, I'm hoping there's something I can do to get it working with xbmc.
My other suspicion is that cmyth is too close to the beginning of the ringbuffer and is therefor not getting new data, but pausing for a while and unpausing again doesn't seem to help for long, so I've kinda abandoned that idea.
Running latest version (49f2df82f3d7a6156cae2ba36e21deac93d0b677) of the plugin compiled from git earlier today, xbmc 12 on ubuntu 12.10. Backend is running Ubuntu 12.10, mythbackend 0.26.
I'm currently running xbmc and mythfrontend on the same computer in my living room. Mythfrontend can stream just fine from the backend, even though the backend is located at another place and is accessed over the internet. The connection between the two is 60mbit, both on fiber, latency averaging between 5-10ms. Everything is wired at their respective locations.
The problem I'm having is that the cmyth plugin constantly needs to buffer, which never was a problem with mythfrontend. After some debugging I can see that cmyth is reading anywhere from 700bytes to 32k a time, mostly in the lower part of that spectrum, which I belive is the problem. Is there an easy way to try to increase this?
I also get a lot of these, which I'm guessing is related.
Code:
13:02:44 T:2465442624 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
13:02:44 T:2414857024 WARNING: Previous line repeats 3 times.
13:02:44 T:2414857024 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
13:02:45 T:2465442624 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
If I didn't know it was possible to run mythtv over this link already I would've just guessed it was due to bandwith/latency, but since mythfrontend can handle it just fine, I'm hoping there's something I can do to get it working with xbmc.
My other suspicion is that cmyth is too close to the beginning of the ringbuffer and is therefor not getting new data, but pausing for a while and unpausing again doesn't seem to help for long, so I've kinda abandoned that idea.
Running latest version (49f2df82f3d7a6156cae2ba36e21deac93d0b677) of the plugin compiled from git earlier today, xbmc 12 on ubuntu 12.10. Backend is running Ubuntu 12.10, mythbackend 0.26.