Log in

View Full Version : x264: corruption encoding vc1 video


chompy
8th November 2011, 19:19
Hi,

I'm trying to encode a vc1 video with x264 r2106 64bit 8bit-depth using the settings I've always used, but the resulting video has some nasty square artifacts:

http://img209.imageshack.us/img209/6816/encoded.th.png (http://imageshack.us/photo/my-images/209/encoded.png/)

I've tried using as input raw vc1 video, m2ts and mkv containers and the result is always the same (both using ffms and lavf).

I don't think there's something wrong with my settings (no problems until now), but here they are:

x264-64.exe "sample.vc1" --bluray-compat --preset veryslow --tune film --force-cfr --b-pyramid strict --open-gop --bitrate 14000 --level 4.1 --aud --nal-hrd vbr --pic-struct --sar 1:1 --vbv-bufsize 30000 --keyint 24 --ipratio 1.1 --vbv-maxrate 38000 --threads auto --slices 4 --thread-input --stats "D:\stats_kong.stats" --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --pass 1 --output NUL

x264-64.exe "sample.vc1" --bluray-compat --preset veryslow --tune film --force-cfr --b-pyramid strict --open-gop --bitrate 14000 --level 4.1 --aud --nal-hrd vbr --pic-struct --sar 1:1 --vbv-bufsize 30000 --keyint 24 --ipratio 1.1 --vbv-maxrate 38000 --threads auto --slices 4 --thread-input --stats "D:\stats_kong.stats" --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --pass 2 --output "test.264"

And here there's a sample of the problematic video:
http://uploadmirrors.com/download/DSWY84XL/sample.vc1

Does anybody know what's happening and where's the problem?

Thanks

nevcairiel
8th November 2011, 19:33
These artifacts look like a bug that was fixed recently in ffmpeg/libav vc1 decoding, so you might want a version of x264 with a more recent decoder.

chompy
9th November 2011, 16:51
Thanks,

Have you encoded my sample and are you having the same problem?

If as you say the problem is due to ffmpeg/libav then I'll have to wait to next x264 revision hoping it incorporates fixed ffmpeg/libav.

Atak_Snajpera
9th November 2011, 18:23
or use DirectShowSource + ffdshow (vc1 = wmv9 decoder)

chompy
11th November 2011, 08:50
or use DirectShowSource + ffdshow (vc1 = wmv9 decoder)

Thanks,

I have had to made some tweakings to Windows7 x64 in order to force ffdshow do the vc1 decode instead the default Microsoft decoder that didn't want to work with Avisynth, but now everything it's ok.