Answers.Body: <p>AFAICT, it should be <code>--input-csp i400 --input-depth 10</code></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-05T21:27:11.313Z
Answers.Text: Tried: 
  `x264-10b.exe --profile high10 --fps 30 --demuxer raw --input-csp i400 --input-res 400x400 --input-depth 10 --frames 100 -o out1.264 0_400x400_i400.yuv`
  raw [error]: unsupported colorspace `i400'
Answers.UserDisplayName: Cheng Chang
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-06T04:54:34.553Z
Answers.Text: Your binary is too old (June 2017).  Get the latest one. After Dec 2017, 8 and 10 bit support is present in the same binary.
Answers.UserDisplayName: Gyan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-01T10:46:35.590Z
Answers.LastActivityDate: 2018-11-01T10:46:35.590Z
Answers.UserDisplayName: Gyan
Body: <p>I have a raw file that's in gray10le format. Each gray value is 2 bytes but only the first 10 bits are used. I can't seem to get x264-10b to accept it as an input.</p>
  
  <pre><code>x264-10b.exe --profile high10 --input-csp gray10le --input-depth 16 --fps 30 -o out.264 0_400x400_gray10le.yuv
  raw [error]: unsupported colorspace `gray10le'
  x264 [error]: could not open input file `0_400x400_gray10le.yuv'
  </code></pre>
  
  <p>I'm using the latest 10bit build at <a href="http://download.videolan.org/pub/videolan/x264/binaries/win64/" rel="nofollow noreferrer">http://download.videolan.org/pub/videolan/x264/binaries/win64/</a> </p>
  
Tags: <x264>
Title: Encode a 10bit raw video file
UserDisplayName: Cheng Chang
ThreadText: # Encode a 10bit raw video file
  
  (Asked by: username_0 on 2018-10-31)
  
  I have a raw file that's in gray10le format. Each gray value is 2 bytes but only the first 10 bits are used. I can't seem to get x264-10b to accept it as an input.
  
  ```
  x264-10b.exe --profile high10 --input-csp gray10le --input-depth 16 --fps 30 -o out.264 0_400x400_gray10le.yuv
  raw [error]: unsupported colorspace `gray10le'
  x264 [error]: could not open input file `0_400x400_gray10le.yuv'
  
  ```
  
  I'm using the latest 10bit build at <http://download.videolan.org/pub/videolan/x264/binaries/win64/>
  
  **Tags:** x264
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-11-01. Score: 0
  
  AFAICT, it should be `--input-csp i400 --input-depth 10`
  
  > **Comments:**
  > **username_0**: Tried:  `x264-10b.exe --profile high10 --fps 30 --demuxer raw --input-csp i400 --input-res 400x400 --input-depth 10 --frames 100 -o out1.264 0_400x400_i400.yuv` raw [error]: unsupported colorspace `i400'  
  > **username_1**: Your binary is too old (June 2017).  Get the latest one. After Dec 2017, 8 and 10 bit support is present in the same binary.  
  
  ---
  
  