Is your computer fast enough for Blu-ray or HD DVD playback?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • admin
    Administrator
    • Nov 2001
    • 8951

    Is your computer fast enough for Blu-ray or HD DVD playback?

    Update: I have now written a new guide that, instead of using a theoretical test, tells you the exact hardware and software requirements for Blu-ray and HD DVD playback. You can read our Is Your PC High Definition DVD Ready? guide to find out more. For general Blu-ray (and HD DVD) buying advice, please also refer to our Blu-ray and HD DVD Buyer's Guide.

    Update 2 (November 2008): This guide has been slightly updated.

    High definition DVD will be coming to the PC in the near future. With 1080p resolution and high definition audio, many PCs will not be able to play back high definition DVDs smoothly. This guide will help you find out if your system is fast enough.

    <b>Software you'll need:</b><ul><li> <a href="http://www.divx-digest.com/software/media_player_classic.html">Media Player Classic</a>
    <li> <a href="http://www.divx-digest.com/software/haali_media_splitter.html">Haali Media Splitter</a>
    <li> <a href="http://www.divx-digest.com/software/ffdshow.html">ffdshow</a>
    <li> <a href="http://www.digital-digest.com/software/fraps.html">Fraps</a></ul>
    Currently, there aren't many commercially available PCs that can play back high definition DVDs due to the limited availability of Blu-ray/HD DVD hardware. The amount of movies available is also a problem. To test high definition DVD, we are going to approximate it by playing back some high definition H.264 movies and measuring the playback framerate using <a href="http://www.digital-digest.com/software/fraps.html">Fraps</a>.

    The clips we will be using are encoded using the H.264 video codec, along with AAC audio, at a resolution of 720p (1280x720, progressive) or 1080p (1920x1080, progressive). This is actually quite close to both the Blu-ray and HD DVD specifications (and we've tried to keep the encoding parameters close as well) - both Blu-ray and HD DVD can use H.264 as the video encoder, as it is much more efficient than DVD's MPEG-2. There are now two 1080p trailers - the one originally used for this guide (PotC: Dead Man's Chest) and a new "I Am Legend" 1080p trailer that has been encoded using the Blu-ray encoding profile in MeGUI - you are free to use either.

    The first thing you will need to do is to download a H.264 sample clips we've produced for use with this guide. We've produced both a 720p clip and a 1080p clip, from the theatrical trailer for the movie "Pirates of the Caribbean: Dead Man's Chest". It is highly recommended that you download both files and test your system with both of them, as the amount of CPU cycles required by the 1080p clip can be as much as double that of the 720p clip.

    Here are the files you need to download:<ul><li> <a href="http://www.dvdloc8.com/clip.php?movieid=9153&clipid=2" target="_blank">720p Trailer</a> (63 MB)
    <li> <a href="http://www.dvdloc8.com/clip.php?movieid=9153&clipid=3" target="_blank">1080p Trailer</a> (123 MB)
    <li> <a href="http://www.dvdloc8.com/clip.php?movieid=13599&clipid=4" target="_blank">1080p Trailer - New</a> (121 MB)</ul>
    The next step involves setting up your system so this file can be played in Media Player Classic (MPC) and other multimedia players like Windows Media Player (WMP). It is possible to play back H.264 files in <a href="http://www.digital-digest.com/dvd/downloads/showsoftware_powerdvd_48.html">PowerDVD</a>, but PowerDVD is not free.
    Last edited by admin; 4 Dec 2008, 07:24 PM.
    Visit Digital Digest and dvdloc8.com, My Blog
  • admin
    Administrator
    • Nov 2001
    • 8951

    #2
    Enabling H.264 playback in Media Player Classic

    This section shows you how to enable H.264 playback in Media Player Classic (and Windows Media Player). If you can already play back the ".mp4" file within Media Player Classic or WMP, or if you plan on using a different player to test the software (as long as the file plays, it doesn't really matter which player you use), then you can skip this section and move straight on to the "Testing with Fraps" section.

    Please note that the instructions below are purely for the purpose of testing high definition DVD playback. It does not give you a very usable configuration for ffdshow - it merely allows you to play back the ".mp4" file that will be used for this test (mp4 file with h.264 video and AAC audio - remember that mp4 files, like AVI files, can contain numerous types of video and audio codecs, and just because you can play one mp4 file it doesn't mean you can play them all).

    <b>Installing MPC:</b><ol><li> <a href="http://www.divx-digest.com/software/media_player_classic.html#downloads">Download the MPC version</a> that is suitable for your operating system
    <li> MPC is really just a single executable, so extract the .exe file to any directory you wish (eg. c:\Program Files\Media Player Classic\)
    <li> Click on the .exe file to start MPC. Easy.</ol>
    <b>Installing ffdshow:</b>

    <div style="margin-left: 20px; border: 1px solid #666666"><div style="margin-top: 0px; width: 100%; border-bottom: 1px solid #999999; font-weight: bold">New Install:</div>
    <ol><li> Download <a href="http://www.digital-digest.com/software/download.php?sid=1030&ssid=0&did=6">ffdshow</a> and start the installation. Click "Next" until you get to the "Select Components" screen, and make sure you select the "VFW interface" option. Press "Next" to continue.<br><br>
    <div align="center"><img src="http://www.digital-digest.com/images/articleimages/flv_to_avi/ffdshow_install_components.gif" alt="ffdshow Install: Select Components" title="ffdshow Install: Select Components" border="0"></div><br><br>
    <li> When you reach the "Select Additional Tasks" screen, it will now allow you to select which codecs ffdshow will decode for you (if you already have ffdshow installed, the current selected decoders will be shown). Make sure at least the "H.264, X264" option is selected for the video and "AAC" is selected for the audio. You may select other options to allow ffdshow to be the decoder for these types of video as well, but that's optional.<br><br>
    <div align="center"><img src="http://www.digital-digest.com/images/articleimages/flv_to_avi/ffdshow_install_codecs.gif" alt="ffdshow Install: Select Codecs" title="ffdshow Install: Select Codecs" border="0"></div><br><br>
    <li> The "Postprocessing" and "Volume normalization" options further down is optional and for the purpose of this test, it is best to disable all post processing options as they can affect performance. ffdshow supports a lot of advanced postprocessing filters, such as video sharpening and audio effects. These can be configured later on (see "Existing Install" section below) as well.
    <li> Press "Next" and then "Install" to start the installation. You do not need to run any of the configuration tools when presented with the option, so de-select them and press "Finish" to end the installation.
    <li> Once ffdshow has finished installing, please go to the "Installing Haali Media Splitter" section below".</ol>
    </div>

    <div style="margin-left: 20px; border: 1px solid #666666"><div style="margin-top: 0px; width: 100%; border-bottom: 1px solid #999999; font-weight: bold">Existing Install:</div>
    <ol><li> This section is for when you already have ffdshow installed on your system. From the start menu, go to the ffdshow folder and run the "video decoder configuration" program.<br><br>
    <div align="center"><img src="http://www.digital-digest.com/images/articleimages/hddvd_test/ffdshow_start_menu.gif" title="ffdshow: start menu folder" alt="ffdshow: start menu folder" border="0"></div><br><br>
    <li> In the "Codecs" section, make sure the "libavcodec" option is selected for "H.264". Press "Apply" and then "OK" to close this program.<br><br>
    <div align="center"><img src="http://www.digital-digest.com/images/articleimages/hddvd_test/ffdshow_video_decoder_config.gif" title="ffdshow: video decoder configuration" alt="ffdshow: video decoder configuration" border="0"></div><br><br>
    <li> From the start menu folder again, select "Audio decoder configuration". In the "Codecs" section, make sure the "libfaad2" option is selected for "AAC". Press "Apply" and then "OK" to close this program.<br><br>
    <div align="center"><img src="http://www.digital-digest.com/images/articleimages/hddvd_test/ffdshow_audio_decoder_config.gif" title="ffdshow: audio decoder configuration" alt="ffdshow: audio decoder configuration" border="0"></div><br><br>
    <li> Certain older playback software and some conversion tools also require the VFW (Video For Windows) config to be made (this isn't necessary for this guide), and you can do this through the "VFW codec configuration" option again in the ffdshow start menu folder. Go to the "Decoder" section by clicking on the "Decoder" tab at the top, select "Codecs" and just like before, make sure the "libavcodec" option is selected for "H.264". Press "Apply" and then "OK" to close this program.<br><br>
    <div align="center"><img src="http://www.digital-digest.com/images/articleimages/hddvd_test/ffdshow_vfw_codec_config.gif" title="ffdshow: VFW codec configuration" alt="ffdshow: VFW codec configuration" border="0"></div><br><br>
    <li> ffdshow is now configured for H.264/AAC playback.</ol>
    </div>

    <b>Installing Haali Media Splitter:</b><ol><li> This step is optional for MPC, but required for WMP.
    <li> <a href="http://www.divx-digest.com/software/haali_media_splitter.html#downloads">Download Haali Media Splitter</a>
    <li> Run the installer and when you get to the option select step, make sure the "Enable MP4 support" option is selected.<br><br>
    <div align="center"><img src="http://www.digital-digest.com/images/articleimages/hddvd_test/haali_install_options.gif" title="Haali Media Splitter install: options" alt="Haali Media Splitter install: options" border="0"></div></ol>
    <b>Associating .mp4 files with MPC:</b><ol><li>Right click on the ".mp4" you are using for this test. From the menu that opens, select the "Open With -> Choose Program" option, or if it isn't there, select "Open".
    <li> Click on "Browse" and locate your MPC .exe file (eg. c:\Program Files\Media Player Classic\mplayerc.exe). Select the "Always use the selected program ..." option if you want to make the association permanent. Press "OK" to close the window.
    </ol>Your ".mp4" file should now be opened in MPC and hopefully, it should start playing with video and audio. Make sure the movie being played back does not have parts of it cut off by changing the "View -> Video Frame" option (I had to change the default option to "Touch Windows from Inside" to ensure the entire movie was shown).<br><br>
    <div align="center"><img src="http://www.digital-digest.com/images/articleimages/hddvd_test/mpc_videoframe.gif" title="MPC: Video Frame options" alt="MPC: Video Frame options" border="0"></div>

    Alternatively, the file should also be playable in Windows Media Player, by simply dragging the mp4 file into WMP.
    Last edited by admin; 6 Nov 2006, 05:12 PM.
    Visit Digital Digest and dvdloc8.com, My Blog

    Comment

    • admin
      Administrator
      • Nov 2001
      • 8951

      #3
      Testing with Fraps

      This section shows you how to test the playback performance of the H.264 mp4 file using a benchmarking tool called Fraps.

      Fraps is mainly designed for games, but it can also be used on video. Fraps can provide a benchmarking report (as well as take screenshots) from video playback.

      <b>Installing and Configuring Fraps:</b><ol><li><a href="http://www.digital-digest.com/software/fraps.html#downloads">Download Fraps</a> and install it. Please note where you installed Fraps into (default: c:\Fraps\). Start Fraps and go to the "FPS" section.<br><br>
      <div align="center"><img src="http://www.digital-digest.com/images/articleimages/hddvd_test/fraps_fps.gif" title="Fraps: FPS" alt="Fraps: FPS" border="0"></div><br><br>
      <li> Make sure the "MinMaxAvg" option is enabled and you can set the "Overlay Corner" option to "Disabled". Take note of the "Benchmarking Hotkey", which by default should be the F11 key. This is the key that we will use to start and end the benchmark. I find that changing this key to "F10" is better in MPC since "F11" is already used as the fullscreen/windowed shortcut key
      <li> <b>Don't</b> close Fraps, but you can minimize it.</ol>
      <b>Testing with Fraps:</b><ol><li> It is recommended that you test playback at the highest resolution your monitor can support. 1080p HD files can be 1920x1080 in resolution, so the high resolution is required to get the best out of HD.
      <li> Double click on your ".mp4" file to start playback within MPC.
      <li> Double click on the main playback area to go into fullscreen mode.
      <li> Press the Fraps benchmarking hotkey to start the test and then press it again to end the test. It's best to make sure the test is as long as possible, so for the "Pirates of the Caribbean: Dead Man's Chest" trailer clip I used, I started the benchmark just after the MPAA disclaimer screen and ended it when the "Pirates of the Caribbean: Dead Man's Chest" title appeared on screen near the end.
      <li> Once testing has finished, go to the Fraps installation directory (default: c:\Fraps\) and open the FRAPSLOG.TXT. If this file is not there, then it means the benchmark was not started properly and you will have to do it again (make sure you press the "F11" key, and sometimes you need to activate your keyboard's "F Lock" key to enable the F-keys). The FRAPSLOG.TXT contains the benchmark results.</ol>
      Last edited by admin; 4 Dec 2008, 04:52 PM.
      Visit Digital Digest and dvdloc8.com, My Blog

      Comment

      • admin
        Administrator
        • Nov 2001
        • 8951

        #4
        Analysing the results

        Your Fraps benchmark result should look like this:
        <div style="border: 1px solid #000000; padding: 5px; margin: 5px">2006-06-03 18:59:24 - mplayerc
        Frames: 2689 - Time: 112153ms - Avg: 23.976 - Min: 22 - Max: 26</div>
        The important figure is the on in bold above. This is your average framerate.

        The framerate of the Pirates of the Caribbean trailer used is 23.976 frames per second. The result above shows that while the system was able to play back the file, it still results in some frames being dropped and some skipping in the file. In other words, the closer the above number is to 23.976, the more likely your system will be able to handle high definition DVD playback.

        Below are some sample results returned from our test systems, along with the test system's specs.

        <b>Test System 1:</b>
        AMD XP 2500+
        1GB RAM
        NVIDIA GeForce FX 5700
        Resolution: 1280x1024
        <b>720p Result: 23.976</b> (full framerate)
        <b>1080p Result: 11.916</b>

        <b>Test System 2:</b>
        Pentium-4 3.2 GHz
        1GB RAM
        ATI Radeon 9800 Pro
        Resolution: 1280x1024
        <b>720p Result: 23.976</b> (full framerate)
        <b>1080p Result: 17.136</b>

        <b>Test System 3 (Notebook):</b>
        Pentium-M 2 GHz
        1GB RAM
        NVIDIA GeForce Go 6600
        Resolution: 1280x800
        <b>720p Result: 23.976</b> (full framerate)
        <b>1080p Result: 16.766</b>

        <b>Test System 4 (New PC):</b>
        Intel Core 2 Duo E8500
        4GB DDR3 1333 MHz RAM
        ATI Radeon HD 4850 512MB
        Resolution: 1920x1080
        <b>720p Result: 23.976</b> (full framerate, average CPU utilization: 15%)
        <b>1080p Result: 23.976</b> (full framerate, average CPU utilization: 30%)

        The sample results above show that playback was perfect for the 720p clip on all the test systems. The 1080p was a totally different story, with only my new C2D system being capable of 1080p playback at full framerate - all the other systems were unable to play the clip at the full framerate. For the new C2D system, I've also included the CPU utilization, which is 30% without video acceleration for the 1080p clip.

        Please note that the ffdshow H.264 decoder used (libavcodec) is not the most efficient one around. The most efficient decoder at the time of writing appears to be the <a href="http://coreavc.corecodec.org/" target="_blank">CoreAVC</a> codec. The professional version of this codec will also eventually features GPU acceleration support, which is simply a way of using your (most likely very powerful) graphics card to help with the video decoding. CoreAVC is not freeware, but it's well worth checking out.

        GPU acceleration is already available in NVIDIA's PureVideo decoder (obviously for NVIDIA GeForce series 6 and 7 cards only), which is NVIDIA's GPU acceleration driver. ATI's version of PureVideo is called Avivo, which is actually free and available for the X1000 series as part of the Catalyst driver set (5.13 or later). You will require a separate Avivo compatible decoder, like the one PowerDVD uses (although it does not seem to be as compatible as ffdshow/CoreAVC). For the testing of this article, PowerDVD (and now WinDVD 9) forces acceleration when Blu-ray is being played, which makes it impossible to test CPU usage without acceleration turned on.

        All of these decoders are still constantly being improved, and performance has risen along with each new version. Using an older Alpha version of the CoreAVC codec (considered by many to be the most efficient out there), I was able to play back the 1080p clip at full frames on "Test System 2", so it shows the importance of decoder efficiency.

        Now actual Blu-ray playback may require more CPU cycles, as there is also more advanced video decoding, higher bitrates being used, as well as decoding of the encryption system - so if you can get CPU usage to around 30%, then you should be able to play back Blu-ray perfectly without GPU accleration, with some room to spare. Of course, finding a GPU (even integrated ones) without HD acceleration these days is harder than finding one with HD accleration. On "Test System 4", Blu-ray playback with GPU assisted decoding (Avivo HD, full acceleration of H.264) will only require around 10 to 15% CPU usage, for example. If you can't even play back the 720p clip at full frames, then I think a system upgrade might be a good idea.
        Last edited by admin; 4 Dec 2008, 04:53 PM.
        Visit Digital Digest and dvdloc8.com, My Blog

        Comment

        • anonymez
          Super Moderator
          • Mar 2004
          • 5525

          #5
          is it ok to post in this thread? just a few points

          probably not best to use a quicktime trailer for this test, they must be "quicktime compatible" meaning only up to main profile (eg no 8x8dct, intra prediction, etc) and less cpu load than what may appear on next-gen formats.

          maybe also mention coreAVC which significantly reduces cpu requirements, as does hardware acceleration in latest ATI/Nvidia GPU's?

          interlaced content? (some support in x264 recently and decoding soon in coreAVC & ffdshow) not sure how that will be handled on HD-DVD's though
          "What were the things in Gremlins called?" - Karl Pilkington

          Comment

          • admin
            Administrator
            • Nov 2001
            • 8951

            #6
            Thanks for the suggestions.

            I'm using Quicktime HD mainly because it's widely available. I had originally intended to produce my own H.264 clip, and I might still do, to get it as close to Blu-ray/HD DVD as possible. The problem with this is that, as you mentioned, probably only CoreAVC will be able to play the high profile file properly, and it ends up being an issue with the decoder efficiency/maturity, rather than the complexity of the actual encoding.

            There's are too many variables (like decoder efficiency, maturity of acceleration support/driver support, lack of Dolby Digital Plus/DTS-HD multi-channel decoding) at the moment to get any accurate performance stats, or at least any that will still be meaningful in a months time, let alone by the time Blu-ray/HD DVD actually rolls out on the PC. This is why this guide is not really a benchmarking/performance analysis type thing (I didn't even provide any test systems results for the first draft of the guide), more of a quick do-it-yourself benchmarking how-to for non technical users using free software (so no CoreAVC). Just a taste into HD playback for the average user.
            Last edited by admin; 29 May 2006, 02:25 PM.
            Visit Digital Digest and dvdloc8.com, My Blog

            Comment

            • anonymez
              Super Moderator
              • Mar 2004
              • 5525

              #7
              i see, thanks admin

              btw if you do decide to create your own H264 sample, this should be close to HD DVD specs:

              Code:
              --ref 3 --bframes 3 --b-pyramid --weightb --direct auto --filter -4,-3 --subme 6 --trellis 1 --analyse all  --8x8dct --me umh --progress --no-psnr
              "What were the things in Gremlins called?" - Karl Pilkington

              Comment

              • admin
                Administrator
                • Nov 2001
                • 8951

                #8
                Thanks, that should come in handy.
                Visit Digital Digest and dvdloc8.com, My Blog

                Comment

                • johndoh453
                  Gold Member
                  Gold Member
                  • May 2006
                  • 143

                  #9
                  Thanks for the tip.

                  Comment

                  • fauzin
                    Junior Member
                    Junior Member
                    • Jun 2006
                    • 2

                    #10
                    I just install ffdshow I get error massge : error while regidterring ffdshow.ax :

                    howto fix this? thanks

                    Comment

                    • anonymez
                      Super Moderator
                      • Mar 2004
                      • 5525

                      #11
                      download & install this, then reinstall ffdshow http://www.microsoft.com/downloads/d...displaylang=en

                      but looks like you're using an outdated build, get the latest from http://www.x264.nl
                      "What were the things in Gremlins called?" - Karl Pilkington

                      Comment

                      • fauzin
                        Junior Member
                        Junior Member
                        • Jun 2006
                        • 2

                        #12
                        It seems that mine is outdated.
                        I d/l form your link and its fine now.
                        thankyou very much...

                        Comment

                        Working...