dwbuiten / obuparse Goto Github PK
View Code? Open in Web Editor NEWA simple and portable single file AV1 OBU parser written in mostly C89 with a tiny bit of C99, with a permissive license.
License: ISC License
A simple and portable single file AV1 OBU parser written in mostly C89 with a tiny bit of C99, with a permissive license.
License: ISC License
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?
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.