Comments (4)
Why would you want to set GOP size to 24?
If the GOP size is not a power of two the hierarchical structure will be somehow unbalanced - i.e. probably like a mix of interleaving gop-16 and gop-8 structures, meaning it would also produce suboptimal results and possibly introduce some pumping-effects.
Since we don't want to decide how it should be unbalanced nor have an algorithm that can decide the optimum between gop16-gop8, gop8-gop16 and gop8-gop8-gop8 or even more fine-granular imbalance (i.e. on higher temporal depths), there is no setting to do that.
To run a GOP24 encoding you'd need to define your own GOP structure in the expert app (defining reference pictures lists, QP offsets and all that stuff for each frame in the GOP), which is indeed an expert setting.
from vvenc.
Thanks for quick response.
I want to encode videos for streaming, most input videos are 24 or 25 fps, so setting GOP to 1 seconds or 3 seconds is helpful to generate same duration dash m4s segments.
If I can't use the standard encoder to do this, I may need to change input videos to 32fps.
from vvenc.
So in your case you want an intra-period (IP) of 24. I guess the best way to do this would be to have a GOP of 24, but the problem described above applies. The easiest hack around this would be to have a GOP8 structure, because for now intra period has to be a multiple of GOP size. I think older version of HM have a GOP8 configured so you could adapt their configuration (it should use similar semantics to the expert encoder parametrization). Doing that will cost a lot of efficiency, though. So for proper application right now you'd need to adapt the segment size to 1.3 seconds (32 frames), or a multiple of that, and stick with what the encoder offers.
I guess we can evaluate it internally if the the intra-period necessarily has to be a multiple of the GOP size, in which case e.g. a GOP32 could be just cut short (frame 24 would be an I-frame instead of temporal layer 2 B-frame and the frames 25-31 in the GOP would be skipped, as they would be transmitted in the next IP, so also next GOP). But since it requires some experiments and might produce too much overhead for us to officially support it, I would not count on seeing this feature soon, if at all.
from vvenc.
Got it, thanks for help.
from vvenc.
Related Issues (20)
- Lossless image encoding efficiency HOT 7
- Encoder IPPP settings? HOT 1
- 1 pass rate control does not meet target rate, when intra period is not a mutiple of gop size
- New Feature testing HOT 1
- does vvenc support AVX512(AVX3) now? HOT 3
- Unknown encoder x265 HOT 2
- 8-bit color encoding is not working with FFMpeg patches. HOT 8
- will vvenc support android ndk in future? HOT 2
- coding vvc for best psnr and ssim value HOT 3
- Can we run VVenc in a CRF mode? HOT 5
- Contradictory condition that can fail with some compilation options HOT 1
- Can vvenc generate user-mandated IDRs HOT 4
- Speeding up VVenC by increasing refreshsec
- Bad quality when use VVC HOT 13
- FPS be fixed on 25 HOT 2
- HDR HOT 2
- First One Second Of VVC Encoding Is Lower Quality? HOT 4
- VVC not building with media-autobuild_suite? HOT 6
- vvenc_reconfig support HOT 5
- " --Log2MaxTbSize 5" setting result Segment fault HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vvenc.