Giter Club home page Giter Club logo

Comments (6)

bradh avatar bradh commented on July 26, 2024

Do you have a sample file to reproduce this?

Also, can you show the code you are using?

Does it happen with the viewer application?

from jmisb.

YannPara avatar YannPara commented on July 26, 2024

It's appear both in viewer application and in my own application with your API (really nice by the way)

Sample data are the FFMPEG videos tests for KLV (DayFlight.mpeg, NightFilghtIR.mpeg)
After better check it's looks more metadata decoding error blocking thread for a while before try decode again. Error thrown :

  • org.jmisb.api.klv.st0601.UasDatalinkMessage - Target Width encoding is a 2-byte unsigned int

But I find 2 others sample files working well with no error, so maybe FFMPEG sample files are just corrupted.

Sorry for reporting bug too fast and thanks for your work and fast answer.

sample data KO 1 DayFlight
sample data KO 2 NightFilghtIR
sample data OK 3 Truck.ts
sample data OK 4 CheyenneVAhospital

Well working sample :
test_KLV_OK

Metadata stuck (~17s) - prob file corrupted
metadataError

from jmisb.

bradh avatar bradh commented on July 26, 2024

The target width is meant to be encoded as two bytes (i.e. it is a uint16 that gets mapped to a range of 0..10000). So that data is not valid. If that particular file is important to you, it wouldn't be hard to work around.

Are you seeing problems on production data?

If you want some other test samples, see https://data.kitware.com/#user/57194fc68d777f4fe2c91709/folder/62197cb54acac99f4264698a

from jmisb.

YannPara avatar YannPara commented on July 26, 2024

Maybe the bug in width encoding have been fix since 2009 on MX gimbal series, because it's not looks appear on sooner MX series videos.
I am not yet in production, but since I do deep test I will give you a feedback.

I already know that I will have to also deal with multiple KLV stream inside videos. So I will see how jMISB react and may send a pull request if needed.

Thanks for datas - more tests less surprise in production :)
Have a good day

from jmisb.

bradh avatar bradh commented on July 26, 2024

Is anything more required on this ticket?

from jmisb.

YannPara avatar YannPara commented on July 26, 2024

Sorry no. I close it.

from jmisb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.