LiveTV from Myth
#1
Hi,

I have a new install of XBMC on linux. I use it as a frontend for mythtv with a backend that servers a mixture of XBMC and myth frontends. On the XBMC systems it takes 2-3 minutes to display a live tv stream from when the channel is selected, the same process takes ~30 seconds to display the stream on a myth frontend. The delay is simular if I am using vdpau or software to render the display. Can anyone offer some insight into this issue or better yet, is there some setting that can shorten this interval?

Thanks.

OS: Ubuntu 10.10
Processor: AMD 6000+
Motherboard: ASUS M3N78 w/ Nvidia GeForce 8300 onboard
Memory: 2GB w/ 512 MB allocated to onboard video
Nvidia driver v260.19.06
Kernel: 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 01:41:57 UTC 2010 i686 GNU/Linux
XBMC: 10.0 Dharma
Network: Wired 1000mb/s wired.

xbmc.log from the moment I select LiveTV until it is displayed.
17:29:59 T:3078236032 M:1136521216 NOTICE: DVDPlayer: Opening: myth://mythtv:[email protected]/channels/422.ts
17:29:59 T:3078236032 M:1136521216 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
17:29:59 T:1566550896 M:1136521216 NOTICE: Creating InputStream
17:32:40 T:1566550896 M:1136209920 NOTICE: Creating Demuxer
17:32:40 T:1566550896 M:1135828992 NOTICE: Opening video stream: 0 source: 256
17:32:40 T:1566550896 M:1135828992 NOTICE: Creating video codec with codec id: 2
17:32:40 T:1566550896 M:1135828992 NOTICE: CDVDVideoCodecFFmpeg::Open() Creating VDPAU(1280x720, 2)
17:32:40 T:1566550896 M:1135702016 NOTICE: vdp_device = 0x00000001 vdp_st = 0x00000000
17:32:40 T:1566550896 M:1135702016 NOTICE: VDPAU Decoder capabilities:
17:32:40 T:1566550896 M:1135702016 NOTICE: name level macbs width height
17:32:40 T:1566550896 M:1135702016 NOTICE: ------------------------------------
17:32:40 T:1566550896 M:1135702016 NOTICE: MPEG1 0 8192 2048 2048
17:32:40 T:1566550896 M:1135702016 NOTICE: MPEG2_SIMPLE 3 8192 2048 2048
17:32:40 T:1566550896 M:1135702016 NOTICE: MPEG2_MAIN 3 8192 2048 2048
17:32:40 T:1566550896 M:1135702016 NOTICE: H264_MAIN 41 8190 2032 2048
17:32:40 T:1566550896 M:1135702016 NOTICE: H264_HIGH 41 8190 2032 2048
17:32:40 T:1566550896 M:1135702016 NOTICE: VC1_SIMPLE 1 8190 2048 2048
17:32:40 T:1566550896 M:1135702016 NOTICE: VC1_MAIN 2 8190 2048 2048
17:32:40 T:1566550896 M:1135702016 NOTICE: VC1_ADVANCED 4 8190 2048 2048
17:32:40 T:1566550896 M:1135702016 NOTICE: ------------------------------------
17:32:40 T:1566550896 M:1135702016 NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_NOISE_REDUCTION
17:32:40 T:1566550896 M:1135702016 NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_SHARPNESS
17:32:40 T:1566550896 M:1135702016 NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL
17:32:40 T:1566550896 M:1135702016 NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL_SPATIAL
17:32:40 T:1566550896 M:1135702016 NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_INVERSE_TELECINE
17:32:40 T:1566550896 M:1135702016 NOTICE: Creating 1280x720 pixmap
17:32:40 T:1566550896 M:1133731840 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-1/2 video (VDPAU acceleration)
17:32:40 T:1566550896 M:1133731840 NOTICE: Creating video thread
17:32:40 T:1566550896 M:1133731840 NOTICE: Opening audio stream: 1 source: 256
17:32:40 T:1566550896 M:1133731840 NOTICE: Finding audio codec for: 86020
17:32:40 T:1566550896 M:1133731840 NOTICE: Creating audio thread
17:32:40 T:1657797488 M:1133731840 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
17:32:40 T:2745170800 M:1133731840 NOTICE: running thread: video_thread
17:32:40 T:1657797488 M:1133731840 NOTICE: Creating audio device with codec id: 86020, channels: 2, sample rate: 48000, no pass-through
17:32:40 T:2745170800 M:1131175936 NOTICE: (VDPAU) screenWidth:1280 vidWidth:1280
17:32:40 T:2745170800 M:1131175936 NOTICE: (VDPAU) screenHeight:720 vidHeight:720
17:32:40 T:2745170800 M:1112174592 NOTICE: (VDPAU) Total Output Surfaces Available: 4 of a max (tmp: 4 const: 4)
17:32:40 T:2745170800 M:1112174592 NOTICE: (VDPAU) Creating the video mixer
17:32:40 T:2745170800 M:1103269888 NOTICE: fps: 59.940060, pwidth: 1280, pheight: 720, dwidth: 1280, dheight: 720
17:32:40 T:2745170800 M:1103269888 WARNING: CRenderManager::Configure - timeout waiting for previous frame
17:32:40 T:2745170800 M:1103269888 NOTICE: Display resolution DESKTOP : 1920x1080 @ 50.00 - Full Screen (12)
17:32:42 T:3078236032 M:1097658368 NOTICE: Using GL_TEXTURE_2D
17:32:42 T:3078236032 M:1097658368 NOTICE: GL: Using VDPAU render method
17:32:42 T:3078236032 M:1097658368 NOTICE: GL: NPOT texture support detected
17:32:42 T:3078236032 M:1097658368 NOTICE: GL: Using GL_ARB_pixel_buffer_object
17:32:43 T:3078236032 M:1101836288 NOTICE: Created m_glPixmapTexture (33)
Reply
#2
did you manage to fix this yet?
Reply
#3
greenleaf856 Wrote:Hi,

I have a new install of XBMC on linux. I use it as a frontend for mythtv with a backend that servers a mixture of XBMC and myth frontends. On the XBMC systems it takes 2-3 minutes to display a live tv stream from when the channel is selected, the same process takes ~30 seconds to display the stream on a myth frontend. The delay is simular if I am using vdpau or software to render the display. Can anyone offer some insight into this issue or better yet, is there some setting that can shorten this interval?

m_glPixmapTexture (33)

What version of Myth are you running? With .23+fixes using the Mythbox addon it takes about 10 seconds to open a stream. That's both with a PVR-150 and HDHomerun ATSC...not a solution for you but just a comparison. I don't know if it's still available but there used to be a stream buffer setting in XBMC which impacted the load time. I have both Myth and XBMC are on the same box which could make a big difference.
Mythbuntu doesn't need viruses - we have Sudo
Reply
#4
I haven't fixed it yet. I had a guck look at my mythbackend.log and there were some errors about the recording (live tv) file couldn't be found locally. When I get a few minutes I will dig in deeper but it may be related to my backend being a remote backend only the mapping of directories. I'll post the solution when I figure it out.

Thanks.
Reply
#5
Hi guys,

I am in the same situation...
I have a HTPC with a dual core at 2.8G, 2GB [email protected] tuner card is a HVR1250.

I have installed MythTV 0.23+fixes and then completely removed a few times. I tried many variations but it is still the same, the live tv comes up after many seconds and if you try to change the channel, sometimes it takes more than a minute.
Any suggestions please?
Reply
#6
MythTV will buffer the Live TV before it plays. So the speed of your hard drives has more affect on this aspect than anything else. If not using a SATA drive be sure DMA is enabled with "hdparm". Weaker signal strength may cause it to take longer to lock onto a channel.

Not likely a "fix" for the problems but maybe something to help.
Reply
#7
i have the same issue...have just built a brand new box....which runs both mythfrontend 0.23 and xbmc

with mythfrontend i can watch live tv within a matter of seconds, whereas with xbmc it will take an eternity to load and may or may not work....the mythbox add-on is just as unresponsive.

so now i'm just switching between the both in the hope this will be sorted by future updates
Reply
#8
greenleaf856 Wrote:Hi,

I have a new install of XBMC on linux. I use it as a frontend for mythtv with a backend that servers a mixture of XBMC and myth frontends. On the XBMC systems it takes 2-3 minutes to display a live tv stream from when the channel is selected, the same process takes ~30 seconds to display the stream on a myth frontend. The delay is simular if I am using vdpau or software to render the display. Can anyone offer some insight into this issue or better yet, is there some setting that can shorten this interval?

Thanks.

OS: Ubuntu 10.10
Processor: AMD 6000+
Motherboard: ASUS M3N78 w/ Nvidia GeForce 8300 onboard
Memory: 2GB w/ 512 MB allocated to onboard video
Nvidia driver v260.19.06
Kernel: 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 01:41:57 UTC 2010 i686 GNU/Linux
XBMC: 10.0 Dharma
Network: Wired 1000mb/s wired.

xbmc.log from the moment I select LiveTV until it is displayed.
17:29:59 T:3078236032 M:1136521216 NOTICE: DVDPlayer: Opening: myth://mythtv:[email protected]/channels/422.ts
17:29:59 T:3078236032 M:1136521216 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
17:29:59 T:1566550896 M:1136521216 NOTICE: Creating InputStream
17:32:40 T:1566550896 M:1136209920 NOTICE: Creating Demuxer
17:32:40 T:1566550896 M:1135828992 NOTICE: Opening video stream: 0 source: 256
17:32:40 T:1566550896 M:1135828992 NOTICE: Creating video codec with codec id: 2
17:32:40 T:1566550896 M:1135828992 NOTICE: CDVDVideoCodecFFmpeg::Open() Creating VDPAU(1280x720, 2)
17:32:40 T:1566550896 M:1135702016 NOTICE: vdp_device = 0x00000001 vdp_st = 0x00000000
17:32:40 T:1566550896 M:1135702016 NOTICE: VDPAU Decoder capabilities:
17:32:40 T:1566550896 M:1135702016 NOTICE: name level macbs width height
17:32:40 T:1566550896 M:1135702016 NOTICE: ------------------------------------
17:32:40 T:1566550896 M:1135702016 NOTICE: MPEG1 0 8192 2048 2048
17:32:40 T:1566550896 M:1135702016 NOTICE: MPEG2_SIMPLE 3 8192 2048 2048
17:32:40 T:1566550896 M:1135702016 NOTICE: MPEG2_MAIN 3 8192 2048 2048
17:32:40 T:1566550896 M:1135702016 NOTICE: H264_MAIN 41 8190 2032 2048
17:32:40 T:1566550896 M:1135702016 NOTICE: H264_HIGH 41 8190 2032 2048
17:32:40 T:1566550896 M:1135702016 NOTICE: VC1_SIMPLE 1 8190 2048 2048
17:32:40 T:1566550896 M:1135702016 NOTICE: VC1_MAIN 2 8190 2048 2048
17:32:40 T:1566550896 M:1135702016 NOTICE: VC1_ADVANCED 4 8190 2048 2048
17:32:40 T:1566550896 M:1135702016 NOTICE: ------------------------------------
17:32:40 T:1566550896 M:1135702016 NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_NOISE_REDUCTION
17:32:40 T:1566550896 M:1135702016 NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_SHARPNESS
17:32:40 T:1566550896 M:1135702016 NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL
17:32:40 T:1566550896 M:1135702016 NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL_SPATIAL
17:32:40 T:1566550896 M:1135702016 NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_INVERSE_TELECINE
17:32:40 T:1566550896 M:1135702016 NOTICE: Creating 1280x720 pixmap
17:32:40 T:1566550896 M:1133731840 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-1/2 video (VDPAU acceleration)
17:32:40 T:1566550896 M:1133731840 NOTICE: Creating video thread
17:32:40 T:1566550896 M:1133731840 NOTICE: Opening audio stream: 1 source: 256
17:32:40 T:1566550896 M:1133731840 NOTICE: Finding audio codec for: 86020
17:32:40 T:1566550896 M:1133731840 NOTICE: Creating audio thread
17:32:40 T:1657797488 M:1133731840 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
17:32:40 T:2745170800 M:1133731840 NOTICE: running thread: video_thread
17:32:40 T:1657797488 M:1133731840 NOTICE: Creating audio device with codec id: 86020, channels: 2, sample rate: 48000, no pass-through
17:32:40 T:2745170800 M:1131175936 NOTICE: (VDPAU) screenWidth:1280 vidWidth:1280
17:32:40 T:2745170800 M:1131175936 NOTICE: (VDPAU) screenHeight:720 vidHeight:720
17:32:40 T:2745170800 M:1112174592 NOTICE: (VDPAU) Total Output Surfaces Available: 4 of a max (tmp: 4 const: 4)
17:32:40 T:2745170800 M:1112174592 NOTICE: (VDPAU) Creating the video mixer
17:32:40 T:2745170800 M:1103269888 NOTICE: fps: 59.940060, pwidth: 1280, pheight: 720, dwidth: 1280, dheight: 720
17:32:40 T:2745170800 M:1103269888 WARNING: CRenderManager::Configure - timeout waiting for previous frame
17:32:40 T:2745170800 M:1103269888 NOTICE: Display resolution DESKTOP : 1920x1080 @ 50.00 - Full Screen (12)
17:32:42 T:3078236032 M:1097658368 NOTICE: Using GL_TEXTURE_2D
17:32:42 T:3078236032 M:1097658368 NOTICE: GL: Using VDPAU render method
17:32:42 T:3078236032 M:1097658368 NOTICE: GL: NPOT texture support detected
17:32:42 T:3078236032 M:1097658368 NOTICE: GL: Using GL_ARB_pixel_buffer_object
17:32:43 T:3078236032 M:1101836288 NOTICE: Created m_glPixmapTexture (33)

30 seconds to start LiveTV using mythfrontend is a horrendously long time. I'd suggest seeing if there are any issues with your MythTV configuration as a start.

If you post a full XBMC debug log I'll have a look at it. LiveTV channel switching in XBMC has historically been quite a bit slower than mythfrontend. Hopefully we will be able to make some improvements as part of the PVR addon build.
Use MythTV for recording TV? Try the integrated MythTV support in XBMC Media Center. Now with commercial skip support built-in and integration with the Movie database!
Reply

Logout Mark Read Team Forum Stats Members Help
LiveTV from Myth0