PDA

View Full Version : x264 playback problem - strange artifacts


LoRd_MuldeR
24th March 2006, 19:28
Hi.

I've just encoded a whole Video-DVD to x264 using MEncoder (latest celtic build for AthlonXP). So far everything worked fine. BUT: I've got some problems on playing that file! When I play the file in MPlayer there are some strange artifacts. The following screenshot shows the problem. Maybe on the screenshot it's not as clear as you see in "real" playback, but there are some big blocks that should not be there! And parts of the image seems to be shiftet! Howere only a few frames seem to be affected. Let's say about every 20 seconds there's a "broken" frame...

If I play the same file in MPC with CoreAVCDecoder everything works 100% fine and there are no artifacts at all. Same for searching for broken frames in VirtualDub: There are none! But again: If I play the file in MPlayer there are those artifacts and thats extremely nasty :scared:

Any ideas? Thanks....


http://mulder.dummwiedeutsch.de/temp/borked.png


(BTW: I decoded the video to raw with MEncoder to be able to make the screenshot)


//EDIT

Here's another screenshot. Look at the hat!


http://mulder.dummwiedeutsch.de/temp/borked2.png

ChronoCross
24th March 2006, 19:57
even if I can't see it I would surmise that it might be a decoder issue....since it plays fine using coreAVC. You might try using a more recent version than one in january.

LoRd_MuldeR
24th March 2006, 22:50
I've tested a few MPlayer builds. This one plays 100% fine:

MPlayer dev-CVS-060318-13:46-3.4.2 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Sempron/Athlon MP/XP/XP-M Barton,Thorton
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with runtime CPU detection.

Nevertheless the latest builds be Celtic Druid and Gianluigi Tiesi do not!

I don't know if it's just the current MPlayer CVS that is broken, or if it is a problem with the CPU optimizations. How to find out that?

LoRd_MuldeR
25th March 2006, 16:31
I got the information, that the H.264 playback problem is caused by libavcodec. Seems like they added some optimizations that produce those artifacts. Older builds (about 2 weeks ago) still work fine. Maybe new builds of MPlayer/MEncoder should use an old version of libavcodec until the problem is fixed...

ChronoCross
25th March 2006, 21:57
yeah they added some optimizations that require a lot of workarounds for win32. I ended up posting oin the mplayer mailing list and someone created a libavcodec patch for win32. I don't think it fixes your problem but it allows it to compile for encoding purposeds in mencoder. I'll keep an eye out for an updated fix.

LoRd_MuldeR
26th March 2006, 15:22
Just got this reply concerning the broken H.264 playback:



fixed in cvs.

--Loren Merritt

Now someone needs to create a new build :D

Yong
26th March 2006, 15:31
Got this reply concerning the broken H.264 playback:



Now someone needs to create a new build :D

OT: Aren't you are a programmer?
build a mplayer isnt too hard imho :)

LoRd_MuldeR
26th March 2006, 16:27
OT: Aren't you are a programmer?
build a mplayer isnt too hard imho :)

Oh, it is :(

celtic_druid
26th March 2006, 16:50
I put new builds up just before (reading this) anyway. Building mplayer really isn't hard though.

LoRd_MuldeR
26th March 2006, 17:19
Sorry, but I'm unable to find "mplayer2006.03.27" on any of the mirrors...

celtic_druid
26th March 2006, 17:40
It hasn't been mirrored yet. The list of files is a php dir list so if it is listed, it is on my server ready to be mirrored. Doesn't mean that it has been mirrored.

LoRd_MuldeR
26th March 2006, 19:04
It hasn't been mirrored yet. The list of files is a php dir list so if it is listed, it is on my server ready to be mirrored. Doesn't mean that it has been mirrored.

Still not mirrored :scared:
Can you upload elsewhere and provide a direct link? Like the stuff on mirror05.x264.nl :confused:

//EDIT

Okay. Got it :D
Me is just too impatient ^^

LoRd_MuldeR
27th March 2006, 03:20
Good news: mplayer2006.03.27 fixed the problem :)

My post-processing problem (mplayer just crashed) is gone too :D

:thanks:

hellfred
27th March 2006, 14:10
Oh, it is :(
Hey, it is not.
Just see the MPlayer MinGW HOWTO (ftp://ftp1.mplayerhq.hu/MPlayer/releases/win32/contrib/MPlayer-MinGW-Howto.txt)
It is not perfectly up do date (some libs are available in new versions), but usually the building process does not differ from the shown process. By the way, if you do not need some of the libs (xvid, libpng, libregif etc.), just do not compile them.

Stefan

Sirber
27th March 2006, 14:12
Seems a PP issue :)
Disable all PP.