Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] About HLG Transfer and Bandicam #2

Closed
RaienryuuNoNatsu opened this issue Jan 4, 2018 · 4 comments
Closed

[QUESTION] About HLG Transfer and Bandicam #2

RaienryuuNoNatsu opened this issue Jan 4, 2018 · 4 comments

Comments

@RaienryuuNoNatsu
Copy link

RaienryuuNoNatsu commented Jan 4, 2018

Hi, I have a couple questions for you:

  1. I've just read that a commit has been recently submitted to the x264 official project to support all new Transfers, included "ARIB STD-B67" (HLG), which is much easier to handle for YouTube purposes compared to "SMPTE ST 2084" (judging by their guide). As I'm using x264 as an external codec on Bandicam, are there plans to add that Transfer to this project as well?

  2. This is my lack of knowledge, but I can't seem to find what I need. I wanted to record lossless footage for testing, so I used this command line: --qp 0 --range "pc" --colorprim "bt2020" --colormatrix "bt2020nc" --transfer "smpte2084"

As I prefer to do conversions manually, I set the RAW to PC range (as per my GPU settings and monitor), and wanted to record it in the RGB colorspace. Neither set "Prefer RGB colorspace" in the external codec selection, nor the "Keep/Accept only RGB" works. It just crashes. So, I have to "Convert to YV12", which works. What do you think may be the cause?

@MasterNobody
Copy link
Owner

Hi.

  1. --transfer arib-std-b67 and --alternative-transfer <string> will be supported in the next version with updated version of libx264.
  2. Do you mean real crash and not "Failed to initialize codec" message? May be you didn't disabled log in x264vfw configure? Bandicam don't like x264vfw's log window so better set Log level to None. Also for Bandicam I would recommend to set Zero Latency option to not lose few first frames (if you not going to use Output mode: File). Otherwise I don't have any problems with encoding in RGB with Keep/Accept only RGB or with Keep input colorspace+Prefer RGB colorspace.

Also if you going to encode in RGB better don't mess with options (range/colorprim/colormatrix/transfer) because that are incorrect values for RGB output (otherwise RGB input will be encoded as if it was YUV input i.e. with incorrect colors) and instead of --qp 0 simply set rate control to Single pass - lossless

@RaienryuuNoNatsu
Copy link
Author

RaienryuuNoNatsu commented Jan 4, 2018 via email

@MasterNobody
Copy link
Owner

MasterNobody commented Jan 4, 2018

  1. No ETA for new version;
  2. I doubt Bandicam can capture in HDR (RGB or not) and afaik there no such thing as HDR RGB. Also HDR need at least 10-bit input (capture). This options do tell H.264 decoder which colorspace the encode is but x264vfw/libx264 do NOT convert input to such colorspace and only treat input as if it already converted. So when you say --colormatrix "bt2020nc" instead of default for RBG --colormatrix "GBR" your RGB signal is treated as if it was YUV BT.2020 signal (i.e. G->Y, B->U, R->V).

@RaienryuuNoNatsu
Copy link
Author

RaienryuuNoNatsu commented Jan 4, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants