Log in

View Full Version : Megui + up-to-date AVCHD presets not working


Takie
8th March 2010, 14:27
Hello all

I use MeGUI to re-encode videos to be AVCHD compliant, so I can play them on my standalone bluray player. Using previous versions of MeGUI and AVCHD presets this worked great. However with the latest version this doesn't work any longer. Unfortunately I do no longer have access to the older settings to compare what might be the cause. Hopefully by posting my working methods here someone is able to detect what might be the cause.

OS: Windows 7 64-bit
Avisynth: 2.58
MeGUI: latest dev. update with x264 v1442 and presets Tx264 3.3
Tsmuxer: 1.10.6
Nero burning rom: 9.4.13.2

Bluray player: Pioneer BDP LX-71 with firmware 1.37.

Avisynth output

LoadPlugin("C:\Program Files (x86)\Haali media splitter\avss.dll")
dss2("F:\Video\movie.mkv", fps=24.000).ConvertToYV12()
#Adding black border to make 720p compliant
AddBorders(0, 88, 0, 88, color=$000000)
#Taking a sample
trim(0,3000)

MeGUI output. Using encoder settings: "x264 AVCHD(DVD5/9) insane" with presets placebo.

vfw4x264.exe" --preset placebo --crf 17.0 --thread-input --merange 64 --profile high --level 4.1 --bframes 3 --ref 4 --slices 4
--aud --nal-hrd vbr --b-pyramid strict --keyint 24 --min-keyint 2 --vbv-maxrate 14000 --vbv-bufsize 14500 --sar 1:1
--output "D:\Temp\AVCHD\test.mkv" "D:\Temp\AVCHD\test.avs"

Tsmuxer output

MUXOPT --no-pcr-on-video-pid --new-audio-pes --avchd --vbr --vbv-len=500
V_MPEG4/ISO/AVC, "D:\Temp\AVCHD\test.mkv", fps=24, insertSEI, contSPS, track=1, lang=eng

Tsmuxer output burned on DVD5 with Nero as UDF 2.50 disc on lowest speed.

These are the final output files (test sample 2:05 long, video only): AVCHD output (http://rapidshare.com/files/360608129/AVCHD_output.rar)

My bluray player detects an AVCHD disk but can't start playback.

Thank you

poisondeathray
8th March 2010, 16:12
try --weightp 0 , I remember reading somewhere a few chips still have problems

[url]http://forum.doom9.org/showpost.php?p=1379481&postcount=151[/url


what happens when you use normal settings instead of placebo? and I thought merange is 24 now, not 64

what happens when you use multiavchd instead of tsmuxer?

Takie
8th March 2010, 16:49
I'm getting closer to a solution. I made another test AVCHD dics but this time using AVCHDcoder and that worked. To compare presets:

Working:
cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=7 / psy=1 / psy_rd=1.0:0.3 / mixed_ref=1 / me_range=16 / chroma_me=1 /
trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-4 / threads=3 / nr=0 / decimate=1 / mbaff=0 / constrained_intra=0 / bframes=3 /
b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / wpredp=0 / keyint=24 / keyint_min=2 / scenecut=40 / rc_lookahead=24 / rc=2pass / mbtree=1 /
bitrate=17552 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=18000 /
vbv_bufsize=18000 / ip_ratio=1.10 / aq=1:1.00 / pulldown=0 / nal_hrd=1

Not working:
cabac=1 / ref=4 / deblock=1:0:0 / analyse=0x3:0x133 / me=tesa / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=64 / chroma_me=1 /
trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / slices=4 / nr=0 / decimate=1 /
mbaff=0 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / wpredp=2 / keyint=24 /
keyint_min=2 / scenecut=40 / intra_refresh=0 / rc_lookahead=24 / rc=crf / mbtree=1 / crf=17.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 /
vbv_maxrate=14000 / vbv_bufsize=14500 / ip_ratio=1.40 / aq=1:1.00 / pulldown=0 / nal_hrd=1

I thought maybe ref=4 could be the problem, but just tested one with ref=3 and no luck. So must be some other setting, but I can't further test for a while I'm all out off DVD's.
I've burned maybe 15 DVD's so far to find the solution :-(

poisondeathray
8th March 2010, 16:54
well the one that works has weightp 0, b-pyramid 0

there might be muxing differences as well, tsmuxer overwrites some values iirc correctly

Takie
8th March 2010, 17:22
Thanks I will try that when I have fresh stack of emtpy DVD's. Question: is "wredp" a synonym for "weightp" ?

Takie
12th March 2010, 15:57
I was able to further look into the problem today. Weightp=0 and b_pyramid=0 did not solve the problem. I've made a google spreadsheet with side by side comparison from AVCHDcoder working output and MeGUI's not working output. I really don't know anymore what's the problem. Any suggestions?

Spreadsheet can be seen here (https://spreadsheets.google.com/ccc?key=0Av-tLCZ2EwlFdFUtcFF4eVJyb0o2VTFybENKSFRQUGc&hl=en)