Answers.Body: <p>Lossless requires such high bitrates that I have more trouble playing back lossless video than 5Mib/s lossy h.264, on my C2Duo (first gen) E6600, 2.4GHz.  lossy 5Mib/s 1080p h.264 at 24fps plays perfectly without even having to use mplayer's <code>-lavdopts threads=2</code> option.  (single-threaded software decoding is enough.)</p>
  
  <p>My system isn't fast enough to play lossless h.264 RGB, or RGB utvideo.  It actually can just barely play back the directory of PNG files of the Sintel trailer.</p>
  
  <p>raw video takes even more space than losslessly-compressed.  If your SSD or raid array can read fast enough to play it back in realtime, great.  Otherwise, only useful for things like feeding a slower-than-realtime video encoding or filtering job that's CPU limited, and you don't want to use any CPU time decoding the video.</p>
  
  <p>I'd imagine you'd have better luck just feeding your mkv sources into your NLE, unless you want to accept some lossyness.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-15T15:16:27.750Z
Answers.LastActivityDate: 2015-01-15T15:16:27.750Z
Answers.UserDisplayName: Peter Cordes
Answers.Body: <p>.mp4 always works for me.  If you are using Sony Vegas to compress it, then there should be an option to compress it as an AVCHD option, which can be one of several formats.  The best one to use would be .mp4.  It makes the file much smaller while still losing next to no quality.  (I've had 45 minute HD videos, cut to under 1gb, but it depends on how long the video is, and how many cuts there are.)  Usually that mp4 file can be read by most other programs.  I'm not sure about after effects, but I believe it can at least be read by premier.  </p>
  
  <p>Just a note of caution, there is more than one mp4 file type.  You want the one that is categorized under AVCHD, not the regular one, and not the one in caps (MP4 as apposed to mp4).</p>
  
  <p>Once you've selected AVCHD you can change the file type by using the "custom" button, or you can just type in ".mp4" at the end of the file name, and it will do it for you.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2011-07-07T02:46:22.300Z
Answers.Text: I'm aware of the export settings for Sony Vegas. I'm looking for a way to convert source clips losslessly that can be imported to Sony Vegas Pro.
Answers.UserDisplayName: Aznfin
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2011-07-07T03:18:27.123Z
Answers.Text: MP4 isn't a codec, it's a container format.
Answers.UserDisplayName: Nick Bedford
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2011-07-06T13:05:22.447Z
Answers.LastActivityDate: 2011-07-06T13:43:59.060Z
Answers.LastEditDate: 2011-07-06T13:43:59.060Z
Answers.UserDisplayName: Ephraim
Answers.Body: <p>I'll start by pointing you to <a href="https://video.stackexchange.com/questions/1718/the-prores-of-premiere-pro/1732#1732">another answer</a> I wrote before, roughly covering the different kinds of codecs.  </p>
  
  <p>(Nice edit on your question, by the way, removing the file size limitation helped figure out what you were after.)</p>
  
  <p>My recommendation (again) will be to either use ProRes 422 or Cineform as your intermediate, probably via Magic Bullet Grinder or GoPro Cineform Studio respectively.</p>
  
  <p>Either of these codecs will give you good decoding speed, and both will work with Vegas and After Effects.  Any workflow that involves transcoding and not capturing natively to your editing codec (such as with ProRes on an Arri Alexa or a Cinedeck), is going to sacrifice time for processing, but in your case, it seems like that's a necessity. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2011-07-07T04:21:28.943Z
Answers.LastActivityDate: 2011-07-07T04:21:28.943Z
Answers.LastEditDate: 2017-04-12T07:32:19.270Z
Answers.UserDisplayName: Clint Torres
Body: <p>I'm looking for a good video encoder to compress <strong>HD files</strong> for editing within <strong>Sony Vegas Pro and Adobe After Effects</strong>. </p>
  
  <p>What video codec would provide the <strong>fastest possible encoding and decoding</strong>? Also, what are some recommended encoding settings?</p>
  
  <p>The video files must be usable in Sony Vegas Pro and Adobe After Effects.</p>
  
  <p><strong>EDIT:</strong> Source Clip Info:</p>
  
  <pre><code>Format                           : AVC
  Format/Info                      : Advanced Video Codec
  Format profile                   : High@L5.1
  Format settings, CABAC           : Yes
  Format settings, ReFrames        : 8 frames
  Bit rate                         : 4 334 Kbps
  Width                            : 1 920 pixels
  Height                           : 1 080 pixels
  Display aspect ratio             : 16:9
  Frame rate                       : 23.976 fps
  Color space                      : YUV
  Chroma subsampling               : 4:2:0
  Bit depth                        : 8 bits
  Scan type                        : Progressive
  </code></pre>
  
  <p>The container is Matroska.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2011-07-06T04:49:15.260Z
Comments.Text: File size and decode speed are part of equation, but so are number of streams playing and disk speed.  We need to know how important each individual feature is for you, in order to balance them together and come up with an answer. You can't have all of everything, because the features tug at each other.  Also, "lossless" is a terrible word to use here, if your intent is to say "highest fidelity".
Comments.UserDisplayName: Clint Torres
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2011-07-07T02:42:32.210Z
Comments.Text: @Clint The source files I have are 1080p HD 24fps clips. The container is .mkv. The video streams are x264. My intent is to convert these clips into something less hardware intensive. H.264 decoding isn't terribly fast on my computer. I'm aware of lossy encoding, however, I'd like to preserve the fidelity of the clips. Disk space isn't an issue here, however. **The most important thing is that the clips can be used in Sony Vegas Pro and Adobe After Effects.**
Comments.UserDisplayName: Aznfin
Tags: <video><codec>
Title: Best Lossless Video Encoder For Editing
UserDisplayName: Aznfin
ThreadText: # Best Lossless Video Encoder For Editing
  
  (Asked by: username_0 on 2011-07-06)
  
  I'm looking for a good video encoder to compress **HD files** for editing within **Sony Vegas Pro and Adobe After Effects**.
  
  What video codec would provide the **fastest possible encoding and decoding**? Also, what are some recommended encoding settings?
  
  The video files must be usable in Sony Vegas Pro and Adobe After Effects.
  
  **EDIT:** Source Clip Info:
  
  ```
  Format                           : AVC
  Format/Info                      : Advanced Video Codec
  Format profile                   : High@L5.1
  Format settings, CABAC           : Yes
  Format settings, ReFrames        : 8 frames
  Bit rate                         : 4 334 Kbps
  Width                            : 1 920 pixels
  Height                           : 1 080 pixels
  Display aspect ratio             : 16:9
  Frame rate                       : 23.976 fps
  Color space                      : YUV
  Chroma subsampling               : 4:2:0
  Bit depth                        : 8 bits
  Scan type                        : Progressive
  
  ```
  
  The container is Matroska.
  
  **Tags:** video, codec
  
  > **Comments:**
  > **username_1**: File size and decode speed are part of equation, but so are number of streams playing and disk speed.  We need to know how important each individual feature is for you, in order to balance them together and come up with an answer. You can't have all of everything, because the features tug at each other.  Also, "lossless" is a terrible word to use here, if your intent is to say "highest fidelity".  
  > **username_0**: @username_1 The source files I have are 1080p HD 24fps clips. The container is .mkv. The video streams are x264. My intent is to convert these clips into something less hardware intensive. H.264 decoding isn't terribly fast on my computer. I'm aware of lossy encoding, however, I'd like to preserve the fidelity of the clips. Disk space isn't an issue here, however. **The most important thing is that the clips can be used in Sony Vegas Pro and Adobe After Effects.**  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_1 on 2011-07-07. Score: 4 | Accepted answer
  
  I'll start by pointing you to [another answer](https://video.stackexchange.com/questions/1718/the-prores-of-premiere-pro/1732#1732) I wrote before, roughly covering the different kinds of codecs.
  
  (Nice edit on your question, by the way, removing the file size limitation helped figure out what you were after.)
  
  My recommendation (again) will be to either use ProRes 422 or Cineform as your intermediate, probably via Magic Bullet Grinder or GoPro Cineform Studio respectively.
  
  Either of these codecs will give you good decoding speed, and both will work with Vegas and After Effects. Any workflow that involves transcoding and not capturing natively to your editing codec (such as with ProRes on an Arri Alexa or a Cinedeck), is going to sacrifice time for processing, but in your case, it seems like that's a necessity.
  
  
  ---
  
  ### Answer by username_2 on 2015-01-15. Score: 2
  
  Lossless requires such high bitrates that I have more trouble playing back lossless video than 5Mib/s lossy h.264, on my C2Duo (first gen) E6600, 2.4GHz. lossy 5Mib/s 1080p h.264 at 24fps plays perfectly without even having to use mplayer's `-lavdopts threads=2` option. (single-threaded software decoding is enough.)
  
  My system isn't fast enough to play lossless h.264 RGB, or RGB utvideo. It actually can just barely play back the directory of PNG files of the Sintel trailer.
  
  raw video takes even more space than losslessly-compressed. If your SSD or raid array can read fast enough to play it back in realtime, great. Otherwise, only useful for things like feeding a slower-than-realtime video encoding or filtering job that's CPU limited, and you don't want to use any CPU time decoding the video.
  
  I'd imagine you'd have better luck just feeding your mkv sources into your NLE, unless you want to accept some lossyness.
  
  
  ---
  
  ### Answer by username_3 on 2011-07-06. Score: -2
  
  .mp4 always works for me. If you are using Sony Vegas to compress it, then there should be an option to compress it as an AVCHD option, which can be one of several formats. The best one to use would be .mp4. It makes the file much smaller while still losing next to no quality. (I've had 45 minute HD videos, cut to under 1gb, but it depends on how long the video is, and how many cuts there are.) Usually that mp4 file can be read by most other programs. I'm not sure about after effects, but I believe it can at least be read by premier.
  
  Just a note of caution, there is more than one mp4 file type. You want the one that is categorized under AVCHD, not the regular one, and not the one in caps (MP4 as apposed to mp4).
  
  Once you've selected AVCHD you can change the file type by using the "custom" button, or you can just type in ".mp4" at the end of the file name, and it will do it for you.
  
  > **Comments:**
  > **username_0**: I'm aware of the export settings for Sony Vegas. I'm looking for a way to convert source clips losslessly that can be imported to Sony Vegas Pro.  
  > **username_4**: MP4 isn't a codec, it's a container format.  
  
  ---
  
  