erazortt / DoViBaker

Bake the DoVi into your clip
GNU General Public License v3.0
45 stars 7 forks source link

Add parameter sourceProfile #24

Closed Asd-g closed 7 months ago

Asd-g commented 11 months ago

Currently one can process RPU.bin with different profile than the video. The new parameter prevents such scenarios.

erazortt commented 10 months ago

Where from should the user get an RPU with a different profile? What does it mean the profile to be different than the video? How should the user know what profile he expects?

Asd-g commented 10 months ago

The main case is when one has video with profile 7 and wants to encode it with x265. The process is:

At one moment one has two RPUs - the original and the converted one. If he by mistake uses the converted RPU for step (1) he will have unexpected result. With sourceProfile (default 7) and the converted RPU (profile 8) DoViBaker will throw error that the video (profile 7) and the RPU (profile 8) have different profiles.