Comments (4)
Hi @lars18th
I understand the issue. Must admit I did not test the table views with multiple versions of PAT/SDT, etc.
At the moment the tables show the view of the first (oldest) version of the data. That is a consistent view of the data at that moment. Showing a "merged" version would show something that never occurred. Then you would have to somehow mark rows as deleted or new. (I did something like that here. It was not easy.)
It would be even more complicated for all the possible changes for all types of tables.
Still it is worth playing around with. Do you have some test streams available?
from dvbinspector.
Hi @EricBerendsen ,
Still it is worth playing around with. Do you have some test streams available?
My test streams are synthetic streams manipulated with the TSDuck toolkit. However, if you need one then I can prepare one to share with you.
It would be even more complicated for all the possible changes for all types of tables.
Yes, I feel it's not necessary to complicate a lot the code for a small advantage. However, in order to handle such cases I have one simple proposal:
- When more than one version of a PSI table is found, then the user will have the option to global use one or another. With the right mouse button it could select an specific version of the table from the PSI tree when it has selected.
With this support you can use by default the older version (as now). But the user can then enforce to use the never version. And then all parts of the tool will use the information selected. This will include the names of the services, for example if the SDT table is updated. But will be also true for any other PSI table. I feel this is sufficient easy to implement it, and at the same time sufficient powerful.
What you think?
from dvbinspector.
First a remark in general about my design philosophy for DVB inspector. In the Tree view the left panel (the tree) should represent the whole, consistent, actual and complete data. What is displayed in the right panel can be a summary, clarification, visualisation or other interpretation of the data. When in doubt, look at the tree, not at the right panel.
The views in the right panel will not always be complete. Example: a table of the components in a PMT will not show all info about the components, just a few selected descriptors are used for creating the table.
The table shown for the PAT shows service names. These are found in the SDT, but put here for easier reading.
The views for the EIT do not take into account version updates (and for EIT version updates are the most likely).
For other tables a version update is a edge case. It is not very likely to happen. But when you go down the rabbit hole of supporting multiple versions (outside of the tree), there are a lot of possible complications. What if you have some sections of the old version, and other sections of the new version? When a services is renamed in the SDT, the SDT should have two versions. But the PAT table also shows service names for easy reading. Should that table also reflect the update in the SDT?
It would not be possible to create a general solution to support multiple versions for all tables. The table view for each PSI table has its own specialised coded, which is complex enough as it is.
I don't think this edge case is worth the extensive effort.
from dvbinspector.
Ok. Thank you for the answer.
from dvbinspector.
Related Issues (20)
- BUG: Outdated dvb.bat and dvb.sh files HOT 2
- Wrong TSID in BAT HOT 1
- Question: Any method to locate the continuity errors? HOT 7
- Version 1.17 will require java 17 HOT 7
- Problem with runing DVB inspector under Windows 10 x64 HOT 2
- Troubles with "Start TS Packet No:" after "Parse data" HOT 4
- Drag and drop support for re-opening HOT 5
- Crash in JPEG XS descriptor handler HOT 1
- dvb.sh uses dos style newlines HOT 2
- ./dvb.sh: cannot execute: required file not found HOT 1
- Linux and ^M in the dvb.sh HOT 1
- SCTE-35 messages inside the DSM-CC stream (was Buffer overflow in TransportStream's packet_pid) HOT 14
- White highlight of table in Private Data in Dark Mode on Ubuntu makes text unreadable HOT 2
- Copy Item / Sub Tree to Clipboard only copies up to 0x64 bytes for private data, any data after that is missing HOT 3
- Unable to create DSM-CC Object and hierarchy even though private data follows ETSI DVB Standards HOT 2
- For M2TS, each packet shows the arrival time stamp from the next packet HOT 3
- New Features
- Question: Muxing delay calculation
- Does not launch, run HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dvbinspector.