Jump to content


Photo

Record complete transport stream.


  • Please log in to reply
84 replies to this topic

Re: Record complete transport stream. #41 mrvica

  • Senior Member
  • 1,259 posts

+86
Good

Posted 1 June 2017 - 22:00

Add mbmini to /etc/hosts next to localhost and try again.

that was it, dvbstream is now recording but the .ts file is unusable, only mplayer will play it with plenty errors (chopping picture), vlc and others just fail

Re: Record complete transport stream. #42 Abu Baniaz

  • PLi® Contributor
  • 2,499 posts

+64
Good

Posted 2 June 2017 - 01:47

The purpose of this exercise is not to record video for playback. It is for for recording of raw dvb data for inspection of the data. What is in SDT, NIT, BAT etc.



Re: Record complete transport stream. #43 Abu Baniaz

  • PLi® Contributor
  • 2,499 posts

+64
Good

Posted 5 June 2017 - 00:43

Although, it's sad that most boxes don't work with dvbsnoop.

Hopefully most work.

 

So far, just two Miracleboxes have failed.



Re: Record complete transport stream. #44 mrvica

  • Senior Member
  • 1,259 posts

+86
Good

Posted 17 June 2017 - 18:13

@athoik, dvbstream for some reason doesn´t work on my box, could you compile attached file (test_dvr.c) for mipsel, I was using this tool on my dbox2, will try it on my enigma2 mipsel box, thanks

I managed to compile it myself, called it record_ts, you can of course use it for recording all the pids (if dvbsnoop starts on your box), dvbstream is just the sledge hammer for this purpose, a small script (called it record) using record_ts shows how easy recordings can be done on an enigma2 box

#!/bin/sh
# /usr/bin/record
# simple recording tool by mrvica

DATE=`date -R | sed s/\ *//g | sed s/\://g`
DATE=`expr substr "$DATE" 5 15`
PATH="/media/usb/movie/"
FILE="$PATH$DATE.ts"
PIDS=`/usr/bin/wget -q -O - http://127.0.0.1/web/getpid | /bin/sed 's/,/ 0x/g; s/[^ ]* //'`
echo "recording to $FILE using PIDS: $PIDS started"
/usr/bin/record_ts $FILE $PIDS
exit;

change the PATH variable for your HDD, you may try it in /tmp too, don´t record it into the flash, you´ll run out of space

Attached Files



Re: Record complete transport stream. #45 Huevos

  • PLi® Contributor
  • 4,661 posts

+163
Excellent

Posted 18 June 2017 - 08:44

Can you compile for ARM?

How do you stop it?

Re: Record complete transport stream. #46 mrvica

  • Senior Member
  • 1,259 posts

+86
Good

Posted 18 June 2017 - 13:36

you can stop it with Ctrl-C or just open an another telnet session and kill it with "killall -9 record_ts"

I can´t compile for arm, there is no arm tool chain for Pli, I compiled mipsel witf bitbake devshell for OpenPLi images, this could be interesting for an arm

http://ellcc.org/releases/

scroll down for readme, I tried for mipsel, it didn´t work, mips32r2el is obviously not mips32el


Edited by mrvica, 18 June 2017 - 13:37.


Re: Record complete transport stream. #47 Abu Baniaz

  • PLi® Contributor
  • 2,499 posts

+64
Good

Posted 18 June 2017 - 20:43

@athoik your last package did not work on a DM800se using official PLI 4. It says "too many variables".



Re: Record complete transport stream. #48 Abu Baniaz

  • PLi® Contributor
  • 2,499 posts

+64
Good

Posted 30 June 2017 - 22:20

@mrvica, have you been able to inspect the data in the recordings using output from files in post 44? If so which program did you use please?



Re: Record complete transport stream. #49 mrvica

  • Senior Member
  • 1,259 posts

+86
Good

Posted 2 July 2017 - 20:44

actually not but you may try http://altaisdigital...-tools/download , there is also a linux version, it is for free, record.sh script can just store three pids, PMT, Video and Audio pids, record_ts can store as many pids as you want using command line or parsing them from dvbsnoop. I made just for fun a plugin "simple record" using record_ts , hope someone finds it useful, you can both use simple record and enigma2 internal recording, it checks for recording directory config.usage.default_path= from /etc/enigma2/settings and store the files there, install ipk and restart enigma2 gui, should be under plugins or pressing blue key

Attached Files



Re: Record complete transport stream. #50 Abu Baniaz

  • PLi® Contributor
  • 2,499 posts

+64
Good

Posted 10 July 2017 - 22:05

@mrvica

 

Many thanks for your contribution, but I suspect/object/intention/purposes are different. The whole point of request/query was to obtain a raw stream/data recordings for anlaysis of the data. This is useful for analysing the DVB data. For example, analysing tehstream data of providers who have not strictly stuck to DVB standards. Example, analysing why Net ID is not used properly for UK DVB-C, adding/fixing fastscan and other scanning methods. The last "project"  before this thread was adding Mtel provider to ABM. There was previous request for adding Russian providers. Not everybody has a USB tuner/software to record such things.

 

Many thanks for your contribution/assistance.  I'm sure it will be useful for the purpose you intended, but not the subject matter of this thread. 



Re: Record complete transport stream. #51 mrvica

  • Senior Member
  • 1,259 posts

+86
Good

Posted 28 July 2017 - 16:03

Can you compile for ARM?

 

I managed somehow, I can´t test it, I have no arm box, I compiled another DVB tool, getpids, just to get the pids from the ts stream, still no output on my box

Attached Files



Re: Record complete transport stream. #52 Abu Baniaz

  • PLi® Contributor
  • 2,499 posts

+64
Good

Posted 8 September 2018 - 02:22

@Athoik

Were you compiling from here?

 

https://github.com/linuxstb


Re: Record complete transport stream. #53 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 9 September 2018 - 08:40


@Athoik
Were you compiling from here?

https://github.com/linuxstb
 

I guess so, it was long time ago.

Please note if driver supports all pids, most probably dvbsnoop can also dump full ts (and all images have dvbsnoop).
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. #54 Huevos

  • PLi® Contributor
  • 4,661 posts

+163
Excellent

Posted 9 September 2018 - 17:00

 

@Athoik
Were you compiling from here?

https://github.com/linuxstb
 

I guess so, it was long time ago.

Please note if driver supports all pids, most probably dvbsnoop can also dump full ts (and all images have dvbsnoop).

 

dvbsnoop works fine for us, it's just frustrating that the drivers are crap in some boxes. SF4008 and HD51 work and grab all PIDs.

 

This has been very helpful to get TS recordings from the MIS transponders on 5º west where we couldn't have done otherwise without a very expensive USB tuner. Really interesting is that the NIT for those transponders is terrestrial info, not satellite. But contains LCN data that could be used to create automatic bouquets.



Re: Record complete transport stream. #55 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 14 September 2018 - 09:55

Are you saying you can get MIS/PLS transponder working on a DVB-S2 tuner when grabbing all of the transponder? I can hardly believe that, because on all of my tuners, these frequencies don't even lock.


* 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. #56 Abu Baniaz

  • PLi® Contributor
  • 2,499 posts

+64
Good

Posted 14 September 2018 - 10:29

He used the Octagon SF4008.

Sent from my Moto G (5S) using Forum Fiend v1.3.3.

Re: Record complete transport stream. #57 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 14 September 2018 - 11:32

And that one has a DVB-S2x PLS/MIS tuner. So I seem to be missing the point here?


* 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. #58 MCelliotG

  • Senior Member
  • 443 posts

+35
Good

Posted 14 September 2018 - 11:44

I think what is meant here is that when you can finally record the whole TS of a MIS transponder, you can essentially implement the functionality of a PCI card and read the info like EBS pro does.

So, once you have the Gold sequence code that will allow the signal to lock you only need this parameter (along with the frequency of course) to blind lock the rest of the PLS parameters.

Currently in Enigma2, each input stream ID is treated like a different frequency.

You need to enter all the PLS data including the IS_ID to get a lock. With this feature you can set the IS_ID to Auto and all the potential input stream IDs are auto discovered as they are part of the whole TS too.

This could be very useful to receivers that support blindscan with these MIS capable tuners, provided of course the driver will allow the whole TS to be locked and captured!

And naturally a MIS enabled tuner is required, I don't think a normal tuner will recognize a PLS scrabled transponder anyway!


Edited by MCelliotG, 14 September 2018 - 11:46.


Re: Record complete transport stream. #59 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 14 September 2018 - 12:11

If you don't have the stream id, the tuner won't lock as well.


* 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. #60 MCelliotG

  • Senior Member
  • 443 posts

+35
Good

Posted 14 September 2018 - 12:42

In Enigma2 yes, in PC cards, no! You only need the frequency parameters and Gold code, the IS IDs are auto discovered!


Edited by MCelliotG, 14 September 2018 - 12:43.



2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users