Answers.Body: <p>It depends on the bit depth of the source.  If the source material is greater than 8 bits, then 10 bit will give you more color fidelity and less banding in subtle gradients (if there is any in your “pixel art.” Flat cartoons wouldn’t have any gradient detail to preserve, e.g.)  If the source is only 8 bits per channel, 10 bit won’t give you any extra detail.</p>
  <p>Since a bit is binary (base 2), 8 bit is   2^8, or 256 shades of each color in a color channel.  So 256 R * 256 B * 256 G, or roughly 16 million colors.  The human eye can perceive more than that, which is why 10 bit color depth is one of the requirements for HDR.</p>
  <p>Most consumer displays are also only capable of displaying 8 bit color, so consider your audience, also.</p>
  <p>Most average viewers won’t notice the difference between 8 and 10, even if they’re using a 10 bit display.    Where that difference becomes mostly apparent is when you’re <em>developing</em> the images; higher bit depths give colorists, editors and VFX artists more numeric/artistic headroom, which is the same reason Photoshop artists avoid 8 bit originals.</p>
  <p>So, if you don’t plan to do any further processing, 8 bit is fine.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-07-23T07:45:05.597Z
Answers.LastActivityDate: 2021-07-23T08:23:49.670Z
Answers.LastEditDate: 2021-07-23T08:23:49.670Z
Answers.UserDisplayName: Jason Conrad
Answers.Body: <p>If your source video is 8 bit then there is no meaning to encode them in 10 bit mode, since no extra info is there anyways.</p>
  <p>If you do have a 10 bit video source, consider how you want to use the output. Due to characteristics of pixel art (as far as I know, correct me if I'm wrong), lowering bit depth could cause quite visible color banding which is usually undesirable. If you want quality, use 10 bit AVC for a 10 bit video source.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-08-07T06:11:05.293Z
Answers.LastActivityDate: 2024-08-07T06:11:19.000Z
Answers.LastEditDate: 2024-08-07T06:11:19.000Z
Answers.UserDisplayName: Shanoa Ice
Body: <p>I mostly use Virtualdub2 to upscale my videos (although I am looking for other methods) via two resize filters, Nearest Neighbor and Lanzcos3. Recently I am looking at the x264 encoder to encode my videos, I am not sure which is better for pixel art as I mostly deal with pixel art from video game dumps. Can anyone tell me which version x264 is good for pixel art? Which is better at preserving details and which is not?</p>
  
Tags: <ffmpeg><encoding><libx264><virtualdub><x264>
Title: What x264 encoder is better for upscaling pixel art? Is it x264 8bit or 10bit?
UserDisplayName: GAP
ThreadText: # What x264 encoder is better for upscaling pixel art? Is it x264 8bit or 10bit?
  
  (Asked by: username_0 on 2021-07-12)
  
  I mostly use Virtualdub2 to upscale my videos (although I am looking for other methods) via two resize filters, Nearest Neighbor and Lanzcos3. Recently I am looking at the x264 encoder to encode my videos, I am not sure which is better for pixel art as I mostly deal with pixel art from video game dumps. Can anyone tell me which version x264 is good for pixel art? Which is better at preserving details and which is not?
  
  **Tags:** ffmpeg, encoding, libx264, virtualdub, x264
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2021-07-23. Score: 1
  
  It depends on the bit depth of the source. If the source material is greater than 8 bits, then 10 bit will give you more color fidelity and less banding in subtle gradients (if there is any in your “pixel art.” Flat cartoons wouldn’t have any gradient detail to preserve, e.g.) If the source is only 8 bits per channel, 10 bit won’t give you any extra detail.
  
  Since a bit is binary (base 2), 8 bit is 2^8, or 256 shades of each color in a color channel. So 256 R \* 256 B \* 256 G, or roughly 16 million colors. The human eye can perceive more than that, which is why 10 bit color depth is one of the requirements for HDR.
  
  Most consumer displays are also only capable of displaying 8 bit color, so consider your audience, also.
  
  Most average viewers won’t notice the difference between 8 and 10, even if they’re using a 10 bit display. Where that difference becomes mostly apparent is when you’re *developing* the images; higher bit depths give colorists, editors and VFX artists more numeric/artistic headroom, which is the same reason Photoshop artists avoid 8 bit originals.
  
  So, if you don’t plan to do any further processing, 8 bit is fine.
  
  
  ---
  
  ### Answer by username_2 on 2024-08-07. Score: 0
  
  If your source video is 8 bit then there is no meaning to encode them in 10 bit mode, since no extra info is there anyways.
  
  If you do have a 10 bit video source, consider how you want to use the output. Due to characteristics of pixel art (as far as I know, correct me if I'm wrong), lowering bit depth could cause quite visible color banding which is usually undesirable. If you want quality, use 10 bit AVC for a 10 bit video source.
  
  
  ---
  
  