IPTV not working (3 Viewers)

dimka

Portal Pro
January 20, 2009
117
4
Hillerod
Home Country
Denmark Denmark
Hm. There were some bugs I made at night I uploaded the recent version. Bugs are fixed but I am not sure they are related to error you guys had got.

I have attached zip file with source files and Debug and Release versions of lib. They both will generate debug output to MPIPTVSource-XXXX-XX-XX.Log and I have put both versions just in case if its somehow related to your non-initialising filter problem.

Also j1nx: I tried to scan the m3u list you sent to me and have canceled the scan on 20th channel - all 19 channels were succesfuly recognised and added to channel list - see attachment.
 

Attachments

  • channels1.png
    channels1.png
    53.2 KB
  • MPIPTVSource-Dimka-20100407-1.zip
    30.7 KB

j1nx

Portal Pro
July 16, 2005
233
10
Also j1nx: I tried to scan the m3u list you sent to me and have canceled the scan on 20th channel - all 19 channels were succesfuly recognised and added to channel list - see attachment.

Good to see that at least one of us get it going :)

I tried your new version, but no success yet. I tried both version, release and debug, as where the release version seems to do more that the debug version. The release version at least now writes the iptv log file, but contains the following (cancelled after the third channel, all no signal)


07-04-2010 21:25:25.421 [bac]Unsupported protocol
07-04-2010 21:25:25.750 [5e0]Entering OnThreadCreate
07-04-2010 21:25:25.750 [5e0]HTTP - IP:192.168.254.254 Port:8888 Get string:''
07-04-2010 21:25:26.046 [5e0]Total read bytes 0
07-04-2010 21:25:26.046 [bac]Unsupported protocol
07-04-2010 21:25:26.046 [398]Entering OnThreadCreate
07-04-2010 21:25:48.109 [398]Total read bytes 0
07-04-2010 21:25:48.125 [c14]Entering OnThreadCreate
07-04-2010 21:25:48.125 [c14]HTTP - IP:192.168.254.254 Port:8888 Get string:''
07-04-2010 21:25:48.125 [c14]HTTP - Ordered 262144 bytes. Received 0 bytes. Response 1
07-04-2010 21:25:48.125 [c14]HTTP - Ordered 262144 bytes. Received 0 bytes. Response 1
07-04-2010 21:25:48.125 [c14]HTTP - Ordered 262144 bytes. Received 0 bytes. Response 1
........
........
07-04-2010 21:26:11.906 [b80]HTTP - Ordered 262144 bytes. Received 0 bytes. Response 1
07-04-2010 21:26:11.906 [b80]HTTP - Ordered 262144 bytes. Received 0 bytes. Response 1
07-04-2010 21:26:12.000 [b80]Total read bytes 0
07-04-2010 21:26:12.000 [bac]Unsupported protocol
07-04-2010 21:26:12.000 [cb0]Entering OnThreadCreate
07-04-2010 21:26:34.031 [cb0]Total read bytes 0
07-04-2010 21:26:34.031 [bac]Unsupported protocol
07-04-2010 21:26:34.046 [bac]Unsupported protocol


The section in the middle is deleted, but the log file already was 1 MB even after scanning 3 channels and was full of those HTTP - Ordered messages. If i grab 1 channel scan out of the tv.log, this is was is written in that file;

2010-04-07 21:24:33.968750 [(4)]: Controller: epg stop
2010-04-07 21:25:02.609375 [(4)]: Controller: epg stop
2010-04-07 21:25:04.375000 [(4)]: Controller: epg stop
2010-04-07 21:25:16.500000 [(4)]: Controller: epg stop
2010-04-07 21:25:17.343750 [(4)]: Controller: epg stop
2010-04-07 21:25:24.875000 [(4)]: card: Tune 1 to Ned 1
2010-04-07 21:25:24.875000 [(4)]: card: user: mediaportal:1:-1 tune DVBIP:tv: Ned 1 Freq:0 ONID:-1 TSID:-1 SID:-1 PMT:0xFFFFFFFF FTA:False LCN:10000 Url:http://192.168.254.254:8888/udp/233.81.233.161:10294
2010-04-07 21:25:24.906250 [(4)]: dvbip: Tune:DVBIP:tv: Ned 1 Freq:0 ONID:-1 TSID:-1 SID:-1 PMT:0xFFFFFFFF FTA:False LCN:10000 Url:http://192.168.254.254:8888/udp/233.81.233.161:10294
2010-04-07 21:25:24.906250 [(4)]: dvbip: tune: Assigning oldChannel
2010-04-07 21:25:24.906250 [(4)]: dvbip: tune: Current channel is null
2010-04-07 21:25:24.906250 [(4)]: dvbip: tune: Building graph
2010-04-07 21:25:24.906250 [(4)]: BuildGraph
2010-04-07 21:25:25.140625 [(4)]: dvb:Add MPEG2 Demultiplexer filter
2010-04-07 21:25:25.171875 [(4)]: dvb:add Inf Tee filter
2010-04-07 21:25:25.203125 [(4)]: dvbip:Add MediaPortal IPTV Source Filter
2010-04-07 21:25:25.421875 [(4)]: dvb: Render [source]->[inftee]
2010-04-07 21:25:25.500000 [(4)]: dvb: Render [inftee]->[demux]
2010-04-07 21:25:25.546875 [(4)]: dvb: Add Mediaportal TsWriter filter
2010-04-07 21:25:25.625000 [(4)]: dvb: Render [InfTee]->[TsWriter]
2010-04-07 21:25:25.656250 [(4)]: CAM is Default model
2010-04-07 21:25:25.656250 [(4)]: dvb:GetNewSubChannel:0 #0
2010-04-07 21:25:25.671875 [(4)]: TvDvbChannel ctor new subchIndex:0
2010-04-07 21:25:25.671875 [(4)]: dvb:confused:ubmiting tunerequest Channel:Ned 1 subChannel:0
2010-04-07 21:25:25.671875 [(4)]: dvb:confused:ubmit tunerequest size:1 new:0
2010-04-07 21:25:25.671875 [(4)]: subch:0 OnBeforeTune
2010-04-07 21:25:25.687500 [(4)]: dvb:confused:ubmit tunerequest calling put_TuneRequest
2010-04-07 21:25:25.703125 [(4)]: subch:0 OnAfterTune
2010-04-07 21:25:25.703125 [(4)]: dvbip: tune: Running graph for channel TvLibrary.Implementations.DVB.TvDvbChannel
2010-04-07 21:25:25.718750 [(4)]: dvbip: tune: SubChannel 0
2010-04-07 21:25:25.718750 [(4)]: subch:0 OnGraphStart
2010-04-07 21:25:25.718750 [(4)]: dvbip:Add MediaPortal IPTV Source Filter
2010-04-07 21:25:25.718750 [(4)]: dvb: Render [source]->[inftee]
2010-04-07 21:25:25.718750 [(4)]: dvb: RunGraph
2010-04-07 21:25:25.734375 [(4)]: subch:0 OnGraphStarted
2010-04-07 21:25:25.750000 [(4)]: subch:0 SetupPmtGrabber:pid FFFFFFFF sid:FFFFFFFF
2010-04-07 21:25:25.750000 [(4)]: subch:0 SetupPmtGrabber:pid FFFFFFFF sid:FFFFFFFF
2010-04-07 21:25:25.750000 [(4)]: dvbip: tune: Graph running. Returning TvLibrary.Implementations.DVB.TvDvbChannel
2010-04-07 21:25:25.796875 [(4)]: card: Tuner locked: False
2010-04-07 21:25:25.796875 [(4)]: **************************************************
2010-04-07 21:25:25.812500 [(4)]: ***** SIGNAL LEVEL: 100, SIGNAL QUALITY: 100 *****
2010-04-07 21:25:25.812500 [(4)]: **************************************************
2010-04-07 21:25:25.812500 [(4)]: card: tuned user: mediaportal subchannel: 0
2010-04-07 21:25:25.812500 [(4)]: user:mediaportal add
2010-04-07 21:25:25.937500 [(4)]: dvbip: Tune:DVBIP:tv: Ned 1 Freq:0 ONID:-1 TSID:-1 SID:-1 PMT:0xFFFFFFFF FTA:False LCN:10000 Url:http://192.168.254.254:8888/udp/233.81.233.161:10294
2010-04-07 21:25:25.937500 [(4)]: dvbip: tune: Assigning oldChannel
2010-04-07 21:25:25.937500 [(4)]: dvbip: tune: Current Channel != null DVBIP:tv: Ned 1 Freq:0 ONID:-1 TSID:-1 SID:-1 PMT:0xFFFFFFFF FTA:False LCN:10000 Url:http://192.168.254.254:8888/udp/233.81.233.161:10294
2010-04-07 21:25:25.937500 [(4)]: dvbip: tune: Graph is running
2010-04-07 21:25:25.937500 [(4)]: dvb:confused:ubmiting tunerequest Channel:Ned 1 subChannel:0
2010-04-07 21:25:25.937500 [(4)]: dvb:confused:ubmit tunerequest size:1 new:0
2010-04-07 21:25:25.937500 [(4)]: subch:0 OnBeforeTune
2010-04-07 21:25:25.937500 [(4)]: dvb:confused:ubmit tunerequest calling put_TuneRequest
2010-04-07 21:25:25.937500 [(4)]: subch:0 OnAfterTune
2010-04-07 21:25:25.937500 [(4)]: dvbip: tune: Running graph for channel TvLibrary.Implementations.DVB.TvDvbChannel
2010-04-07 21:25:25.937500 [(4)]: dvbip: tune: SubChannel 0
2010-04-07 21:25:26.046875 [(4)]: subch:0 OnGraphStopped
2010-04-07 21:25:26.046875 [(4)]: subch:0 OnGraphStart
2010-04-07 21:25:26.046875 [(4)]: dvbip:Add MediaPortal IPTV Source Filter
2010-04-07 21:25:26.046875 [(4)]: dvb: Render [source]->[inftee]
2010-04-07 21:25:26.046875 [(4)]: dvb: RunGraph
2010-04-07 21:25:26.046875 [(4)]: subch:0 OnGraphStarted
2010-04-07 21:25:26.046875 [(4)]: subch:0 SetupPmtGrabber:pid FFFFFFFF sid:FFFFFFFF
2010-04-07 21:25:26.062500 [(4)]: subch:0 SetupPmtGrabber:pid FFFFFFFF sid:FFFFFFFF
2010-04-07 21:25:26.062500 [(4)]: dvbip: tune: Graph running. Returning TvLibrary.Implementations.DVB.TvDvbChannel
2010-04-07 21:25:28.062500 [(4)]: Scan: tuner locked:False signal:100 quality:100
2010-04-07 21:25:48.062500 [(4)]: Scan Got 0 from 0 channels
2010-04-07 21:25:48.078125 [(4)]: tvcard:FreeSubChannel: subchannels count 1 subch#0 keep graph=True
2010-04-07 21:25:48.078125 [(4)]: DVB subch:0 Decompose()
2010-04-07 21:25:48.078125 [(4)]: FreeSubChannel CA: freeing sub channel : 0
2010-04-07 21:25:48.078125 [(4)]: tvcard:FreeSubChannel : no subchannels present, continueing graph


Once again, I have RC1 version installed. See below my install.log. The TV server configuration screen shows me, Version 1.0.5.25080

[ INFO] MediaPortal TV Server / Client installation
[ INFO] Logging started: 27.02.2010 22:05:59
[ INFO] installer version: 1.0.5.0
[ INFO] ============================================================================================
[ DEBUG ] FUNCTION .onInit
[ DEBUG ] commandline parameters: /S /noServer /DeployMode
[ INFO] TVServer/Client installation dir found: C:\Program Files\Team MediaPortal\MediaPortal TV Server
[ INFO] MediaPortal installation dir found: C:\Program Files\Team MediaPortal\MediaPortal
[ERROR !!!] Loading MediaPortalDirectories from MyDocs failed. ('C:\Documents and Settings\mepo\Mijn documenten\Team MediaPortal\MediaPortalDirs.xml')
[ INFO] Trying to load from installation directory now.
[ INFO] Loaded MediaPortalDirectories from InstallDir successfully. ('C:\Program Files\Team MediaPortal\MediaPortal\MediaPortalDirs.xml')
[ INFO] Installer will use the following directories:
[ INFO] Base: C:\Program Files\Team MediaPortal\MediaPortal
[ INFO] Config: C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal
[ INFO] Plugins: C:\Program Files\Team MediaPortal\MediaPortal\Plugins
[ INFO] Log: C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Log
[ INFO] CustomInputDevice: C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\InputDeviceMappings
[ INFO] CustomInputDefault: C:\Program Files\Team MediaPortal\MediaPortal\InputDeviceMappings\defaults
[ INFO] Skin: C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Skin
[ INFO] Language: C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Language
[ INFO] Database: C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Database
[ INFO] Thumbs: C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs
[ INFO] Weather: C:\Program Files\Team MediaPortal\MediaPortal\Weather
[ INFO] Cache: C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Cache
[ INFO] BurnerSupport: C:\Program Files\Team MediaPortal\MediaPortal\Burner
[ DEBUG ] FUNCTION .onSelChange
[ DEBUG ] SECTION SecPrepare
[ INFO] Prepare installation...
[ DEBUG ] SecPrepare: DeployMode = 1 | UpdateMode = 0
[ INFO] !!!!!!!!!!!! the client is being installed, tv server was installed before, so the instdir shouldn't be renamed again
[ DEBUG ] MementoSection SecClient
[ INFO] Installing MediaPortal TV Client plugin...
[ INFO] Terminating processes ...
[ INFO] KillProcess: MediaPortal.exe
[ INFO] KillProcess: MediaPortal.exe is not running.
[ INFO] KillProcess: configuration.exe
[ INFO] KillProcess: configuration.exe is not running.
[ INFO] MediaPortal Installed at: C:\Program Files\Team MediaPortal\MediaPortal
[ INFO] MediaPortalPlugins are at: C:\Program Files\Team MediaPortal\MediaPortal\Plugins
[ DEBUG ] SECTION Post
[ INFO] Doing post installation stuff...
[ INFO] Setting AccessRights to ProgramData dir and reg keys
[ DEBUG ] FUNCTION .onInstSuccess
[ INFO] ============================================================================================
[ INFO] Logging stopped: 27.02.2010 22:06:02
[ INFO] installer version: 1.0.5.0
[ INFO] MediaPortal TV Server / Client installation


I hope it all make sense, but as you have succeeded with my channels I think we both run different mediaportal versions.

Good luck and thanks so far
 

micmanm

Portal Pro
May 22, 2009
95
16
Home Country
Ukraine Ukraine
Hi Dimka!
Trying Your new versions (2010.04.07), I give
with debug vers the same error as in prev vers from 2010.04.05
error.log
Code:
2010-04-08 06:58:54.654860 [(6)]: Exception   :System.NullReferenceException: В экземпляре объекта не задана ссылка на объект.
   в TvLibrary.Implementations.DVB.TvCardDVBIP.BuildGraph()
   в TvLibrary.Implementations.DVB.TvCardDVBIP.Tune(Int32 subChannelId, IChannel channel)
   в TvService.CardTuner.Tune(User& user, IChannel channel, Int32 idChannel)

tv.log
Code:
2010-04-08 06:58:54.077659 [(6)]: card: CardTune 1 НТВ AMD-XII-245:1:-1
2010-04-08 06:58:54.077659 [(6)]: card: Tune 1 to НТВ
2010-04-08 06:58:54.077659 [(6)]: card: user: AMD-XII-245:1:-1 tune DVBIP:tv: НТВ Freq:0 ONID:0 TSID:100 SID:1 PMT:0x42 FTA:True LCN:10000 Url:http://192.168.3.12:16001
2010-04-08 06:58:54.093259 [(6)]: dvbip:  Tune:DVBIP:tv: НТВ Freq:0 ONID:0 TSID:100 SID:1 PMT:0x42 FTA:True LCN:10000 Url:http://192.168.3.12:16001
2010-04-08 06:58:54.093259 [(6)]: dvbip: tune: Assigning oldChannel
2010-04-08 06:58:54.093259 [(6)]: dvbip: tune: Current channel is null
2010-04-08 06:58:54.093259 [(6)]: dvbip: tune: Building graph
2010-04-08 06:58:54.093259 [(6)]: BuildGraph
2010-04-08 06:58:54.108859 [(6)]: dvb:Add MPEG2 Demultiplexer filter
2010-04-08 06:58:54.124459 [(6)]: dvb:add Inf Tee filter
2010-04-08 06:58:54.140059 [(6)]: dvbip:Add MediaPortal IPTV Source Filter
2010-04-08 06:58:54.233659 [(6)]: dvb:Decompose
2010-04-08 06:58:54.233659 [(6)]: tvcard:FreeAllSubChannels
2010-04-08 06:58:54.233659 [(6)]:   stop
2010-04-08 06:58:54.342859 [(6)]:   free...
2010-04-08 06:58:54.342859 [(6)]:   free pins...
2010-04-08 06:58:54.342859 [(6)]: !!! Error releasing TSWriter filter (_filterTsWriter as IBaseFilter was null!)
2010-04-08 06:58:54.342859 [(6)]:   free graph...
2010-04-08 06:58:54.342859 [(6)]: Remove filter from graph: Inf Tee
2010-04-08 06:58:54.342859 [(6)]: Remove filter from graph: MPEG2-Demultiplexer
2010-04-08 06:58:54.342859 [(6)]:   free devices...
2010-04-08 06:58:54.358459 [(6)]:   decompose done...

release vers from the same archive works now!!!
tv.log
Code:
2010-04-08 07:11:28.164326 [(12)]: BuildGraph
2010-04-08 07:11:28.164326 [(12)]: dvb:Add MPEG2 Demultiplexer filter
2010-04-08 07:11:28.164326 [(12)]: dvb:add Inf Tee filter
2010-04-08 07:11:28.179926 [(12)]: dvbip:Add MediaPortal IPTV Source Filter
2010-04-08 07:11:28.226726 [(12)]: dvb:  Render [source]->[inftee]
2010-04-08 07:11:28.257926 [(12)]: dvb:  Render [inftee]->[demux]
2010-04-08 07:11:28.257926 [(12)]: dvb:  Add Mediaportal TsWriter filter
2010-04-08 07:11:28.273526 [(12)]: dvb:  Render [InfTee]->[TsWriter]
2010-04-08 07:11:28.273526 [(12)]: CAM is Default model
2010-04-08 07:11:28.273526 [(12)]: dvb:GetNewSubChannel:0 #0
2010-04-08 07:11:28.289126 [(12)]: TvDvbChannel ctor new subchIndex:0
2010-04-08 07:11:28.289126 [(12)]: dvb:Submiting tunerequest Channel:НТВ subChannel:0 
2010-04-08 07:11:28.289126 [(12)]: dvb:Submit tunerequest size:1 new:0
2010-04-08 07:11:28.289126 [(12)]: subch:0 OnBeforeTune
2010-04-08 07:11:28.289126 [(12)]: dvb:Submit tunerequest calling put_TuneRequest
2010-04-08 07:11:28.289126 [(12)]: subch:0 OnAfterTune
2010-04-08 07:11:28.289126 [(12)]: dvbip: tune: Running graph for channel TvLibrary.Implementations.DVB.TvDvbChannel
2010-04-08 07:11:28.289126 [(12)]: dvbip: tune: SubChannel 0
2010-04-08 07:11:28.289126 [(12)]: subch:0 OnGraphStart
2010-04-08 07:11:28.289126 [(12)]: dvbip:Add MediaPortal IPTV Source Filter
2010-04-08 07:11:28.289126 [(12)]: dvb:  Render [source]->[inftee]
2010-04-08 07:11:28.289126 [(12)]: dvb:  RunGraph

attached full logs
My MP version is RC1 25359 Disaster Edition
 

Attachments

  • log-debug-vers.zip
    30.6 KB
  • log-release-vers.zip
    30.6 KB

Stepko

Retired Team Member
  • Premium Supporter
  • September 29, 2007
    186
    152
    Hamburg/Wolfsburg
    Home Country
    Germany Germany
    AW: Re: IPTV not working

    Hi all,

    just a short warning: If you are using this filter on an rtp stream, please do not use dimkas latest version (MPIPTVSource-Dimka-20100407-1.zip) for a longer period, because it will produce HUGE logfiles! There are some debug outputs in there, that I added for testing purposes. The debug version will and the release version may (depends on how it was build) produce very large log files!


    dimka: I had a quick look at the code and didn't see anything that could cause the null pointer exception. Do you have any Idea why the release version works better for j1nx than the debug version? Could it be timing issues between sending the request and receiving the first data? Or are there any issues in Microsofts http implementation? Did you try to set a callback method, perhaps you can get more info then. (These are only guesses, just trying to help).

    Stepko
     

    dimka

    Portal Pro
    January 20, 2009
    117
    4
    Hillerod
    Home Country
    Denmark Denmark
    Stepko: Can you try to build libs based on my code ? I am building it on Win7 64bit but not sure if it's matter. Also micmanm says its fully working for him with Release version.

    j1nx: it's very strange you get empty get_string after parsing. I will try to put more LogDebug calls around parsing function. Will upload later today.
     

    j1nx

    Portal Pro
    July 16, 2005
    233
    10
    I'm running XP 32bit - SP3 (I think)

    This evening I will fill out a proper template, so you all know what is under the hood.

    Let me know, if you need any other information. Dimka, if needed I can even install Mikogo or Teamviewer on the machine itself, so you could have a look yourself. Don't mind other persons logging in into my mediacenter if it could help the development of this whole IPTV filter.

    Would love to see a proper and total UDP/RTP/HTTP solution.
     

    lwenco

    Portal Member
    March 2, 2010
    36
    4
    Hi,
    I always get "No Signal" with AonTv_Free, the error in the MPIPTVSource log file is:

    08-04-2010 20:34:59.909 [14b4]Entering OnThreadCreate
    08-04-2010 20:34:59.911 [14b4]Socket receive buffer is: 8192 (4)
    08-04-2010 20:34:59.912 [14b4]Trying to set receive buffer to 262144
    08-04-2010 20:34:59.914 [14b4]New socket receive buffer is: 262144 (4)
    08-04-2010 20:35:44.124 [14b4]Total read bytes 0

    It seems that it somehow can't connect to the stream, vlc is working without a problem.
     

    j1nx

    Portal Pro
    July 16, 2005
    233
    10
    OMG, could anyone be so kind to send me in the right direction to get the proper bug report template??? I think I'm getting blind or something. Sorry ...
     

    Automate

    Portal Pro
    December 14, 2008
    55
    1
    Home Country
    United States of America United States of America
    OMG, could anyone be so kind to send me in the right direction to get the proper bug report template??? I think I'm getting blind or something. Sorry ...
    If you are talking about the system specifications it only automatically gets added to new posts in this forum. What you can do is go to your User Control Panel and fill in your information under "Edit system specifications". Then act like you are going to post a new topic in this forum. It will auto add your information to your post. Then just cut the text and cancel the new post. Then paste the text into a reply in this thread.
     

    Stepko

    Retired Team Member
  • Premium Supporter
  • September 29, 2007
    186
    152
    Hamburg/Wolfsburg
    Home Country
    Germany Germany
    AW: Re: IPTV not working

    Hi,
    I always get "No Signal" with AonTv_Free, the error in the MPIPTVSource log file is:
    08-04-2010 20:34:59.909 [14b4]Entering OnThreadCreate
    08-04-2010 20:34:59.911 [14b4]Socket receive buffer is: 8192 (4)
    08-04-2010 20:34:59.912 [14b4]Trying to set receive buffer to 262144
    08-04-2010 20:34:59.914 [14b4]New socket receive buffer is: 262144 (4)
    08-04-2010 20:35:44.124 [14b4]Total read bytes 0
    It seems that it somehow can't connect to the stream, vlc is working without a problem.

    Yes, the filter doesn't receive anything. But I cannot say anything, because some important infos are missing:
    What is the url of the stream? Is there any authorisation required? What are the exact steps to get the stream playing in vlc? Is there a playlist file you can upload?

    Stepko
     

    Users who are viewing this thread

    Top Bottom