3 ms·
Do you happen to know why? Is this a hardware decode limitation perhaps, or a bug in the standard decoder?
by jeroenhd 4y ago
Do you happen to know why? Is this a hardware decode limitation perhaps, or a bug in the standard decoder?
- 867-5309 4y agolicensing for a non-free closed-source platform
- brigade 4y agoThe capture pixel format depends on device - I think 4:2:2 is pretty common for webcams, which in H.264 requires profiles that aren’t widely implemented outside of x264 and ffmpeg.
- izacus 4y agoYUV420p is the only pixel format that all H.264 compatible decoders MUST support. Other formats are optional. In practice that means that most hardware decoders (not just iPhones, also other phones, TVs, older PC GPUs) won't be able to decode YUV 4:2:2 or YUV 4:4:4 videos. It's kinda annoying, since YUV420 really messes up red text in screen captures for example. You need this parameter to force ffmpeg to convert the color space if your input isn't YUV420P (it defaults to keeping the input pixel format to avoid quality loss).
- thrdbndndn 4y ago>since YUV420 really messes up red text in screen captures for example Is there an detailed explanation why red is especially bad after chroma subsampling? Have been wondering about this for awhile. I assume it's because red has low brightness/luminance (no idea if correct or not)?
- klodolph 4y agoYes, it’s because red is dim. Dark blue (like, RGB 0, 0, 255) also suffers, perhaps worse, but that shade of blue is hard to reaf even when it is reproduced perfectly.