quantum
29th July 2007, 15:42
3x DVD is an HD-DVD burned on a regular DVD blank
http://en.wikipedia.org/wiki/3X_DVD#3x_DVD
This was inspired by Pitou's excellent guide. This will focus on:
1) Working with 720p (personally, I don't think 3x DVD bitrate supports 1080p unless you use 2 DVD9's)
2) Allow playback on the HD-A2 and HD-XA2
3) Use Blu-Ray as well as HD-DVD sources
SOFTWARE
graphedit (http://www.doom9.org/Soft21/Filters/graphedit.rar)
x264 (http://www.doom9.org/Soft21/SupportUtils/Avisynth_257.exe"Avisynth 2.5.7[/URL]
[URL="http://sourceforge.net/projects/wavi-avi2wav)
Sox (http://sourceforge.net/projects/sox/)
Scenarist ACA
Tranzcode 0.40 beta (http://forum.doom9.org/showthread.php?t=93926)
delaycut 1.2.1.2 (jsoto) (http://jsoto.posunplugged.com/audiotools.htm)
CREATE AND TEST DIRECTSHOW GRAPH AND AVS
Note: If you have an mpeg2 source (probably blu-ray), you can use DGMPGDec instead of a directshow graph
Note: You don't need to demux video from the EVO or M2TS
1) Create Graph using graphedit
For h264 (usually Blu-Ray):
File1.M2TS->Haali Media Splitter->CoreAVC Video Decoder (or use Sonic)
For VC1:
File1.EVO->Haali Media Splitter->WMVideo Decoder DMO
2) Create AVS
Note: If original has two files (HD-DVD), decide if you want 2 DVD5's (recommended) or 1 DVD9. I have had no luck in splitting large single file blu-ray sources.
Single source:
DirectShowSource("vid1.grf",fps=23.976,audio=false)
LanczosResize(1280,720)
converttoyv12()
Multiple source:
DirectShowSource("vid1.grf",fps=23.976,audio=false)+DirectShowSource("vid2.grf",fps=23.976,audio=false)
LanczosResize(1280,720)
converttoyv12()
3) Test AVS in Virtualdub or Media Player Classic
CALCULATE BITRATE
This works well. You can download it locally:
[url]http://www.videohelp.com/calc.htm
ENCODE VIDEO (2 pass)
Note: I use a batch file, replace %bit_rate%, %max_rate%, %file_in%, and %file_out% with your own values. I usually use 12000 as %max_rate%. Don't arbitrarily change values such as keyint, min-keyint, or ref unless you know what you're doing. Different settings can cause hard to troubleshoot problems such as audio sync issues.
x264.exe --pass 1 --stats "x264_stat.log" --threads auto --keyint 12 --min-keyint 4 --vbv-maxrate %max_rate% --bitrate %bit_rate% --aq-strength 0.6 --aq-sensitivity 5 --vbv-bufsize 14811 --mvrange 511 --level 4.1 --bframe 2 --ref 3 --me "dia" --subme 1 --sar 1:1 --no-cabac --nf --no-psnr --no-ssim --progress -o NUL %file_in%
x264.exe --pass 2 --stats "x264_stat.log" --threads auto --keyint 12 --min-keyint 4 --vbv-maxrate %max_rate% --bitrate %bit_rate% --aq-strength 0.6 --aq-sensitivity 5 --vbv-bufsize 14811 --mvrange 511 --level 4.1 --bframe 2 --bime --weightb --ref 3 --mixed-refs --direct auto --deblock 0:0 --me "hex" --subme 5 --aud --sar 1:1 --no-psnr --no-ssim --non-deterministic --progress -o %file_out% %file_in%
DEMUX AUDIO
Use EVODemux, TSRemux, or xport to demux audio stream. If using EVODemux, pay attention to options->continue with second evo. If target is two DVD5's, uncheck this option.
If audio is LPCM blu-ray, use xport to demux. TSremux didn't work for me.
xport 00001.m2ts -h 1 0 2
The last number is the number of the audio stream. Use TSRemux to figure out the number.
ENCODE DTS-HD or LPCM AUDIO to 448 AC3 (if desired)
If the audio is LPCM, convert to multichannel WAV with sox:
sox -B -r48000 -t .raw -c 6 -2 -s aud1.lpcm aud1.wav
http://forum.doom9.org/showthread.php?p=1026311#post1026311
Demux audio to 6 mono WAVs using Tranzcode
tranzcode aud1.dts or
tranzcode aud1.wav
2) Make AVS
fl = WavSource("aud1-FL.wav")
fr = WavSource("aud1-FR.wav")
fc = WavSource("aud1-C.wav")
lf = WavSource("aud1-LFE.wav")
sl = WavSource("aud1-SL.wav")
sr = WavSource("aud1-SR.wav")
MergeChannels(fl, fr, fc, lf, sl, sr)
3) Encode with aften
"Wavi.exe" "aud1.avs" - | "Aften.exe" -pad 0 -readtoeof 1 -b 448 - "aud1.ac3"
AUDIO SYNC PROBLEMS
If the delay is consistent, take out your calculator and read this.
http://forum.doom9.org/showthread.php?p=1001996#post1001996
Using delaycut can be confusing but it works. I may add more detail later. This is a mini procedure in itself.
If the delay is not consistent, then it's more trouble. Behappy may be used to stretch audio.
ADD PULLDOWN
1) Apply pulldown after the encode using h264info. Check 3:2 pulldown and enter 29.97.
BUILD USING SCENARIST ACA
Note: If audio was not reencoded to AC3, ensure audio file extension is EC3 so Scenarist will recognize it. You may have no choice but to reencode audio. Scenarist will not directly take many streams.
1) Import audio and pulldown video into Scenarist and build.
BURN WITH NERO (tested with Nero 7.5.9.0)
Note: Test with PowerDVD before burning to verify audio is in sync
Note: As far as I know, only Nero works. Imgburn has not worked for me.
Note: If using DVD+R media and your burner insists on setting booktype to DVD-ROM (Pioneers), you must use another burner that allows setting booktype to the physical disk type. If using DVD-R media, it's not an issue. Once again, booktype must NOT be DVD-ROM. Yes, I know, this is the opposite of conventional wisdom.
1) Choose DVD-ROM (UDF) compilation
2) No Multisession
3) UDF tab - Enable Xbox (TM) compatibility mode
4) Add ADV_OBJ and HDDVD_TS folders to the compilation
5) If using DVD+R media, ensure book type setting is "physical disk type" in recorder options, not DVD-ROM. (burner must support this)
http://en.wikipedia.org/wiki/3X_DVD#3x_DVD
This was inspired by Pitou's excellent guide. This will focus on:
1) Working with 720p (personally, I don't think 3x DVD bitrate supports 1080p unless you use 2 DVD9's)
2) Allow playback on the HD-A2 and HD-XA2
3) Use Blu-Ray as well as HD-DVD sources
SOFTWARE
graphedit (http://www.doom9.org/Soft21/Filters/graphedit.rar)
x264 (http://www.doom9.org/Soft21/SupportUtils/Avisynth_257.exe"Avisynth 2.5.7[/URL]
[URL="http://sourceforge.net/projects/wavi-avi2wav)
Sox (http://sourceforge.net/projects/sox/)
Scenarist ACA
Tranzcode 0.40 beta (http://forum.doom9.org/showthread.php?t=93926)
delaycut 1.2.1.2 (jsoto) (http://jsoto.posunplugged.com/audiotools.htm)
CREATE AND TEST DIRECTSHOW GRAPH AND AVS
Note: If you have an mpeg2 source (probably blu-ray), you can use DGMPGDec instead of a directshow graph
Note: You don't need to demux video from the EVO or M2TS
1) Create Graph using graphedit
For h264 (usually Blu-Ray):
File1.M2TS->Haali Media Splitter->CoreAVC Video Decoder (or use Sonic)
For VC1:
File1.EVO->Haali Media Splitter->WMVideo Decoder DMO
2) Create AVS
Note: If original has two files (HD-DVD), decide if you want 2 DVD5's (recommended) or 1 DVD9. I have had no luck in splitting large single file blu-ray sources.
Single source:
DirectShowSource("vid1.grf",fps=23.976,audio=false)
LanczosResize(1280,720)
converttoyv12()
Multiple source:
DirectShowSource("vid1.grf",fps=23.976,audio=false)+DirectShowSource("vid2.grf",fps=23.976,audio=false)
LanczosResize(1280,720)
converttoyv12()
3) Test AVS in Virtualdub or Media Player Classic
CALCULATE BITRATE
This works well. You can download it locally:
[url]http://www.videohelp.com/calc.htm
ENCODE VIDEO (2 pass)
Note: I use a batch file, replace %bit_rate%, %max_rate%, %file_in%, and %file_out% with your own values. I usually use 12000 as %max_rate%. Don't arbitrarily change values such as keyint, min-keyint, or ref unless you know what you're doing. Different settings can cause hard to troubleshoot problems such as audio sync issues.
x264.exe --pass 1 --stats "x264_stat.log" --threads auto --keyint 12 --min-keyint 4 --vbv-maxrate %max_rate% --bitrate %bit_rate% --aq-strength 0.6 --aq-sensitivity 5 --vbv-bufsize 14811 --mvrange 511 --level 4.1 --bframe 2 --ref 3 --me "dia" --subme 1 --sar 1:1 --no-cabac --nf --no-psnr --no-ssim --progress -o NUL %file_in%
x264.exe --pass 2 --stats "x264_stat.log" --threads auto --keyint 12 --min-keyint 4 --vbv-maxrate %max_rate% --bitrate %bit_rate% --aq-strength 0.6 --aq-sensitivity 5 --vbv-bufsize 14811 --mvrange 511 --level 4.1 --bframe 2 --bime --weightb --ref 3 --mixed-refs --direct auto --deblock 0:0 --me "hex" --subme 5 --aud --sar 1:1 --no-psnr --no-ssim --non-deterministic --progress -o %file_out% %file_in%
DEMUX AUDIO
Use EVODemux, TSRemux, or xport to demux audio stream. If using EVODemux, pay attention to options->continue with second evo. If target is two DVD5's, uncheck this option.
If audio is LPCM blu-ray, use xport to demux. TSremux didn't work for me.
xport 00001.m2ts -h 1 0 2
The last number is the number of the audio stream. Use TSRemux to figure out the number.
ENCODE DTS-HD or LPCM AUDIO to 448 AC3 (if desired)
If the audio is LPCM, convert to multichannel WAV with sox:
sox -B -r48000 -t .raw -c 6 -2 -s aud1.lpcm aud1.wav
http://forum.doom9.org/showthread.php?p=1026311#post1026311
Demux audio to 6 mono WAVs using Tranzcode
tranzcode aud1.dts or
tranzcode aud1.wav
2) Make AVS
fl = WavSource("aud1-FL.wav")
fr = WavSource("aud1-FR.wav")
fc = WavSource("aud1-C.wav")
lf = WavSource("aud1-LFE.wav")
sl = WavSource("aud1-SL.wav")
sr = WavSource("aud1-SR.wav")
MergeChannels(fl, fr, fc, lf, sl, sr)
3) Encode with aften
"Wavi.exe" "aud1.avs" - | "Aften.exe" -pad 0 -readtoeof 1 -b 448 - "aud1.ac3"
AUDIO SYNC PROBLEMS
If the delay is consistent, take out your calculator and read this.
http://forum.doom9.org/showthread.php?p=1001996#post1001996
Using delaycut can be confusing but it works. I may add more detail later. This is a mini procedure in itself.
If the delay is not consistent, then it's more trouble. Behappy may be used to stretch audio.
ADD PULLDOWN
1) Apply pulldown after the encode using h264info. Check 3:2 pulldown and enter 29.97.
BUILD USING SCENARIST ACA
Note: If audio was not reencoded to AC3, ensure audio file extension is EC3 so Scenarist will recognize it. You may have no choice but to reencode audio. Scenarist will not directly take many streams.
1) Import audio and pulldown video into Scenarist and build.
BURN WITH NERO (tested with Nero 7.5.9.0)
Note: Test with PowerDVD before burning to verify audio is in sync
Note: As far as I know, only Nero works. Imgburn has not worked for me.
Note: If using DVD+R media and your burner insists on setting booktype to DVD-ROM (Pioneers), you must use another burner that allows setting booktype to the physical disk type. If using DVD-R media, it's not an issue. Once again, booktype must NOT be DVD-ROM. Yes, I know, this is the opposite of conventional wisdom.
1) Choose DVD-ROM (UDF) compilation
2) No Multisession
3) UDF tab - Enable Xbox (TM) compatibility mode
4) Add ADV_OBJ and HDDVD_TS folders to the compilation
5) If using DVD+R media, ensure book type setting is "physical disk type" in recorder options, not DVD-ROM. (burner must support this)