yohhoy / av1parser Goto Github PK
View Code? Open in Web Editor NEWAV1 video codec bitstream parser (not decoder!)
License: MIT License
AV1 video codec bitstream parser (not decoder!)
License: MIT License
I am getting the following error when encoding inter frames using rav1e.
thread 'main' panicked at 'assertion failed: rfman.ref_valid[fh.ref_frame_idx[i] as usize]', src/obu.rs:1706:21
This seems reproducible with the nyan.y4m
video fetched by the build script build.sh
included in the rav1e repository. I used the -s 10 -l 3
parameters when encoding to reproduce this issue.
The encoded clip is decodable using libaom and dav1d, so I am guessing that there is an error in how ref_valid
is set here.
I wanted to use the av1parser to get the frame_buf out of an .ivf file generated using aom's av1 encoder.
The file is encoded using that specific command:
--cpu-used=6 --passes=1 --end-usage=q --use-fixed-qp-offsets=1 \
--deltaq-mode=0 --enable-tpl-model=0 --enable-keyframe-filtering=1 \
--fps=$fps/1000 --input-bit-depth=10 --bit-depth=10 -w $width -h $height \
--cq-level=27 --tile-columns=0 --threads=1 --min-gf-interval=16 \
--max-gf-interval=16 --gf-min-pyr-height=5 --gf-max-pyr-height=5 \
--kf-min-dist=9999 --kf-max-dist=9999 --lag-in-frames=0 \
--tune-content=screen -o $output $input
However it appears to me that the frame_buf and the way it is updated may not be accurate.
I used a simple ivf file for my test and compared the results with Elecard's software StreamEye.
I can provide the ivf file and a csv file which is an export made from StreamEye.
In my case (streaming use case with only one keyframe) the first steps (out of StreamEye) are:
[LAST, LAST2, LAST3, GOLDEN, BWDREF, ALTREF2, ALTREF]
The result of of the parser is:
Is there something I am missing ?
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.