PVR.Demo with HDHomerun strm - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136) +---- Thread: PVR.Demo with HDHomerun strm (/showthread.php?tid=140475) Pages:
1
2
|
PVR.Demo with HDHomerun strm - angrycamel - 2012-09-14 I'm doing some simple tests with the PVR.Demo Addon trying to get it to play an HDHomerun stream for a channel. I figured I would start with this addon since it already had the stream element in the PVRDemoAddonSettings.xml file for each channel. Unfortunately it's not playing the stream. Here is how it is setup with some log comparisons. Any ideas about why the hdhomerun stream behaves differently when played from the PVR environment than it does from the XBMC file browser are welcome. PHP Code: <channel> The following log shows the strm file playing just fine when loaded from the XBMC file browser. Code: 23:54:07 T:5348 NOTICE: DVDPlayer: Opening: hdhomerun://1314D5C5-0/tuner0?channel=auto:50&program=727 The following log shows what happens when playing the stream from the PVR interface. Playing a stream from here always results in "buffer size too small, will most likely fail" even with the buffer size in the advanced settings xml turned up high. Code: 23:01:45 T:3528 NOTICE: DVDPlayer: Opening: pvr://channels/tv/All TV channels/0.pvr RE: PVR.Demo with HDHomerun strm - angrycamel - 2012-09-16 I found a couple threads talking about playing media from the PVR.Demo addon's streamurl element in the settings xml file: http://forum.xbmc.org/showthread.php?tid=123779 (2012-02-24, 02:32)dushmaniac Wrote: right, now I know. there's no stream path set in the default demo settings. http://forum.xbmc.org/showthread.php?tid=125069 (2012-03-17, 12:57)dushmaniac Wrote: yes, you can change the xml to use any internet stream or video file you like. I believe that the "hdhomerun://" url form is compatible with the VFS as a *.strm file can be played from the file browser with the url within it. To test I tried using a file path to the *.strm file instead of using the hdhomerun url but that too failed. Here is a log excerpt for the attempt: Code: 20:44:21 T:9388 NOTICE: Creating InputStream Any thoughts on why it behaves different from the PVR environment? Shouldn't it just play like normal? RE: PVR.Demo with HDHomerun strm - angrycamel - 2012-09-18 Bump - 261 views and no replies. Am I misunderstanding something about the PVR system? Am I off base completely in what I'm trying to do? RE: PVR.Demo with HDHomerun strm - opdenkamp - 2012-09-19 no you're not, but nobody has investigated this (yet) or come up with a fix. it should have worked, but i only created that add-on to provide a demo environment for people without pvr hardware. it's never been tested much with these kinds of streams. RE: PVR.Demo with HDHomerun strm - angrycamel - 2012-09-19 Thanks for the feedback and I understand that this was just as a skeleton. If nothing else, I hope that the information here can help lead to a workaround or a fix wherever the problem may be. It appears to me to be a difference in what is trying to be opened by Ffmpeg. See the log clip below from the file browser opening the stream vs the one below that with PVR opening it. Is pvr://channels/tv/All TV channels/0.pvr expected to map to directly to hdhomerun://1314D5C5-0/tuner0?channel=auto:50&program=727 ? The URL passed to Ffmpeg when launched from PVR is pvr://channels/tv/All TV channels/0.pvr However when launched from the file browser it gets the correct URL sent as hdhomerun://1314D5C5-0/tuner0?channel=auto:50&program=727 You can see that Ffmpeg fails to get the start and bitrate values when the *.pvr URL is passed but not when the correct hdhomerun URL is passed. From the file browser: Code: 23:54:12 T:2708 INFO: ffmpeg[A94]: Input #0, mpegts, from 'hdhomerun://1314D5C5-0/tuner0?channel=auto:50&program=727': From the demo.pvr Code: 23:01:56 T:10344 INFO: ffmpeg[2868]: Input #0, mpegts, from 'pvr://channels/tv/All TV channels/0.pvr': RE: PVR.Demo with HDHomerun strm - opdenkamp - 2012-09-19 that url is translated into the real url in cdvdinputstreampvrmanager RE: PVR.Demo with HDHomerun strm - angrycamel - 2012-09-19 I'll poke around in there tonight to see if there is anything obvious. Thanks! RE: PVR.Demo with HDHomerun strm - CrimsonGT - 2013-04-11 I hate to bump an old thread but I am curious if any solutions were ever found to this issue? I am using the IPTV Simple PVR client, based on the Demo PVR code and it is working beautifully. However, my new HDHomeRun just showed up and after setting up all of the HDHR streams, they fail to load with the same error message mentioned above... WARNING: CHomeRunFile::Read - buffer size too small, will most likely fail I would love to get this sorted so any help would be fantastic! RE: PVR.Demo with HDHomerun strm - Ned Scott - 2013-04-12 Even better would be if we could get this to work with the UPnP beta firmware for the HDHomeRun Prime. That baby doesn't even need STRM files to work in XBMC :D Re: PVR.Demo with HDHomerun strm - bry - 2013-04-13 That feature actually quit working for me with 12.1. Haven't had time to test further. Hopefully be able to investigate soon. (my life story) RE: PVR.Demo with HDHomerun strm - Ned Scott - 2013-04-13 (2013-04-13, 02:30)bry- Wrote: That feature actually quit working for me with 12.1. Haven't had time to test further. Hopefully be able to investigate soon. (my life story) Known issue, and devs are looking into it. Hopefully we'll have a fix in time for v12.2 release (cross fingers). Re: RE: PVR.Demo with HDHomerun strm - bry - 2013-04-13 (2013-04-13, 04:59)Ned Scott Wrote:(2013-04-13, 02:30)bry- Wrote: That feature actually quit working for me with 12.1. Haven't had time to test further. Hopefully be able to investigate soon. (my life story) I happened to stumble upon the info on the silicon dust site this evening. Thanks for the heads up RE: PVR.Demo with HDHomerun strm - CrimsonGT - 2013-04-17 (2013-04-13, 04:59)Ned Scott Wrote:(2013-04-13, 02:30)bry- Wrote: That feature actually quit working for me with 12.1. Haven't had time to test further. Hopefully be able to investigate soon. (my life story) Does that include the issue that me and the OP have or is this a different issue? RE: PVR.Demo with HDHomerun strm - Ned Scott - 2013-04-17 (2013-04-17, 13:05)CrimsonGT Wrote:(2013-04-13, 04:59)Ned Scott Wrote:(2013-04-13, 02:30)bry- Wrote: That feature actually quit working for me with 12.1. Haven't had time to test further. Hopefully be able to investigate soon. (my life story) Doubtful :( RE: PVR.Demo with HDHomerun strm - Maniac - 2014-05-14 Sorry to bring this up, but has this ever been addressed? I also use the Simple-IPTV pvr addon and some channels provide .strm urls that do not start via the pvr\livetv. Those same urls work just fine via favourites or as an added source. So they do work in XBMC but not in the pvr section. Why is that? I ran this also via debug, and noticed that it is trying to create a demuxer on "pvr://channels/tv/All TV channels/1.pvr" and not the main stream-url behind it. That's when it fails. |