Log in

View Full Version : multiAVCHD - author Blu-ray/AVCHD (Blu-ray players, camcoders, Viera TV) + (HD) DVD


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 [68] 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162

Duppie
11th August 2009, 05:36
Hi

I bought an OPPO-BDP83 to replace my PS3. I did test 25 Blu-Rays archived on a 500 gig Fat32 drive authored using multiAVCHD on the PS3 and it worked brilliantly. Now I tested the same HDD disk connected to the OPPO but there seems to be a lot of problems. Picture freezes. Need to hard reset the OPPO. Resolution is different. Does not respond very good to skipping of chapters, etc.

Did someone tested multiAVCHD on the OPPO with more than 20 Blu-Rays ripped on a 500 gig HDD or even higher? Did it work for you? If so, what tool did you use to format the drive. I used dos version of fat32format (http://www.ridgecrop.demon.co.uk/index.htm?fat32format.htm). What was the settings used in multiAVCHD?

Unfortunately I sold my PS3 to cover the costs of the OPPO. I have also reported this to OPPO but wants to make sure the fault is not on my side.

Thanks for a great tool. If it only works on OPPO!!!

setarip_old
11th August 2009, 08:39
@deank

I fully support your post #3342 to this thread.

Please click on the following link to understand why:

http://forum.doom9.org/showpost.php?p=1049586&postcount=8 regarding what I believe is referred to as "XProtect" copy protection of commercial DVDs.

deank
11th August 2009, 12:42
Hi

I bought an OPPO-BDP83 to replace my PS3.... but there seems to be a lot of problems. Picture freezes. Need to hard reset the OPPO. Resolution is different. Does not respond very good to skipping of chapters, etc.

Playstation 3 is a powerful machine and OPPO is no match for it. The problem you have is not with multiAVCHD or your HDD - it is the oppo player.

It is possible that its USB-transfer capabilities are not good enough. I think read in another forum that OPPO plays multiAVCHD's output for DVD/Blu-ray just fine - may be you have to test and burn one disc, just to be sure.

Duppie
11th August 2009, 13:17
Thanks Deank for the reply.

Will see what OPPO support comes back with?

So, from multiAVCHD's point of view the output generated is exactly according to the AVCHD spec?

Regards

rack04
11th August 2009, 13:20
No, do not confuse bitrate with vbufsize or vbitrate. You can have bitrate set to 8000, but peaks in vbitrate up to 17500 and it will not cause any troubles if video+audio does not exceed 36mbit:

I guess the reason that it works for Blu-ray on DVD is because the bitrates usually range from ~3500-5000. I would think it would be pretty rare for the vbufsize or vbitrate to get anywhere close to the max at that bitrate.

Yes, if you import .264 (or any other video encoded with x264 which contains 'encoding-settings' text information) with proper settings, multiAVCHD will not reencode it. Still you need to mark the title for 'transcoding' in Title properties / Transcode / Create HD-DVD title.

Will multiAVCHD accept raw h.264 streams? I noticed it wasn't an available file type in the input dialog and I couldn't drag and drop. Really it doesn't matter since it's easy enough to mux to mkv with Haali or mkvmerge.

BTW, what does transcoding to HD DVD do?

deank
11th August 2009, 13:21
@Duppie: Yes, it is.

@rack04: It supports raw streams, but the extension should be .264 (not .h264).

Transcoding to HD-DVD creates [HD-DVD] folder with contents ready to be burnt to DVD and played in a HD-DVD player :)

rack04
11th August 2009, 14:42
First attempt at creating a HD DVD failed.

http://i11.photobucket.com/albums/a199/rack04/multiavchd.jpg

Also, why is multiAVCHD converting the 640kbps AC3 (48000Hz 6ch) to 384 AC3 (48000Hz 6ch)? I think it's identified wrong as A_AC3.

Audio
Format : AC-3
Format/Info : Audio Coding 3
Duration : 1mn 8s
Bit rate mode : Constant
Bit rate : 640 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Stream size : 5.21 MiB (100%)


Here is the log:

[08:38:44] Log started for multiAVCHD v3.0 (build 676)
[08:38:44] Selected output mode: HD-DVD player (DVD-R/RW disc)

[08:38:44] Processing one title...
[08:38:44] Processing (C:\Personal\Videos\sample-long-hddvd.mkv)...
[08:38:44] This title is marked for reencoding / uncropping...
[08:38:44] Encoding process may take 10 min to 10 hours, so be patient...
[08:38:44] *** Initiating video encoding:
[08:38:44] *** Original : 1920x1080
[08:38:44] *** Crop : 0
[08:38:44] *** Resize : 1920x1080 (No change)
[08:38:44] *** Uncrop to : 1920x1080
[08:38:44] *** Sharpen : 0
[08:38:44] *** Bitrate : 7852 kbps
[08:38:44] *** Level : 4.1
[08:38:44] *** B-frames : 2
[08:38:44] *** Ref-frames: 2
[08:38:44] *** Frame rate: Original (23.976)
[08:38:44] *** GOP size : 14 (keyframe min. each 2 frames)
[08:38:44] *** Quality : One pass (normal quality)

[08:38:44] *** Profile : HD-DVD
[08:38:44] *** Title is already HD-DVD compliant!
[08:38:44] *** Re-encoding completed successfully!

[08:38:44] Demuxing video...
[08:38:51] Successfully demuxed H.264/AVC video stream...
[08:38:52] Detected frame reference count: 2 (max:4).
[08:38:52] Detected video: ID#1:V_MPEG4/ISO/AVC 1920x1080, fps=23.976, ref=2
[08:38:52] Detected audio: ID#2:A_AC3 (48000Hz 6ch) Language: eng
[08:38:52] Attempting to convert A_AC3 audio track #2...
[08:38:52] Encoding A_AC3 to AC3...
[08:38:56] Audio encoded to AC3 successfully!
[08:38:56] Added audio: A_AC3, "c:\docume~1\rackleyj\locals~1\temp\_multitmp\sample-long-hddvd.t2.ac3", lang=eng
[08:38:56] Copying audio to source folder for re-use...
[08:38:56] Creating HD-DVD structure...
[08:39:15] HD-DVD muxing completed!

[08:39:15] HD-DVD title saved:
[08:39:15] C:\Personal\Videos\AVCHD\[HD-DVD]\sample-long-hddvd

[08:39:16] Compilation contains 1 HD-DVD titles and no AVCHD/Blu-ray titles!

[08:39:16] Setting menu for 0 titles...
[08:39:16] Selected TV system: [NTSC]
[08:39:16] Done!

Compilation summary:
Format: HD-DVD player (DVD-R/RW disc) (mixed with HD-DVD)
Name : multiAVCHD
===============================================================================
1. 1 HD-DVD titles
===============================================================================
Output size : 0 MiB (0 GiB)

[08:39:16] C:\Personal\Videos\AVCHD folder created (AVCHD/Blu-ray output)!
[08:39:16] Burn its CONTENTS to DVD-R/RW UDF 2.50/2.60 disc!

[08:39:16] Compilation contains HD-DVD titles placed in [HD-DVD] folder.
[08:39:16] Burn each HD-DVD title folder contents (both HVDVD_TS and VIDEO_TS) to a separate DVD disc.

deank
11th August 2009, 15:24
Probably the imported .264 is not really compliant :) if hddvdmux crashes.

Audio is converted (despite it is AC3) with the bitrate in "Muxer&Audio" - Non HD audio bitrate.

I'm adding an option to use "hard-burned" subtitles, which is useful for HD-DVD and Viera TV encodings, since these 2 modes do not support subtitles.

rack04
11th August 2009, 15:28
Probably the imported .264 is not really compliant :) if hddvdmux crashes.

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Muxing mode : Container profile=Unknown@0.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 1mn 8s
Bit rate : 7 852 Kbps
Nominal bit rate : 8 000 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.158
Stream size : 64.0 MiB (91%)
Writing library : x264 core 70 r1206M 9a54c48
Encoding settings : cabac=1 / ref=2 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.0:0.2 /
mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 /
chroma_qp_offset=-3 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=2 / b_pyramid=0 /
b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=14 / keyint_min=2 / scenecut=40 / rc_lookahead=14 /
rc=2pass / mbtree=1 / bitrate=8000 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 /
cplxblur=20.0 / qblur=0.5 / vbv_maxrate=17500 / vbv_bufsize=14000 / ip_ratio=1.40 / aq=1:1.00
Language : English

"%x264_PATH%" --preset slower --tune film --pass 1 --bitrate %VIDBITRATE% --stats "%SOURCE_FOLDER%\%SOURCE_FILENAME%.stats"
--level 4.1 --ref 2 --bframes 2 --keyint 14 --min-keyint 2 --vbv-bufsize 14000 --vbv-maxrate 17500 --no-fast-pskip --output NUL "%INPUT_VIDEO%"

"%x264_PATH%" --preset slower --tune film --pass 2 --bitrate %VIDBITRATE% --stats "%SOURCE_FOLDER%\%SOURCE_FILENAME%.stats"
--level 4.1 --ref 2 --bframes 2 --keyint 14 --min-keyint 2 --vbv-bufsize 14000 --vbv-maxrate 17500 --no-fast-pskip --sar 1:1 --aud
--output "%SOURCE_FOLDER%\%SOURCE_FILENAME%-output.264" "%INPUT_VIDEO%"

deank
11th August 2009, 15:32
multiAVCHD uses

--aud --nal-hrd --trellis 0.... I'm not sure what could be crash hddvdmux.exe. Can you 'transcode' with multiAVCHD the same video you have, using 2passVHQ and compare the settings?

rack04
11th August 2009, 15:37
multiAVCHD uses

--aud --nal-hrd --trellis 0.... I'm not sure what could be crash hddvdmux.exe. Can you 'transcode' with multiAVCHD the same video you have, using 2passVHQ and compare the settings?

Maybe it's because I omitted --nal-hrd. I'll re-encode and see if that solves the problem.

deank
11th August 2009, 15:39
Build 677:

Option to add "Hard" subtitles (encoded in video) in "Transcode" window. Requires VSFilter.dll in tools folder (download link (http://multiavchd.deanbg.com/vsfilter.rar))

Hard subs can be used only if at least one external subtitle file is available. Color, offset, border, font... parameters are those in "Muxer&Audio" tab - so you probably won't need to change anything.

This is useful for Panasonic Viera TV (SDHC) and HD-DVD, because in these modes external/in-stream subtitles are not supported.

mikeathome
11th August 2009, 15:57
Deank, what is the x264 command line for a compatible h.264 stream for HD DVD muxing?

...\x264.exe --bitrate 6000 --keyint 14 --level=4.1 --min-keyint 2 --ref 2 --mixed-refs --bframes 2 --weightb --subme 5 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 14000 --vbv-maxrate 17500 --qcomp 0.5 --merange 12 --threads auto --thread-input --trellis 0 --mvrange 511 --aud --nal-hrd --sar 1:1 --output "...\fn.264" "...\fn.avs"

This works for a almost 3hr movie to fit on a DL-9 with 448 AC3.
AND runs on Toshiba A3 with structure created by HDDVDMux (deank's debugged version not to forget!!!) Hint: add ~10-20secs to your video because HDDVDMux tends to forget a few frames, video needs to be 1920x1080p (24000/1001fps); you have to set this in the avs...

# Based on deank's multiAVCHD script generator output!
LoadPlugin("...\DGAVCDecodeNV.dll")
filename="...\fn.dga"
b = AVCSource(filename,audio=false) # might need to add .LanczosResize(1920,...).ConvertFPS(23.976)
b=loop(b,480,framecount(b)-1,framecount(b)-1) # add 20 secs
# might need bordersizeX=int(0/2) if width <> 1920
# might need bordersizeY=int(280/2) if height <> 1080
AddBorders(b, bordersizeX, bordersizeY, bordersizeX, bordersizeY)
b=last
return b

@deank
if you want me to delete this I will...

mike

deank
11th August 2009, 16:01
The avisynth script looks much like multiAVCHD's one :)

About your question for dg* support - I believe it can be done but I'll see....

mikeathome
11th August 2009, 16:05
The avisynth script looks much like multiAVCHD's one :)

About your question for dg* support - I believe it can be done but I'll see....

Yes it does AND it is adapted, I still editing the reply... AND I ask if you want me to delete it. Btw. the commandline is stolen from you as well :rolleyes:
mike

deank
11th August 2009, 16:07
Why delete... It is not a secret... just a script :)

rack04
11th August 2009, 16:08
x264.exe --bitrate 6000 --keyint 14 --level=4.1 --min-keyint 2 --ref 2 --mixed-refs --bframes 2 --weightb --subme 5 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 14000 --vbv-maxrate 17500 --qcomp 0.5 --merange 12 --threads auto --thread-input --trellis 0 --mvrange 511 --aud --nal-hrd --sar 1:1 --output "path\fn.264" "path\fn.avs"


I'll offer a couple comments on your x264 command line.

Change --level=4.1 to --level 4.1

The following switches are default
--mixed-refs
--weightb
--partitions p8x8,b8x8,i4x4,i8x8
--8x8dct
--threads auto (implies --thread-input)

deank
11th August 2009, 16:10
You may continue the discussion about HD-DVD encoding settings in the other thread (http://forum.doom9.org/showthread.php?t=140459) I guess.

deank
11th August 2009, 16:14
Yep... minor bug in the line in multiAVCHD - fixed now :) (level=4.1)

Hmm.. the same 'error' is in uncropMKV, too... both uncropMKV and multiAVCHD are fixed now (--level=X.Y changed to --level X.Y) (may require manual update)

mikeathome
11th August 2009, 16:33
You may continue the discussion about HD-DVD encoding settings in the other thread (http://forum.doom9.org/showthread.php?t=140459) I guess.

I don't want this, because I believe your way to implement everything in multiAVCHD is the right way to go! No divide of forces by parallel development, the .dg* video source is interesting though (considering the VC-1 issue especially)...

mike

deank
11th August 2009, 16:35
I'll offer a couple comments on your x264 command line.

The following switches are default
--mixed-refs
--weightb
--partitions p8x8,b8x8,i4x4,i8x8
--8x8dct
--threads auto (implies --thread-input)

I keep the x264 parameters this way, so I can switch x264 versions (older and newer) without changing the encoding line :)

rack04
11th August 2009, 16:48
multiAVCHD uses

--aud --nal-hrd --trellis 0.... I'm not sure what could be crash hddvdmux.exe. Can you 'transcode' with multiAVCHD the same video you have, using 2passVHQ and compare the settings?

Here is the encoding settings of the file generated by multiAVCHD (sample-long.[1920x1080-23.976].264):

cabac=1 / ref=2 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.0:0.2 / mixed_ref=1 / me_range=16 /
chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-3 / threads=3 / nr=0 / decimate=1 / mbaff=0 /
bframes=2 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=14 / keyint_min=2 / scenecut=40 / rc_lookahead=14 /
rc=2pass / mbtree=1 / bitrate=8000 / ratetol=1.0 / qcomp=0.50 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 /
vbv_maxrate=17500 / vbv_bufsize=14000 / ip_ratio=1.10 / aq=1:1.00

Here is the encoding settings of the file generated by my custom command line (sample-long-hddvd-hrd.mkv):

cabac=1 / ref=2 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.0:0.2 / mixed_ref=1 / me_range=16 /
chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-3 / threads=3 / nr=0 / decimate=1 / mbaff=0 /
bframes=2 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=14 / keyint_min=2 / scenecut=40 / rc_lookahead=14 /
rc=2pass / mbtree=1 / bitrate=8000 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 /
vbv_maxrate=17500 / vbv_bufsize=14000 / ip_ratio=1.40 / aq=1:1.00

The only difference I see is qcomp and ip_ratio. Neither one should effect compliance.

deank
11th August 2009, 16:53
The message you deleted few mins ago showed that you did not import audio track - that's why it failed.

So - after you compared them - is any of them two work?

rack04
11th August 2009, 16:57
The message you deleted few mins ago showed that you did not import audio track - that's why it failed.

So - after you compared them - is any of them two work?

I knew that it failed because I didn't select an audio track. I wanted to compare the "2passVHQ" transcoding results. I'll re-run multiAVCHD with sample-long.[1920x1080-23.976].264 and an audio track and report back.

rack04
11th August 2009, 17:30
Alright I think I found the problem. I'm able to output HD DVD if I input raw .264 and add .ac3 as external audio.

However, if I input .mkv (which only contains .264) and add .ac3 as external audio it fails to add external audio.

[11:21:18] Log started for multiAVCHD v3.0 (build 677)
[11:21:18] Selected output mode: HD-DVD player (DVD-R/RW disc)

[11:21:18] Processing one title...
[11:21:18] Processing (C:\Personal\Videos\sample-long-output.mkv)...
[11:21:18] This title is marked for reencoding / uncropping...
[11:21:18] Encoding process may take 10 min to 10 hours, so be patient...
[11:21:18] *** Initiating video encoding:
[11:21:18] *** Original : 1920x1080
[11:21:18] *** Crop : 0
[11:21:18] *** Resize : 1920x1080 (No change)
[11:21:18] *** Uncrop to : 1920x1080
[11:21:18] *** Sharpen : 0
[11:21:18] *** Bitrate : 7866 kbps
[11:21:18] *** Level : 4.1
[11:21:18] *** B-frames : 2
[11:21:18] *** Ref-frames: 2
[11:21:18] *** Frame rate: Original (23.976)
[11:21:18] *** GOP size : 14 (keyframe min. each 2 frames)
[11:21:18] *** Quality : One pass (normal quality)

[11:21:18] *** Profile : HD-DVD
[11:21:18] *** Title is already HD-DVD compliant!
[11:21:18] *** Re-encoding completed successfully!

[11:21:18] Demuxing video...
[11:21:24] Successfully demuxed H.264/AVC video stream...
[11:21:25] Detected frame reference count: 2 (max:4).
[11:21:25] Detected video: ID#1:V_MPEG4/ISO/AVC 1920x1080, fps=23.976, ref=2
[11:21:25] Adding external audio file (sample-long.ac3) (und)
[11:21:25] No audio tracks present! HD-DVD mux is impossible.
[11:21:25] Creating HD-DVD structure...
[11:21:25] HD-DVD muxing failed!
[11:21:25] DEBUG INFO: "C:\Program Files\multiAVCHD\tools\hddvdmux.exe" "C:\DOCUME~1\rackleyj\LOCALS~1\Temp\_multiTMP\videodump.264" "" "C:\Personal\Videos\AVCHD\[HD-DVD]\sample-long-output" 0

If I input .mkv (which contains .264 and .ac3) it fails with hddvdmux.exe error that I showed earlier in this thread.

One other thing. Even when it successfully completes the log still shows:

Your compilation contains 0hrs 0min 0sec of video material.

deank
11th August 2009, 17:36
"compilation duration" is for AVCHD/BD/SD_VIDEO.. not for HD-DVD.

I guess it is a bug that the external audio is not passed correctly with the video-only mkv (which is a rare case to have).
I don't know why mkv with 264+ac3 would crash... multiAVCHD demuxes the video and reencodes the audio.

rack04
11th August 2009, 17:42
"compilation duration" is for AVCHD/BD/SD_VIDEO.. not for HD-DVD.

I guess it is a bug that the external audio is not loaded with the .mkv file.

Looking through your guide I don't see any compliance standards for HD DVD. For example here is the entry for AVCHD:

[AVCHD for DVD/BD-R]
* Long filenames
* UDF 2.50/2.60 file system required
* Supports menu
* Complies with AVCHD version 1
* Stricter AVCHD folder format option is recommended (only standard folders)
* Media: DVD-R/DVD-RW/DVD+RW/BD-R/BD-RE
* Playback compatibility: Playstation 3 and most Blu-ray players via optical media, software players


Burn each HD-DVD title folder contents (both HVDVD_TS and VIDEO_TS) to a separate DVD disc.

So I don't need to burn the ADV_OBJ folder to the disc?

deank
11th August 2009, 17:45
Correct... I added HD-DVD just few days ago... no time to update the guide... it may be multiAVCHD, but I'm not multiDEAN.

@rack04: Please take the time to read my posts in the other thread. Yes, you may not include it.

rack04
11th August 2009, 17:47
Correct... I added HD-DVD just few days ago... no time to update the guide... it may be multiAVCHD, but I'm not multiDEAN.

I completely understand and hope you don't think I'm scrutinizing you. I'm just trying to help with HD DVD since you mentioned you don't have a way to test. I have a Toshiba HD-A2 that I will use to test the output.

The reason I asked about the guide is because I was interested to know whether HD DVD supports menus.

deank
11th August 2009, 17:50
In general it does, but not in multiAVCHD's case. setarip_old tested extensively and he said it all works :)


[HD-DVD]
* Long filenames
* Output folders VIDEO_TS and HVDVD_TS required
* UDF 2.50 file system required (UDF 2.50 data disc with ImgBurn!)
* Does not support menu
* Video transcoding may be required
* Complies with HD-DVD standard authoring (not advanced)
* Media: DVD-R/DVD-RW
* Playback compatibility: HD-DVD players, supporting 3xDVD, software players with HD-DVD (Nero Showtime)

If you're willing to test further - try videos with framerate <>23.976 - for example 29.970 or 24.000 or 25.000 and see what will happen.

mikeathome
11th August 2009, 18:08
In general it does, but not in multiAVCHD's case. setarip_old tested extensively and he said it all works :)

I tested extensively as well and yes, I confirm it works.

I have the same rare issue with the .mkv video only and yes I need a second multiAVCHD run and import the raw .264 + an external .ac3. Not a big issue, that's why I forgot about it.

You can add DVD+R DL as media, works on my Toshiba A3.

mike

deank
11th August 2009, 20:11
Build 678:

* Fixed broken .AVI import if 'encoding settings' meta information is present

* New options in "Transcode" menu:

* 1440x (..)
* 1440x1080 (4:3) (this one will keep 4:3 DAR)
* 1440x1080

These allow you to transcode video in 1440x1080 with 16:9 aspect ratio, instead in the usual 1920x1080 16:9.

Using 1440x1080 anamorphic for 1920x1080 DAR can save you some bitrate, create smaller output while keeping the great quality, produced by x264. One can hardly find any difference between 1440x1080 DAR 16:9 and 1920x1080.

This example shows uncropping 1280x528 to 1440x1080 (not that it is making any sense - just an example), while keeping the correct display aspect ratio (DAR) to 1920x1080 16:9 in the final AVCHD/Blu-ray compilation:


[22:04:14] *** Initiating video encoding:
[22:04:14] *** Original : 1280x528
[22:04:14] *** Crop : 0
[22:04:14] *** Resize : 1440x792
[22:04:14] *** Uncrop to : 1440x1080
[22:04:14] *** Sharpen : 0
[22:04:14] *** Bitrate : 4783 kbps
[22:04:14] *** Level : 4.1
[22:04:14] *** B-frames : 3
[22:04:14] *** Ref-frames: 3
[22:04:14] *** Frame rate: Original (23.976)
[22:04:14] *** GOP size : 24 (keyframe min. each 1 frames)
[22:04:14] *** Quality : One pass (normal quality)
[22:04:14] *** SAR : 4:3
[22:04:14] *** DAR : 1920x1080

[22:04:14] *** Profile : Blu-ray
[22:04:14] *** Re-encoding with x264...
[22:04:25] *** Re-encoding completed successfully!


Dean

deank
12th August 2009, 12:20
Alright I think I found the problem. I'm able to output HD DVD if I input raw .264 and add .ac3 as external audio.

However, if I input .mkv (which only contains .264) and add .ac3 as external audio it fails to add external audio.

If I input .mkv (which contains .264 and .ac3) it fails with hddvdmux.exe error that I showed earlier in this thread.


This problem is fixed - mkv with video + external audio should now work, so update with multiUPDATE - try and let me know.

Also some other fixes for HD-DVD compliancy detection...

+ Option for hard-coded subtitles - now Outline / Opaque styles are available.
+ Option to change transparency of the hard-coded subtitles :)
+ Option to change alignment of hard-burned subtitles to "Left / Centered / Right"

http://multiavchd.deanbg.com/multiAVCHD_transcode2.jpg

rack04
12th August 2009, 13:28
This problem is fixed - mkv with video + external audio should now work, so update with multiUPDATE - try and let me know.

Also some other fixes for HD-DVD compliancy detection...

+ Option for hard-coded subtitles - now Outline / Opaque styles are available.

I was able to confirm HD DVD playback on my Toshiba HD-A2. I'll test the mkv right now. Thanks.

EDIT: MKV files work great. Thanks for the fix.

mikeathome
12th August 2009, 15:56
I was able to confirm HD DVD playback on my Toshiba HD-A2. I'll test the mkv right now. Thanks.

EDIT: MKV files work great. Thanks for the fix.

@all
Guys spread the word! HD DVD homebrew with AVC content FINALLY working with freeware only. Deank you can be proud of this! We need to get more people interested, so that more resources will help figuring out chapters and Time Seek. There are a couple hundert Toshiba A? users out there who are really interested in getting this working as it is a cheap way of backing up BD or HD DVD re-using the excellent Toshiba player.

If somebody knows of a commercial solution to create standard content HD DVD please point me to this. I want to create the same project w and w/o chapters so we know the difference and figure out the IFO properties. edit:see note below

Tested so far:
Ulead: VS11+, MF6 - no go, no AVC for HD DVD allowed
Ulead: Movie Factory 6Plus + HD Power Plugin - HD DVD Standard and Advanced Content works with AVC video + AC3, chapters and possibly subtitles as well (not tested so far)
Sonic: Sonic Scenarist HD DVD Advanced Content Authoring Software Version 4.5 - discontinued, buggy on AVC, and advanced content only
Sonic: Sonic Scenarist HD DVD Standard Content Authoring Software Version 4.1 - discontinued, buggy on AVC content, BUT I will give it another try now that we have improved encoding available (I tested this a year ago)
Pinnacle: ?
Other: ?

edit: I successfully used Ulead Movie Factory 6+ to create a HD DVD (copy of Troy) with chapters. It requires the HD Power Plugin than the software will accept AVC in HD DVD titles. A detailed cookbook was developed by AVS forum members.

mike

deank
12th August 2009, 16:04
Mike, I did this already and can see the differences between chapters and no-chapters.

There is a byte value which defines their count and then there is a whole table of 'jump-points' to be created from scratch.

RefDivX used a precompiled .IFO files from Nero standard authoring output and probably never knew how add the chapter jumps.

I spent some hours hexediting the IFOs but I had other more important things to do, so I dropped it at one point.

I posted in the other thread in a message to setarip_old, that I'll work on this once I get the time. You can email me (the address is in the 'about' tab of multiAVCHD) and I can send you what I have.

Dean

deank
12th August 2009, 21:06
Build 680:

It is now possible to "Transcode" DVD titles from MPEG-2 to AVC/H.264.

"Transcode" menu will now allow you to reencode DVD titles, while giving you the chance to keep the original subtitles, add external, or use hard-burned, add or remove audio tracks and chapters and it will save you a lot of space, transferring your 4,4GB DVD backup into much-much smaller AVCHD or Blu-ray. This should allow most of you to transcode multiple DVD sets into one Blu-ray/AVCHD compilation.

Of course DVD transcode is also possible for HD-DVD and Panasonic Viera TV / Panasonic Blu-ray players, so you can have 4 or 5 DVDs to fit a single SDHC card and play it in your SDHC compatible player.

Well, how cool is that :)

Dean

raisinberry777
12th August 2009, 21:45
Call me silly, but how do you actually access the transcode menu? I can't seem to find it.

rack04
12th August 2009, 21:54
Will multiAVCHD work with raw aac input? The reason I ask is because when I add external raw aac input none of the m2ts files contain audio. I was assuming that the aac would be converted to ac3 for AVCHD/Blu-ray.

deank
12th August 2009, 21:55
@raisinberry777:

1) by reading the tutorial (http://multiAVCHD.deanbg.com/tutorial.php)

2) by clicking the title name in "Title properties" group-box (Media Tab) and then clicking the "Transcode" button.

3) by clicking the "EDIT" button in Media tab (removed few months ago, but added back in build 680)

:)
Dean

@rack04: I won't count on AAC audio, since I do not plan on wasting any of my time anymore with this audio codec. Still, multiAVCHD should convert it to AC3 (be it internal or external audio track). I'll check what is going on... May be it is working for mkv/mp4/mov but not for ts/mts/...

edit: Yes, external AAC is not processed for ts/mts/m2ts... It will be fixed in 680 in few minutes.

rack04
12th August 2009, 22:06
@rack04: I won't count on AAC audio, since I do not plan on wasting any of my time anymore with this audio codec. Still, multiAVCHD should convert it to AC3 (be it internal or external audio track). I'll check what is going on... May be it is working for mkv/mp4/mov but not for ts/mts/...

I wouldn't waste too much time since MeGUI won't encode raw aac either. I have to mux to mp4 and then encode to ac3 using aften.

deank
12th August 2009, 23:01
Well, multiAVCHD processes it... just test it in 680 when it is released.

680 released.

raisinberry777
13th August 2009, 08:20
@raisinberry777

Cheers dean, was clicking the file name and not the bit in the title list. Thanks for going as far to answer these silly questions :)

deank
13th August 2009, 10:52
Transcoding will now show a real-time preview of the final quality/format while encode is running:

http://multiavchd.deanbg.com/multiAVCHD_transcode3.jpg http://multiavchd.deanbg.com/multiAVCHD_transcode6.jpg

This allows you to see any eventual problem with the quality, it will allow you to monitor the crop and resize function, the deinterlacing and hard-subtitle visualization.

Preview will also show the real display aspect ratio, which your TV/Blu-ray player should use (4:3 in the example below):

http://multiavchd.deanbg.com/multiAVCHD_transcode5-43.jpg

rack04
13th August 2009, 14:04
The last compilation I made after a title finished it went directed to the next title. Is there a setting I missed that would direct back to the menu when the title ended? Also, is it necessary to flag all files to transcode to for a AVCHD/Blu-ray compliation? The reason I ask is because compliant raw h264 files always throw an error when multiAVCHD tries to transcode.

deank
13th August 2009, 14:13
You missed

[x] Play all in Author tab

or/and

Default action: in Title properties. This one may override "Play all" for each title.

and you seem to be in a hurry all the time, not looking up&down, but simply asking "just in case"...

No, you don't need to go to the transcode menu. It is only when you need to reencode a title (ie it is in RED in Media tab) or is unsupported format/codec.

Dean

rack04
13th August 2009, 14:41
Well, multiAVCHD processes it... just test it in 680 when it is released.

680 released.

Raw aac audio conversion failed.

[08:39:56] Log started for multiAVCHD v3.0 (build 681)
[08:39:56] Selected output mode: Panasonic Blu-ray player (SDHC)

[08:39:56] Processing one title...
[08:39:56] Processing (C:\Personal\Videos\Saw VI Teaser.264)...
[08:39:56] Detected frame reference count: 4 (max:4).
[08:39:56] Detected video: ID#0:V_MPEG4/ISO/AVC 1920x1080, fps=23.976, ref=4
[08:39:56] Total of 1 tracks found in this file.
[08:39:56] Encoding PCM to AC3 audio... (9936896 b)
[08:40:13] Retrying...
[08:40:27] Audio conversion failed! (eac3to)
[08:40:27] Chapter marks ignored in Panasonic SDHC mode...
[08:40:27] Creating clip and playlist info (tsMuxeR)...
[08:40:27] Media split set at 3999MiB point...

tsMuxeR (Version 1.10.6) output:
===============================================================================
Decoding H264 stream (track 1): Profile: High@4.1 Resolution: 1920:1080p Frame rate: 23.976
H.264 stream does not contain fps field. Muxing fps=23.976
Processed 1242 video frames
Creation of Blu-ray playlist
Creation of Blu-ray stream info and seek index
Mux successful complete.
Muxing time: 3 sec
===============================================================================

[08:40:30] Setting resolution (1080p).
[08:40:30] Media transfer: 00000 -> 00000.m2ts
[08:40:30] Processing playlist...
[08:40:30] Title #1 added: "Saw VI Teaser"
[08:40:30] Verifying title...
[08:40:35] Title has: 0 audio tracks and 0 subtitle tracks

[08:40:35] Preparing authoring information...

[08:40:35] Setting menu for 1 titles...
[08:40:35] Playback will start with title #1 (Saw VI Teaser).
[08:40:35] Setting menu properties...
[08:40:35] Selected TV system: [NTSC]
[08:40:35] Processing clip (CPI/CLPI) files...
[08:40:35] Completed.
[08:40:35] Applying Panasonic SDHC for BD parameters...
[08:40:35] Setting FAT compatible 8.3 filenames...
[08:40:35] Done!

[08:40:36] Saving multiAVCHD quick-load project (mpf):
[08:40:36] C:\Personal\Videos\AVCHD\multiAVCHD.mpf (OK!)

Compilation summary:
Format: Panasonic Blu-ray player (SDHC)
Name : multiAVCHD
===============================================================================
1. Saw VI Teaser [00:00:51]
===============================================================================
Overall duration : 00:00:51
Output size : 70 MiB (0.068 GiB)

[08:40:36] C:\Personal\Videos\AVCHD folder created (AVCHD/Blu-ray output)!
[08:40:36] Copy C:\Personal\Videos\AVCHD to X:\PRIVATE\ of SDHC/SD/MMC card.
[08:40:36] or SD_VIDEO and PRIVATE to root of your SDHC/SD/MMC card.

deank
13th August 2009, 16:43
It is not processed because faad2 cannot handle it... I added ffmpeg to try again too.

***

You can now see the progress of CHAPTER thumbnails generation and MENU pages generation: (XMB/SLI/CAR menu styles) :)

http://multiAVCHD.deanbg.com/multiAVCHD_chapter_progress.jpg http://multiAVCHD.deanbg.com/multiAVCHD_menu_progress.jpg

I hope you all enjoy these small but nice add-ons last two days :) At least I do.

Dean

rack04
13th August 2009, 17:41
Approximately how much overhead in video bitrate should be allowed for menu when burning to DVD?

deank
13th August 2009, 17:43
1 menu page = ~550KB

252 menu pages = 135MB

In case you have HDAVCTN folder - you'll have to consider its size, but it is not needed when you finally burn the movie, so just make room for the menu pages.

Dean