Authoring Your First Blu-ray Disc

Once you’ve read the manual and taken a look at the sample project you are ready to author your first Blu-ray title. This wikipaper will help you author a professional Blu-ray title with ease.

1. Introduction: Moving from DVD to Blu-ray

Whether you have been creating DVDs for 10 years or you are just getting into the DVD business, there is no question, creating your very first Blu-Ray title for replication can be exciting. At the same time you might find moving from DVD to Blu-ray a bit overwhelming with over 48 players on the market each performing a little differently, mandatory AACS fees and rules, Blu-ray logo licensing questions, moving from a Mac OS to a PC OS and learning a whole new specification.

This wikipaper will help reduce the daunting task of creating your first Blu-ray title along with providing you a list of best practices to follow. We’ll look at the differences in authoring a Blu-ray disc with Blu-ray Java versus authoring a DVD title. We’ll take you through the three stages of the Blu-ray authoring process and the best practices of each stage. At the end you’ll be able to confidently start authoring your very first Blu-ray title and each title afterwards will become easier and easier. Soon you’ll be an expert in authoring Blu-ray titles!

1.1 Blu-ray Authoring versus DVD Authoring

There are many difference between Blu-ray Discs and DVDs and there many different articles and books that cover these differences. Therefore we are going to focus on the difference for authoring your title.

1.1.1 The lack of domains.

Unlike DVDs, Blu-ray Java titles do not have the notion of domains such as root domain, title domain, and chapter domains. In fact the concept of a menu isn’t pre-defined either. DoStudio provides you with the notion of a Main Menu and Submenu’s but these are not directly mapped to the Blu-ray Java specification. To make things even more different the Main menu and Submenu block are not mapped to a specific title either. In DVD’s your root menu contained its own video and audio, in Blu-ray you do not have this link. By default your Main Menu will appear over all your titles automatically. This is also true for your submenus.

1.1.2 Image size limitation.

In DVD authoring, you didn’t need to calculate how much memory your images took up. With Blu-ray titles you have a fixed amount of memory for images. In DoStudio the amount of memory for your images is 32.5 Megabytes. When designing your menu you’ll need to keep this in mind so you do not go over the limit.

1.1.3 Unit Testing

Unit testing is the process in which you test just a small part of your menu at a time. With DVD’s you didn’t have to do a lot of unit testing, in fact you probably didn’t do any at all. With Blu-ray authoring you need to do as much unit testing as you can. For your first title it is also important to do unit testing on two CE devices as well. This might seem like a lot of overhead that you are not used to, but it will save you a lot of trouble shooting at the end.

2. The Blu-ray Authoring Cycle

There are three stages to the Blu-ray authoring cycle. As you become more of an expert each of the stages will become less and less work. For your first Blu-ray disc it is recommended to follow each of these stages as much as possible.

2.1 Stage1 - Pre-Authoring

The pre-authoring stage is used to make sure the authoring stage goes as smoothly as possible by verifying your assets up front and by designing a menu that is compatible with all the Blu-ray players on the market.

2.1.1 Asset Verification

The Blu-ray Specification allows for three different video codecs and several different audio codeds to be used. Almost all of the codecs have been around before Blu-ray was ever invented and therefore there are several software applications that can create audio and video streams for the various codecs. Sadly just because the software application can encode a stream in one of the codecs does not mean the stream is compatible with the Blu-ray Specification. What is worse is some companies claim Blu-ray compatibility when they are actually not. Some even include Blu-ray Templates which would lead you to believe they are 100% compatible with the Blu-ray Specification, this too is not a clear indication that the software application can create Blu-ray compatible streams. When a software application is compatible with the Blu-ray Specification you will need to make sure your settings that you use are also compatible with the Blu-ray Specification, otherwise you’ll end up creating a stream that is not compatible with the Blu-ray Specification.

Therefore it is important to verify your assets as soon as you can by following these steps:

  1. Check our Wikipaper on the various encoders that create Blu-ray compliant streams.
  2. Create a new DoStudio Project per Stream you want to verify.
  3. Create a transparent Main Menu Block in the newly created Stream.
  4. Set up the Disc Settings.
  5. Add a First Play Image.
  6. For the first title set up the video source to point to the encoded stream.
  7. If you are using Audio with this stream add the audio tracks to the first title.
  8. If you are using Subtitles add the subtitles to the stream for the first title.
  9. Turn on Multiplexing.
  10. Compile your Application.
  11. Play the application in a CE player such as the Sony BDP-S300 or the PS3.
If the multiplexing fails follow these steps:

  1. Remove Subtitles from the first title, recompile.
  2. If all subtitles are removed (or there were none) and multiplexing fails, remove all audio tracks.
  3. If all audio tracks are removed (or there were none) and multiplexing fails, make sure your software application is found on our WikiPaper.
  4. If your software application is found on our WikiPaper make sure you are using the software applications’s Blu-ray Template.
  5. If you are using the software applications’ Blu-ray Template contact our support team and send them all the log files found in the Compile folder.
If your multiplexing fails only when you add audio, follow these steps:

  1. Verify your audio tracks and video tracks do not take up more then 35 megabits per second.
  2. Make sure your audio track matches the same length as the video track.
  3. If the audio tracks and video tracks do not take up more then 35 megabits per second. Please contact our support team with the application that was used to create the audio track(s), the bit rate of the video track and it’s encoding format, along with all the log files found in the Compile folder.
If you multiplexing fails only when you add subtitle tracks, follow these steps

  1. Verify your settings for your subtitle to make sure they match the type of PNG files you are using.
  2. Verify that the frame rate of the subtitles matches the frame rate of the video you are using.
  3. Verify the length of the subtitles is not longer then the video stream.
  4. If they are correct make sure you are using an software application that is able to generate valid DoSt files.
  5. If you received your DoSt Files from another company ask them to send you the name of the software they are using to create the DoSt File.
  6. If everything seems ok send your DoSt file along with the log files found in the Compile folder to our support team.

Please follow the steps above per stream you are using. This will allow you to isolate any stream that might not be encoded correctly or might not follow the Blu-ray Specification.

2.1.2 Menu Design Guideline

With more then 48 different blu-ray players created by more then a dozen manufactures, and three different Blu-ray profiles, creating a menu that works well across all the different players starts with a good menu design.

One of the workflow flaws we see in menu design is designing the menu before understanding the limitations. Which can happen when trying to re-use a DVD menu design and/or designing a menu before reading the best practices. This workflow flaw can create a lot of extra work for you and can sometimes cause you to redesign your entire menu. We also see menu designs that are valid but take more time then what is available, and are too complex for the first menu. This guideline will help you design your first menu so you are able to complete it on time, have it perform well on all players, and match your authoring skills.

To start, there are several aspects to consider when designing your first Blu-ray menu, such as:

  • How much time do you have to deliver your title?
  • How familiar are you with using DVD scripts and GPRMs?
  • Have you seen a lot of Blu-ray titles and their menu designs?
  • Are you re-using Photoshop files from the DVD menu?
  • Will you be following one of the popular menu philosophies or are you going to using your own philosophies? (see below to understand what a philosophy is.)

Keep in mind the answer to the questions above while reading the popular menu design philosophies.

The 100% pop-up menu - This menu is very common and is used in more then 75% of all Blu-ray titles on the market now. The goal of this menu design is to create a menu that appears over all titles while they are playing. The menu that appears over each title has the same layout and position regardless of title. It might have a different set of buttons but it is always in the same location.

The 50% pop-up menu - This menu is starting to become popular by certain studios in Hollywood. The idea of this menu design is to create two separate menus; one for when the main movie is playing and another for when the video loop is playing. Any bonus titles will usually not have a menu and will simply go back to the loop if the pop up menu is pressed.

The custom menu design - There are many different variations to picking a menu design. When creating your own menu design please keep the best practices below in mind.

Each of the possible menu designs requires a different approach and requires more or less time. To help you decide on which one is best for your first title, we will ask you two questions. Remember the letter and number associated with your answer.

How much time do you have?

1. Plenty of Time - more then 4 weeks to dedicate to this title.
2. Fair amount of Time - 3 weeks to dedicate to this title.
3. Very little Time - 2 weeks at most.
How much DVD Scripting have you done using one of the following applications: Sonic Scenarist, Apple’s DVD Studio Pro, Spruces’ DVD Maestro? If you are not familiar with these applications, then answer the question based on if your DVD authoring tool has the ability to use GPRMs and SPRMs.

A. Expert - Almost every title uses a lot of scripting.
B. Average - Most titles use scripting for basic navigation control.
C. Novice - It has been awhile since a title was authored with scripting, or a title has never been authored with a scripting.
The 100% pop-up Menu The 50% pop-up Menu Custom Menu Design
1B 1A or 1B 1A
2A or 2B 2A
3A or 3B or 3C

If you find that you answers do not fit the menu design you have in mind, then we strongly recommend that you work with one our DoStudio Experts.

Now that you have your menu design philosophy picked you are ready to understand the best practices of Menu design.

2.1.3 Calculating your images for the Image buffer.

DoStudio provides you with the ability to use 32.5 Megabytes of Image Memory. Image Memory is based the fact that each pixel in an image uses 4 bytes of memory. This is because every pixels uses four colors: Red, Green, Blue and Alpha to determine the color of the image. To understand how much space your menu takes up you can use the following equation and best practices.

Equation

Width x Height x 4 = number of bytes

Best Practices

  • Do not create images with a lot of extra transparencies around the actual image. Even a transparent pixel takes memory.
  • Create a small first play image, such as the text loading.
  • Re-use a background image for all sets by placing the background image on the Menu Block instead of on each set.
  • Remove any images for the Selected and Activated State that are not being used.
  • Keep in mind an image with a long width that is applied to a set can be used to remove a lot of extra pixels from Memory.
  • Keep in mind an image that is 512 pixels by 256 pixels will take up 1Mb of Image Memory.
  • Design your menu using rectangles and keep track of a rough estimate of how many bytes each rectangle will use. Remember buttons have up to three images per rectangle.
  • Even when an image is not on the screen it is still taking up Image Memory.
  • Keep in mind there is no way to remove an image from the Image Memory.
  • For the best possible performance when animating a menu block make sure the menu block does not take up more then 1/3 of the screen.
  • When building a menu that needs to be over a video stream that is not 1920 x 1080. Design your menu on a canvas that is 1920 x 1080, but only use the pixels from the top right corner of the screen. You then need to determine your bottom right hand corner. To do this use the resolution of your video stream. For example if you video is 720 x 576 then the bottom right hand corner is 720 x 576. Make sure all your menu elements fit inside the resolution of your video based on the top right hand corner.

3. Authoring

After you’ve designed your menu and you’ve verified your assets, you are now ready to author your title. Because you’ve picked a design philosophy that fits your time frame and experience, and you’ve verified all your assets you’ll be able to author your disc with confidence and deal with issue quickly.

3.1 The Authoring Stages

To make your authoring go even more smoothly, we’ll now discuss unit testing and a new method for authoring your Blu-ray title. In DVD authoring, you are able to completely author the disc before burning a test disc, and still have a high confidence rate in your work and know that it’ll play just fine. Blu-ray authoring is still evolving and because of this, the process is a lot different from authoring a DVD. One of the biggest differences is to authoring your Blu-ray title in stages. We’ve developed a set of stages that we recommend following when creating your first Blu-ray title. This will allow you to easily trouble shoot issues one at a time instead of all at once. NetBlender’s recommended authoring stages are as follows:

3.1.1 Stage 1 - Play list Setup

The purpose of this stage is to set up your playlist correctly with all of your assets, whick will reduce the number of times you’ll have to multiplex your assets.

  1. Create your play list using the best practices below. Include all your audio, video and subitle tracks. Set up the end of each title to go to the next title in the list. This will allow you to preview your titles in a player and is something that can be changed without multiplexing your assets again.
  2. Setup your Disc Information so you have an application Id, Organization ID, and generate a new Disc Id. Turn multiplexing ON, and Test Mode On.
  3. Compile your Disc.
  4. Play your compiled disc in a soft player or burn your disc to a BD-RE and play it on a player. Make sure your audio and subtitle tracks work by using the remote control to change them. Verify there are no issues with any of your titles.

3.1.2 Stage 2 - Verify your Menu Size

The purpose of this stage is to check your menu design, and your photoshop file(s) so they import into DoStudio as expected.

  1. Import your Photoshop file(s) into DoStudio.
  2. Turn Multiplexing off in the disc settings.
  3. Quick Compile your project.
  4. If you are over the size limit, remove all unnecessary images for button states that are not used. Replace your First play image with a smaller “loading” image. Do a quick compile again. If you are still over the size limit then go back to your menu design and look for ways to reduce your menu size. This is also a good time to contact one of our DoStudio Experts who can help you find ways to improve your menu design.

3.1.3 Stage 3 - Setup your Main Menu Block’s navigation

The purpose of this stage is to ensure your main menu block is setup correctly. The reason for this is because DoStudio uses the main menu block as the focal point. If there is a problem with the main menu block it can have a domino effect on your other menu blocks.

  1. Create all the necessary APRM’s if your menu design requires them. See the best practices for Initializing APRM’s below.
  2. Setup all the remote control navigation for the buttons on all the sets of the main menu block.
  3. Apply any actions that change the main menu block, the primary audio video settings, subtitle settings, secondary audio video settings or sets any other settings related to the main menu block.
  4. Do not apply any actions to the buttons that show, hide submenus. This will be done when setting up your submenus.
  5. Setup up the animation for the menu block.
  6. Setup the events in which you want to show and hide the main menu block. Some times this is done at the start of the loop or when a chapter point is executed. Your menu design will determine when the menu should be seen.
  7. Setup each title’s Button Override values so they match your menu design.
  8. If your menu design is going to use Condition logic to determine which set to display, add the conditions to the appropriate events at this time.
  9. If your menu design is the 50% pop-up, then you’ll need to add even more conditions to get your menu to function correctly.  It is good to add them now. Part of your 50% pop-up menu design might use a Submenu block as the main menu block.
  10. Quick Compile your project.
  11. Play your title in a soft player and make sure your main menu appears when you want it, the button overrides are working the way you want them, and the remote control navigation is executing as defined.
  12. If your main menu block takes up 1/3 of the screen or close to it, now is a good time to test your disc on a CE player. It is recommended in this case to use a player like the Sony BDP-S300 because it is a Profile 1.0 player. For a full list of players that are Profile 1.0 please review our Blu-ray Profile Player Wikipaper.

3.1.4 Stage 4 - Adding A Sub-menu Block

The purpose of this stage is to add each submenu block and test at each stage to ensure your submenu block is set up correctly. This stage will be repeated till you have set up all your submenu blocks. It is highly recommended to start with a submenu block that has more then 1 set and/or animates on to the screen. If you do not have a submenu block like this, pick the largest submenu block and then the next largest, continue until you have no more submenu blocks.

  1. Create any APRMs that will be used for the submenu block.
  2. Apply the actions to the main menu block that control the display of the submenu block.
  3. Add any conditions to the button events if needed.
  4. Add all the actions to the buttons of the Submenu block.
  5. Add all conditions to the buttons of the Submenu block.
  6. Set up the animation for the Submenu Block.
  7. Quick Compile your project.
  8. Play your disc on a soft player.
  9. If your submenu block takes up 1/3 of the screen or close to it, then now is a good time to test your disc on a CE player. It is recommended in this case to use a player like the Sony BDP-S300 because it is a Profile 1.0 player. For a full list of players that are Profile 1.0 please review our Blu-ray Profile Player Wikipaper.
  10. Repeat Stage 4 till all your submenus are complete.

3.2 Play List Best Practices

There are a few best practices you want to follow to ensure your disc plays as efficiently as possible, and a few best practices to keep in mind that will help you know when you need to multiplex your title.

3.2.1 Setting up your Play List

When setting up your play list you want to place all the titles that will appear first at the top of the tree, followed by the featured title, then any a bonus or extra titles. This will improve performance when the CE players load your Blu-ray disc and jump between titles.

3.2.2 When To Re-Multiplex Blu-ray title

If you follow the stages outlined above then you can keep the number of times you need to multiplex your assets to a minimum and by following these best practices you’ll know exactly when you should multiplex and you can plan accordingly.

Multiplex your Blu-ray disc when:

  • Add or remove a title.
  • Rearrange the order of a title.
  • Add, remove or edit a chapter for any title.
  • Add, remove or change the audio asset for a title.
  • Add, remove or change the subtitle file for a title.
  • Add, remove the video assets for Secondary Video and Secondary Video Segments.
  • Change any of the properties for Secondary Audio and Secondary Audio Segments.
  • Change the Organization Id, the Disc Id, the Application Id.
  • Change the BD-R/RE Test Mode.

It is a good idea to follow these best practices for when to multiplex only when you are working with your blu-ray disc internally.

When you are sending a BD-R/RE to a client or someone outside of your organization it is strongly recommended to completely multiplex your Blu-ray Disc.

3.3 Initializing APRMs

When your Blu-ray disc starts up your APRM’s obtain random initial values. If you you do not initialize the your APRMs to the values you want them to be you will have usual behavior. There are two best practices for Initializing an APRM.

Initialize your APRM in the action list for the event. This can be used when you APRM is only used for that event and not used for other events. Using this technique you’ll set the APRM to a predefined value that your conditions will rely on to know if the APRM is initialized or not. This technique is used a lot when you need to know if one condition has been executed yet.
Initialize your APRM when the first title plays. This technique is used when your APRM is used in more then one event and is the most common use of APRMs. To use this technique follow these steps.
  • Create a new APRM called “Initialize APRM List”
  • When the first title of you disc starts create a condition called “Check to Initialize APRMs” In this condition Check to see if the APRM “Initialize APRM List” does not have the value of 10.
  • In the Actions tab for the APRM, set the value of the APRM “Initialize APRM List” to 10. Then set the values of all your other APRM’s to the initial value you need them to be.

3.4 Best practices for Actions and conditions

Your Blu-ray title is a mini application that runs on the Blu-ray player, therefore the order of your actions and conditions can make a difference on older players. The order can also make a difference on how you set up your conditions. DoStudio uses the top down hierarchy method for determining the order of things. You can see this in the Play List and Menu Tree as well as the action list, and the list of conditions. The top most item will be executed first. Applying this logic to Actions and Conditions for events, you will see the list of Actions first for the event, then the list of Conditions. Inside each condition you’ll see the list of actions for that condition and those are also executed top down. This same logic can be applied to events, which are always executed first, then the actions for the event the conditions.

With the top down rule in mind here are some best practices for using Actions and Conditions.

  • Always execute actions that change the visual menus first, then execute actions that change the audio, video or subtitles. This will ensure the same playback experience across all Blu-ray players regardless of Profile.
  • Do not apply Actions to remote control events that provide the same behavior as the remote control button, unless you are overriding the remote control button. For example: Do not add an action to toggle the main menu on the Pop Up Menu Event for a title if you have not overridden the Pop Up Menu button for that title.
  • Actions associated directly with the event always execute first regardless of the Conditions.
  • Every condition will execute in your condition lists and the top one will execute first followed by the next one, followed by the next one, and so on.
  • An Action in the previous condition can change the value so the current condition is now true. This can be a desired effect or it can cause your conditions to never achieve their goal. If need your conditions to function more like if else conditions instead of simple If conditions, follow the best practices for Initializing the APRM for a single event.

4. Post Authoring

The post authoring process is comprised of testing your Blu-ray Disc, preparing the disc for replication and informing the viewer to update their Blu-ray player if needed. You will find this process painless and easy to do if you followed this guide.

4.1 Testing

Post Authoring is the process in which you test your Blu-ray title for functionality. If you have followed this guide, you will be able to follow the same testing process as you did with DVDs, except that you will want to test your disc on a CE player and not a soft player. There are some differences, though.  First, make sure you are burning a BD-R/RE that will play on many different CE players, and, second, create the BD-CMF image correctly.

4.1.1 Sending other organizations your BD-R/RE

If you are going to send your title out to be tested by a 3rd party company, to a client or to anyone who will be viewing the BD-R/RE in a CE Player, it is important follow these steps:

  1. Turn BD-RE test mode on.
  2. Turn Multiplexing on.
  3. Compile your Blu-ray Disc.

If this is not done, the BD-R/RE will not play on several Blu-ray Players such as the PS3.

4.2 Creating your BD-CMF Image for replication

When your disc is ready to be replicated, you are all set to create your BD-CMF image. There are two best practices to follow when creating your BD-CMF image. If you are short on time, it is always a good idea to back up your Disc folder. This way you will be able to revert back to the folder quickly if the BD-CMF fails. Create a separate directory in which your BD-CMF image will be created. If you are creating the BD-CMF image again, make sure the directory you choose is empty. This will ensure you are sending only the necessary files.

5. Conclusion

Creating your first Blu-ray title should be exciting and as easy as possible.  By following this guide, you should be able to complete your first title with the least amount of issues.  Should an issue arise, if you follow the process laid out in this paper, you’ll be able to quickly isolate and resolve it.  This way, you can spend more time on testing the functionality of your title and less on trouble shooting other issues. At the end, you’ll be able to have a Blu-ray title that will perform well on all Blu-ray players and you’ll be ready start creating more advanced titles with ease.