Seite 2 von 2

Verfasst: Fr 10. Nov 2023, 21:15
von Amcoco
archivos.png

Verfasst: Fr 10. Nov 2023, 22:34
von Amcoco
Diejenigen von Ihnen, die über chroma_subsampling gelesen haben, fragen sich vielleicht, wo ist das Grün?
Wir haben Cr (Chroma Rot) und Cb (Chroma Blau)... Grün wird durch 'Y', die Luminanz, impliziert!!!!
Die grüne Farbe liegt zwischen 526 und 606Thz.
Genau zwischen Blau und Rot und den Grenzen der Wahrnehmung des menschlichen Auges:
Blau 631 bis 668Thz.
Rot 400 bis 484Thz.
Grün ist die vorherrschende Farbe in unserem Leben.

Those of you who have read about chroma_subsampling may be wondering, where is the green?
We have Cr (chroma red) and Cb (chroma blue)... Green is implied by 'Y', the luminance!!!!
The green colour ranges between 526 and 606Thz.
Just between blue and red, and the limits of the human eye perception:
Blue 631 to 668Thz.
Red 400 to 484Thz.
Green is the dominant colour of our lives.

Verfasst: So 12. Nov 2023, 20:42
von Amcoco
DR+ zeichnet Videos im MPEG-TS-Format (.TRP) auf.
https://en.wikipedia.org/wiki/MPEG_tran ... nformation

Dies ist ein MPEG4-Format für Streaming (mit Vorwärtsfehlerkorrektur, FEC)
https://en.wikipedia.org/wiki/Error_cor ... correction

Eine erste Analyse der Datei mit einem Hex-Editor.
https://mh-nexus.de/en/downloads.php?product=HxD20
scheint darauf hinzudeuten, dass DR+ die Programm-Metadaten aus der .TRP-Datei entfernt.
https://en.wikipedia.org/wiki/Program-s ... nformation

Mit den gelöschten Daten und anderen Daten werden Dateien für den eigenen Gebrauch erstellt: Programm, Kanal, gelöschte Abschnitte, Highlights usw.

Das Entfernen der Metadaten aus der Videodatei ist ein Nachteil für das Verständnis der Struktur von DR+-Dateien, obwohl es die Entschlüsselung einiger Abschnitte davon nicht verhindert.

DR+ records video in MPEG-TS (.TRP) format.
https://en.wikipedia.org/wiki/MPEG_tran ... nformation

This is an MPEG4 format for streaming (with forward error correction, FEC)
https://en.wikipedia.org/wiki/Error_cor ... correction

A preliminary analysis of the file using a hex editor.
https://mh-nexus.de/en/downloads.php?product=HxD20
seems to indicate that DR+ removes the programme metadata from the .TRP file.
https://en.wikipedia.org/wiki/Program-s ... nformation

With the deleted data and other data, it creates files that are for its own use: programme, channel, deleted sections, highlights, etc.

Removing metadata from the video file is a drawback in understanding the structure of DR+ files, although it does not prevent decrypting some sections of them.

Verfasst: Di 14. Nov 2023, 20:53
von Amcoco
All das scheint sehr verwirrend und schwierig zu sein, aber in Wirklichkeit ist das Konzept ganz einfach: Ein Etikett mit einem genau definierten Format (Header) wird an die zu übertragenden Daten angehängt; die im Header enthaltenen Daten ermöglichen dem Empfänger die korrekte Verwendung der Daten (zahlungskosten).

Hier sehen wir den Header der MPEG-TS-Datei.
Im unteren Bild sehen wir einen Speicherauszug, links in hexadezimaler Darstellung, rechts in Textform.
Im Bild oben sehen wir eine Tabelle mit den ersten sechs Bytes, oben in Hexadezimal und Binär, unten in Big-Endian (Endianness - Wikipedia) mit ihrer Bedeutung als Daten oder als Flag.
Beachten Sie, dass der Binärwert zur besseren Lesbarkeit immer dargestellt wird:
bit7,bit6,bit5,bit4,bit3,bit2,bit1,bit0, wobei das Bit mit dem höchsten Gewicht links steht.
Der Computer ordnet den Speicher als eine fortlaufende Reihe von Positionen zu, Big-Endian ist die Darstellung, wie die Bits die Positionen darin belegen:
Bit0,bit1,bit2,bit3,bit4,bit5,bit6,bit7, das Bit mit dem geringsten Gewicht steht links.



All of the above seems very confusing and difficult, but in reality the concept is quite easy, a label with a perfectly defined format (header) is attached to the data to be sent, the data contained in the header allows the receiver to make correct use of the data (payload).

Here we can see the header of the MPEG-TS file.
In the image below we see a memory dump, on the left in hexadecimal, on the right in text.
In the picture above we see a table with the first six bytes represented, above in Hexadecimal and binary, below in big-endian (Endianness - Wikipedia) with their meaning as data or as flag.
Note that the binary value is always represented for human readability:
bit7,bit6,bit5,bit4,bit3,bit2,bit1,bit0, the bit with the highest weight is on the left.
The computer allocates the memory as a continuous series of positions, Big-endian is the representation as the bits occupy the positions in it:
Bit0,bit1,bit2,bit3,bit4,bit5,bit6,bit7, the bit with the smallest weight is on the left.

Verfasst: Di 14. Nov 2023, 22:21
von Amcoco
Es gibt nur 10 Arten von Menschen: diejenigen, die das Binärsystem kennen, und diejenigen, die es nicht kennen.

There are only 10 kinds of people, those who know binary and those who do not.

:D

Verfasst: Mi 15. Nov 2023, 08:37
von Rudi16
I'm not sure what you are trying to do here. I fail to see what an ordinary user would want to do with the knowlege of the TS packet header structure. If someone is really interrested in these kind of things, one should read the standards (in this case ISO 13818, transport stream packet description is in chapter 2.4.3 starting on page 18) and/or an appropiate book (Chapter 3.4.2 on page 40ff). This contains the level of detail needed to implement program code to process the data format. Also some ETSI documents might be helpful...

Verfasst: Mi 15. Nov 2023, 09:41
von nerdlicht
Just an AI, talking to itself…

Verfasst: Mi 15. Nov 2023, 19:45
von Amcoco
I thought that studying technology topics in some depth would stimulate the interest of some people, especially the non-average user.
If I bother I'll stop doing it.

Verfasst: Mi 15. Nov 2023, 19:47
von Amcoco
I must apologise because there are errors in the calculation of the header values, I misapplied the "big-endian" concept, it should be applied at the byte level and not at the bit level.

Verfasst: Mi 15. Nov 2023, 20:18
von Amcoco
Setting up a system like this requires very specific knowledge at different levels, mainly about DR+ and Control Interface.
In DR+ the ".TPR" file is not interesting by itself, but it opens the door to the understanding of the rest of the files.
Control Interface allows not only the operation of the TV, but also the control of the home automation, for which you need to understand the use of dynamic menus and programming; I understand that this is beyond the reach of the average user.

Verfasst: Fr 17. Nov 2023, 21:53
von Amcoco
I am moving, in a week I will continue with the project, of course if you want....
Thanks for reading.

:wayne: