View Full Version : x264 misses I frame detection...
Slave01
13th October 2005, 11:22
Hi, recently with new x264 builds i have seen video artefacts that i haven't seen before. The activated option are weighted b prediction, 2 bframes, 2 ref frames, chroma me and all the options of high profile.
For example one of the errors in video regards i frame detection:
http://img435.imageshack.us/img435/271/grab472848uz.jpg
and :
http://img435.imageshack.us/img435/7805/grab473411zo.jpg
in which there are evident changing in colors (the first before i frame is inclined to green, the second (after i frame) has correct color)
Is this a known problem or i have used bugged release or features?
Greetings
John Slave
Manao
13th October 2005, 12:58
It's the same scene, isn't it ? And without the pictures taken from the source, we can't tell whether there are indeed artifacts or not.
Slave01
13th October 2005, 17:36
Not the same scene but if you see the pillar you can notice that in the first it is green while the real color is that seen in the second one.
Greetings
Sharktooth
13th October 2005, 18:24
post the same screenshots from the source please.
Slave01
13th October 2005, 23:01
Original:
http://img75.imageshack.us/img75/9882/grab472844mw.jpg
x264:
http://img435.imageshack.us/img435/271/grab472848uz.jpg
Original:
http://img75.imageshack.us/img75/2492/grab473414lq.jpg
x264:
http://img435.imageshack.us/img435/7805/grab473411zo.jpg
Sharktooth
14th October 2005, 02:10
ok, now can you please also identify the frame type for both shoots? (use ffdshow OSD).
Slave01
14th October 2005, 19:01
http://img435.imageshack.us/img435/271/grab472848uz.jpg
P frame
http://img435.imageshack.us/img435/7805/grab473411zo.jpg
I frame
Thanks in advance
Ciao
Manao
14th October 2005, 19:19
Ok, one more questions ( two actually ) :
* weighted b prediction, 2 bframes, 2 ref frames, chroma me and all the options of high profile <--- does that mean custom matrices ?
* what decoder did you use ( for making the capture ) ?
Oh, and a third one : screenshots (original vs x264) aren't the same frame, why ? ( did you use an avi ? )
And a fourth one : was there two players opened when you took the first two pictures ? especially the second one ( overlay issues happen so quickly... )
Slave01
14th October 2005, 21:09
Ok, one more questions ( two actually ) :
* weighted b prediction, 2 bframes, 2 ref frames, chroma me and all the options of high profile <--- does that mean custom matrices ?
all options activated but no custom matrices...
* what decoder did you use ( for making the capture ) ?
ffdshow 20050930
Oh, and a third one : screenshots (original vs x264) aren't the same frame, why ? ( did you use an avi ? )
same frame! I use mp4 output and then put into mkv container.
And a fourth one : was there two players opened when you took the first two pictures ? especially the second one ( overlay issues happen so quickly... )
No no. But there are flaws like old bugged xvid releases, especially chroma issues. Anybody with same problem?
Manao
14th October 2005, 21:24
same frame! I use mp4 output and then put into mkv container.No, definitely not the same ( in the second case, the legs have moved ).
Can you make a whole sample available ( from the precedent I to the next one ), so that we can decode it to see if we get also that greenish effect ?
And another question, did you use any postprocessing filters during playback ?
Kopernikus
14th October 2005, 21:26
Whose build did you use?
Slave01
14th October 2005, 21:32
No, definitely not the same ( in the second case, the legs have moved ).
Yeah it's true....now i can see it in detail maybe one frame of difference but this is not important because the same effect is on previous frames and in next frames until the i frame.
However build 327A
No pp activated.
Yeah for the sample i need to find an mp4 cutting tool.
Sharktooth
15th October 2005, 12:55
use mp4box to split the file or download YAMB (a convenient mp4box GUI).
Slave01
15th October 2005, 13:45
Tried with last build...same problem...tried in avi with vfw gui...same problem...here is the mp4 file (thanks Sharktooth) http://s5.ultrashare.net/hosting/fs/c05fb075e702265c/
Greetings
Slave01
16th October 2005, 20:32
The movie is Sahara...has anyone the same problem?
dlzinc
16th October 2005, 23:59
I remember reading somewhere that using VMR9 or VMR7 rendering modes in the player can result in a greenish tint especially with NVidia video cards, any of that apply to you?
foxyshadis
17th October 2005, 05:50
A much better title for this thread would be 'x264 causes green chroma drift' or something like that.
Slave01
17th October 2005, 19:49
I remember reading somewhere that using VMR9 or VMR7 rendering modes in the player can result in a greenish tint especially with NVidia video cards, any of that apply to you?
No ati and overlay mixer. Did you see it too? The sample posted here (http://s5.ultrashare.net/hosting/fs/c05fb075e702265c/)
Manao
17th October 2005, 19:59
I don't seem to notice any drift here (whatever the decoder), but it's hard to tell without the source anyway. I must say I'm rather clueless on what's happening.
Sharktooth
17th October 2005, 20:16
the encoded file is ok. No green on my side. Maybe your decoder is b0rked.
kurt
17th October 2005, 20:28
do you have the same problems with mplayer or vlc?
Sharktooth
17th October 2005, 20:38
However it's not x264... it's a decoding problem.
Slave01
17th October 2005, 21:02
Yes it's true! With videolan all it's ok. Strange...i am using zoomplayer+ffdshow 20050930 + reclock...Sharktooth did you try with ateme? What can be the reason?
Thank you
John Slave
Slave01
17th October 2005, 21:24
I don't understand now i have installed 20051013 ffdshow and the problem goes away (i have uninstalled for the first time previous version (before maybe a conflict?))
Thank you!
John Slave
Sharktooth
18th October 2005, 03:35
probably there was some sort of bug in the previous ffdshow build or maybe libavcodec was compiled with wrong compiler settings.
however, yes, i tried with ateme decoder too and it was all ok.
Manao
18th October 2005, 05:45
Not FFDShow, since I used the same version he did, and didn't notice any drift.
foxyshadis
18th October 2005, 09:34
Odd, since I did, but if a new version sorts it out then there's no worry. Must be post-processing settings or overlay interface or something like that.
Slave01
18th October 2005, 11:47
A friend of mine has that problem too with ffdshow (my same build). I think all this problem was generated because i usually overwrite ffdshow installation instead of uninstall it before. May be so?
Thanks
John Slave
Slave01
19th October 2005, 12:21
Problem found. It's the option "skip deblocking always" in codecs window of ffdshow!
Greetings
John Slave
yidaki
6th December 2005, 11:53
What does that option do really, and how is it related to the h.264 deblocking options in the post-processing tab?
There's also the "skip deblocking when safe", could that help relieve some cpu without ruining the picture completely?
foxyshadis
6th December 2005, 21:54
What does that option do really, and how is it related to the h.264 deblocking options in the post-processing tab?
There's also the "skip deblocking when safe", could that help relieve some cpu without ruining the picture completely?
It means to not deblock regular b frames (not b-references), or more generally any frame that isn't referenced by another frame. For low-bitrate material you may notice pulsing blocking which might be very annoying. Using 'all' is bad, because the frames are encoded with the assumption that inloop is on, turning it off causes weird artifacts.
As for the PP tab, I keep meaning to provide a patch to make that confusing mess clearer. h.264 off means use regular ASP deblocking, which isn't quant scaled and looks horrible. You should always keep it on the 3rd option.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.