Project

General

Profile

[Partly Solved] Oscam SAT-IP Descrambling only works if start the channel via VLC first

Added by g gebruikerh over 5 years ago

Hi All,

After a few day testing trying etc, I got the SAT-IP connection to my Panasonic client working:).
But now I have an issue with my descrambling. I have Oscam connection with dvbapi with works fine with my kodi clients.

But if I select an channel that needs descrambling on satip client. I'm getting the message on my client. Channel is Scrambled.

The follow message is given in OSCAM:
2019/06/13 22:11:01 3191AF85 c (dvbapi) Demuxer 0 found 6 ECMpids and 1 STREAMpids in caPMT
2019/06/13 22:11:01 3191AF85 c (dvbapi) Demuxer 0 found channel in cache and matching prio -> start descrambling ecmpid 4
2019/06/13 22:11:01 3191AF85 c (dvbapi) Demuxer 0 trying to descramble PID 4 CAID 0604 PROVID 000000 ECMPID 0803 ANY CHID PMTPID 07D0 VPID 07D1
2019/06/13 22:11:01 3191AF85 c (dvbapi) Demuxer 0 continue decoding of SRVID 4C05
2019/06/13 22:11:01 3191AF85 c (dvbapi) Demuxer 0 found 6 ECMpids and 1 STREAMpids in caPMT
2019/06/13 22:11:01 3191AF85 c (dvbapi) Demuxer 0 found 6 ECMpids and 6 STREAMpids in PMT
2019/06/13 22:11:01 3191AF85 c (dvbapi) Demuxer 0 stop descrambling program number 4C05 (1868@000000:4C05 unknown)

But if I start the same Channel on my PC via VLC (mux channel) the descrambling works on my sat ip client. And even if I switch after 20 sec my channel on my PC (VLC) is stays on working until I switch on a channel on my Sat IP Client.

So somehow my Sat ip Client is not generating the correct trigger the first time to OSCAM to start decode.. I have google allot but can not find the solution. It should be something simple.. But I need to some help in this.

OScam

[dvbapi]
enabled = 1
au = 1
pmt_mode = 4
request_mode = 1
user = tvheadend
boxtype = pc-nodmx


Replies (69)

RE: Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by g gebruikerh over 5 years ago

Ok installed system tool to use HTOP. But no proces uses my tuner..

It seems HD home

So are we stuck now?

RE: Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by saen acro over 5 years ago

As external network device there is software to use it for scan

hdhomerun_config
http://download.silicondust.com/hdhomerun/hdhomerun_record_linux_beta

RE: Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by g gebruikerh over 5 years ago

Is there any way I can do this via a windows machine?

I don't have an linux setup... I only use Libreleec on my RPI.. Otherwise I need to see if I can setup an othere laptop with unbuntu.

RE: Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by g gebruikerh over 5 years ago

Edit!:
Didn't stop tvheadend on my wetek play..so I'm getting a list now!.. keep you posted:)

Yes did it. When try to find out if could info via windows...

But did not help :-(. I have installed an other tvheadend on wetek player with internal dvb-c tuner.. and used my server as an SAT>IP client..

FTA = works (but this whas the same on my tv)
Scramble = not working... (same informatie as on my TV)..

I should be able to get the channellist from there...but are getting the same issue's so somehow I'm not following you instructions correctly..

If you have any Idea how I can get the needed info via an windows app it would be great. On the other hand I will keep on trying to get the list and will google allot..

Already thanks allot for the help. Learned allot again today.

RE: Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by saen acro over 5 years ago

Is your oscam connected correctly

Yes you can use wetec internal tuner to do w-scan it's same network.

RE: Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by g gebruikerh over 5 years ago

Scanning is still going on at the moment...seems to be a long one..

Oscam connected correctly to my wetek play or to my RPI where the TVH server is based on?

On RPI i think so. As descrambling via DVBapi works for de KODI clients and also if use normal http streaming via VLC..
But maybe SAT>IP needs a different approach?

RE: Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by saen acro over 5 years ago

Sat>ip protocol is different then HTTPTS for Vlc and HTSP for KODI.

SAT>IP use RTSP over UDP/TCP protocol and want frequency and pid's to open service

RE: Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by g gebruikerh over 5 years ago

saen acro wrote:

Sat>ip protocol is different then HTTPTS for Vlc and HTSP for KODI.

SAT>IP use RTSP over UDP/TCP protocol and want frequency and pid's to open service

Clear, but there not much info to find about Oscam and SAT>IP. Every topic is saying if you have dvbapi "standard" setting to tvheadend it should work.. But I try to google more with the info I have.

Scan did not succeed.. seems that internal receiver in the wetek play has buggy driver.
Getting this info:

Using DVB API 5.11
frontend 'Sony CXD2837ER DVB-T/T2/C demodulator' supports
INVERSION_AUTO
QAM_AUTO
FEC_AUTO
FREQ (42.00MHz ... 1002.00MHz)
This dvb driver is *buggy*: the symbol rate limits are undefined - please report                                                                              to linuxtv.org

And after more 3 hours got the message error nothing to scan... So I'm back to trying to get the info from my homerun.. Maybe I can find an example on the internet which we can use.

RE: Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by saen acro over 5 years ago

you can scan also by tsduck

tsscan -v -l –show-modulation

If you use internal tuner only is sat>ip server works?

RE: Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by g gebruikerh over 5 years ago

saen acro wrote:

If you use internal tuner only is sat>ip server works?

I'm trying to understand what your question is. I'm correct that you are asking:
If I use the internal tuner on TvH does it works? Yes it works on my TvH that I locally installed on WETEK PLAY just for testen.

Normally I only have TvH on my RPI tv-server. For which I'm also trying to get the descrambling working. If not maybe can you maybe explain you question more?

tsduck is not avaible on libreelec. I see if I can set-up an ubuntu set-up. As maybe will be more easy.

RE: Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by saen acro over 5 years ago

DVB-C > WETEC TVH SAT>IP + Oscam > Panasonic TV
is this work?

RE: Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by g gebruikerh over 5 years ago

saen acro wrote:

DVB-C > WETEC TVH SAT>IP + Oscam > Panasonic TV
is this work? No, don't not see the tuner.

DVB-C > WETEC TVH + Oscam -> Kodi client works.
DVB-C > RPI TVH + Oscam -> Kodi client works.
DVB-C > RPI TVH SAT>IP + Oscam > Panasonic TV = only works for FTA channels
DVB-C > RPI TVH SAT>IP + Oscam > Panasonic TV & Kodi client (on the same channel) = works for all channels.

RE: Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by g gebruikerh over 5 years ago

Hi Sean,

I was off somedays. Will try to get the correct info this week and see if can do some more troubleshoting. Already thanks for your time and effort.

RE: [Partly Solved] Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by g gebruikerh over 5 years ago

Ok, I installed minisatip and let it connect via a DVBapi client and the descrambling works... But I only could get it working with the internal tuner of the wetek play. And the HD channels use a load of the processors so it's not the solution and I would like to get it working with TvH.

I thing I think that I know it for sure. There is something missing in my TvH config als all the parts seems to work.

RE: [Partly Solved] Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by saen acro over 5 years ago

Strange that it HD channels overload CPU
start minisatip with

minisatip -E

Map it in TVH and restream with TVH SAT>IP server
In this case TVH will descramble

RE: [Partly Solved] Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by g gebruikerh over 5 years ago

saen acro wrote:

Strange that it HD channels overload CPU

There are some know issue's about it.

About minisatip -E, if we use TvH SAT>IP will not descramble because that my whole problem if use TvH it won't decramble. Or I'm in correct here?
I will see if I can get an stream for minisatip with RTSP so we can do some testing in TvH

RE: [Partly Solved] Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by saen acro over 5 years ago

Let's make experiment.

Play with TV some channel with TV cannot.
Post Frequency QAM and SR of mux,
from status or from service information pids of this service.

From upper info will make rtsp link to test with.

RE: [Partly Solved] Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by g gebruikerh over 5 years ago

Info from Minisatip
192.168.1.38:58570
Pids: 5001,18,5012,5011,17,16,5101,0,5000,1,5102,5103,8187

Info TvH:
"SAT>IP DVB-C Tuner #1 (192.168.1.39)"
mux: "290MHz"
QAM/256
290000000 hz

192.168.1.39 = my satip tuner
192.168.1.38 = my tvheadend server

If i'm correct the needed info is above otherwise let me know. And thanks again for the help.

RE: [Partly Solved] Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by saen acro over 5 years ago

g gebruikerh wrote:

Info from Minisatip
192.168.1.38:58570
Pids: 5001,18,5012,5011,17,16,5101,0,5000,1,5102,5103,8187

Info TvH:
"SAT>IP DVB-C Tuner #1 (192.168.1.39)"
mux: "290MHz"
QAM/256
290000000 hz

192.168.1.39 = my satip tuner
192.168.1.38 = my tvheadend server

If i'm correct the needed info is above otherwise let me know. And thanks again for the help.

Simbol rate?

example playlist

#EXTINF:0,Das Erste HD 
#EXTVLCOPT:network-caching=1000  
rtsp://192.168.0.6:554/?freq=522&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=1&pids=0,16,17,18,20,5100,5101,1170,1176,2171,5102,5103,5104,5105,5106,5108,5172

Replace values corresponding to your situation
one with minisatip IP next with tvheadend

p.s.

OScam

[dvbapi]
enabled = 1
au = 1
pmt_mode = 4
request_mode = 1
user = tvheadend
boxtype = pc-nodmx

boxtype = pc
[dvbapi]
enabled                       = 1
au                            = 1
pmt_mode                      = 4
request_mode                  = 1
listen_port                   = 9000
delayer                       = 60
user                          = dvbapi
read_sdt                      = 2
write_sdt_prov                = 1
extended_cw_api               = 1
boxtype                       = pc

RE: [Partly Solved] Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by g gebruikerh over 5 years ago

Symbol rate? sorry ofcourse you need that one. 6900000 Sym/s (6900 Khz/s if I'm correct).

This one placed in oscam as I would like to check Tvh first only put listen_port 9001.

enabled                       = 1
au                            = 1
pmt_mode                      = 4
request_mode                  = 1
listen_port                   = 9000
delayer                       = 60
user                          = dvbapi
read_sdt                      = 2
write_sdt_prov                = 1
extended_cw_api               = 1
boxtype                       = pc

RE: [Partly Solved] Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by saen acro over 5 years ago

rtsp://192.168.1.39:554/?freq=2900&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=1&pids=5001,5012,5011,5101,5000,5102,5103,8187
rtsp://192.168.1.38:554/?freq=2900&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=1&pids=5001,5012,5011,5101,5000,5102,5103,8187

Try both in VLC

RE: [Partly Solved] Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by g gebruikerh over 5 years ago

got an error on both. But are we not missing some pids? 5001,*18*,5012,5011,*17,16,*5101,*0,*5000,*1*,5102,5103,8187.

The other problem is that the internal Wetek player tuner is not stable on minisatip... sometimes it works it tunes, sometimes it don't tunes...So it not the correct testing i think... I will try to google to find out to connect my homerun tuner as that one is more stable.

RE: [Partly Solved] Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by saen acro over 5 years ago

This are for service use, but add them in tvh you can see used pids audio/video/subtitles
on frequency by mistake I add one more zero

rtsp://192.168.1.39:554/?freq=290&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=1&pids=5001,5012,5011,5101,5000,5102,5103,8187
rtsp://192.168.1.38:554/?freq=290&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=1&pids=5001,5012,5011,5101,5000,5102,5103,8187

RE: [Partly Solved] Oscam SAT-IP Descrambling only works if start the channel via VLC first - Added by g gebruikerh over 5 years ago

Ok results.

rtsp://192.168.1.39:554/?freq=290&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=1&pids=5001,5012,5011,5101,5000,5102,5103,8187 = works minisatip with local tuner.

rtsp://192.168.1.38:554/?freq=290&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=1&pids=5001,5012,5011,5101,5000,5102,5103,8187 = Works not via TvH with homerun connection.

TvH gives the following info:

2019-06-26 19:54:51.134 http: 192.168.1.60: RTSP/1.0 DESCRIBE rtsp://192.168.1.38:554/?freq=290&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=1&pids=5001,5012,5011,5101,5000,5102,5103,818 -- 400
2019-06-26 19:54:53.327 http: 192.168.1.60: RTSP/1.0 SETUP rtsp://192.168.1.38:554/?freq=290&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=1&pids=5001,5012,5011,5101,5000,5102,5103,818 -- 400

DVBApi setting are for both the same:

enabled                       = 1
au                            = 1
pmt_mode                      = 4
request_mode                  = 1
listen_port                   = 9001
delayer                       = 60
user                          = tvheadend
read_sdt                      = 2
write_sdt_prov                = 1
extended_cw_api               = 1
boxtype                       = pc

(26-50/69)