Announcement

Collapse
No announcement yet.

How to encode 720P HD files for Youtube.

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to encode 720P HD files for Youtube.

    Youtube supports up to 4K (4096 x 2304) playback. Users can select their desired resolution if available. Youtube just announced that you can upload up to a 15 minute clip now.

    One final note: if you’re uploading a video that was previously rejected for being too long, you’ll have to go into “My Videos” and delete it before attempting to upload it again. Thanks and happy uploading!



    You can see my examples here:

    http://www.youtube.com/watch?v=IDSFHVXOzow&fmt=22 (Fraternity house HD clip, HVX200 + M2)

    http://www.youtube.com/watch?v=-Bn4wLDgqW0&fmt=22 (Dog’s Journey HD, Bare HVX200)

    http://www.youtube.com/watch?v=-W7D_4m1j1Y&fmt=22 (Saints Row 2, Barack Obama V. John Mccain HD, Video Game HD footage)

    http://www.youtube.com/watch?v=9iiwWqoqgI4&fmt=37 (1080P test from a downsampled 5d Mark II image sequence)

    http://www.youtube.com/watch?v=5Z9QwPODcXQ (Canon t2i 1080P Horror short)


    To send a direct link with HD enabled, add &fmt=22 added to the end of the URL for 720P and &fmt=37 for 1080P.


    BEST SETTINGS TO GET YOUR VIDEO IN HD ON YOUTUBE:

    • Frame size up to 4096 x 2304
    • Less than 15 minutes
    • h.264 video codec
    • AAC Audio codec
    • .mp4 container
    • 2-pass encode
    • HIGH PROFILE @ level 5.1
    • Average bitrate as high as you can go without filesize over 2048 megabytes. I recommend a 10+ megabit per second video stream.
    • Audio Bitrates at 320Kbps and higher. Surround sound is supported, but will be downsampled to stereo at this time.

    You should be able to do 27 MegaBits per second, with a 320 KilloBits per second audio track and not hit the 2048 MegaByte limit for a 10 minute film. Most hollywood Blu-Ray movies are 21 MegaBits per second average, so this is very very good quality. Keep in mind that uploading 2048 MegaBytes to Youtube will take a few hours on an American cable modem service.

    You can use these same deliverables for Vimeo as well (Up to 1920x1080)

    OTHER FORMATS DO WORK:

    If you can't export h.264 above because of your encoding software here are some alternatives.

    WMV9 2-pass at 10,000Killobits per second Average Audio at 320Killobits per second
    Quicktime MOV files (QUICKTIME IS NOT A GOOD DELIVERY MEDIUM. You will get gamma shift and your video will look ugly. You have been warned.)

    Check this site if you want to embed HD videos into your site:

    http://www.mydigitallife.info/2008/1...t22-code-hack/

    STANDARD QUALITY LOOKS BAD:

    Tough Luck. Youtube is a free service and they are free to encode their videos however they want. Try other video sharing services, or add &fmt=18 to the end of the URL for a higher quality, 480P version.

    MY VIDEO STILL LOOKS BAD, WHAT ELSE CAN I DO?

    Try hiring a professional compressionist to create high quality deliverables for Youtube. A Professional will be able to pre-process your footage so that it compresses better for video sharing sites. Final Cut Pro/Adobe Premiere Pro are not good pre-processing tools and will give you sub-standard results if you do any scaling, de-interlacing, or color space conversions.

    The answer to this question changes faster than I can update this thread.

    YOU'RE WRONG ABOUT X.

    I've tried to keep the information in this post as short as possible. There are some caveats to all kinds of file encoding. Let me know if you feel like I should change something.
    Last edited by Demistate; 10-08-2010, 08:01 AM. Reason: Updated new video
    Alexander Mejia, Creative Director at Human Interact

    #2
    Amazing stuff you've uncovered here Alex! Thanks for the hard work getting this to work, I'll be spreading the news.
    Andrew Brinkhaus |director of photography
    www.andrewbrinkhaus.com
    Los Angeles

    Comment


      #3
      Those videos in Youtube look great. The only problem I have with them is the file size. They take too long to view.

      Comment


        #4
        Also what format would you recommend filming in to produce high quality HD videos online, 720p or 1080i. Thanks

        Comment


          #5
          Shooting 1080P is always ideal, and then downsample with a good scaler like spline36 in Avisynth down to 720P.

          Shooting interlaced always causes problems when trying to convert to progressive. It will never look right. Shoot 24pa in 1080 or 720P on your HVX.
          Alexander Mejia, Creative Director at Human Interact

          Comment


            #6
            I have a Sony HDR-FX7E High Def video cam. It can shoot in 1080i/Dv only. Would I be able to scale down to 720p via compressor? A 13 sec file I just tried to compressed with a 5000kbits, created a 15mb video file. Thats a little large for embedding into a website?

            Comment


              #7
              Originally posted by kruzmode View Post
              I have a Sony HDR-FX7E High Def video cam. It can shoot in 1080i/Dv only. Would I be able to scale down to 720p via compressor? A 13 sec file I just tried to compressed with a 5000kbits, created a 15mb video file. Thats a little large for embedding into a website?
              You'll have to run it through a deinterlacer, which always takes away quality. I'm not familiar with how good Compressor's pre-processing capabilities are.

              Deinterlace the source, and scale it down to 1280x720. You should get acceptable results.
              Last edited by Demistate; 12-03-2008, 10:33 AM.
              Alexander Mejia, Creative Director at Human Interact

              Comment


                #8
                shoot I just got Vimeo Plus... oh well, I guess I will use both sites now...
                GH4. FCPX. Mac Pro (2012). Macbook Pro (2010).

                Comment


                  #9
                  This guide is more complete in terms of NLEs:
                  http://vimeo.com/forums/topic:3671
                  You export for Youtube HD the exact same way we have been exporting for Vimeo HD for over a year now.
                  Blog - Collage art - Videos

                  Comment


                    #10
                    Please add this to the original post:

                    It is VITAL that your audio's sampling rate be encoded at 48kHz, not 44.1kHz or anything else. Right now there is a glitch with YouTube HD videos which will cause your video to skip every few seconds and it ain't pretty. Stick with the standard digital video 48kHz setting and you'll be gold.
                    Freelance Camera Operator/Editor/Photographer/Audio Dude

                    Sony EX1 | Nikon D300 | Sennheiser EW100ENG G2 Wireless Kit | Home Recording Studio

                    Comment


                      #11
                      adamr316, are you saying the 48kHz is required for any uploads or only the non-reencoded versions using the method above?

                      Also, can anyone confirm if the loophole for getting in without reencode is still open?

                      Demistate, can you please publish your exact query or command line for FFMPEG? I have tried to replicate the settings using HandBrake and when YouTube processed the file, I got an error back saying the file could not be processed.

                      Comment


                        #12
                        I never had issues with standard def videos encoded at a 44.1kHz sampling rate. When YouTube went HD...that's when I had to start using the standard 48kHz. The only reason I used 44.1 was because I figured I'd use those bits more efficiently but YouTube HD had issues with it.

                        I'm not sure about your other questions and re-ended material.
                        Freelance Camera Operator/Editor/Photographer/Audio Dude

                        Sony EX1 | Nikon D300 | Sennheiser EW100ENG G2 Wireless Kit | Home Recording Studio

                        Comment


                          #13
                          Youtube x264 HD looks great but normal quality worse

                          Hey i had never heard of x264! Its amazing. I was having all sorts of trouble with h.264 with color shifts and quality.

                          My source is 1280x720 23.98 fps.

                          Although the HD looks fantastic the normal quality looks worse than earlier non-hd type uploads. Any advice?

                          Also note I am on a mac and downloaded the x264 codec from apple
                          http://www.apple.com/downloads/macos...64encoder.html

                          Can you specify the difference between "highest quality for now" and "higher quality down the road" Some of the specification didn't necessarily seems to translate to making these differences in quicktime.

                          Thanks for the x264 tip!

                          Comment


                            #14
                            Old and outdated information edited out.
                            Last edited by Demistate; 06-01-2010, 11:43 AM.
                            Alexander Mejia, Creative Director at Human Interact

                            Comment


                              #15
                              Originally posted by jesse View Post
                              Although the HD looks fantastic the normal quality looks worse than earlier non-hd type uploads. Any advice?
                              As of today: June 1, 2010. 360P quality looks pretty good on Youtube. This is the default for the Desktop player. Streams meant for 2g service (like iPhone) will not look so great. There is nothing you can do about this since its a 64kbps stream total for audio and video. It's like streaming video quality over dialup.




                              Originally posted by jesse View Post
                              Also note I am on a mac and downloaded the x264 codec from apple
                              http://www.apple.com/downloads/macos...64encoder.html
                              This plugin is amazing. Does it work in Apple Compressor for outputting from a FCP timeline?
                              Last edited by Demistate; 06-01-2010, 11:46 AM.
                              Alexander Mejia, Creative Director at Human Interact

                              Comment

                              Working...
                              X