T2MI_decap

cayoenrique

Member
Messages
475
Update. I still working at a low speed.
Now to be honest ,there has been a lot of thinking, so that I cam simplify its used. And to be as compatible with Oscam sofcamkey etc..

If you recall for Discovery I went out of specs, in order to overcome none standard stream. I think at that time Video Pid was not shown so I used PCR pid info.
I guess as there are so few T2MI stream we can go that way too. I had modified my old Oscam emu files a little further in order to pass certain obstacles. Now I need to create at least a new thread so that Decryption is TOTALLY separated from decaping. By separating one from the other they will not fight for misaligned of the packed info.
 

cayoenrique

Member
Messages
475
OHHH MYYYYY GOOODDDD!!!!!

Now is like coming to a different forum or even this thread. I have no Idea that so meany pictures where posted. All because I was accessing with an old browser. I may have to re-ready this thread. HE HE HE ;)

@dvlajkovic
Why you? becouse you are the only user using this. But any other that may want to answer please do so. Can you tell me if my assumption is correct.

1) I guess the best method use for most in Albertis DTT or T2MI is Installing ASTRA. But what happen when installation of ASTRA fail or not possible? Or you want to watch it on a PC or Android that have no PCSAT software but have access to your local Internal network.
2) Dale's T2MI-decap was for Win7 users that had no other way to watch this Encapsulated streams. I am not sure but Dale did another test for OTT like mpe I will have to look.

Now can you tell me if I am correct, most user can ONLY get very few encapsulated Transponders?
When a transponder is use with T2MI or DTT no other Channel sent Video-Audio out the encapsulated T2MI or DTT.


America like 2 or 3 T2MI no Albertis. A few are Tanberg encrypted.
Lower Europe I guess it have Albertis, and I guess 3 T2MI. It seems now they have encrypted T2MI with biss,

So my point is that with so small options we can build the new APP with auto detect of transponder PID been used and decryption type. At most we add a Transponder list with exceptions. So at most a One Time config may be needed to only specify Source and Output socket IP/port to be use.

Regards update. I had a busy weekend. But still working on it. Hope to have this new app to run both in Windows or Linux.
 
Last edited:

cayoenrique

Member
Messages
475
Another asumtion I have to ask.

The user ether have a PCSAT that can relay FULL Transponder stream to PC's internal Port by the use of CrazyScan see this image from original post at https://www.sat-universe.com/index....uner-frontend-for-win7.299849/post-2036757820
wM8gU1n.jpg


Or User stream from Linux/Android receiver box. I will assume that in this case NO FULL transponder is use, instead you tune to a none watchable/fake channel on receiver. Then ONLY the Pids associated with this channel are stream. I guess PAT, PMT + Encpsulated PID . PLEASE confirm my assumptions. I have no sat antenna or receiver to test it my self. Thanks
 

EnoSat

Senior Member
Messages
1,995

You can only select network elements in a given PC. The fullTS from the tuned transponder is transmitted.
e.g.
 
Last edited:

cayoenrique

Member
Messages
475
@EnoSat
Yes for CrazyScan ALL is transmited.

What I want to know is from Linux/Android owners? I know there are multiple ways to do it. But what I want to know is the easiest way.

So the question is: for a Linux/Android owners how is the easiest way to Tune a Channel/Transponder and stream this to Local IP?
Then what is sent? If I have to choose and I do not want to consume my bandwidth, I will send ONLY minimal like; PAT, PMT and T2MI PID or DTT PID(Albertis).
Or maybe the can not and they send only T2MI PID or DTT PID(Albertis).

see PAT & PMT will allow me to minimal Identify different transponders.
See from PMT we could get
Code:
T2MI uses
0x06 	ITU-T Rec. H.222 and ISO/IEC 13818-1 (MPEG-2 packetized data) privately defined (i.e., DVB subtitles/VBI and AC-3) 
0x7f 	ISO/IEC 13818-11 IPMP (DRM) in a packetized stream 

DTT Abertis use
0x90 	Blu-ray Presentation Graphic Stream (subtitling) in a packetized stream 
s
Yes best is to send also
Code:
NIT Network information specific data)
SDT Service Description Table
Last one allows me to trully see the Provider name of that packetizedstream

But In general I can mimic that by the SIDs of the packetized
 

EnoSat

Senior Member
Messages
1,995
Streaming from linux enigma2 box. CAT,NIT,SDT is not transmitted. The ECM,EIT,AIT can be turned off or on.
Code:
#EXTM3U
#EXTVLCOPT:http-reconnect=true
#EXTINF:-1,13 Ulica HD
#EXTVLCOPT:program=15940
http://192.168.1.19:8001/1:0:1:3E44:2EE0:13E:82AA9F:0:0:0:
 
Last edited:

EnoSat

Senior Member
Messages
1,995
If the driver supports direct T2MI tuning and the T2MI parameters are defined in the XML line - only for FTA
Code:
<transponder frequency="12245347" symbol_rate="30000007" polarization="1" fec_inner="2" system="1" modulation="2" t2mi_plp_id="0" t2mi_pid="4097"/>

If the driver does not support direct tuning or is T2MI coded (T2MI parameters are ignored - i.e. unnecessary)
Code:
<transponder frequency="12245340" symbol_rate="30000000" polarization="1" fec_inner="2" system="1" modulation="2"/>
FTA T2MI pid

Coded T2MI pid

Original stream from transponder (CA_id identification is missing in PMT, it must be added manually using oscam.dvbapi)
 
Last edited:

cayoenrique

Member
Messages
475
@EnoSat
So in general for now I can assume

When T2MI Pid id presenst no Other channel (Unpacked) is present( Like no extra VPID or APID )
And E2 Will supply PAT & PMT

Yes I know I have sample log of last Image.
I do not want to correct you but CA_id identification is NOT missing. It is there but with values ( 0x2250, 0x2251,0x2252,0x2253,0x2254) . I believe Oscam will Ignore them.

Me Instead when I see them, I will change them to BISS. or
If I see ( 0x2250, 0x2251,0x2252,0x2253,0x2254) ===> 0x2600.
 

EnoSat

Senior Member
Messages
1,995
EMM 2250...2254 is useless, ECM is necessary for oscam to start decoding
Like ERT does not broadcast CA_id although video-audio is encoded, oscam.dvbapi must also be used
Code:
A: ::0028:0102 2600:000000:1FFF #ERT 1 HD 39E/12224H

so does MX
Code:
A: ::0320:0020:: 2600:000000:1FFF #MX00 5E/12245V
 
Last edited:

cayoenrique

Member
Messages
475
@EnoSat

Listen... I TOTALLY understand and what you do. You are 100% correct. It is the official way to force a CAID in Oscam. In this case BISS.

People will tell you that Oscam can not run in Windows due to difference between Linux and Windows. ( I know now this days some one had build Oscam that do run)
Some time ago I took OscamEmu files, Then I made custom files that can be compile in both Linux and Windows. So I use files that belong to Oscam-Emu but I do not run a FULL Oscam. In my case I can not do all those fancy Oscam way to force missing stuff.

What I can do is create a custom build that will change the OscamEmu files. For this I go and try to understand the problem and then find a Software change that will overcome such a problem.

Now on the Issue.

What is my problem with MX. Yes you are 100% ECM info do not show in PMT belonging to MX. So that is my problem.

What can I do.
1) If STD is sent then I can see it is MX.
2)If CAT is sent I can use that Info to try to Identify that stream. I know that cat will show ( 0x2250, 0x2251,0x2252,0x2253,0x2254)
3) If Only PAT & PMT are sent then I have no INFO. So my last result will be :

PMT show that stream is
PCRPID=0x1000
stream_type=06
elementary_pid=0x1000
descriptor_tag=7F
Description extension tag=11

So I know it is T2MI. I will then be force to detect if elementary_pid 0x1000 is Encrypted.
And Finally assume that because PMT has no ECM that the encryption is BISS.

I know more confuse. Let me get you to look at the problem from far away. Inside you receiver you know that you tune MX. So receiver have no issue.

But my Win7 application could receive a stream without STD! So my app has no way to know what Channel you had tune. Then how my app will Automatically detect the stream and assign proper decription and depacking?

As I said will have to look at stream differences, Then assume is a particular channel so that the necessary changes needed get automatically apply.

Finally when dvlajkovic turn on its receiver and tune MX. He will only have to Start T2MI_decap2 in Win7. Then open VLC in Win7 and he will see any channel he wants from that stream. No need for changing T2MI_decap.inf as he used to do.
 
Last edited:

EnoSat

Senior Member
Messages
1,995
Coded T2MI on 40W has the advantage that CAid is already defined in PMT

For programs without CAid identification in PMT, it will probably be necessary to create a condition in the application for manual entry of this information (coding system and ECM pid)
 

cayoenrique

Member
Messages
475
Yesss
If they want to use regular receivers. I guess if they used none BISS code they will be force to have it in PMT. So that at the end the receiver picks up the ECM needed for none BISS cas.

But as we see in MX some time the do as they please.
 

Psilos2003

Registered
Messages
52
People will tell you that Oscam can not run in Windows due to difference between Linux and Windows. ( I know now this days some one had build Oscam that do run)
Some time ago I took OscamEmu files, Then I made custom files that can be compile in both Linux and Windows. So I use files that belong to Oscam-Emu but I do not run a FULL Oscam. In my case I can not do all those fancy Oscam way to force missing stuff.
There is an Oscam build for Windows; it was recently updated:
 

cayoenrique

Member
Messages
475
@Psilos2003
I did say "( I know now this days some one had build Oscam that do run)".

The last Oscam I study is from at least 2 years ago. So I may be wrong. But the point is that you can not build a MS Windows EXE using the sources.
The reason you got that Latest Oscam for windows is because is build inside Cygwin witch mimics some what a Linux OS.

Let me simplify this issue. If you try to write a program your self in windows using Oscam files as part of your sources you will quickly find your self in many troubles to resolve. Most people after a day or so stop their projects.
 

cayoenrique

Member
Messages
475
Update and change of plan.

1rst for the last few days I been troubled. I finaly found the cause of the problem. I created and array of size 30 but used 8191 ( 0x1FFF), maximum possible Pids. The exception error will show up ONLY when I printed results, this is ok. But not when I fill the memory with info, this is TOTALLY wrong!! This is when, I in fact, as a programmer overshoot and corrupted the adjacent memories!!! Weird no. And if I try to debug all exceptions will not show, preventing me to figure out where the problem was.

Now I was introduce on 4,9E 12,072. This transponder is out of the normal. It not only have 2 T2MI bur even have extra Video channels that are not part of T2MI. This will create problems in my Idea of automatic detection of PID to watch!!.

As you could want to watch any of the 2 T2MI or even other Videos channels!. So I am changing plans. For now we will ignore extra Video. Most likely they will decrypt if Keys are in file. But we will ignore then.
I will assume that PAT & PMT will ALWAYS be sent. I will test MPT for T2MI or DTT. If more than 1 PMT is found with packed info then User will be requested to input or select the one he want to watch. If decryption is required, Keys will have to be store in SoftCam.Key.

If you have any question or observation please let me know. See you soon.
 
Top