Thread: The Art of Compression and Encoding

Reply to Thread
Page 2 of 7 FirstFirst 123456 ... LastLast
Results 11 to 20 of 67
  1. #11  
    Senior Member Ryan Patch's Avatar
    Join Date
    Dec 2007
    Location
    NY, NY
    Posts
    256
    My secret sauce has been Adobe Media Encoder. It really churns out some amazing stuff when you're trying to encode for the web or DVD - and although I've used it for Blu-Rays before, they've not been in a very stressful environment (i.e. all I had to do was fit a 30 minute short on a Blu-Ray - at that point you can just max everything out.)

    What's incredible about AME is that you can go straight from a Premiere project and do encodes from the project and you don't have t lock up Premiere. I also simply export a QT reference from either FCP or Avid and feed it to AME and it churns out great results as well.

    YouTube compression is a bit more complex than Vimeo - because YouTube makes a habit of playing 1080p video, while vimeo limits you to 720p unless you're a "pro" subscriber. Most people's computers can't even handle 1080p, though, so it's debatable weather it's even a good idea to go to 1080p. If you're super picky on quality, uploading a 720p master to Vimeo and 1080p master to YouTube will give you less resizing issues.

    My solution for encoding gamma issues has been to simply encode on a PC. It staves off Gamma issues and (again) by using AME on a PC, I'm able to fully utilize 64 bit and multiple, hyper-threaded cores for rendering as fast as possible. There was a Cow article recently about this: http://magazine.creativecow.net/arti...s-opened-doors.

    I don't claim to know how YT and Vimeo's encoding works, but I have found that if I have rock-solid h.264 encoding it will translate to no discernible difference when re-encoded into YouTube or Vimeo. They use h.264, so perhaps it's just a pass-though situation. When using Adobe Media Encoder, it's important to use the h.264 setting, and NOT the QuickTime-wrapped h.264 setting. This produces an M4V, but it's still the same thing - readable by the same programs, same encoding, same data - but the AME options are MUCh more robust for the h.264 encoder.
    Ryan Patch
    Stotytellers Ink, Ltd
    www.storytellersink.net

    Fine visual storytelling & resources for fellow storytellers.
    Reply With Quote  
     

  2. #12  
    Senior Member Ryan Patch's Avatar
    Join Date
    Dec 2007
    Location
    NY, NY
    Posts
    256
    Are you looking for specific encoding presets?
    Ryan Patch
    Stotytellers Ink, Ltd
    www.storytellersink.net

    Fine visual storytelling & resources for fellow storytellers.
    Reply With Quote  
     

  3. #13  
    Senior Member
    Join Date
    Apr 2007
    Posts
    512
    My 2 cents: for DVDs on a Mac I find that iDVD works better than Toast. I prefer Vimeo to Youtube, don't know why really. For that I use MpegStreamClip, H264, multiple passes (takes more time but it's wirth it), limiting compression to 2000 Kbps for 24 mins. docs, looks good on small size screen for clients, not good if blown to full screen, plus, you can run it with limited buffering times.
    Reply With Quote  
     

  4. #14  
    Senior Member Mark Phelan's Avatar
    Join Date
    Oct 2007
    Posts
    1,850
    It's funny you mention this Steve because I just watched Contagion on our Apple TV in HD and sure enough, banding. Lots of it. Made me feel good knowing I wasn't the only one with the issue. I had a scene in a project a couple years ago that was problematic because it was so clean and loads of banding because of it. So I had to dirty it up to make it go away. A while back I purchased some pre-packaged settings for Compressor that really work well. All of the hunting around for the proper settings was driving me nuts. I'm still not satisfied with the size of some of the files, I suppose it's a trade off. But, it does seem like there are those among us (Michael Cioni perhaps) that have the secret recipe.
    Reply With Quote  
     

  5. #15  
    Senior Member
    Join Date
    Mar 2009
    Location
    Kolkata, India
    Posts
    1,234
    Great! Look forward to seeing a whole lot of X264 in there. MPEG Stream Clip is too limited however, as are Adobe Media Encoder and Compressor. My favoured GUI for X264 is MeGUI. I have always relied on Debugmode FrameServer, which works on ever major Windows based NLE and MeGUI as the X264 frontend. Or X264VFW to get X264 directly out of the NLE or finishing app (notable exception - Resolve beta, hopefully they will integrate VFW) - that's a very effective solution. My favoured preset in X264 is "Very Slow", with some tweaks based on the source material. Banding is a problem with super compressed material, but here's where MeGUI's AVISynth serving shines through. As part of the encode, you can run a Gradfun2DBmod pass, which works like magic - eliminating all banding. Of course, there's a solution to every problem in AVISynth filters.

    X264 is also by far the best option for Bluray, with the --bluray-compat string.

    As for DVD, CinemaCraft is the best encoder out there. After that comes HCEnc, which is free. Many frontends utilize it.

    PS: MSU has a detailed comparison of various H.264 encoders. (http://compression.ru/video/codec_comparison/h264_2011/). No surprises - X264 is the only option. The gap is even larger as we crank up resolution - upto 4K.
    Reply With Quote  
     

  6. #16  
    Senior Member
    Join Date
    Aug 2007
    Location
    Macau
    Posts
    1,474
    Fantastic idea. If I had my EPIC I would definitely help. Both redcode and compression tests are essential parts of the whole red content production. Can't thank you enough, Steve. If other redusers could help on this would be excellent. A maximum is always "less compression the better" , but how much of this is visible for broadcast/web?

    May I suggest a test of conversion in redcine x pro of various red code flavours to Prores 4:4:4 and then a quick push on the levels to search for different types of compression artifacts?

    Also, different frame rates and compression (this more for the epic) to see the acceptable compression for the faster frame rates?

    Once again, thanks to Steve and all those taking the time for this. Essential read, sticky level post!
    Sérgio Perez

    EPIC-X 2029 "Lilau" in Macau!

    Video Director/Creative/Producer


    http://vimeo.com/user1503556
    Reply With Quote  
     

  7. #17  
    Senior Member Jeremy Wiles's Avatar
    Join Date
    Nov 2008
    Location
    West Palm Beach, FL
    Posts
    482
    Wish we had a full-time compressionist way in on their method.

    I've recently been using Adobe Media Encoder with the mainconcept h.264 codec and have received great results without the gamma issue.
    www.creative-lab.com | Epic # 529 | RED One MX 388
    Reply With Quote  
     

  8. #18  
    Senior Member
    Join Date
    Mar 2009
    Location
    Kolkata, India
    Posts
    1,234
    Assuming X264 as the encoder, the best compromise between quality and compression is always around CRF 18. For web stuff, even upto CRF 21 is excellent quality and "visually lossless" to majority audience except for tough scenes. CRF targets quality rather than bitrate and is definitely the best method. Based on the presets and settings used, the bitrate/file size will reduce for identical quality, at the expense of longer encode times. At CRF 21 with Very Slow preset, it's no stretch to see excellent 1080P video at as little as 4 Mb/s or 0.5 MB/s. This can be further tweaked with the nature of the footage. E.g. still, long takes require a different approach to aggressively cut, chaotic motion. Or for black and white material, using 4:0:0 effectively cuts your file size by half with zero loss in quality.

    I recently edited a short project shot at 60 fps - works absolutely fine with X264 and level 4.2. At level 5 the max frame rate is 72.3 fps at upto 2K. 4K is restricted to 30 fps so far (level 5.1).

    As an aside, X264 is extremely flexible and can be used as a codec for almost every scenario. Lossless, 4K, 10-bit, 4:4:4, intraframe, you name it - it can be achieved with X264.
    Reply With Quote  
     

  9. #19  
    Senior Member Jack Shanahan's Avatar
    Join Date
    Nov 2011
    Location
    NYC
    Posts
    508
    Quote Originally Posted by Subhadip Sen View Post
    Assuming X264 as the encoder, the best compromise between quality and compression is always around CRF 18. For web stuff, even upto CRF 21 is excellent quality and "visually lossless" to majority audience except for tough scenes. CRF targets quality rather than bitrate and is definitely the best method. Based on the presets and settings used, the bitrate/file size will reduce for identical quality, at the expense of longer encode times. At CRF 21 with Very Slow preset, it's no stretch to see excellent 1080P video at as little as 2 Mb/s or 0.25 MB/s. This can be further tweaked with the nature of the footage. E.g. still, long takes require a different approach to aggressively cut, chaotic motion. Or for black and white material, using 4:0:0 effectively cuts your file size by half with zero loss in quality.

    I recently edited a short project shot at 60 fps - works absolutely fine with X264 and level 4.2. At level 5 the max frame rate is 72.3 fps at upto 2K. 4K is restricted to 30 fps so far (level 5.1).
    Noobie question: is X264 the new H264? Also what is CRF?
    Jack Shanahan
    www.jackshanahan.com
    EPIC-X + Zeiss ZF Duclos Mods
    Reply With Quote  
     

  10. #20  
    Senior Member Steve Sherrick's Avatar
    Join Date
    Dec 2006
    Location
    Boston
    Posts
    5,356
    Quote Originally Posted by Jack Shanahan View Post
    Noobie question: is X264 the new H264? Also what is CRF?
    Constant Rate Factor.
    Steve Sherrick
    Chief Collaborator
    Modern Vintage Media
    STEVESHERRICK.COM
    Local 600 DIT/Operator
    Reply With Quote  
     

Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts