Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
18th June 2013, 00:52 | #1 | Link |
Registered User
Join Date: Oct 2004
Posts: 131
|
Is H.264/RGB playback generally supported?
I'm trying to convert an RGB image sequence to H.264, using x264.
My problem is that with any RGB->YUV conversion, colors change, and it's sometimes quite visible (especially on bright colors near the edges). Is there anything I can do with this without using RGB colorspace for encoding? Do colors look a bit pale on all equipment, even on say high-end blu-ray players and projectors, or only on computer monitors working in RGB space? My other question is that if I use `--output-csp rgb` with x264, which works wonderfully, but generates 2x size files, what are the limitations? Is it possible to playback RGB H.264 files on any equipment, or only on PCs? LAV filters fall back to avcodec, but plays back the files fine. Is this generally supported on all software players, or it's more of an experimental feature? |
18th June 2013, 04:04 | #2 | Link | ||
/人 ◕ ‿‿ ◕ 人\
Join Date: May 2011
Location: Russia
Posts: 643
|
Quote:
You'll need to use Avisynth for correct RGB -> YUV conversion (using Rec709 matrix). Use this function: Code:
ConvertToYV12 (matrix = "Rec709") Quote:
|
||
18th June 2013, 04:59 | #3 | Link | |
Registered User
Join Date: Oct 2004
Posts: 131
|
Quote:
http://forum.doom9.org/showthread.php?p=1633296#post1633296 OK, so this RGB encoding is a strictly PC only thing! Nice to know! So if both the source material is from PC and the destination is a PC, is this workflow considered to be the highest possible quality (in 8-bit)? Last edited by pancserzso; 18th June 2013 at 05:06. |
|
18th June 2013, 05:50 | #4 | Link | |
/人 ◕ ‿‿ ◕ 人\
Join Date: May 2011
Location: Russia
Posts: 643
|
Quote:
- in avisynth use ConvertToYV24 (matrix = "PC.709") - for x264 add --input-range PC --output-csp i444 It's a bit less compatible, though (all renderers support rgb, but not all - YV24). |
|
18th June 2013, 15:06 | #5 | Link | |
Registered User
Join Date: Oct 2004
Posts: 131
|
Quote:
Small questions: 1. What is the difference between i444 and yv24 in x264? Shouldn't I use yv24 as it's supported by x264 --fullhelp? 2. Should I use the options --colorprim --transfer --colormatrix --range? 3. What is the difference between --range and --input-range and --input-csp and --output-csp? Are they the same usually? |
|
18th June 2013, 16:55 | #6 | Link | |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
Quote:
--range is the output range. (if input and output range differ, x264 will do a conversion.) --input-csp is the input color space (without range or matrix info) --output-csp is the output color space (without range or matrix info, if input and output csp differ x264 will do a conversion.) Note that x264 defaults to --output-csp i420. --range will to default to the input-range. Last edited by sneaker_ger; 18th June 2013 at 17:35. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|