Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 9th October 2006, 14:32   #1  |  Link
giandrea
Registered User
 
Join Date: Sep 2004
Location: Italy
Posts: 154
x264 purple artifacts

Hello! I was encoding a small clip with x264 through ffmpeg and in the encoded video there are some strange purple artifacts. I used the following command with ffmpeg:

ffmpeg -i input_file.mpg -croptop 70 -cropbottom 70 -cropright 4 -cropleft 4 -s 640x272 -aspect 2.3225 -ss 21 -vcodec h264 -ab 128 -rc_eq 'blurCplx^(1-qComp)' -level 30 -b 1000k -qmin 16 -subq 6 -sc_threshold 40 -partp8x8 -partb8x8 -parti4x4 -partp4x4 -maxrate 1500k -me umh -me_range 12 -vframes 1000 -pass 1 output_file.mp4

The option that triggers the artifacts is -partp8x8.

I compiled x264 and ffmpeg from the latest svn on MacOS X PPC.
Can it be related to the altivec optimization? just wondering...

You can see the artifacts in this clip:
http://www.motoriweb.com/public/test_amelie.mp4 (~1MiB)

Thank you,

Andrea Gianarro
giandrea is offline   Reply With Quote
Old 9th October 2006, 18:44   #2  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
does this happen with all decoders? which ones did you try?

are you sure this isnt already there when decoding the source?
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 9th October 2006, 19:26   #3  |  Link
giandrea
Registered User
 
Join Date: Sep 2004
Location: Italy
Posts: 154
Quote:
Originally Posted by bond View Post
does this happen with all decoders? which ones did you try?

are you sure this isnt already there when decoding the source?

Yes, I'm sure, because removing the -partp8x8 options, removes the artifacts.
And I decoded it with QuickTime and MPlayer, and they both show the same artifacts. You can test by yourself anyway.
bya,

giandrea
giandrea is offline   Reply With Quote
Old 10th October 2006, 00:51   #4  |  Link
giandrea
Registered User
 
Join Date: Sep 2004
Location: Italy
Posts: 154
Quote:
Originally Posted by giandrea View Post
Yes, I'm sure, because removing the -partp8x8 options, removes the artifacts.
OK, keeping partp8x8 and lowering the bitrate works. This sounds really strange, and perhaps it is because of some parameter set to a weird value by default by ffmpeg...

Well, lowering the bitrate to 500kbps removes many purple blocks, but not all. Lowering to 200kbps removes all purple blocks... very very strange... It seems that the purple blocks appear at very low quantizers... but I don't have the means to prove this... can someone run x264 --visualize on my test clip? Thanks!!
giandrea is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 23:24.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.