View Full Version : HD-DVD / EVO muxer (H264+AC3)
deank
5th April 2010, 19:25
Since he was kind enough (THANKS!) to send it to me, here it is:
HDDVD.EXE (http://multiavchd.deanbg.com/HDDVD.exe) (again) - self extractable 7z I posted last summer.
I modified hddvdmux to accept both 23.976 and 29.970 sources, so it will make it possible for multiAVCHD to parse sources with already applied pulldown.
I'll post a link later, so the source may not be of so good use anyway. I did a lot of changes already :)
Dean
deank
5th April 2010, 19:28
Here is the patched version if anyone can try and check if it works with the regular 1510r build of x264:
hddvdmux-p.exe (http://multiavchd.deanbg.com/hddvdmux-p.exe)
baker99uk
5th April 2010, 21:17
Great work guys, I'll try and test it soon but this pc keeps crashing, and I can't get windbg to run properly so I can check my minidump to see why, although it's probably my graphics card.
deank
5th April 2010, 21:41
It still requires keyint 14 setting. I tweaked it a bit to accept probably 15 or 16, but I'll need to do more tests tomorrow.
I'll also test it more with the build rack04 sent (which I'll use to replace the 6MB versions in the package - it is a cool slim 750kb version, just 80kb more than the one Dark Shikari sent to me for testing yesterday).
Dean
baker99uk
5th April 2010, 22:36
Did a quick test with an x264 created by megui and it seemed to almost work, I got an empty ADV_OBJ folder and an HVDVD_TS folder with 2 .ifo files and 7 .evo files, the evo's play in nero showtime but lots of frames are skipped (they usually play smoothly with MultiAVCHD output), I'll try burning it and see what happens, I'll post my mediainfo for the x264 below
General
Complete name : K:\dstoy.264
Format : AVC
Format/Info : Advanced Video Codec
File size : 6.22 GiB
Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Bit rate : 11.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.221
Writing library : x264 core 80 r1376M 3feaec2
Encoding settings : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=7 / psy=1 / psy_rd=1.0:0.2 / mixed_ref=1 / me_range=4 / chroma_me=0 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-5 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / mbaff=0 / constrained_intra=0 / bframes=2 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=1 / wpredb=1 / wpredp=2 / keyint=14 / keyint_min=2 / scenecut=40 / rc_lookahead=0 / rc=2pass / mbtree=0 / bitrate=11000 / ratetol=1.0 / qcomp=0.50 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=17000 / vbv_bufsize=17500 / ip_ratio=1.10 / pb_ratio=1.10 / aq=1:1.10
setarip_old
6th April 2010, 03:24
@deank
Shall we wait until you've performed the further testing you're going to do of "the build rack04 sent" - and WHAT "still requires keyint 14 setting"?
Hi!Here is the patched version if anyone can try and check if it works with the regular 1510r build of x264:
http://multiavchd.deanbg.com/hddvdmux-p.exe
Please clarify:
1) Is this (for testing purposes, a replacement for hddvdmux.exe in "Tools" folder of multiAVCHD - and does it have to be renamed to hddvdmux.exe?
2) Are you referring to the .x264 file in BD-RB or the .x264 file in the "Tools" folder of multiAVCHD"? If you mean the one in multiAVCHD, what is the earliest version of multiAVCHD in which you've used the regular 1510r build of x264?
baker99uk
6th April 2010, 09:30
One thing I noticed was the progress bar stopped at 32.15% but hddvdmux-p continued to mux
deank
6th April 2010, 09:34
wpredp=2 is wrong in your settings. You need to use --weightp 0. Also the stutter is caused by --ref 2.
I'm doing some tests... Right now I got to --keyint 16 --minkeyint 9 and now I'm testing bitrate 12000. I changed hddvdmux a bit more this morning. And will update the link. Also I'll let you know what to do to use that with multiAVCHD.
// Here is the result... It muxes and plays fine :)
Writing library : x264 core 92 r1510M 33d382a
Encoding settings : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x3
:0x10 / me=dia / subme=0 / psy=1 / psy_rd=0.00:0.00 / mixed_ref=0 / me_range=8 /
chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / ch
roma_qp_offset=0 / threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced
=0 / constrained_intra=0 / bframes=0 / wpredp=0 / keyint=16 / keyint_min=9 / sce
necut=40 / intra_refresh=0 / rc_lookahead=16 / rc=cbr / mbtree=0 / bitrate=12000
/ ratetol=1.0 / qcomp=0.50 / qpmin=10 / qpmax=51 / qpstep=4 / vbv_maxrate=17000
/ vbv_bufsize=17500 / ip_ratio=1.30 / aq=1:1.00 / nal_hrd=vbr
deank
6th April 2010, 14:46
@deank
Shall we wait until you've performed the further testing you're going to do of "the build rack04 sent" - and WHAT "still requires keyint 14 setting"?
Hi!
Please clarify:
1) Is this (for testing purposes, a replacement for hddvdmux.exe in "Tools" folder of multiAVCHD - and does it have to be renamed to hddvdmux.exe?
2) Are you referring to the .x264 file in BD-RB or the .x264 file in the "Tools" folder of multiAVCHD"? If you mean the one in multiAVCHD, what is the earliest version of multiAVCHD in which you've used the regular 1510r build of x264?
1) It was for testing. Now the link is updated with the final 0.33(p) which you can use to replace hddvdmux.exe, but read ahead...
2) I'm referring to the build included in multiAVCHD, which is r1510 (patched with the official NAL HRD by JEEB). The earliest version I included it in was when I posted here that I'm changing the version included in multiAVCHD, so I guess 743.
***
I finished the tests and here is what happened:
* Update to the latest multiAVCHD.exe (either when prompted or manually with multiUPDATE.exe)
* Latest multiAVCHD update can produce HD-DVD with all versions of x264 (older versions, the new r1510 and the patched by rack04 for the long-start-code r1510M)
* You'll need to update hddvdmux.exe and x264 with the those from this link (http://multiavchd.deanbg.com/hddvdmux_x264_tools.rar) or at least replace your hddvdmux.exe with the renamed hddvdmux-p.exe (http://multiavchd.deanbg.com/hddvdmux-p.exe)
* All encoding profiles should now work for HD-DVD output.
* Latest full-download of multiAVCHD includes rack04's build r1510M x264 and the updated (patched by me) hddvdmux.exe
If you want to make tests outside multiAVCHD:
If using the regular x264 r1510 you'll need to use --nal-hrd none
If using r1510M by rack04 you can use --nal-hrd vbr
If using older builds you need to use --nal-hrd
For encoding you'll need to use: --keyint 14 --ref 1 --weightp 0 options, too.
@setarip:
About BD-RB: unless jdobbs uses rack04's build, the output cannot be used for HD-DVD. Of course, if you don't need the new output from BD-RB (MP4/iPod etc) you can replace the x264 included in BR-RB with r1510M. Then you'll get compliant output both for Blu-ray and HD-DVD (using the TWEAK options in BD-RB to set keyint and ref as you did before).
Dean
deank
6th April 2010, 18:21
One thing I noticed was the progress bar stopped at 32.15% but hddvdmux-p continued to mux
In latest update you'll find lines saying for example:
[20:18:52] *** Encoding : x264 options: --preset veryfast --bitrate 5834 --keyint 14 --level 4.1 --min-keyint 4 --bframes 2 --ref 1 --subme 2 --mvrange 511 --partitions p8x8,i8x8 --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 17500 --vbv-maxrate 17000 --qcomp 0.5 --threads 2 --thread-input --aud --nal-hrd vbr --sar 1:1 --b-pyramid strict --slices 0 --weightp 0 --rc-lookahead 14 --output "D:\_TEMP\multiTEMP-20100406\5min cut.[1920x1080-23.976].264" "C:\calcit\tools\20100406-201852-uncrop-running.avs"
They may help you.
shon3i
6th April 2010, 20:51
@deank, just one note, from HDDVD spec, vbv-buffersize should not exceed 14745 for main video, while maxrate should not exceed 29400
deank
6th April 2010, 21:05
Thanks!
These values I use for AVCHD written to DVD discs. I'll change it accordingly for HD-DVD, too.
Dean :rolleyes:
baker99uk
8th April 2010, 03:33
Looks like it works well, tested with an external x265 and forced no reencode and I have a perfect HDDVD folder, I do have one problem though, when I encode with 2 pass VHQ in MultiAVCHD the evo's created show some weird colour problems, every few frames the colour becomes oversaturated then returns to normal, I can send you a link to a test evo showing the problem if you want, this isn't new it happened with previous versions too. I'll continue testing and see if I can find out more.
JALEXIS_HERCAV
25th May 2010, 19:02
i want to ask you if there is some way co create an EVO stream file with more than 1 audio and subtitles its posible to make something like that??
setarip_old
10th June 2010, 03:49
@deank
Hi!
As of v.34.02, BD-RB uses a version of x264.exe with a filesize of 6,336KB. Using this version of x264.exe together with:
HDDVD_COMPLIANT=1
USE_NAL_HRD=0
results in an .M2TS file that MultiAVCHD indicates is "HD-DVD compliant". Choosing to "quick process" as HD-DVD (takes about 15 minutes), either with or without transcoding, yields a file that plays back video as a "slide show" with audio at normal speed.
With prior versions, I was able to replace the BD-RB x264.exe with an older x264.exe with a filesize of 1,097KB without causing problems with BD-RB's performance. Doing so also allowed MultiAVCHD to successfully convert the .M2TS file to a properly playing HD-DVD "package".
Unfortunately, with v.34.02 of BD-RB, swapping in the older version of x264.exe prevents BD-RB from functioning properly.
Although I can, of course, use BD-RB with its proper 6,336KB x264.exe and NOT including:
HDDVD_COMPLIANT=1
USE_NAL_HRD=0 and then use MultiAVCHD, in the "standard" method to convert to HD-DVD (takes about two to three hours), I'd obviously prefer to be able to use the "quick process".
Your thoughts and/or suggestions will be appreciated.
deank
10th June 2010, 08:34
What if you use:
HDDVD_COMPLIANT=1
USE_NAL_HRD=1
and x264.exe from multiAVCHD? It is not that old version.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.