IPTV not working (2 Viewers)

dimka

Portal Pro
January 20, 2009
117
4
Hillerod
Home Country
Denmark Denmark
Stepko: I am looking into your code. Good changes and I might probably add http staff there as well.

But would it be possible to mark RTP-only related functions with some prefix or/and split them in another file? Its getting harder to understand since I looked into filter last time.

dimka

----------------------------------- sometime later ------------
Hi all,

Please find attached new version of filter which is based on Stepko's changes and do (i hope) support http transport.

Syntax is the same as I wrote some time ago
http://a.b.c.d:232/Get_me/stream.cgi (simple one out of openair internet stream)
http://tvs.mar.net:5002 (private TV provider network)
http://192.168.1.1:8090/udp/xx.xx.xx.92:5050 (router maps ouside multicast streams to internal HTTP streams)
kartina://zhukxxxx.com/stream.php?id=4&user=141&pass=141 (filter goes to auth server, authenticate itselt and gets tv stream http url)

Let me know if it works

br,
dmitry
 

Attachments

  • MPIPTVSource-Dimka-20100405.zip
    30.7 KB

j1nx

Portal Pro
July 16, 2005
233
10
Cool Dimka,

I will try it this evening when i'm home from work.

Btw: I gave a 50 Mbit up and down glassfibre connection + 146 ipiv channels. If you need some links to test with, let me know. I will open de udpxy to the outside world for you to access if you want.
 

dimka

Portal Pro
January 20, 2009
117
4
Hillerod
Home Country
Denmark Denmark
Btw: I gave a 50 Mbit up and down glassfibre connection + 146 ipiv channels. If you need some links to test with, let me know. I will open de udpxy to the outside world for you to access if you want.

That would be nice as I have around 100 channels but they require pre-auth module as well as they are H264 encoded. Drop me PM how to access them

thanks
dimka
 

Stepko

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

    Hi dimka,
    Please find attached new version of filter which is based on Stepko's changes and do (i hope) support http transport.
    thx for adding http support. You're right the rtp stuff should be put into an extra file. I think you know how it is, the code grows and grows and at some point it gets really hard to read ;)
    When I have some time the next days I would outsource the rtp stuff and fix some bugs that are still in my rtp code. Can you share your source code as well, so that I can do my changes based on the latest source.

    :D
    Stepko
     

    dimka

    Portal Pro
    January 20, 2009
    117
    4
    Hillerod
    Home Country
    Denmark Denmark
    Re: AW: Re: IPTV not working

    Oh yes Stepko - I know how is it :) I have put some special pre-auth functions in main source file too :) I might split them to separate file or even library :)

    Anyway - I will upload source at late evening or early night when I will be back at home :)

    dimka
     

    micmanm

    Portal Pro
    May 22, 2009
    95
    16
    Home Country
    Ukraine Ukraine
    Hi all,

    Please find attached new version of filter which is based on Stepko's changes and do (i hope) support http transport.

    Syntax is the same as I wrote some time ago
    http://a.b.c.d:232/Get_me/stream.cgi (simple one out of openair internet stream)
    http://tvs.mar.net:5002 (private TV provider network)
    http://192.168.1.1:8090/udp/xx.xx.xx.92:5050 (router maps ouside multicast streams to internal HTTP streams)
    kartina://zhukxxxx.com/stream.php?id=4&user=141&pass=141 (filter goes to auth server, authenticate itselt and gets tv stream http url)

    Let me know if it works

    br,
    dmitry

    With this patch i got "Unknown error occured"
    logs attached.
     

    dimka

    Portal Pro
    January 20, 2009
    117
    4
    Hillerod
    Home Country
    Denmark Denmark
    micmanm - I need MPIPTV-yyyy-mm-dd.Log log file as well. While i haven't enabled so much debug info in filter it still should create this log file when you open http stream
     

    micmanm

    Portal Pro
    May 22, 2009
    95
    16
    Home Country
    Ukraine Ukraine
    micmanm - I need MPIPTV-yyyy-mm-dd.Log log file as well. While i haven't enabled so much debug info in filter it still should create this log file when you open http stream
    logs in format MPIPTV-yyyy-mm-dd.Log are not created at these actions.
    I think error appear before open http stream :(
    Look at this

    from error.log
    Code:
    2010-04-06 14:26:27.063802 [(13)]: 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)

    from tv.log
    Code:
    2010-04-06 14:26:26.892202 [(13)]: Controller: StartTimeShifting НТВ 37
    2010-04-06 14:26:26.892202 [(13)]: Controller: find free card for channel НТВ
    2010-04-06 14:26:26.892202 [(13)]: Controller:   got 1 tuning details for НТВ
    2010-04-06 14:26:26.892202 [(13)]: Controller:   channel #1 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-06 14:26:26.907802 [(13)]: Controller:    card:1 type:DvbIP is available priority:5 #users:0 same transponder:True
    2010-04-06 14:26:26.923402 [(13)]: Controller:    card:4 type:DvbIP is available priority:4 #users:0 same transponder:True
    2010-04-06 14:26:26.923402 [(13)]: Controller:    card:5 type:DvbIP is available priority:3 #users:0 same transponder:True
    2010-04-06 14:26:26.923402 [(13)]: Controller:    card:2 type:Analog cannot tune to channel
    2010-04-06 14:26:26.923402 [(13)]: Controller:    card:3 type:RadioWebStream cannot tune to channel
    2010-04-06 14:26:26.923402 [(13)]: Controller: found 3 available
    2010-04-06 14:26:26.923402 [(13)]: AdvancedCardAllocation.GetAvailableCardsForChannel took 35 msec
    2010-04-06 14:26:26.923402 [(13)]: card: CardTune 1 НТВ setuptv:1:-1
    2010-04-06 14:26:26.923402 [(13)]: card: Tune 1 to НТВ
    2010-04-06 14:26:26.923402 [(13)]: card: user: setuptv: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-06 14:26:26.939002 [(13)]: 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-06 14:26:26.939002 [(13)]: dvbip: tune: Assigning oldChannel
    2010-04-06 14:26:26.939002 [(13)]: dvbip: tune: Current channel is null
    2010-04-06 14:26:26.939002 [(13)]: dvbip: tune: Building graph
    2010-04-06 14:26:26.939002 [(13)]: BuildGraph
    2010-04-06 14:26:26.939002 [(13)]: dvb:Add MPEG2 Demultiplexer filter
    2010-04-06 14:26:26.939002 [(13)]: dvb:add Inf Tee filter
    2010-04-06 14:26:26.939002 [(13)]: dvbip:Add MediaPortal IPTV Source Filter
    2010-04-06 14:26:26.954602 [(13)]: dvb:Decompose
    2010-04-06 14:26:26.954602 [(13)]: tvcard:FreeAllSubChannels
    2010-04-06 14:26:26.954602 [(13)]:   stop
    2010-04-06 14:26:27.063802 [(13)]:   free...
    2010-04-06 14:26:27.063802 [(13)]:   free pins...
    2010-04-06 14:26:27.063802 [(13)]: !!! Error releasing TSWriter filter (_filterTsWriter as IBaseFilter was null!)
    2010-04-06 14:26:27.063802 [(13)]:   free graph...
    2010-04-06 14:26:27.063802 [(13)]: Remove filter from graph: Inf Tee
    2010-04-06 14:26:27.063802 [(13)]: Remove filter from graph: MPEG2-Demultiplexer
    2010-04-06 14:26:27.063802 [(13)]:   free devices...
    2010-04-06 14:26:27.063802 [(13)]:   decompose done...
    2010-04-06 14:26:27.063802 [(13)]: card2:setuptv 1 -1
    2010-04-06 14:26:27.079402 [(13)]: Controller: setuptv 1 -1
    2010-04-06 14:26:27.079402 [(13)]: Controller: Timeshifting failed, lets try next available card.
    2010-04-06 14:26:27.079402 [(13)]: Controller: Timeshifting failed, lets try next available card.
    2010-04-06 14:31:31.451533 [SetupTv(1)]: Exception in setuptv
    2010-04-06 14:31:31.451533 [SetupTv(1)]: System.Threading.ThreadExceptionEventArgs
     

    j1nx

    Portal Pro
    July 16, 2005
    233
    10
    OK, I tried the new filter and gave the exact same errors as Micmanm. I can attach them if you like, but I forgot to change the language to english so the error itself is in Dutch. This is what I got (146 times, scanning goes very fast, every channel "no signal")

    2010-04-06 20:22:00.406250 [(4)]: Exception :confused:ystem.NullReferenceException: De objectverwijzing is niet op een exemplaar van een object ingesteld.
    bij TvLibrary.Implementations.DVB.TvCardDVBIPBuiltIn.AddStreamSourceFilter(String url)
    bij TvLibrary.Implementations.DVB.TvCardDVBIP.BuildGraph()


    No IPTV logs were made.


    I will contact you about the m3u which you can use to test. I tested the udpxy today with a friend, but it appears my crappy router can't handle the upload throughput. I will send the file anyway, but you will have some stuttering. I will install my dedicated pfsense router system later this week, which will solve this problems for you.
     

    Users who are viewing this thread

    Top Bottom