Giter Club home page Giter Club logo

Comments (7)

adamjw24 avatar adamjw24 commented on May 30, 2024

Working on some more extensive documentation, will update you soon.

from vvenc.

master-of-zen avatar master-of-zen commented on May 30, 2024

@adamjw24 Sorry for pinging, but is there any updates?

from vvenc.

master-of-zen avatar master-of-zen commented on May 30, 2024

@adamjw24 Hey, any updates/eta on how vvc bitestreams currently can be concatenated?

from vvenc.

adamjw24 avatar adamjw24 commented on May 30, 2024

Sorry for the long wait. We are just preparing an update that will ease it up.

I assume you want to do Open-GOP encoding and encode each intra-period in parallel?

So for the segment parallel encoding, you need to use the full-featured app and the process is very much similar to VTM. Its easiest if each segment encoder has access to the full YUV file and you just define the segment with --FrameSkip and --FramesToBeEncoded parameters (similar to VTM). Now, for all presets but faster, we use an temporal filter, which for segment parallel encoding needs frames outside of its segment to create the proper temporal context. So for all but first segment, you need to set --MCTFNumLeadFrames=2 and for all but last segment --MCTFNumTrailFrames=2.

The segments can be concatenated using the parcat app from VTM repository.

Best you run it once with --SEIDecodedPictureHash=1 and confirm on the decoder that the decoded hashes match.

Let me know if this works.

Soon this functionality will also be available in the easy app.

from vvenc.

master-of-zen avatar master-of-zen commented on May 30, 2024

@adamjw24 That's amazing answer and one I have been looking for quite a while)) Thank you, will look into that 👍

from vvenc.

adamjw24 avatar adamjw24 commented on May 30, 2024

For simple app, please use the --segment parameter to indicate if the position of the segment within the encoded sequence

from vvenc.

adamjw24 avatar adamjw24 commented on May 30, 2024

A comment on this dead topic because I was thinking about it recently.

If still of interest (I saw VVC is no longer supported with Av1an), here is an update. There is some stuff I see differently and more practical today than at the beginning of the development.

If using bitstream concatenation after splitting the input at scene-cuts, best way is to do non-overlapping chunks and just use cat for concatenation. There's no point having prediction continuity at scene-cuts.

If using regular chunking, just make sure the chunks are big enough (say >=10s), make them non-overlapping, and also use cat for concatenation. An optimization here would be to make sure that the chunk size is a multiple of intra-period, otherwise the last intra-period in a chunk will be smaller than the rest. The prediction discontinuity will have a penalty, but the longer the chunk, the smaller the penalty. With >=10s it should be less than 1% relative bitrate increase.

from vvenc.

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.