View Single Post
Old 12-12-08, 07:56 PM   #1662   |  Link
alluringreality
AVS Special Member
 
Join Date: Jul 2006
Posts: 2,307
Steps to convert HDMV to AVCHD

EDIT: It looks like AVCHD-Patcher 1.06 was changed to take care of steps 4 and 5.
EDIT2: The download at Wirepole's site doesn't seem to work anymore, but the files can be downloaded at http://www.videohelp.com/forum/archi...d-t370304.html


One use for converting HDMV to AVCHD is for example that it allows the PS3 to play HD mpeg2 video from DVD with menus. tsMuxer can also be used to play HD mpeg2 video as AVCHD from DVD, but tsMuxer doesn't easily allow for the sort of menus that can be created with programs like VideoStudio. The following are steps that seem to work for converting home-authored HDMV to AVCHD. You'll need AVCHD-Patcher (Download location) and XVI32 (or another hex editor) to make the conversion.

1) Start with files in Blu-ray HDMV format. There are a number of commercial programs that can create HDMV with menus, and VideoStudio is one example. See The Authoritative Blu-ray Disc (BD) FAQ for a listing of other programs to create HDMV. From reports it seems very likely that BD-J will not work with this method.

2) Run AVCHD-Patcher, go to the /BDMV directory, and drag the index.bdmv file into the patcher. A new window will popup telling you the file has been patched. After you click ok the program will add AVCHD information to the file.


3) Delete the index.bdmv.bak file created by the patcher. It's simply a backup of the original index.bdmv file that is not needed.

4) Run XVI32 and open the index.bdmv file that was changed. You need to edit INDX0200 to read INDX0100. To do this select the 2 in INDX0200 at the top right as shown in the image below. Type the number 1 and save the file.


5) Now open MovieObject.bdmv from the same directory in XVI32. Similar to the last step, change MOBJ0200 to MOBJ100. Change the 2 shown in the image below to a 1, save the file.


6) Copy the revised index.bdmv and MovieObject.bdmv files from /BDMV to /BDMV/BACKUP. You'll need to overwrite the files that are already in the backup directory.

7) Burn the /BDMV folder and sub-folders to a DVD using UDF 2.5 format. Step 4 from this guide shows how to set the disc format with ImgBurn or Nero. AVCHD does not seem to include the /CERTIFICATE folder from HDMV, so I wouldn't include it. The only directories that seem to be in commercial AVCHD are:
/BDMV
/BDMV/BACKUP
/BDMV/BACKUP/CLIPINF
/BDMV/BACKUP/PLAYLIST
/BDMV/CLIPINF
/BDMV/PLAYLIST
/BDMV/STREAM



NOTES:
A) The AVCHD-Patcher program will not change anything if the file is already an AVCHD structure. tsMuxer for example creates an AVCHD file structure when the "Blu-ray" output setting is chosen.

B) Typical consumer software for creating HDMV appears to work fine, but Scenarist is known to default to setting a copy protection indicator (cpi) bit in the BDMV video. PS3bdfix101 can correct the video in the STREAMS directory if the BDMV was created by Scenarist with cpi on. For most programs that create BDMV you will never have to worry about cpi and PS3bdfix101 would make no changes to the video.

C) Steps 3 to 6 are not required for all players, but they're included to make the video more compatible.

D) The complete set of steps for converting HDMV to AVCHD seemed to play on the PS3, BDP-S1, BDP-S500, BDP-S550, BD30, BD35, BD55, BH200, and BD-P1500. The BDP-S550 and BD35 would not play the AVCHD if the hex editing from steps 4 and 5 was not included. The only player I tried that wouldn't play AVCHD was the BD-P2500, but the firmware might not have been current and I know many of the prior Samsungs before the BD-P1400 update were reported as unable to play AVCHD.

Last edited by alluringreality; 07-26-09 at 02:39 PM..
alluringreality is offline   Reply With Quote