TV-Server DVB-IP card scrambled channel problem

Discussion in 'Television (MyTV frontend and TV-Server)' started by Franzkovic, November 26, 2014.

  1. Franzkovic
    • Premium Supporter

    Franzkovic MP Donator

    Joined:
    September 21, 2009
    Messages:
    30
    Likes Received:
    0
    Ratings:
    +3 / 0
    Hi,

    I am doing the following ... I am using my linux receiver as some kind of tv card by entering the stream urls to mediaportal tvserver's dvb-ip card. Working pretty good so far.

    I do encouter one issue however. When I am trying to watch a paytv channel (e.g sky sport) I am receiving the error "scrambled channel" despite the stream is open (already decoded in my receiver) and I can watch it flawlessly in VLC or WMP.

    I have tried to edit the channel as "free to air" in tv-server but without success. Anyone has some suggestions on how to solve this problem?

    Thank you!


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,518
    Likes Received:
    4,730
    Ratings:
    +8,196 / 17
    Home Country:
    New Zealand New Zealand
    Hello

    My guess is that your receiver is not marking the stream as "free" after it descrambles it. I don't know what you can do to solve that except to "fix" the receiver.

    Regards,
    mm
     
  4. Franzkovic
    • Premium Supporter

    Franzkovic MP Donator

    Joined:
    September 21, 2009
    Messages:
    30
    Likes Received:
    0
    Ratings:
    +3 / 0
    ok ... strange thing is the very same stream url is working in VLC and Windows Media Player? I thought when I mark the stream url as "free to air" it would just pass it through because then the stream should work :(
     
  5. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,518
    Likes Received:
    4,730
    Ratings:
    +8,196 / 17
    Home Country:
    New Zealand New Zealand
    We have never said that streams that work in VLC and/or WMP will work in TV Server. In other words, just because a stream works in VLC and WMP does not mean it will work in TV Server.

    No. TV Server checks that the stream really is not encrypted.

    I suggest you post log files if you want further help. Otherwise there's really nothing more I can say or do to help you.
     
  6. Franzkovic
    • Premium Supporter

    Franzkovic MP Donator

    Joined:
    September 21, 2009
    Messages:
    30
    Likes Received:
    0
    Ratings:
    +3 / 0
    Is there a possiblity to bypass this check by chance?

    Attachted are some logs. Let me know if you need any further information!

    Thank you!
     
    Last edited: November 27, 2014
  7. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,518
    Likes Received:
    4,730
    Ratings:
    +8,196 / 17
    Home Country:
    New Zealand New Zealand
    I confirm that your receiver is not marking the stream - specifically the TS packet headers - as "not encrypted" after decrypting. The result is that TV Server thinks the stream is still encrypted and will not allow MP to try to start timeshifting. The only way to fix this would be to have the receiver mark the stream correctly, or create a hack/patch for TV Server to ignore the encryption flag.
     
    • Thank You! Thank You! x 1
  8. Franzkovic
    • Premium Supporter

    Franzkovic MP Donator

    Joined:
    September 21, 2009
    Messages:
    30
    Likes Received:
    0
    Ratings:
    +3 / 0
    thank you. thats too bad :( ... unfortunately I am not able to code the needed patch/hack. Would it be possible to code this behaviour in a tv-server plugin? Is there some kind of marketplace for experienced mp programmers who could do this job for me?

    Of course the resulting plugin could be provided to the community afterwards. Unless its really complicated and costs a couple of 100$ in which case I would have to look for a different solution :LOL:
     
  9. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,518
    Likes Received:
    4,730
    Ratings:
    +8,196 / 17
    Home Country:
    New Zealand New Zealand
    No. Plugins cannot read or change stream contents. The modification would need to be made in [at least] TsWriter, which is a core component.

    No. You can only ask nicely and hope that somebody will be willing to make the change for you. Sorry, that person won't be me.

    I can't imagine many people would get any use from the "plugin". In all my years working on MediaPortal this is the first time I've encountered such a request/situation.

    The simplest solution would be a one line hack to mark all encrypted TS packets as not encrypted here:
    https://github.com/MediaPortal/Medi...ShowFilters/TsWriter/source/TsWriter.cpp#L463

    Something like:
    tsPacket[3] &= 0x3f;

    That sets the packet transport_scrambling_control field to 0 (= not scrambled).
    Of course any streams which really are encrypted will then appear to be not encrypted, which would be wrong... but you can delete/ignore such channels.

    I wouldn't expect you to pay $100 for that. ;)
     
    • Thank You! Thank You! x 1
  10. Franzkovic
    • Premium Supporter

    Franzkovic MP Donator

    Joined:
    September 21, 2009
    Messages:
    30
    Likes Received:
    0
    Ratings:
    +3 / 0
    just asked the guys from openpli if there is still some encryption flag apparent after the channel is decrypted and streamed. This is the answer:

    I have to admit this stuff is a little over my head :confused: ...

    I wish I would understand the "fix" you suggested in github but I have no clue how to implement that into my mp :D
     
  11. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,518
    Likes Received:
    4,730
    Ratings:
    +8,196 / 17
    Home Country:
    New Zealand New Zealand
    This statement is correct, but it really looks like openpli is not doing this, even though they say they are.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!