RE: [dev] CetonTV - Watch TV on XBMC - mcheng89 - 2012-08-07 05:06
v2.2.2 - http://www.mediafire.com/?wq6l4m146gbdb4g
(2012-07-09 06:45)DanTheMan827 Wrote: I have a problem where VLC crashes and I have to manually open VLC and dismiss the crash report popup, you can add this to the vlc command line to disable that (apparently)
--no-crashdump
done...
(2012-07-13 00:42)druidcent Wrote: Hi there,
Noob here trying to setup an HTPC for the first time 
I've got a Ceton InfitiTV4 PCIe card, and I'm trying to get this working in XBMC (duh.. that's why I'm posting in this thread )
I've followed all the installation instructions, but in XBMC, I get an error when I try and run CetonTV:
"Error: connect() returned error 10061, Please check to make sure your server is running"
The server is running in the background, but I don't see anything in the console to indicate that it received a command, or it is trying to initiate any sort of process.
I'm trying this out on Win8 Release Preview, and I haven't been able to install the Media Center (using the add features method throws an error )
I'd love to get this working, so any suggestions on what I should do would be appreciated.
Can you try the web interface to see if that works? http://<server ip>:8555/m/
(2012-07-13 18:31)bandook Wrote: Quick question. I currently have my ceton pcie tuner installed in my windows home server 2011 box. I serve all media, and my tuners from here to our main TV. I tried the install of ceton add ons with xbmc, but can't get it working. I can successfully tune a channel (based on ceton logs) but can not get any video stream to play back. I get errors in VLC player when I go the http route. Can't get anything in xbmc. Can't even get the epg data to show up. Wondering, would I first have to uninstall the ceton mce drivers on the Server and delete the network bridge? Or can I use this at the same time I have everything set up to work with MCE? Is the network bridge necessary, or not?
edit: I guess what I'm wondering is: does the tuner card lock any config in its rom, or is it only dependent on driver instructions? I wonder if it is refusing requests from xbmc because it is locked to the media center install.
It should work with MCE (at least mine does).
Lets start with the epg data. Do you have a resources/epgdata.db file and how big is it if you do?
If you try the web interface http://<server ip>:8555/m/ do you see any epg data?
I think someone else was having issues with epg when they had security enabled with xbmc.
I just want to make sure this if this is an issue with the xbmc plugin and not something else.
(2012-07-15 02:54)bensonmosa Wrote: Need help in figuring out why I can't get "Channel Guide" to work, I keep seeing "No Channel Info", but TV is working. I am using "CetonTV v2.1.8" and "vlc-2.0.0-win32" and "xbmc-11.0."
Thanks!
Copied from above. "Do you have a resources/epgdata.db file and how big is it if you do?
If you try the web interface http://<server ip>:8555/m/ do you see any epg data?"
(2012-07-17 00:07)shpitz461 Wrote: Just updated to 2.2.1 from 2.1.8 and noticed the version was not bumped up in 2.2.1, still showing 2.1.8 .
Just installed JellyBean on my Xoom, going to test it out and report back.
I've never gotten the logos to show in the web interface, I'll revisit this issue when i have time.
Great work mcheng89!
yea, the web interface hasnt been touched since 2.1.8, so I havent bothered to update it 
(2012-07-19 01:48)gman3042 Wrote: mcheng: if it helps with teh PVR client, here is a typical log when it freezes after about 5 or so minutes (for about 2-3 seconds):
http://pastebin.com/5BG8bRLY
I'm not sure... I think I'm gonna add direct streaming to the web interface. That way we can narrow down whether the issue is just with XBMC or the server stops streaming.
(2012-07-25 21:01)Jtl6060 Wrote: Amazing idea and creation! Had a bit of a problem getting it to work and didn't see it brought up in the forums so I thought I would share. Maybe someone else has the same issue.
Was able to get everything installed and ports all forwarded. Couldn't get vlc to open stream. Found that default setting pointed server to "program files". VLC had installed into my "x86 program files". Changed pointer to appropriate file and still not working. Noticed VLC.exe file didn't have ".exe" after the executable VLC file. Once I added that .exe to it, poof it worked! Not sure if this is just an isolated incident or this was expected and just didn't see it in the forums.
Thanks for your hard work and will look forward to future updates.
glad its working for you 
(2012-08-01 07:36)etobler Wrote: Thank you mcheng89 for all your hard work. I'm new to WMC and XBMC and I am trying to find a slingbox alternative. I found this thread with much excitement but have had little luck getting this to work with my Ceton PCI card.
After following the instructions in the INSTALL.txt file, I went to this address:
http://localhost:8555/play?channel=1007&tuner=4&require=false&redirect=true
And got this result from the server:
http://pastebin.com/dwaLKKKR
Can you pm me your resources/channelmap.csv file?
Code:
[7.31.2012.22:28:20]: Tuner[4]: Changing channel number to 1007
[7.31.2012.22:28:20]: Tuner[4]: Program number is 0
I'm not sure if 0 is a valid program number
(2012-08-03 05:29)mpruett Wrote: Hi I have been trying to get this setup for the past couple of days, and have been running into some trouble. When i attempt to go to the web interface, (on the machine that cetontv is running):
http://localhost:8555/play?channel=06&tuner=3&require=false
I get the following error:
{"msg":"Could not play channel: 6","status":"error"}
and this is what is displayed in the CLI cetontv is running in:
http://pastebin.com/F5cspUbC
I believe the issue has to do with my channelmap.csv file being completely empty (0kb, no entries what so ever when viewing in excel). it seems as though cetontv is not able to make a valid channel map with the xmltv file and the scan.txt file. in the resource directory it seems like i have all the files necessary for it to do this: channelmap.csv, epgdata.db, mc2xml.day, mc2xml.exe, scan.txt, xmltv.xml.
here is my scan.txt:
http://pastebin.com/We0UmSqR
and xmltv.xml file seems to be correct for my provider.
thoughts, suggestions, recommendations
if you need any more logs or info please let me know, I am very interested to get this working, I have 3 atv2 and cetontv seems to be the best bet to get live hd tv going on them due to your transcoding options.
not sure yet...
RE: [dev] CetonTV - Watch TV on XBMC - mpruett - 2012-08-07 22:51
It appears (to me at least )my provider does not send out the any psip info so the scan.txt does not have any channel numbers:
psip info:
STT (system time table)¹ - current time, transmitted at least once per second, with an accuracy of new time values within 1 second or better
MGT (master guide table)¹ - data pointers to other PSIP tables
TVCT (terrestrial virtual channel table)¹ - defines each virtual channel and enables EITs to be associated with the channel
CVCT (cable virtual channel table) - assigns numbers to each virtual channel and enables EITs to be associated with the channel
RRT (rating region table) - content ratings for each country (region) covered by the station, save the U.S., as that region is loaded into TV sets already
EIT (event information table)¹ - titles and program guide data
ETT (extended text table) - detailed descriptions of channels (Channel Extended Text Table or CETT) and aired events (Event Extended Text Table or EETT)
DCCT (directed channel change table) - see below
DCCSCT (directed channel change selection code table) - provides for the ability to update states, counties and program genres used in DCCT tables
no way for it to match any of the channel numbers with what is in the scan.txt, i dont think this is an issue with your coding more of a problem with my provider??
however my next thought is what if i create my own channelmap.csv file, I think it would take some trial and error but i think i could pull the frequencies out of the scan.txt and match them up with the networks as long as i could see the tv (it would take some time and trial and error) but at least then i could start on the next step getting this working on my atv2's. could i see an example of a channelmap.csv file??
RE: [dev] CetonTV - Watch TV on XBMC - mcheng89 - 2012-08-07 23:51
(2012-08-07 22:51)mpruett Wrote: It appears (to me at least )my provider does not send out the any psip info so the scan.txt does not have any channel numbers:
psip info:
STT (system time table)¹ - current time, transmitted at least once per second, with an accuracy of new time values within 1 second or better
MGT (master guide table)¹ - data pointers to other PSIP tables
TVCT (terrestrial virtual channel table)¹ - defines each virtual channel and enables EITs to be associated with the channel
CVCT (cable virtual channel table) - assigns numbers to each virtual channel and enables EITs to be associated with the channel
RRT (rating region table) - content ratings for each country (region) covered by the station, save the U.S., as that region is loaded into TV sets already
EIT (event information table)¹ - titles and program guide data
ETT (extended text table) - detailed descriptions of channels (Channel Extended Text Table or CETT) and aired events (Event Extended Text Table or EETT)
DCCT (directed channel change table) - see below
DCCSCT (directed channel change selection code table) - provides for the ability to update states, counties and program genres used in DCCT tables
no way for it to match any of the channel numbers with what is in the scan.txt, i dont think this is an issue with your coding more of a problem with my provider??
however my next thought is what if i create my own channelmap.csv file, I think it would take some trial and error but i think i could pull the frequencies out of the scan.txt and match them up with the networks as long as i could see the tv (it would take some time and trial and error) but at least then i could start on the next step getting this working on my atv2's. could i see an example of a channelmap.csv file??
i think its a csv file with this format (will have to double check):
channel #,channel name,program,frequency
RE: [dev] CetonTV - Watch TV on XBMC - mpruett - 2012-08-08 00:53
I tired to create the channelmap.csv file, still does not seem to be working (just added one test channel) would really love to see an actual example of the file because unfortunately mine is just blank , if anyone that is reading this could either pm me a copy of theirs or post a link showing what it looks like that would be very helpful
RE: [dev] CetonTV - Watch TV on XBMC - gman3042 - 2012-08-08 01:52
(2012-08-07 05:06)mcheng89 Wrote: I'm not sure... I think I'm gonna add direct streaming to the web interface. That way we can narrow down whether the issue is just with XBMC or the server stops streaming.
that would be great.. then i can test and let you know..
mpruett: here is my channelmap.csv...
http://pastebin.com/9ah4TJF0
RE: [dev] CetonTV - Watch TV on XBMC - mcheng89 - 2012-08-08 04:29
(2012-08-08 01:52)gman3042 Wrote: (2012-08-07 05:06)mcheng89 Wrote: I'm not sure... I think I'm gonna add direct streaming to the web interface. That way we can narrow down whether the issue is just with XBMC or the server stops streaming.
that would be great.. then i can test and let you know..
mpruett: here is my channelmap.csv...
http://pastebin.com/9ah4TJF0
v2.2.3 - added direct streaming for web interface
http://www.mediafire.com/?etgxg2xw0yjmddv
RE: [dev] CetonTV - Watch TV on XBMC - gman3042 - 2012-08-08 04:44
ok.. just ran that for a little bit.. basically running the same way xbmc runs.. it will be good for 10-15 minutes and then pixelate.. or it could go 2-3 minutes and then pixelate.. so it looks like its an issue with the server.
i cant reiterate how perfect transcoding is tho for the slingbox esque stuff.. but.. direct stream still pixelates more than transcoding..
RE: [dev] CetonTV - Watch TV on XBMC - angrycamel - 2012-08-08 05:27
Using HD Homerun Prime, VLC version vlc-2.0.2-win32, CetonTV v2.2.3
I'm getting an error when starting script.cetontv in XBMC. RemoteCeton starts fine and indicates that it can see the plugin startup and then I see it respond with the stream, but all I get is an error. The xbmc log seems to imply its not getting anything from the stream.
EDIT 2:
I am getting a similar error in the latest windows Eden PVR build using the Ceton PVR addon. I must have something broken in the back for it to effect both the same way. Any help is appreciated. Thanks!
Code:
script.cetontv-EPGWindow: Media Path is C:\Users\Rob\AppData\Roaming\XBMC\addons\script.cetontv\resources\skins\default\media/
23:21:26 T:5448 NOTICE: Media Path is C:\Users\Rob\AppData\Roaming\XBMC\addons\script.cetontv\resources\skins\default\media/
23:21:26 T:5448 NOTICE: SECURITY ENABLED: true
23:21:26 T:5448 NOTICE: SETTING SECURITY INFO
23:21:26 T:5292 DEBUG: ------ Window Deinit (DialogProgress.xml) ------
23:21:26 T:5448 NOTICE: RESOLUTION SETTING: 1
23:21:26 T:5448 NOTICE: RESOLUTION MAPPED VALUE: 240
23:21:26 T:5448 NOTICE: QUALITY SETTING: 0
23:21:26 T:5448 NOTICE: QUALITY MAPPED VALUE: 100
23:21:26 T:5448 NOTICE: GET STREAM URL: http://127.0.0.1:8555/getStreamUrl?tuner=1&transcodeBitrate=100&transcodeResolution=240
23:21:26 T:5448 NOTICE: REMOTE CETON STREAM URL: http://127.0.0.1:8556/
23:21:26 T:5448 NOTICE: SETTING SECURITY INFO
23:21:26 T:5448 DEBUG: script.cetontv-TVOverlay: setChannel 5
23:21:26 T:5448 NOTICE: SETTING SECURITY INFO
23:21:27 T:5292 INFO: XCURL::DllLibCurlGlobal::easy_aquire - Created session to http://127.0.0.1
23:21:27 T:5292 DEBUG: CFileCurl::GetMimeType - http://127.0.0.1:8556/ -> video/MP2T
23:21:27 T:5292 DEBUG: CPlayerCoreFactory::GetPlayers(http://127.0.0.1:8556/)
23:21:27 T:5292 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
23:21:27 T:5292 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
23:21:27 T:5292 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
23:21:27 T:5292 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: streams
23:21:27 T:5292 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: flv/aacp/sdp
23:21:27 T:1256 DEBUG: Thread CDVDPlayer start, auto delete: 0
23:21:27 T:1256 NOTICE: Creating InputStream
23:21:27 T:1256 DEBUG: CFileCache::Open - opening <> using cache
23:21:27 T:1256 DEBUG: FileCurl::Open(08DE9B68) http://127.0.0.1:8556/
23:21:27 T:5292 DEBUG: ------ Window Init (DialogBusy.xml) ------
23:21:28 T:5292 DEBUG: CWinEventsWin32::WndProcWindow is active
23:21:28 T:5292 DEBUG: CWinEventsWin32::WndProc: Focus switched to process C:\Program Files\CetonTV\remoteCeton\remoteCeton.exe
23:21:33 T:5292 DEBUG: ------ Window Deinit (Pointer.xml) ------
23:21:37 T:1256 NOTICE: Creating Demuxer
23:21:37 T:5308 DEBUG: Thread XFILE::CFileCache start, auto delete: 0
23:21:37 T:5308 INFO: CFileCache::Process - Hit eof.
23:21:37 T:1256 ERROR: CDVDDemuxFFmpeg::Open - error probing input format, http://127.0.0.1:8556/
23:21:37 T:1256 ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
23:21:37 T:1256 NOTICE: CDVDPlayer::OnExit()
23:21:37 T:1256 NOTICE: CDVDPlayer::OnExit() deleting input stream
23:21:37 T:5308 DEBUG: Thread XFILE::CFileCache 5308 terminating
23:21:37 T:1256 DEBUG: Thread CDVDPlayer 1256 terminating
23:21:37 T:5292 DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
23:21:37 T:5292 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
23:21:37 T:5292 ERROR: Playlist Player: skipping unplayable item: 0, path [http://127.0.0.1:8556/]
23:21:37 T:5292 DEBUG: Playlist Player: no more playable items... aborting playback
23:21:37 T:5292 NOTICE: CDVDPlayer::CloseFile()
23:21:37 T:5292 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
23:21:37 T:5292 NOTICE: DVDPlayer: waiting for threads to exit
23:21:37 T:5292 NOTICE: DVDPlayer: finished waiting
23:21:37 T:5292 DEBUG: CFileCurl::GetMimeType - http://127.0.0.1:8556/ -> video/MP2T
23:21:37 T:5292 DEBUG: CPlayerCoreFactory::GetPlayers(http://127.0.0.1:8556/)
23:21:37 T:5348 DEBUG: Thread CDVDPlayer start, auto delete: 0
23:21:37 T:5348 NOTICE: Creating InputStream
23:21:37 T:5348 DEBUG: CFileCache::Open - opening <> using cache
23:21:37 T:5348 DEBUG: FileCurl::Open(08DE96D8) http://127.0.0.1:8556/
23:21:37 T:5292 DEBUG: ------ Window Init (DialogBusy.xml) ------
23:21:40 T:5292 INFO: XCURL::DllLibCurlGlobal::CheckIdle - Closing session to http://feeds.feedburner.com (easy=02F49D48, multi=01488520)
23:21:47 T:5348 NOTICE: Creating Demuxer
23:21:47 T:4204 DEBUG: Thread XFILE::CFileCache start, auto delete: 0
23:21:47 T:4204 INFO: CFileCache::Process - Hit eof.
23:21:47 T:5348 ERROR: CDVDDemuxFFmpeg::Open - error probing input format, http://127.0.0.1:8556/
23:21:47 T:5348 ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
23:21:47 T:5348 NOTICE: CDVDPlayer::OnExit()
23:21:47 T:5348 NOTICE: CDVDPlayer::OnExit() deleting input stream
23:21:47 T:4204 DEBUG: Thread XFILE::CFileCache 4204 terminating
23:21:47 T:5348 DEBUG: Thread CDVDPlayer 5348 terminating
23:21:47 T:5292 DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
23:21:47 T:5292 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
23:21:47 T:5292 ERROR: Playlist Player: skipping unplayable item: 0, path [http://127.0.0.1:8556/]
23:21:47 T:5292 DEBUG: Playlist Player: one or more items failed to play... aborting playback
23:21:47 T:5292 INFO: Loading skin file: DialogOK.xml
I have tried direct stream and transcoding to smallest.
EDIT:
Added the remoteCeton log below.
Code:
[8.7.2012.23:36:40]: ===================================================
[8.7.2012.23:36:40]: Initializing : remoteCeton v2.2.2 | mcheng827@gmail
[8.7.2012.23:36:40]: ===================================================
[8.7.2012.23:36:40]: Found Device: HDHomeRun Prime Tuner 1314D5C5 DRI
[8.7.2012.23:36:40]: ===================================================
[8.7.2012.23:36:40]: Ceton: Loaded channel map from file
[8.7.2012.23:36:40]: ===================================================
[8.7.2012.23:36:40]: Tuner[1]: Loading tuner from device
[8.7.2012.23:36:40]: Tuner[1]: HDHomeRun Prime Tuner 1314D5C5-0
[8.7.2012.23:36:40]: Tuner[2]: Loading tuner from device
[8.7.2012.23:36:40]: Tuner[2]: HDHomeRun Prime Tuner 1314D5C5-1
[8.7.2012.23:36:40]: Tuner[3]: Loading tuner from device
[8.7.2012.23:36:40]: Tuner[3]: HDHomeRun Prime Tuner 1314D5C5-2
[8.7.2012.23:36:40]: ===================================================
[8.7.2012.23:36:40]: Server: Starting up scheduler thread
[8.7.2012.23:36:40]: Server: Starting up listener thread
[8.7.2012.23:36:40]: Scheduler: Sleeping 15800 seconds until next task
[8.7.2012.23:36:40]: Server: Press enter to shutdown...
[8.7.2012.23:36:40]: ===================================================
[8.7.2012.23:36:54]: Server: Client requested stream url for Tuner[1]
[8.7.2012.23:36:54]: Server: Client requested channel map data
[8.7.2012.23:36:54]: Tuner[1]: Changing channel number to 512
[8.7.2012.23:36:54]: "C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.ex
e" FFFFFFFF set /tuner0/channel auto:507000000
[8.7.2012.23:36:54]: "C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.ex
e" FFFFFFFF set /tuner0/program 1512
[8.7.2012.23:36:54]: Tuner[1]: Program number is 1512
[8.7.2012.23:36:54]: Tuner[1]: Channel name is WWBT DT
[8.7.2012.23:36:54]: Tuner[1]: hdhomerun://192.168.1.9/0
[8.7.2012.23:36:54]: Tuner[1]: Starting video stream
[8.7.2012.23:36:54]: VLC[1]: Starting VLC instance with remoteVLC plugin
[8.7.2012.23:36:54]: VLC[1]: Transcode settings [type=ts,vb=100,res=240]
[8.7.2012.23:36:54]: VLC[1]: Streaming to http://localhost:8556
[8.7.2012.23:36:54]: Scheduler: Sleeping 90 seconds until next task
[8.7.2012.23:38:24]: Scheduler: Checking for tasks to run
[8.7.2012.23:38:24]: Scheduler: Sleeping 90 seconds until next task
[8.7.2012.23:39:54]: Scheduler: Checking for tasks to run
[8.7.2012.23:39:54]: Scheduler: No clients streaming on Tuner[1]
[8.7.2012.23:39:54]: Scheduler: Tuner is inactive. Shutting down stream
[8.7.2012.23:39:54]: VLC[1]: Closing VLC instance
[8.7.2012.23:39:54]: Tuner[1]: Stopping video stream
[8.7.2012.23:39:54]: Scheduler: Sleeping 15606 seconds until next task
RE: [dev] CetonTV - Watch TV on XBMC - mpruett - 2012-08-08 08:00
mcheng thanks for the post of the channel map, that helped quite a bit, got epg working on my test channel at least, but still having some issues getting video and have a few questions:
here is the frequency i used for my test channels:
SCANNING: 639000000 (us-irc:93, us-cable:93)
LOCK: qam256 (ss=90 snq=100 seq=100)
TSID: 0x0045
PROGRAM 6: 0 (encrypted)
PROGRAM 7: 0
PROGRAM 12: 0
here is my custom channelmap.csv:
12,abc,0,639000000
13,nbc,0,639000000
14,hbo,0,639000000
i open this network stream in vlc:
http://localhost:8555/play?channel=12&tuner=2
this is what is displayed in the CLI:
[8.8.2012.0:50:36]: Tuner[2]: Changing channel number to 12
[8.8.2012.0:50:36]: "C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe
" FFFFFFFF set /tuner1/channel auto:639000000
[8.8.2012.0:50:36]: "C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe
" FFFFFFFF set /tuner1/program 0
[8.8.2012.0:50:36]: Tuner[2]: Program number is 0
[8.8.2012.0:50:36]: Tuner[2]: Channel name is abc
[8.8.2012.0:50:36]: Tuner[2]: hdhomerun://192.168.0.10/1
[8.8.2012.0:50:36]: Tuner[2]: Starting video stream
[8.8.2012.0:50:36]: VLC[2]: Starting VLC instance with remoteVLC plugin
[8.8.2012.0:50:36]: VLC[2]: Streaming to http://localhost:8557
[8.8.2012.0:50:36]: Scheduler: Sleeping 90 seconds until next task
my question is it appears i will have to edit both the channel scan.txt and the channelmap.csv for it tune to the right "program" on the specific qam, correct?
also it seems like i should have gotten some video based on the output from the cli do you have any ideas as to why i didnt?
thanks for any info you can provide.
RE: [dev] CetonTV - Watch TV on XBMC - mcheng89 - 2012-08-10 03:20
Created a github - https://github.com/CetonTV/
pushing code right now, so you might not see it yet...
|