Log in

View Full Version : Last X264 is broken (K-Lite Mega CP 7.1.0)


hopstiii
9th April 2011, 07:43
Hi

Last X264 is broken from K-Lite Mega Codec Pack 7.1.0

Version inf:
libx264 core 114r1913bm 5fd3dce
Build date: Mar 3 2011 22:29:47

With any settings it will produce broken file when playing encoded video back it will freez, in places with ultra fast scene change/action and resume from next keyframe.

Even with Ultrafast / Fast Decode / Zero Latency.
Multipass, lossless.

Tested RAW uncompressed file is ok, XviD also doesn't freez.
----------
EDIT Resolved
MPC HC 32bit decodes the file fine with no DXVA.

MasterNobody
9th April 2011, 07:56
First of all to make it clear: It is incorrect to call x264vfw as x264 because x264 refer to CLI version of x264.
Also you didn't provide a lot of useful information really. At least your must provide sample with problem / info about decoder / info about your system.

Dark Shikari
9th April 2011, 09:52
K-lite does not include x264.

hopstiii
9th April 2011, 10:07
First of all to make it clear: It is incorrect to call x264vfw as x264 because x264 refer to CLI version of x264.
Also you didn't provide a lot of useful information really. At least your must provide sample with problem / info about decoder / info about your system.

Windows Vista 64bit
I have installed K-Lite Mega Codec Pack 7.1.0, I used Virtualdub for encoding.
I decode with VLC 1.1.5

Video is 1280x720, 30fps, i encoded bitrates lossless
and 40960 kbit/s with different settings all auto or 4.1, 5.1
ultrafast to placebo

Video where it freezes is very fast zoom in with fast camera spinning to 800M pixel photo mosaic.
But not only, it freezes very often all other places if Profile and Level isn't set to Auto.

Here is view where it starts to zoom in:
https://docs.google.com/uc?id=0B1ETgeadYhb8YTQ4Y2MzMWMtNDkzZi00NGI2LTg4NzEtNDUzM2U5MDM4NzQx&export=download&hl=en_US

I can upload this 7zip compressed raw frames to google docks that are most problematic, but my upload speed is 30 KB/s, but i will if someone needs. But it might be my encoding aplication.
So i test MediaCoder, maybe that works.

What X264 is the reall X264, the vfw is some fake or something, virtualdub can only use the vfw version.

hopstiii
9th April 2011, 11:43
MediaCoder made broken file (error 19 or was it 9), but that wasn't x264 problem.
It's common for quite few latest MediaCoder releases and thats other encoders also.

A little info about encoded X264 file.

General
Complete name : G:\X264 Lossless 800M Pix Mosaic.avi
Format : AVI
Format/Info : Audio Video Interleave
Format profile : OpenDML
File size : 1.56 GiB
Duration : 6mn 1s
Overall bit rate : 37.0 Mbps
Writing application : Lavf52.102.0

Video
ID : 0
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High 4:4:4 Predictive@L4.0
Format settings, CABAC : No
Format settings, ReFrames : 8 frames
Codec ID : H264
Duration : 6mn 1s
Bit rate : 37.0 Mbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 30.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 1.337
Stream size : 1.56 GiB (100%)
Writing library : x264 core 114 r1913bm 5fd3dce
Encoding settings : cabac=0 / ref=8 / deblock=0:0:0 / analyse=0x3:0x133 / me=umh / subme=9 / psy=0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=0 / threads=2 / sliced_threads=1 / slices=2 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=cqp / mbtree=0 / qp=0

hopstiii
9th April 2011, 14:06
It appears to be VLC problem (decoder),
when i play same file in virtualdub it plays back ok.
------

No doesn't play in latest VLC 1.1.8 either.

Astrophizz
9th April 2011, 23:01
Video doesn't play back properly in VLC, what a surprise :P

hopstiii
10th April 2011, 06:46
Video doesn't play back properly in VLC, what a surprise :P

For me it's first time to see such VLC weakness.
It doesn't give me peace.

Virtualdub used something from codec pack to encode.
And also ofcorse same to decode, thats way it was able to do that.

VLC has its own codecs and it was released 22.03.2011
Codec pack was released 28.03.2011.
Maybe there is already something changed

Anyways XviD doesn't freez and compressed almost same size with fixed quantizer of 1

Xvid (max quality settings) 1,59 GB
X264 ( preset Slower) 1,55 GB

Dark Shikari
10th April 2011, 07:02
Xvid (max quality settings) 1,59 GB
X264 ( preset Slower) 1,55 GBExcept the Xvid isn't lossless, but the x264 is.

hopstiii
10th April 2011, 07:19
Except the Xvid isn't lossless, but the x264 is.

But both are same color space and fixed quantizer of 1.

Also X264 lossless doesn't seems to be lossless.
Same original raw frame had ~ 380000 unique color tones.
From X264 lossless encode extracted same 24bit BMP frame had 341887 tones.

Ooo yes XviD same frame has only 118003 unique color tones.
I need to get that X264 to work.
That totally will explain X264 ecodes soo much better shadow detail in dark night movies rips.

hopstiii
10th April 2011, 07:37
I installed MPC HC,
it told me i'm missing latest direct-X but it's not in Windows Update.

Dark Shikari
10th April 2011, 07:43
But both are same color space and fixed quantizer of 1.Xvid has no lossless mode. x264 is using a fixed quantizer of 0, not 1, which is lossless.

Also X264 lossless doesn't seems to be lossless.
Same original raw frame had ~ 380000 unique color tones.
From X264 lossless encode extracted same 24bit BMP frame had 341887 tones.The BMP is RGB, whereas x264 and Xvid operate in the YV12 color space.

hopstiii
10th April 2011, 08:17
Newest MPCHC plays the video completely 100% of time messed up.
Other older X264 videos play ok in MPCHC.

http://static3.nagi.ee/i/p/722/25/180563530fdb33_o.jpg

Dark Shikari
10th April 2011, 09:47
Your video decoder is too old to play x264 lossless (read: at least 2-3+ years old). Update it.

hopstiii
10th April 2011, 10:04
Your video decoder is too old to play x264 lossless (read: at least 2-3+ years old). Update it.

i have newest k lite mega and it's 64bit codec pack
Also newst VLC and MPC HC 64bit.

Dark Shikari
10th April 2011, 10:10
i have newest k lite mega and it's 64bit codec pack
Also newst VLC and MPC HC 64bit.That says absolutely nothing about what decoder MPC-HC is actually using.

This is exactly the problem with K-Lite "mega": it's a gigantic mess of dozens of conflicting codecs that all do the same thing -- and is almost guaranteed to generate broken results.

Any "codec pack" that installs more than one decoder for any particular format is broken by design.

hopstiii
10th April 2011, 10:25
What codec pack installs only one best decoder and encoder for every format out there?

Dark Shikari
10th April 2011, 10:30
The CCCP (http://cccp-project.net/) is one, or you can just install Haali's splitter and FFDshow and call it a day.

After uninstalling all the other junk you have installed, of course.

hopstiii
10th April 2011, 10:52
I have FFDshow installed, it does most of the decoding,
but for X264 i switched default x264 FFDshow decoding to x264 decoding.

RipBot made working encode, but it's not lossless.
Is there any X264 encoder that can make working lossless encode.

I'm gonna test out that megui.

hopstiii
10th April 2011, 11:22
There is problem with flash player 10.2 that's not working if u don't disable hardware acceleration.

http://forums.adobe.com/message/3475915#3475915

If Media Player Classic HC is trying to use same way video card to speed up decode then there is no way it can display video.

YouTube / FlasPlayer 10.2 (major bug release) / hardware acceleration enabled

http://static3.nagi.ee/i/p/707/94/176986271cc39a_o.jpg

hopstiii
10th April 2011, 12:40
MeGUI 1989 didn't work out.
It crashes and didn't even save my custom x264 profile.

hopstiii
10th April 2011, 14:15
:) Finally.... got it working :)
The file plays fine in MPC HC 32bit

I will just toss the low colors XviD encode and keep the X264 almost :p lossless and 10x smaller than huffyuv.