Release CetonTV+HDHomeRun - Watch TV on XBMC (WIN/OSX) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151) +---- Thread: Release CetonTV+HDHomeRun - Watch TV on XBMC (WIN/OSX) (/showthread.php?tid=119865) |
- mcheng89 - 2012-02-18 uspino Wrote:... Can you try this url: http:// localhost:8555/play?tuner= <tuner number> &channel= <channel number> &transcode=1000 - LehighBri - 2012-02-18 mcheng89 Wrote:Can you try this url: http:// localhost:8555/play?tuner= <tuner number> &channel= <channel number> &transcode=1000 I get the following when I try that URL: {"channel":"503","msg":"Playing channel: 503","status":"error"} FYI.. my URL was: http://localhost:8555/play?tuner=4&channel=503&transcode=1000 - mcheng89 - 2012-02-18 LehighBri Wrote:I get the following when I try that URL: Did the console output anything about transcoding? EDIT: I reorganized some parts of the program, so the status is not showing up properly. Update to v1.6.1 - LehighBri - 2012-02-18 mcheng89 Wrote:Did the console output anything about transcoding? No - LehighBri - 2012-02-18 Hmm.... even if I just do... http://localhost:8555/play?tuner=4&channel=3 I get the following in the browser: {"channel":"3","msg":"Playing channel: 3","status":"error"} And in the console window says something like channel did not change. Thoughts? I'm using the latest 1.6.0 version. - mcheng89 - 2012-02-18 LehighBri Wrote:Hmm.... even if I just do... The channel is already at 3, so it did not change. Edit: Give me like 5 minutes. I'll put up a version with more output, so we can test. - LehighBri - 2012-02-18 mcheng89 Wrote:The channel is already at 3, so it did not change. FYI... I rebooted my PC and tried again. When I use the URL with &transcode=1000, I get the same message in the browser but I get the following in the output window: Tuner[4]: Changing channel number to 3 Tuner[4]: Program number is 1003 Tuner[4]: Channel name is KYW Tuner[4]: rtsp://192.168.200.1:8554/cetonmpeg3 Tuner[4]: Starting video stream VLC[4]: Starting VLC instance with remoteVLC plugin VLC[4]: Streaming to http://localhost:8559 VLC[4]: Setting stream program id using remoteVLC VLC[4]: Starting VLC transcode stream at 1000kbps VLC[4]: Streaming to http://localhost:8563 - mcheng89 - 2012-02-18 LehighBri Wrote:FYI... I rebooted my PC and tried again. When I use the URL with &transcode=1000, I get the same message in the browser but I get the following in the output window: Looks like its working... not sure why it wasnt before. The status is incorrect since I messed up when I rewrote that part. I put a new version v1.6.1 with the fix. Can you try it with XBMC now? - LehighBri - 2012-02-18 mcheng89 Wrote:Looks like its working... not sure why it wasnt before. I just tried 1.6.1. When I try in XBMC with transcoding on, I do not see anything in the output window about transcoding and I get the same XBMC error as before. In 1.6.1, if I try the URL: http://localhost:8555/play?tuner=4&channel=503&transcode=1000 I see in the browser: {"channel":"503","msg":"Playing channel: 503","status":"success"} And in the output window Tuner[4]: Changing channel number to 503 Tuner[4]: Program number is 1143 Tuner[4]: Channel name is KYW-HD VLC[4]: Setting stream program id using remoteVLC VLC[4]: Starting VLC transcode stream at 1000kbps VLC[4]: Streaming to http://localhost:8563 Scheduler: Checking for tasks to run Any reason why it's still throwing an error in XBMC? PS... when I use direct stream in XBMC it works great. - mcheng89 - 2012-02-18 LehighBri Wrote:I just tried 1.6.1. When I try in XBMC with transcoding on, I do not see anything in the output window about transcoding and I get the same XBMC error as before. It is transcoding: Quote:VLC[4]: Starting VLC transcode stream at 1000kbpsCan you check the cpu usage? Try these steps: Run: http://localhost:8555/play?tuner=4&channel=503&transcode=1000 In VLC try playing this stream: http://localhost:8563 Does that work? Is there any firewall settings you have to set up? Transcoding uses ports 8559-8563, one port for each tuner. - LehighBri - 2012-02-18 mcheng89 Wrote:Try these steps: Yes that works! Still doesn't work in XBMC though... - mcheng89 - 2012-02-18 LehighBri Wrote:Yes that works! Still doesn't work in XBMC though... Ok, so it looks like its something wrong with the XBMC plugin. Thanks for the help in narrowing that down! I'm going to take a look at the code. I'll keep you posted. EDIT: When XBMC runs does it show up does the console window output this line? Quote:VLC[4]: Starting VLC transcode stream at ... - LehighBri - 2012-02-18 mcheng89 Wrote:Ok, so it looks like its something wrong with the XBMC plugin. No - mcheng89 - 2012-02-18 LehighBri Wrote:No Added more messages to the XBMC plugin: http://www.mediafire.com/?h235a3vj8yt23te If you can, can you run this plugin and look at the xbmc log Can you paste the lines that look like this Quote:21:28:12 T:6732 NOTICE: QUALITY SETTING: 4 - LehighBri - 2012-02-18 mcheng89 Wrote:Added more messages to the XBMC plugin: With Direct Stream, I see the following in xbmc.log: 22:07:40 T:5692 NOTICE: QUALITY SETTING: 0 22:07:40 T:5692 NOTICE: QUALITY MAPPED VALUE: 0 22:07:40 T:5692 NOTICE: GET STREAM URL: http://192.168.1.8:8555/getStreamUrl?tuner=4&transcode=0 22:07:40 T:5692 NOTICE: REMOTE CETON STREAM URL: http://192.168.1.8:8559/ 22:07:42 T:7284 NOTICE: DVDPlayer: Opening: http://192.168.1.8:8559/ With 1.25mbps, I see the following: 22:09:30 T:6748 NOTICE: QUALITY SETTING: 4 22:09:30 T:6748 NOTICE: QUALITY MAPPED VALUE: 1250 22:09:30 T:6748 NOTICE: GET STREAM URL: http://192.168.1.8:8555/getStreamUrl?tuner=4&transcode=1250 22:09:30 T:6748 NOTICE: REMOTE CETON STREAM URL: http://192.168.1.8:8563/ 22:09:31 T:7284 NOTICE: DVDPlayer: Opening: http://192.168.1.8:8563/ 22:09:31 T:7284 WARNING: CDVDMessageQueue(player):ut MSGQ_NOT_INITIALIZED 22:09:31 T:5712 NOTICE: Creating InputStream 22:09:41 T:5712 WARNING: XFILE::CFileCurl::CReadState::FillBuffer: curl failed with code 28 22:09:41 T:5712 ERROR: CFileCurl::CReadState::Open, didn't get any data from stream. 22:09:41 T:5712 ERROR: XFILE::CFileCache::Open - failed to open source <http://192.168.1.8:8563/> 22:09:41 T:5712 ERROR: CDVDPlayer::OpenInputStream - error opening [http://192.168.1.8:8563/] 22:09:41 T:5712 NOTICE: CDVDPlayer::OnExit() 22:09:41 T:5712 NOTICE: CDVDPlayer::OnExit() deleting input stream 22:09:41 T:7284 ERROR: Playlist Player: skipping unplayable item: 0, path [http://192.168.1.8:8563/] 22:09:41 T:7284 NOTICE: CDVDPlayer::CloseFile() And then I get the "One or more items failed to play. Check the log file for details." |