Log in

View Full Version : Encoding Errors


delanejenkins
23rd May 2009, 02:08
I am running into these errors using megui and wondering what the problem may me. I am using the dxva-sd profile at constant quality factor of 18. Here is a sample. The errors are seen throughout the film in several spots.

http://www.mediafire.com/?sharekey=626030d30343e556e5c3dee5769931ece04e75f6e8ebb871

akupenguin
23rd May 2009, 07:06
Isolate a small input file and an x264-git commandline which together produce such a broken encode, and I'll look at it.

The encoded stream alone isn't enough, since I have to compare it against what x264 thinks it's outputting.

delanejenkins
23rd May 2009, 17:53
Wow I have no idea what you just asked me to do? Can you explain please?

Dark Shikari
23rd May 2009, 17:54
Wow I have no idea what you just asked me to do? Can you explain please?Find the smallest possible input video clip which produces artifacts predictably when encoded. Do not use a patched version of x264 like the often-broken crap MeGUI uses; use the official version (e.g. an x264.nl build).

Upload that source clip and the settings you used.

delanejenkins
25th May 2009, 02:43
So I shouldn't use the x264 version included with megui? I downloaded the version on x264.nl and it is a different size compared to the one recently updated by megui.

Dark Shikari
25th May 2009, 02:46
So I shouldn't use the x264 version included with megui? I downloaded the version on x264.nl and it is a different size compared to the one recently updated by megui.Yes, because the MeGUI has unsupported patches, while the x264.nl one does not.

delanejenkins
25th May 2009, 02:59
Ok I will replace the megui version then. Do you think this may fix my problems. I am mainly just trying to get to a point where I can consistently get quality encodes without having to worry about getting errors and artifacts like those seen in the sample I uploaded in my first post.

http://www.mediafire.com/?sharekey=626030d30343e556e5c3dee5769931ece04e75f6e8ebb871

These are the settings I used when I got that error:

Format : Matroska
File size : 3.44 GiB
Duration : 2h 10mn
Overall bit rate : 3 788 Kbps
Encoded date : UTC 2009-05-13 01:14:18
Writing application : mkvmerge v2.7.0 ('Do It Again') built on Apr 16 2009 22:41:30
Writing library : libebml v0.7.7 + libmatroska v0.8.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 8 frames
Muxing mode : Container profile=Unknown@3.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 10mn
Bit rate : 3 328 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Standard : NTSC
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.402
Stream size : 3.02 GiB (88%)
Writing library : x264 core 67 r1145M d2e1e1c
Encoding settings : cabac=1 / ref=8 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=7 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=crf / crf=18.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / vbv_maxrate=17500 / vbv_bufsize=14000 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 2h 10mn
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Video delay : 5ms
Stream size : 357 MiB (10%)

Dark Shikari
25th May 2009, 03:07
Ok I will replace the megui version then. Do you think this may fix my problems.We are not looking to fix your problems; we are looking to find and fix a bug. You are going to help us find and fix the bug by following our instructions.

Guest
25th May 2009, 03:48
@delanejenkins

What is your input source and how did you rip it and feed it to MEGUI? The problem could be there.

Dark Shikari
25th May 2009, 03:56
@delanejenkins

What is your input source and how did you rip it and feed it to MEGUI? The problem could be there.The output stream contains at least one outright-corrupt frame (bitstream desync), which a bad source can't cause.

Guest
25th May 2009, 04:38
I didn't look at the stream. :)