Jump to content


Photo

Record complete transport stream.


  • Please log in to reply
81 replies to this topic

#1 Huevos

  • PLi® Contributor
  • 4,229 posts

+158
Excellent

Posted 18 May 2017 - 23:02

In OpenPLi s there any way I can record the complete transport straight to disc without demuxing? If so how/what would I need to modify? How much work would be involved?



Re: Record complete transport stream. #2 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 19 May 2017 - 04:41

Why do you want to do that?

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Record complete transport stream. #3 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 19 May 2017 - 08:28

In theory if you would use pid 0x1fff you'd get "everything", but I don't think it's actually implemented in any driver.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Record complete transport stream. #4 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 19 May 2017 - 08:41

You can use dvblast to get full TP, although as Erik already mentioned it is common for all drivers for Enigma2, that they can do only hardware PID filtering and once you try to get everything with PID 0x1FFF, you get a nice failure.
 
So you will find more luck with a usb tuner that uses real open source drivers from linux ;)
 
DVBlast can also stream the entire transponder to an IPv4 or IPv6 address :
dvblast -u -d 172.16.42.42:1235 -f 11570000 -s 27500000 -v 18
dvblast -u -d [fe80::0ca:feff:fec0:ffee]:1235 -f 11570000 -s 27500000 -v 18

Edited by athoik, 19 May 2017 - 08:41.

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Record complete transport stream. #5 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 19 May 2017 - 12:38

But even if you had such a recording I guess you cannot use it on e2 boxes as they expect only 1 video stream in a ts file.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Record complete transport stream. #6 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 19 May 2017 - 13:10

Actually you can use it!

You need to pass the correct SID in service reference and it should work.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Record complete transport stream. #7 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 19 May 2017 - 15:20

But only with code changes. Or how can you change service ref for a recording? E2 always choose 1:0:0:0:0... for recordings. Or am I wrong?
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Record complete transport stream. #8 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 19 May 2017 - 15:43

Yeah I think it can be done, with some changes to enigma. For the demuxer it doesn't matter anyway.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Record complete transport stream. #9 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 19 May 2017 - 17:08

Adding serviceref in a bouquet will work, at least it works for full/tp http ts stream.

So instead http:// adding file:/// ?

Edited by athoik, 19 May 2017 - 17:09.

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Record complete transport stream. #10 Huevos

  • PLi® Contributor
  • 4,229 posts

+158
Excellent

Posted 19 May 2017 - 22:05

Why do you want to do that?

Because I want to be able to inspect the complete transport stream.

 

If I say to a user grab me a complete transport stream recording, at the moment, they need a USB device. I want a way the can do it on the receiver. Maybe just by adding a simple plugin.



Re: Record complete transport stream. #11 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 19 May 2017 - 23:20

Once we can record PID 0x2000 / 8192 the rest are simple.


Currently:

Setting filter for PID 8192
FILTER 8192: DMX SET PES FILTER: Invalid argument

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Record complete transport stream. #12 Huevos

  • PLi® Contributor
  • 4,229 posts

+158
Excellent

Posted 19 May 2017 - 23:27

So how do we get round that?



Re: Record complete transport stream. #13 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 20 May 2017 - 06:37

Ask manufactures to add support for recording full TP via 0x2000 PID..
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Record complete transport stream. #14 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 20 May 2017 - 07:24

Another way without having 0x2000 is to add as much PID as possible.

dvbsnoop -s pidscan| awk '/PID found/ { print $3 }' | xargs dvbstream -ox.ts

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Record complete transport stream. #15 Huevos

  • PLi® Contributor
  • 4,229 posts

+158
Excellent

Posted 20 May 2017 - 08:11

Athoik, how can I test to see if a box does support 0x2000.

Re: Record complete transport stream. #16 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 20 May 2017 - 09:40

"Invalid argument" says it all: no driver support.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Record complete transport stream. #17 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 20 May 2017 - 12:48

I am attaching dvbstream compiled for mips and arm.

Using usb card it works just fine:
 
# ./dvbstream.arm 8192 -c 1 -o > xx.ts
dvbstream v0.5 - (C) Dave Chapman 2001-2004
Released under the GPL.
Latest version available from http://www.linuxstb.org/
Setting filter for PID 8192
Output to stdout
Streaming 1 stream
^CCaught signal 2 - closing cleanly.
# astra --analyze file://./xx.ts
May 20 13:41:05: INFO: Starting Astra SM 0.2
May 20 13:41:05: INFO: PAT: tsid: 106
May 20 13:41:05: INFO: PAT: pid: 16 NIT
May 20 13:41:05: INFO: PAT: pid: 7208 PMT pnr: 2300
May 20 13:41:05: INFO: PAT: pid: 7022 PMT pnr: 2400
May 20 13:41:05: INFO: PAT: pid: 7023 PMT pnr: 2600
May 20 13:41:05: INFO: PAT: pid: 7021 PMT pnr: 2700
May 20 13:41:05: INFO: PAT: crc32: 0xDBCDE2AE
May 20 13:41:05: INFO: PMT: pnr: 2400
May 20 13:41:05: INFO: PMT: pid: 2410 PCR
May 20 13:41:05: INFO: VIDEO: pid: 2410 type: MPEG-4 AVC/H.264, ISO/IEC 14496-10 (0x1B)
May 20 13:41:05: INFO: VIDEO: descriptor: 0x28046400283F
May 20 13:41:05: INFO: AUDIO: pid: 2411 type: MPEG-1 audio, ISO/IEC 11172-3 (0x03)
May 20 13:41:05: INFO: AUDIO: descriptor: 0x030167
May 20 13:41:05: INFO: AUDIO: Language: gre
May 20 13:41:05: INFO: PMT: crc32: 0x94BF2B71
May 20 13:41:05: INFO: PMT: pnr: 2600
May 20 13:41:05: INFO: PMT: pid: 2610 PCR
May 20 13:41:05: INFO: VIDEO: pid: 2610 type: MPEG-4 AVC/H.264, ISO/IEC 14496-10 (0x1B)
May 20 13:41:05: INFO: VIDEO: descriptor: 0x28046400283F
May 20 13:41:05: INFO: AUDIO: pid: 2611 type: MPEG-1 audio, ISO/IEC 11172-3 (0x03)
May 20 13:41:05: INFO: AUDIO: descriptor: 0x030167
May 20 13:41:05: INFO: AUDIO: Language: gre
May 20 13:41:05: INFO: PMT: crc32: 0x755ADA15
May 20 13:41:05: INFO: PMT: pnr: 2300
May 20 13:41:05: INFO: PMT: pid: 2310 PCR
May 20 13:41:05: INFO: VIDEO: pid: 2310 type: MPEG-4 AVC/H.264, ISO/IEC 14496-10 (0x1B)
May 20 13:41:05: INFO: VIDEO: descriptor: 0x28046400283F
May 20 13:41:05: INFO: AUDIO: pid: 2311 type: MPEG-1 audio, ISO/IEC 11172-3 (0x03)
May 20 13:41:05: INFO: AUDIO: descriptor: 0x030167
May 20 13:41:05: INFO: AUDIO: Language: gre
May 20 13:41:05: INFO: PMT: crc32: 0x9D4CDC75
May 20 13:41:05: INFO: PMT: pnr: 2700
May 20 13:41:05: INFO: PMT: pid: 2710 PCR
May 20 13:41:05: INFO: VIDEO: pid: 2710 type: MPEG-4 AVC/H.264, ISO/IEC 14496-10 (0x1B)
May 20 13:41:05: INFO: VIDEO: descriptor: 0x28046400283F
May 20 13:41:05: INFO: AUDIO: pid: 2711 type: MPEG-1 audio, ISO/IEC 11172-3 (0x03)
May 20 13:41:05: INFO: AUDIO: descriptor: 0x030167
May 20 13:41:05: INFO: AUDIO: Language: gre
May 20 13:41:05: INFO: PMT: crc32: 0x529380A0
May 20 13:41:06: INFO: SDT: tsid: 106
May 20 13:41:06: INFO: SDT: sid: 2300
May 20 13:41:06: INFO: SDT:    Service: ANT1 HD
May 20 13:41:06: INFO: SDT:    Provider: DIGEA
May 20 13:41:06: INFO: SDT:    descriptor: 0x5F040BF1F074
May 20 13:41:06: INFO: SDT:    descriptor: 0x4A08006A212C08FC6600
May 20 13:41:06: INFO: SDT: sid: 2400
May 20 13:41:06: INFO: SDT:    Service: m.tv HD
May 20 13:41:06: INFO: SDT:    Provider: DIGEA
May 20 13:41:06: INFO: SDT:    descriptor: 0x5F040BF1F074
May 20 13:41:06: INFO: SDT:    descriptor: 0x4A08006A212C09606600
May 20 13:41:06: INFO: SDT: sid: 2600
May 20 13:41:06: INFO: SDT:    Service: SKAI HD
May 20 13:41:06: INFO: SDT:    Provider: DIGEA
May 20 13:41:06: INFO: SDT:    descriptor: 0x5F040BF1F074
May 20 13:41:06: INFO: SDT:    descriptor: 0x4A08006A212C0A286600
May 20 13:41:06: INFO: SDT: sid: 2700
May 20 13:41:06: INFO: SDT:    Service: STAR HD
May 20 13:41:06: INFO: SDT:    Provider: DIGEA
May 20 13:41:06: INFO: SDT:    descriptor: 0x5F040BF1F074
May 20 13:41:06: INFO: SDT:    descriptor: 0x4A08006A212C0A8C6600
May 20 13:41:06: INFO: SDT: crc32: 0x8A97BE23
May 20 13:41:06: INFO: Bitrate: 24735 Kbit/s
May 20 13:41:07: INFO: Bitrate: 24909 Kbit/s
May 20 13:41:08: INFO: Bitrate: 24882 Kbit/s
May 20 13:41:09: INFO: Bitrate: 24880 Kbit/s
May 20 13:41:10: ERROR: [analyze] end of file
#
# dvb-fe-tool -a 1
Device Siano Mobile Digital MDTV Receiver (/dev/dvb/adapter1/frontend0) capabilities:
     CAN_FEC_1_2
     CAN_FEC_2_3
     CAN_FEC_3_4
     CAN_FEC_5_6
     CAN_FEC_7_8
     CAN_FEC_AUTO
     CAN_GUARD_INTERVAL_AUTO
     CAN_HIERARCHY_AUTO
     CAN_INVERSION_AUTO
     CAN_QAM_16
     CAN_QAM_64
     CAN_QAM_AUTO
     CAN_QPSK
     CAN_RECOVER
     CAN_TRANSMISSION_MODE_AUTO
DVB API Version 5.10, Current v5 delivery system: DVBT
Supported delivery system:
    [DVBT]
But using onboard tuner is not possible at them moment... no driver support most probably for ALL.
 
# ./dvbstream.arm  8192 -c 0 -o > yy.ts
dvbstream v0.5 - (C) Dave Chapman 2001-2004
Released under the GPL.
Latest version available from http://www.linuxstb.org/
Setting filter for PID 8192
FILTER 8192: DMX SET PES FILTER: Invalid argument
Output to stdout
Streaming 1 stream
^CCaught signal 2 - closing cleanly.
# ls -la yy.ts
-rw-r--r--    1 root     root             0 May 20 13:47 yy.ts
PS. Make dvbstream executable after unzip.

Attached Files


Edited by athoik, 20 May 2017 - 12:51.

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Record complete transport stream. #18 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 20 May 2017 - 14:51

I've heard a rumour that (original) DMM drivers could do it.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Record complete transport stream. #19 Huevos

  • PLi® Contributor
  • 4,229 posts

+158
Excellent

Posted 20 May 2017 - 18:59

@Athoik, thanks for the IPKs.

 

Just another related question.

http://192.168.1.28:...:11a0000:0:0:0:

 

Is there any way I could change that URL so it would stream the complete stream?



Re: Record complete transport stream. #20 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 20 May 2017 - 19:08

You can modify lamedb to include extra pid (type c16) or replace textpid / audio pid with 0x2000, then, if the driver supports, we might get full ts.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users