-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'UnknownElement' object has no attribute 'structure' #39
Comments
I have also the same problem. |
Hi, Same problem here, trying to decode a recorded ts stream, here is the output... Duration: 00:01:25.40, start: 1778.243333, bitrate: 5850 kb/s |
I cannot reproduce this error. Sorry for the delay. Can you specify the steps to reproduce it? |
@firestorm22 @adamxyzxyz @ayhangenc Were you guys able to resolve this issue? I am also facing this similar issue and not able to figure out the reason behind it. |
I hit this as well and resolved it. It happens if your stream has data fields that are not implemented, and you are using code like the sample script from the homepage Quick Start that calls packet.structure(). On a related note I implemented an improvement to nicely print the info about the UnknownElement. Edit klvdata/klvdata/element.py in two places as follows:
|
Hi,
I am receiving this error when running klvdata_test.py:
AttributeError: 'UnknownElement' object has no attribute 'structure'
I believe it has something to do with the way the klvdata is embedded in the stream:
Stream #0:0: Data: bin_data (KLVA / 0x41564C4B)
Are there any adjustments I can make to this script to have it properly parse the data?
Thanks
The text was updated successfully, but these errors were encountered: