mdw
7th February 2010, 10:55
My encoding setup with x264/AviSynth/DGAVCDecode at al. works just fine. Today I wanted to encode a DVD, so I create DGIndex project and an AVS script:
LoadPlugin("c:\program files (x86)\avisynth 2.5\plugins\DGDecode.dll")
d2vfile = "dvd.d2v"
video = MPEG2Source(d2vfile)
return video
This loads just fine in VirtualDub and "File Information" shows the proper resolution and colorspace are right (720x576, YV12).
But when I try to encode this with x264 (x264 0.68.1183M) I get this:
D:\Video\Movies\dvd\VIDEO_TS>"C:\Program File
s (x86)\megui\tools\x264\x264.exe" --preset slow --profile high --level 4.1 --cr
f 18 --thread-input --deblock 0:0 --bframes 4 --b-adapt 2 --b-pyramid normal --s
cenecut 40 --ref 6 --aq-mode 1 --aq-strength 1.0 --merange 16 --me umh --subme 9
--trellis 2 --psy-rd 1.0:0 --no-dct-decimate --output dvd.mp4 dvd.avs
x264 [info]: 0x0 @ 25.00 fps
x264 [error]: Rawyuv input requires a resolution.
I have tried adding ConvertToYV12() to my AVS script, I have tried specifying input resolution in x264 cmdline, but nothing helps. My other encodes work properly (mostly videos from my 5DmkII), what is wrong here? I have 64-bit Windows 7, but all the video encoding tools are 32-bit.
Thanks for any hints, I'm out of ideas.
--
mdw
LoadPlugin("c:\program files (x86)\avisynth 2.5\plugins\DGDecode.dll")
d2vfile = "dvd.d2v"
video = MPEG2Source(d2vfile)
return video
This loads just fine in VirtualDub and "File Information" shows the proper resolution and colorspace are right (720x576, YV12).
But when I try to encode this with x264 (x264 0.68.1183M) I get this:
D:\Video\Movies\dvd\VIDEO_TS>"C:\Program File
s (x86)\megui\tools\x264\x264.exe" --preset slow --profile high --level 4.1 --cr
f 18 --thread-input --deblock 0:0 --bframes 4 --b-adapt 2 --b-pyramid normal --s
cenecut 40 --ref 6 --aq-mode 1 --aq-strength 1.0 --merange 16 --me umh --subme 9
--trellis 2 --psy-rd 1.0:0 --no-dct-decimate --output dvd.mp4 dvd.avs
x264 [info]: 0x0 @ 25.00 fps
x264 [error]: Rawyuv input requires a resolution.
I have tried adding ConvertToYV12() to my AVS script, I have tried specifying input resolution in x264 cmdline, but nothing helps. My other encodes work properly (mostly videos from my 5DmkII), what is wrong here? I have 64-bit Windows 7, but all the video encoding tools are 32-bit.
Thanks for any hints, I'm out of ideas.
--
mdw