Showing posts with label Blu-ray Disc Authoring. Show all posts
Showing posts with label Blu-ray Disc Authoring. Show all posts

Thursday, July 28, 2011

Scenasrist BD, x.264, qpfile chapter points

 

So I’ve been doing some experiments with x.264 encoding for Scenarist BD. I’ve been encoding with x.264 for a while, but pretty much for subtitling purpose since playback on raw BD while subbing is still too much to ask, even for my 1st gen i7 setup. And for professional production, I’ve been using Sonic CineVision 100%. Not that I’m super satisfied with the result, I can’t seem to find a better choice. But for anything under 10Mbps, the performance is really terrible.

So I decided to try x.264 by following this site. It’s pretty self explanatory. The only difficulty is putting the chapter marks on I frames. CineVision and Scenarist BD use very similar *.csv format for chapter marks, while x.264 requires qpfile which is somewhat different. The former ones use HH:MM:SS:FRAME#, and they have to be 24000/1.001 sped up ones (have to do 23.976->24 fps conversion, same goes for 30fps 30000/1.001), while qpfile uses total frame#. My NLE software is SONY Vegas, and I use frameserver as output, then create avs file, finally serve into megui. Unfortunately, this route doesn’t honor the chapter marks set in Vegas. So the qpfile is required. And if the chapter marks don’t match, you’ll get warnings in Scenarist BD (exact wording: PlayListMark is not an I-Picture). Although this is allowed in BD spec, you’d always want the chapter marks to be on I frame. In my experiment, the timecode in Vegas matches Scenarist BD format. SO here is what I’ve been doing:

Sample *.CSV file for CineVison is:

image

The timecode is copied from Vegas:

image

Same clip, just change the time format in Vegas, then copy it to a newly created qpfile (with notepad *.qpf):

image

0 K -1
4882 K -1
7075 K -1
10660 K -1
11062 K -1
14824 K -1
17700 K -1
21357 K -1
23359 K -1
25134 K –1

As for the timecode in Scenarist BD, you can use *.csv or *.tsv. The former is simpler, while the latter supports chapter name. The difference here between CineVision and Scenarist BD is that in Scenarist, you have to specify framerate and nondrop or drop frame.

Timecode Format    23.976    NonDrop   
Chapter Number    Timecode    Chapter Label    Mark Type
1    00:00:00:00       
2    00:03:23:10       
3    00:04:54:19       
4    00:07:24:04       
5    00:07:40:22       
6    00:10:17:16       
7    00:12:17:12       
8    00:14:49:21       
9    00:16:13:07       
10    00:17:27:06       
11    00:18:19:19       
12    00:20:31:05       

So for timecodes directly from Vegas, there’s no need to do frame conversion, but frames from DVD ifo or BD mpls files, it’s very likely that frame sped up is needed.

Tuesday, June 28, 2011

Epson Artisan 725 Color Inkjet All-In-One Review – 062811 Update

 

06282011 Upadte: Adding troubleshooting for cannot find scanner issue at the back.

Photobucket
So Office Depot is offering a trade-in special on this EPSON Artisan 725 Color Inkjet AIO. I picked it up for $50 after turning in my ancient Lexmark AIO (which is still functioning I believe, but they don’t care if the printer is in working condition).
 
I picked up this model because I want to print CD/DVD labels with those direct printable surface. Also I want to print covers for the keep case. Plus the reviews on Amazon seems overall positive. After owning it for a week, printing a dozen labels/photos, I have to say that I’m impressed with the printing quality from this printer with its 6 color HD ink system. Also the network function exceeds my expectations. I have previously owned EPSON CX4400, CX7700, CX8400 AIOs (I so miss those great days where you can buy a cheap $10 camera and get these AIOs for free. Well, more like for free ink), but I wasn’t able to get much from those models. But this Artisan 725 packed with so much advanced features which made it worth the money.
 
 
First impression is that the printer is heavy and large, it takes up a lot of spaces! But I do like the top is flat unlike the previous CX8400. Initial setup was pretty easy. For connections, You can choose between USB, wireless, wired network. I opted for wired network installation since my desktop doesn’t have wireless and I want to have printing/scanning on all of my computers. So my particular setup was router –> 8 port switch –> printer. 2 laptops connected to the router wirelessly and then the printer, then 1 desktop connected to the switch then the printer. All computers can now access to the printer’s card reader, printer, and scanner. The card reader is mapped as a connected network device, on 32bit system, it seems to use up a drive letter Z, on a 64bit system, it shows up as a network device which didn’t use a drive letter. I’m not sure if it’s the normal behavior, personally I prefer as the latter since I’m running out of drive letters on my desktop!
 
 
Photobucket
 
Software consists of printer driver, scanning software (no OCR), network manager. There’s not much change between the driver and scanning software interface since those CX series. I never liked the scanning software, but I can live with it. It seems adding an office mode aside from auto, home, and professional from the CX series. The only thing I’m missing is ADF automatic document feeder but since this is an entry level model, they didn’t equip it. The scanning speed has improved dramatically. Either from lamp warming up to scanning, it’s really fast compared to the CX series. I can now scanning at 600dpi within minute, this took ridiculously long before on the CX8400. And the image is instantly available across a lousy slow wireless g network, even for images that are saved as *.bmp which could take up to 90MB easily (600dpi).
 
 
 
Another note for the network setup is that I wasn’t able to use the default WSD port for the scanner to work. But adding a standard TCP/IP port works. The only problem is the ink level checking no longer works. But you can still check the ink using the web interface by typing in the IP address: http://xxx.xxx.xxx.xxx/PRESENTATION/
 
 
The screenshot reflects the ink level after printing ONLY a total of 6 DVD labels AND 8 keep case covers. So yes, this is another ink guzzling machine as expected… At this rate, I guess the yield is gonna be less than 100 paper… I’m not sure how they could claim 500 yield on draft mode… But this is not too surprising…
 

Photobucket

One thing that changes quite dramatically is the paper tray. It’s a 2-layer design where the large sized paper going the bottom, and small sized photo paper going the top. Some people on Amazon mentioned the printer has trouble grabbing two pieces of paper at a time, I only had this problem with some really thin copy paper supposedly used for laserjet, but that was not supposed to be used for inkjet…

Photobucket

Another tray is the CD/DVD tray for printing labels. It’s built-in unlike the previous models. You have to tilt the touch panel all the way up to see this tray. There’s a button on the touch panel to eject and close the tray, otherwise I don’t find such a button in the CD Printing software. It feels more like burning a CD/DVD now. The tray emulates a full size A4 or letter size paper. And it’s printing the image upside down. I have to mention this because the Verbatim BD-R DLs I got have letters on the disc where you cannot print over, so I have to adjust the orientation to avoid the letters covering on the important part of the images. The provided sample Memorex (oops!) CD-R does have white printable surface edge to edge without any letters. However, the printable Verbatim DVD-R/+Rs I got a while back has large non-printable center hub… So the discs really vary from model to model.

Another change is the addition of duplex module at the back. Double sided printing seems pretty standard nowadays, but I really don’t see much use on an inkjet. The module is large, and sticking out too much IMO. While it is removable, it leaves a large opening at the back, and EPSON didn’t provide a cover.

Photobucket

Printing, I’m very satisfied with the performance. It could easily compete with any local photo labs, if not better. The only problem I had initially was disabling color profile in EPSON’s driver so that it converts the colors twice, which causing the colors to be smeared and appears magenta… After reading this article on Adobe’s web, I was able to print photos very close to what I see on the screen even without any calibrations.

So basically you have to choose EPSON’s profiles in PS, then disable the ICM color adjustment in the printer driver:

From PS:

Photobucket

From driver:

Photobucket


Other neat features include operating without using computer. You can copy documents, even CD/DVD labels directly using the printer. You can also scan images directly onto memory cards. Then the images are shared across the network! Operating with computer, you can use the touch panel to scan pictures, open email application on the computer without using the software on the computer. (It would be cool to be able to send images as email attachments directly without computer) Also the USB port supports charging USB devices which I haven’t tried yet.

Lastly, this is the CD/DVD template for PS. This let you print labels directly inside PS, instead of using the included CD printing software which doesn’t have much flexibility… It’s from CDfreak, although it says it’s for Artisan 810, it works for my Artisan 725.

Recently my router broke, so I have to swap it. The problem is that the IP address changes, can the replacement one doesn’t have a fixed IP feature like the old one. Therefore the IP address of all my network devices changed, which of course includes this printer/scanner. The issue is with the the scanning software – Epson Scan cannot be started. So I looked into this, found that you have to enter the IP address manually in EPSON Scan Setting.

SNAGHTML42b710

You might want to delete the original scanner, since it’s no longer useful. Clicking the Edit button only allows you to edit the name, so it’s useless. So just delete it, and add as a new.

SNAGHTML4429a0

Now the automatic search doesn’t work for me, so I have to enter my network address manually. The IP address can be found inside the router. This should solve the scanner problem.

Wednesday, April 27, 2011

Scenarist BD – Clip, Stream (PlayList), IN/OUT Time Explained


So here I did it again, another masterpiece from me! It’s expanded from a pm from certain forum.

Photobucket 

The Clip is the item at the bottom, and PlayList (Stream) at the top. When you add multiple clips into PlayList, it will create multiple PlayItem.

 
Photobucket
Things in Clip counts toward the disc space; while PlayList is virtual, no matter how many you created, it doesn't add space.

BD Reauthor cannot reset the time to 00:00:00:00. The time is ripped as is. However, if you remove stuff from PlayList and Clip, you can reset individual asset to zero. But you should never do this in reauthoring since there are probably other things like commands are referring to these PlayLists... An easier way is to use the time->video offset on Clip. This is usually needed for subtitles only.

More info on IN/OUT time:

Photobucket

By default, IN/OUT time are not set, unless your clip is set from the original disc. You can set IN/OUT time at both the Clip and PlayList level. If you set at the Clip level (Time->Duration), the clip and the playlist will both reflect the time you set. In Clip, you should see some yellow box saying "TIME", in PlayList, you should see the total playtime shortened. By setting IN/OUT time in Clip, you are essentially "trimming" the video and audio. You lose playback time and waste disc space by doing this. However, it is sometimes useful for seamless branching to ensure the audio and video have the exact same length to avoid the "no clean break" error. (Audio needs to be half second longer than video). But usually only the end couple frames is all you need to trim in this case.

Photobucket

The more common way to set IN/OUT time is at PlayList level, where you can create one playlist playing the whole footage, another playing only part of it without putting two versions of the same movie on disc (Clip).

Tuesday, April 19, 2011

Blu-ray ISO Mounting, Burning and Playback Guide Ver.2 20110405 Update

 

20110419 Update: Adds first impression on BD-R DL burning! Discs from Mitsubishi Verbatim. Disc ID: VERBAT-IMd-000

20110405 Update: First draft, this is a pretty big update to the original guide. Rather than updating on the original one, I’m posting a new one to replace that. The old guide will be served as archive purpose. 

I’ve been fiddling around different Blu-ray software for the past three years, I’m semi-happy with what I got so far. I’ll just summarize my experience.

Over the years, hardware/software changes. So my system now consists one desktop PC with winxp SP3/win7 32bit dual boot, and one laptop with win7 64bit. The desktop PC has a Pioneer Blu-ray burner now, and its function has been shifted to a media server from a Blu-ray Disc/DVD authoring station. The laptop, which was recently purchased, is being used as authoring station more and more now. I’m planning to use the laptop as a complete authoring station for the future production.

The Blu-ray playback software:

Over the years, I have tried PowerDVD 8,9,10, Totalmedia Theatre 3,5, and winDVD 9.

 

PowerDVD 8 Ultra version 2217a with HD-DVD add-on. This one for some reason has been working very stable, other later version however is extremely unstable on my system.

PowerDVD 9 is a completely nightmare that I don’t even want to mention! 

SNAGHTML8dc4c88_thumb[3]

PowerDVD 10 has been working rock solid on my system. I’ve tried upgrading to different patches without any incident. Mark II versions support 3D playback, but I don’t have 3D equipment on my PC so I can’t try it. PowerDVD 10 removes DVD folder playback, that’s why I still have PowerDVD 8 installed for this very reason. (Another great alternative would be the older KMPlayer 2.9x which supports tons of screen capturing modes including subtitles and DVD menu highlights which PowerDVD has lost such capability ever since version 7). PowerDVD 10 also offers an outstanding upscaling feature that no other software players can compare. Another thing to note is that during Blu-ray playback, the hardware acceleration is locked to ON where users have no control to turn it off. In other words, the Blu-ray playback is based on video card hardware acceleration only. In DVD and file playback, users can turn on and off hardware acceleration. Another major upgrade since version 10 is that it changes from a dedicated disc based media player to an universal players. But as expected from some monopoly company, the capability of the file playback is extremely limited, especially on mkv support.

 

SNAGHTML8e7ca3f_thumb[3]

TotalMedia Theatre 3 with SimHD plugin (TMT3 for short). This software has fair to decent playback quality. The most unique feature is BDMV folder playback which Cyberlink is too scared to include. Another unique feature is allowing screen capture during non AACS protected BDMV/BD playback. Under windows XP, you can even capture subtitles and menu highlights. Under win7, such feature is lost due to probably change of rendering filter. TMT3 also allows turning on/off hardware acceleration during Blu-ray playback. It allows changing multiple audio devices during playback as well which is something PowerDVD 10 cannot do until some recent patch. The earlier TMT3 has problems in decoding DTS-HD MA streams such as DTS-HD MA 2.0 due to faulty decoder, but I believe the problem has been fixed in the latest *.185 patch. The only audio related problem is that the software cannot output audio to center channel or balancing the audio to stereo if the audio track happens to be LPCM 1.0 which some Criterion discs have.

 

image_thumb[3]

TotalMedia Theatre 5 has been released in late 2010. They skipped version 4. So this is a direct update to the version 3. There are quite some major updates, some are welcome some are BAD! The good things include 3D playback, better upscaling capability. The bad things are UI change, remove of screen capture during BD playback. As a direct competitor to Cyberlink, Arcsoft has added shift the focus to an universal player as well. But same problem, the file playback capability are severely limited! It also claims to support several subtitle files such as srt, ssa, etc, but I’ve yet to try them. But for this kind of files, I think the free solution works way better.

I have achieved playing actual discs with all three software via a Lite-on BDROM, now a Pioneer Blu-ray burner BDR-206. For playback quality, my preference is: PowerDVD (Hardware Acceleration [HA] on; well, powerDVD always turns on HA for Blu-rays, you can’t turn it off since version 8)>WinDVD 9 (HA on)>TMT3 (HA OFF). PowerDVD gives the best visual quality, but BDMV folder playback and image capture function are disabled on build 2217a; while I didn’t spent too much time on winDVD 9 since it doesn’t do anything; TMT3 can play BDMV folder directly, plus it can capture images as long as the disc has no AACS protection (can capture images from Blu-ray ISO). But TMT3’s video quality is definitely the worst among the three, even after turning off hardware acceleration; with hardware acceleration on, the video quality is even worse, any still images will show aliasing lines, and the DVD playback is totally crapped out! So for serious viewing on PC, powerDVD is the way to go, TMT3 is only good for its functions, winDVD is somewhere in the middle…

For mounting Blu-ray ISO without a physical discs, first you’ll need that famous UDF2.50 reader if you are still using winxp. powerDVD has no problem with either Alcohol 120% or Virtual CloneDrive. TMT3 don’t like Alcohol 120%. After reading around online, I think I found the explanation:

Photobucket

Emulation from Alcohol puts Blu-ray ISOs as a giant DVD-ROM, while from Virtual CloneDrive regards them as a BD-R; although when building the images in Imgburn, I think Imgburn still treat them as DVD-ROM. (Well, Alcohol 120% has been working fine after version 2.0)

Photobucket

Obtaining Blu-ray ISO:

So far, only two pieces of software are easy to use: AnyDVD HD and DVDFab HD Decrypter. AnyDVD HD can work on-the-fly, while DVDFab only works on dumping files to hard drive (DVDFab has released a software called passkey which works very similar to AnyDVD HD now). After obtaining BDMV folder from the disc, the best option is to make ISO using Imgburn (AnyDVD HD can put ISO file directly). The reason I don’t like BDMV folder is because Blu-ray file structures are quite complicated, I don’t want to mess them up, this is especially important if you want to process m2ts in tsmuxer, eac3to later on; making an ISO will make the files read-only and not writable within the ISO so that you won’t mess up the original structure. The drawback to this is that you cannot put a srt/ssa/ssa subtitle file under the “stream” folder, load up mpc/Kmplayer/Potplayer to play the streams with subtitles. But currently the all these multimedia players are still poor at handling raw m2ts streams if there’s Dolby TrueHD and DTS-HD MA advanced codecs, I wouldn’t worry too much of losing this convenient feature.

Before burning, to make the ISO playable in software players such as PowerDVD, you’ll need to have a complete Blu-ray structure:

BDMV
-----AUXDATA
-----BACKUP
------------BDJO
------------CLIPINF
------------JAR
------------PLAYLIST
-----BDJO
-----CLIPINF
-----JAR
-----META
-----PLAYLIST
-----STREAM
CERTIFICATE

More info HERE.

So to summarize all the above, here is the procedures:

PC:

Original Disc->AnyDVD HD/DVDFab HD->BDMV->(Complete Blu-ray structure if folders are missing)->IMGBURN UDF2.50 making ISO+MDS/BDISO->Alcohol 120% / Virtual CloneDrive mounting->PowerDVD 8 2217a/10 / TMT3/5 HA off (specifically used for Title/Pop-up menu captures).

 

PC with additional subtitle without losing menu:

Now with the aid of various tools (free ones such as BDedit, MultiAVCHD, professional ones such as BD Reauthor Pro and Scenarist BD), it is possible to mux in picture based PGS steams into m2ts files. This is probably the most traditional way, but it requires the change of m2ts files which some people may not happy with.

Another solution is to use text based textST to “externally” attaching to certain m2ts files. The original m2ts files are completely intact, only the playlist files need to be updated. This technique requires Scenarist BD and some hacking. However, the drawback is that the subtitle rendering quality varies from player to player. Also the subtitle timings have to be meticulously calculated in order to not overflowing the 4MB subtitle buffer, therefore lacks flexibility. It is for some reason quite popular over at certain Chinese community.

 

PS3 without subtitle:

Mounted BDISO->TVersity with transcoding off+add BDMV folder to share->PS3 (only works on simple m2ts with LPCM, poor at handling complex Dolby TrueHD and DTS-HD MA)

PS3 with additional subtitle:

Mounted BDISO->tsmuxer with srt subtitle/4GB cut->FAT32 USB drive->AVCHD manager/AVCHDme->PS3 (no restriction, but menu is lost). With recently PS3 being jailbroken, I believe it is possible to support NTFS format now.

Maximum size for blank Blu-ray discs:

BD-R
12,219,392 Sectors
25,025,314,816 bytes = 24,438,784 KB = 23,866 MB = 23.31 GB

BD-RE
11,826,176 Sectors
24,220,008,448 bytes

BD-R DL
24,438,784 Sectors
50,050,629,632 bytes
46.61 GB

BD-RE DL
23,652,352 Sectors
48,440,016,896 bytes

"If the disc is formatted with what's known as 'spare areas' for error correction etc (part of the blu-ray standard), that size will be smaller still.”

http://forum.imgburn.com/index.php?showtopic=8315

Imgburn to turn on spare areas:

Tools-->Settings-->Write-->Prefer Format Without Spare Areas (versions after 2.4.3.0 has this on as default)

Here goes the 122509 update:

A little bit about the players troubleshooting, mainly for TMT3 going explode (causing PC immediate reboot, no BSOD, not even a chance for memory dump). So this is the third time I got hit by this, last two times I got away from it by reinstalling winxp because I did have a reason to, but this time I definitely DO NOT wish to reinstall. So I did a bit research online, and found out I’m NOT alone. The only difference is that some users were speculating about hardware+driver deficiency, while my situation is that it occurs when I installed Canopus Edius NLE on my system (so more like pure software incompatible).

Here’s the procedure I solved the problem this time:

Uninstall Canopus Edius
Uninstall Canopus codec
Uninstall TMT3 completely (manual register and folder cleaning required, see below for details)
REBOOT
Install Canopus
Install TMT3 –> Reboot –> Update to latest .160 version as of this writing –> Reboot

And miracle did happen when I did the above steps.

Details on how to clean uninstall TMT3:

Step 1: Please uninstall the program in the Control Panel. If you have other ArcSoft programs installed, please uninstall them too. Then delete the program files in "C:Program FilesArcSoftTotalMedia Theatre" folder (the installation directory).
Step 2: Delete all the files and the folders (including the hidden ones) in "C:Users<username>Application DataArcSoft" and "C:Program FilesCommon FilesArcSoft" folders.
Step 3: Double check "archlp.sys" in "C:WINDOWSsystem32drivers" has been deleted, if not, please deletes it manually.
Step 4: Clean up the registration files:
1).Go to the Vista Start menu and click in the Start Search Dialog Box, type "regedit" and press Enter.
2).Delete "[HKEY_LOCAL_MACHINESOFTWAREArcSoft]" and "[HKEY_CURRENT_USERSoftwareArcSoft]" these two nodes.
Step 5: Reinstall TMT after rebooting the computer.

http://cid-6e8f6dc16096cb25.skydrive.live.com/embedicon.aspx/TheFiles/TMT_TroubleShootingGuide.pdf

Reference Links:

http://www.avsforum.com/avs-vb/showthread.php?t=1118509
https://ssl.arcsoft.com/forum/forum_posts.asp?TID=1359&PID=6030
http://www.arcsoft.com/forum/forum_posts.asp?TID=1642&PN=3

File system:
For cars mp3 CD:

change the filesystem to ISO9660 + Joliet

Joliet is what most standalones will look for when playing MP3 / DivX discs.

Use UDF when you're burning DVD Video / HD DVD / Blu-ray discs.

 

Here goes the 01192011 update:

pioneer BDR-206_reg

So at the beginning of 2011, I finally bought a Blu-ray writer - Pioneer BDR-206. Actually, I got the retailed BDR-2206, which comes with Blu-ray playback software PowerDVD and an extra case. Otherwise it’s exactly the same as the OEM BDR-206. I was a bit disappointed to find out even the 2206 didn’t include power and SATA cables. BDR-206 is more like a price-down re-release of last year’s BDR-205 rather than introducing something new. Well, there’s the BDR-206MBK which is world’s first BDXL 128GB quod layer writer… Here are some initial impression.

To go along with the writer, I ordered 5 Mitsubishi BD-RE DLs and 3 Sony BD-RE SLs on ebay which shipped from Japan, rather than going with the domestic ones which one BD-RE DL will cost a ridiculous fortune. Majority of my projects are BD50’s, I have very little use of BD25 discs.

mitsubishi bd-re dl

For the BD-RE DLs, I was able to get the original packaged Mitsubishi 5 pack. The discs come with a media code TDKBLD-Wfa-000. I was a bit disappointed and was worried about the compatibility with my Playstation 3 since I read online that this specific media code doesn’t go along with the launch 60GB Playstation 3 well. But fortunately, everything went extremely smooth, I was able to play it without any problem. I’ve watched two movies all the way through without any problem. The first time of using requires a full format which takes as long as writing the discs to full which is 90 min. The data verification process takes about half of the time at 45 min. And as the instructions about imgburn above, I burned these discs with spare area without any problem.

sony bd-re

For the Sony BD-RE SLs, I bought the re-packaging ones. These come with packaged without the case. I have no problem using these either, everything went smoothly. But I have to admit worrying about the legitimacy of these discs at first. The disc media code is SONY-ES1-002, which I believe are the same as the ones sold in US. The burning process takes exactly half of the time as BD-RE DLs since BD-RE SLs are exactly half of the size unlike DVD 5 vs DVD 9.

I’ve also burned some CDs and DVD 5s using this writer, and everything is smooth, but I’ve only got verbatim ones, can’t test anything else.

Lastly, some testings on my projects so far:

PS3_BD-RE testing1

1. The projects authored in Scenarist BD has a very GOOD compatibility in PS3’s compatibility. There’s a playlist with PIP and always-on menu I had in the project, I could never get this to work in PowerDVD 10 various patches and TMT3/5, Sonic’s Scenarist QC worked to some extent, but it runs exactly as I intended in PS3! Other navigation stuff all worked correctly which exceeds my expectation. Since PS3 DVD’s playback has some quirks, I’m a bit overjoyed.

2. The current top menu audio switching isn’t very smooth, I need to change it to switch at the end of the playlist rather than switching right away.

3. The picture in the metadata, as shown above, needs to have much larger texts. The two picture size are only 640*360 and 416*240.

4. Return button might need to use a second button in BOG to turn off popup menu, otherwise the menu would stick on screen until the title is jumped.

 

Here goes the 04052011 update:

Some more experience on Blu-ray burning, most of the discovery is posted HERE:

1. The BD-RW DL needs a “break in” on first time use. It is best to burn the disc to FULL 46.61GB the first time!

2. DO NOT write *.img files to BD-RW DL if you have a Pioneer burner, it will cause permanent BAD SECTORS to the disc!

3. If you create an mds file from the info given by Scenarist BD, the layer break shown in imgburn is for reference ONLY. Imgburn does not support Blu-ray layer break because the author cannot find such a command to stop the burner.

4. Changing layer break setting WILL affect the output *.img file in Scenarist BD. Although the file size will be the same (as expected since nothing is added or removed), the hash values are different. The differences can be compared using a HEX editor.

When you output images, you also get the following extra files:
file_addr.map (contains the file sequences info I talked about earlier)
Layer1LSNInfo.txt (contains layer break sector)
MDC_Image0.dat
Pic_info_mux.dat
ucd0.dat (it's for layer0 info, but filled with ALL 0s, the size typically ranges somewhere 200MB+ and proportional to the layer break setting)
ucd0.dat.SHA
ucd1.dat (it's for layer1 info, but filled with ALL 0s, the size typically ranges somewhere 100MB+ and proportional to the layer break setting)
ucd1.dat.SHA
These files seem to be used for replication purpose, I found a patent explaining these files
HERE.

 

HERE goes 20110419 Update:

Verbatim BD-R DL VERBAT-IMd-000 

After somewhat semi-successful experience with BD-RW DLs, I finally stepped up to the new “brave” world of BD-R DL burning. This time I got the original packaged Mitsubishi Verbatim 1-4x BD-R DLs, 5 pack. Disc ID: VERBAT-IMd-000. The packaging doesn’t say the origin of manufacturing, but from the info I found online, it’s supposed to be Singapore. I’ve finished burning all 5 discs now. I don’t have any problem for this batch, all burned and verified by imgburn successfully. I’ve tested playing the first disc, there’s no skipping so far. Also these discs are inkjet printable, so I got an EPSON Artisan 725 yesterday and printed cover arts on them successfully. The only problem is that these discs have a wrap around verbatim brand info which you can’t print over. It’s somewhat annoying. Otherwise I’m pretty satisfied with the finished work, looks very professional.

Monday, February 7, 2011

PS3 firmware 3.30 - Bitstream (Mix) detailed explanation

 

Well, I haven’t kept up-to-date with the PS3 firmware recently, this one is added retrospectively.

Firmware 3.30 was released on Apr 22, 2010, and the major updates are support for 3D gaming and a hidden feature: Bitstream (Mix) option for people who are still using optical out with a legacy ac3/DTS receiver.

PS3_BD-RE testing2_bitstrem mix

The most basic feature for Bitstream (Mix) is to provide full sound for button click and PIP secondary audio. But there’s more to it, the most beneficial thing is the ability to playback LPCM 5.1 tracks encoded in DTS 5.1 in real time. Before this update, you will never get the surround sound out of LPCM 5.1 since optical output is only capable of 2 channel LPCM, but now you will at least get the 5.1 full information. This is equivalent to the “Auto mix based on source audio” option provided in Totalmedia Theatre 3 long time ago.

image

image

PowerDVD has also provided such mixing, but it’s only limited to AC3/DTS mixing.

PS3_BD-RE testing2_bitstrem mix2

“Auto mix based on source audio” is a more elegant way to mix the surround sound, it differs from just AC3/DTS mixing which just lumps all audios into ac3 or DTS.

These are the behaviors I have observed:

For any 1 channel sources:

Always expands to LPCM 2.0

For any 2 channel sources:

LPCM 2.0 - decodes/retains to LPCM 2.0*
Dolby TrueHD 2.0 - decodes to LPCM 2.0
DTS-HD MA 2.0 - decodes to LPCM 2.0

(while if AC3/DTS mixing is chosen in PowerDVD or TMT3/5, these audio will be mixed into ac3 2.0 or DTS 2.0 regardless)

For the LPCM 2.0 source here, I’m not sure what PS3 exactly did, since in LPCM mode, the button sound can be heard regardless if it’s decoded or in original form. I’m guessing it’s more likely to retain the LPCM 2.0 rather than decoding for simplicity, but I could be wrong.

For any 5.1 channel sources:

LPCM 5.1 - compresses as DTS 5.1 and bitstreaming in real time (biggest benefit)
Dolby TrueHD 5.1 - compresses as Dolby Digital 5.1 and bitstreaming in real time
DTS-HD MA 5.1 - compresses as DTS 5.1 and bitstreaming in real time

Any button sound and PIP secondary audio will be mixed in.

I believe for audio more than 5.1 channels, they will be downmixed to 5.1, then compressed and bitstreamed as well. as for why Dolby TrueHD goes to Dolby Digital rather than DTS which is what I preferred, I think it maybe due to a license constraint? Also I have no way to determine what kind of bitrate these streams are compressed into. As far as the sound quality goes, you NEED to increase the volume a lot to get the same level of the audio in its original form. I think the sound is a little bit inferior to the Bitstream (direct) mode, especially the bass sounds a little mushy.

Thursday, January 20, 2011

PS3 firmware 3.50 adds incomplete 3DBD playback

 

In Sept 2010, Sony released firmware 3.50 to add 3DBD playback (profile 5.0). But due to the limitation of the hardware, we are really only getting “4.5” features. Here is my attempt to explain in details from an authoring standpoint of view.

In order to play 3DBD, you need an HD 3D display, active 3D glasses, and a high-speed HDMI cable (for PS3, you only need 1.3b since it doesn’t support 1.4a standards, maybe we can get an upgrade like the switch from fat to slim models which adds HD audio bitstreaming?)

Here are some Limitations on Blu-ray 3D™ disc playback from Sony:

  • The 3D display of some elements such as menus and subtitles may be different on the PS3™ system than on other 3D playback devices.
    • When Dolby TrueHD is selected as the audio format, audio will be output in Dolby Digital during playback of Blu-ray 3D™ content.
    • When DTS-HD is selected as the audio format, audio will be output in DTS during playback of Blu-ray 3D™ content.

These are due to the PS3 has to focusing on decoding two 1080p HD streams simultaneously, it lacks the power to do any BD-J application and HD audio at the same time. This is only a PS3 limitation, the real profile 5.0 machines can do BD-J AND HD audio. In HDMV mode, the menu system doesn’t support real 3D “pop” visual effect, you can do 2D+z-depth value. Under HDMV mode, you can do upto 32 streams containing the z-depth. Sonic uses OSF format to include the parameters, the values can be accurate to frames. I believe sonic currently does NOT have a solution to create real 3D menus. The 2D can still be done in photoshop+designer PS plugin.

  • Depending on the content, some BD-J (Blu-ray Disc™ Java*) features such as BONUSVIEW™ and BD-Live™ may not play in 3D or may not function properly on the PS3™ system.

Under profile 5.0 mode where you’re playing 3D titles, you don’t get PIP, multi-angle and BD-Live. But you’re getting a considerable performance gain. The menus get double amount of memory, which I assume to be 32mb for HDMV and 96mb for BD-J? The max bitrate increases from 48Mbps to 72Mbps. The MVC streams used can only be 1080p23.976, 720p60, and 720p59.94, no other combinations are allowed. In Scenarist BD, MVC have base and dependent clips. The base is the main stream, dependent clip is added as a subpath, kind of like PIP. The base can be used as a pure 2D playlist, the feature was disable in 5.5, but was later added back in 5.5.1. (I’m not sure why some retail disc has separate 2D and 3D discs…) The dependent information is the difference from the base, it is usually 50% of the size of the base. There are no I-frames in dependent stream. The dependent stream is put under the SSIF folder. Scenarist BD has a convenient feature where it can automatically generate 3D playlist using base and dependent stream (under a folder) without adding subpath manually. There are some extended PSR values to check 3D capability only available in profile 5.0 mode. I think someone said the SSIF structure uses a linux file system, that’s why under windows, we are getting double the size if we store the disc in folders, therefore it’s definitely recommended to store the disc in ISOs. When outputting a testing disc using Scenarist BD 5.5x, you’ll need to remove AACS in CPS unit, and using premastering - CMF to mux. Thre will be a ud.dat file under Dst0 folder, rename the ud.dat to ud.iso and burn. You can’t do fake AVCHD for 3DBD. These are the information I have gathered so far.

Sunday, September 5, 2010

Subtitle Software Bundle Part I - Four subtitle software I've been using for original creation/modifying ((09052010 update)

Subtitle Software Bundle Part I - Three subtitle software I've been using for original creation/modifying
(I originally intended to just introduce the software here, but looks like I have some more to add, so this will be Part I then...)
09052010 update: Introduction of avs2bdnxml v1.13
06152009 update: Some settings of Aegisub is provided
So here are four subtitle software I've been using: Subtitle workshop, Aegisub, maestroSBT and avs2bdnxml v1.13. All of them are freeware.


Subtitle workshop:
It is the easiest and simplest subtitle tool around, everything is just so intuitive for this software. The latest version is 4 which supports rendering subpictures for high definition media (HD-DVD/Blu-ray). But I'm still stick with v2.51 which released way back in 2005... This tool mainly targets DVD production, it doesn't support advanced SSA/ASS karaoke function. Actually it destroys all the fancy karaoke function in the original SSA/ASS script once you load the subtitle... This is the reason I keep looking for another good subtitle software until I found the Aegisub which I'll talk about later. Subtitle workshop also works best in conjunction with maestroSBT since it outputs the most compliant SSA v.4 style scripts.
show/hide

The great feature stands out from other subtitle softwares being the following:
1. Easy timing, ctrl+c for start, ctrl+v for stop, yes it's that easy
2. Can change the FPS on the fly, this is a very essential function for DVD production
3. Easy delay adjustment
4. Has a video player supports quite a few video/audio formats including mkv
5. Error detection such as long sentences, time collision, etc...
6. Vast subtitle formats output, almost any DVD authoring tool, you name it!
There are also three major shorcomings:
1. Only supports ANSI codes, no unicode support
2. Doesn't support advanced SSA/ASS script such as karaoke, and truncate any of those codes when importing!
3. Can not show subtitles with time collison, only the first one will show
Here is a screenshot for subtitle workshop:
subtitletoolworkshop.jpg picture by linkai8424
Bottom line:
If you intend to produce home-brew DVDs, this is a must have! (in conjunction with maestroSBT)
Aegisub:

This is a relatively new tool, but it's already been widely used by Fansub groups (but not so popular in China since people got another tool called popsub, originally developed by kuti from popgo forum - a forum dedicated for fansubbing, probably one of the biggest fansubbing distributor in China). Back to Aegisub, it's really powerful, and more oriented towards fansubbing (specifically ASS as what the faq said) since its outstanding supports for SSA/ASS advanced scripts. I have only been playing around this tool recently, and start to like it more and more, most importantly it has all the essential functions from subtitle workshop.
It has the following features which I liked:
1. Can read subtitles directly from mkv file
2. Can extract sound from mkv file and show the waveform for easier timing, also has supports for a few video/audio formats
3. It can convert framerate as export to a new file, not as convenient as subtitle workshop, but it's there...
4. Unicode support
5. Has internal spell checking
Again there are cons:
1. Supports ASS format exclusively, no other format output...
2. Very powerful, but not as intuitive, has a bit learning curve
3. No on-the-fly framerate change
Here is a screenshot for Aegisub:
subtitletoolaegis1.jpg picture by linkai8424
Here is a screenshot for Aegisub with wav spectrum read directly from mkv file:
subtitletoolaegis3.jpg picture by linkai8424
Here is the exporting menu, framerate can be changed here only:
subtitletoolaegis2.jpg picture by linkai8424
Bottom line:
A powerful software designed for fansubbing, not the easist to use, great support for mkv and ASS.
 
Well, here are some simple settings that will speed up the syncing process a bit:

So basically I mapped the most used keys from F1 to F5. F1 go back a line, F2 play the current line, F3 go next line, F4 commit change and stay current line, F5 play last 500ms. The tradeoff to this settings is that I’m currently losing “2” on the big keyboard area, but it’s still accessible on keypad.

Next is to set the highlight line in yellow, which makes current line stands out better than the original lake bluish color.

MaestroSBT:

This is not really a subtitle timing tool, but rather a subtitle rendering tool. So the timing part has to be done in other sofrware. The development has been halt for 2 years, the last build is 2.6.0.0 released back in 2005. It is designed for advanced DVD authoring tool such as DVDMaestro or scenarist, but can also be used for free tools such as muxman.
It has the following great features:
1. Supports unicode and ANSI (can save files with foreign character with unicode though)
2. Supports multiple styles, thus can have different fonts/colors (colors are limited at three at the same time if no boarder, two at the same time if has boarder due to the limitation of DVD spec)
3. Supports subtitles with time collision (reported bug used with muxman though)
4. Supports 16:9 subtitles with aspect ratio corrected (even on some commercial DVDs we still see squashed subtitles!)
5. Supports Frame input and output for NTSC non-drop frame
6. Multiple resolution support, can even custom resolution
There are also two cons:
1. As a great software for DVD, it is a bit outdated for rendering high definition subtitles although doable but only with awfully four colors... This software hasn't been updated for more than two years now!
2. Need to set files, timing every time loaded, a liitle bit inconvenience...
Here is a screenshot for MaestroSBT:
maestrosbt0.jpg picture by linkai8424
The software supports both unicode and ANSI, but when dealing with scripts with foreign characters from subtitle workshop (ANSI), have to convert the file to unicode, or MaestroSBT will just report save failure... For pure English characters, unicode and ANSI both work fine. It takes me a while to figure out this useful feature(button)...
maestrosbt1.jpg picture by linkai8424
It can output different resolution, and has fix for 16:9 widescreen DVDs, normally you have to render two different subtitles for widescreen DVDs, one for 4:3, one for 16:9. If only one is done, the subtitle will look ugly squashed either in a 16:9 TV or a 4:3 CRT TV depends which one is missing...
maestrosbt2.jpg picture by linkai8424
Framerate input and output control, for NTSC non-drop frame, the input is always 29.97 and output is 30, or the subtitle won't match the video/audio; if dropped frame, input and output should both be 29.97.
maestrosbt3.jpg picture by linkai8424
This is where the software really shines, multiple styles and time collisions make the DVD subtitle look actually a bit like SSA/ASS on computers, no karaoke support though.
maestrosbt4.jpg picture by linkai8424
This is how the new file (2.ssa) compares with the old file (1.ssa), even all the position info are saved (not in the screenshot):
maestrosbt5.jpg picture by linkai8424
Bottom line:
Must have software if you want to have a professional looking DVD! Hope there will be some updates (better rendering quality) when the high definition authoring are more adopted to the public.
Avs2bdnxml v1.13 

This tool was written by ps-auxw from doom9. It took us almost a year to fix all the bug and add some advanced features that no where to be found on even some of the commercial software. So here is the final version v1.13 which is the first version that can generate very decent Blu-ray pictures without much bug as far as my testing goes. Where it shines is its support for ssa/ass format. Unlike MaestroSBT, this tool uses vsfilter to generate its subs, so there’s no conversion. Everything from the ssa/ass side is preserved. But this is also where the problem occurs since Blu-ray doesn’t have big enough decoding buffer (4MB) to accommodate the pictures it generate. This tool generates pictures by detecting any changes from the vsfilter, so if there’s constantly rapid changing of color or position, it will generate picture frame by frame which Blu-ray don’t like.
It has the following great features:
1. Supports 8bit 256 color png or 32bit true color png.
2. Supports non-drop time frame automatically, does NOT support drop time frames.
3. Can do picture cropping and dual window slicing which are very important features for Blu-ray buffer optimization.
4. Can do splitting to specified frames to improve video time searching (only found on Japanese releases).
5. Works extremely well with Aegisub and Sonic Scenarist BD.
Cons:
1. The ssa/ass format pragmatic approach is NOT very compatible for Blu-ray, so users have to be aware of the limitations in order to not overflowing the buffer.
2. Dos only, no GUI.
3. Deank’s easySUP trying to integrate this with BDSup2Sub which the latter CANNOT generate Blu-ray subpictures correctly. But unfortunately very few people know the true limitation of BDSup2Sub. It’s a big disservice to avs2bdnxml with good intention.
4. Cannot generate *.sup which also hinders its usage (not everyone is using or willing to learn how to use Scenarist BD…)
Final thoughts:

So here are the FOUR software I've been using, they are all great software thanks to the authors.



Thursday, September 2, 2010

Current State of Blu-ray Authoring/Modification

 
This is a forum post I recently posted on a certain site. It’s an outline of the current technology/software available to Blu-ray authoring and modification. I think my summary is quite complete and the information is quite accurate.
Subbing Blu-ray is very Doable.

You have two ways to do it:



Current state of Blu-ray Subtitle Rendering Software

This is a reply I wrote this morning. I think this is quite decently written except for the grammar part… This pretty much summarizes my understanding about all things about Blu-ray subtitle software after near 1 year of research and experiment on this very subject. This article mainly compares the most wildly used subtitle “rendering software” BDSup2Sub and easySUP for the video enthusiasts crowd to how a CORRECT subtitle software should work to prevent flickering – an issue if someone decides to do lots of fancy typesetting. This correct subtitle software I found is called avs2bdnxml, and only the latest update 1.13 is working correctly. And only the subtitle software is NOT enough, the BD authoring tool has to have some ability to do the optimization as well. Most of the information here are derived from this thread on doom9 if you’re interested in how all this buffer overflow and flickering issue were realized, and then techniques discovered and developed to solve the issue for the past year…