Code Monkey home page Code Monkey logo

obuparse's Issues

How to get OBU data from packet?

Hi,
I try to open ivf file and get raw obu data from packet. In documentation you write that parameter offset should get offet in buffer. But how to understand those values?

{"packet_number": 0, "packet_size": 4242}
{"obu_type": 2, "offset": 2, "obu_size": 0, "temporal_id": 0, "spatial_id": 0}
{"obu_type": 1, "offset": 2, "obu_size": 11, "temporal_id": 0, "spatial_id": 0}
{"obu_type": 6, "offset": 3, "obu_size": 4224, "temporal_id": 0, "spatial_id": 0}
{"packet_number": 1, "packet_size": 75}
{"obu_type": 2, "offset": 2, "obu_size": 0, "temporal_id": 0, "spatial_id": 0}
{"obu_type": 6, "offset": 2, "obu_size": 31, "temporal_id": 0, "spatial_id": 0}
{"obu_type": 6, "offset": 2, "obu_size": 38, "temporal_id": 0, "spatial_id": 0}

Packet 0 = 4224 + 11 != 4242
Why two OBUs has same offset?

no release tags

This project needs an official release version (even a beta version would do).
Can you tag the head of the repository with it's version so it can be properly packaged?
With new version from the author, it's going to be marked as "no-scheme" which puts a burden on software packagers.

you can already see the issue here:
https://repology.org/project/obuparse/versions

makefile is missing soname

The shared library doesn't have the soname definition for elf builds.

I had to patch the makefile like this:

--- Makefile.orig       2023-07-12 18:02:40 UTC
+++ Makefile
@@ -11,7 +11,7 @@ ifneq (,$(findstring mingw,$(CC)))
        SYSTEM=MINGW
 else
        LIBSUF=.so
-       LDFLAGS=-Wl,--version-script,obuparse.v
+       LDFLAGS=-Wl,--version-script,obuparse.v -Wl,-soname,libobuparse.so.1
 endif

 all: libobuparse$(LIBSUF) libobuparse.a

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.