Log in

View Full Version : Problem with x264 1080p playback


Seraphic-
6th June 2008, 09:13
Hi,

I'm having an issue when trying to play back a test 1080p video that I encoded (cropped to 1392x1008).
It seems to play alright and in sync, but when there are action scenes the video frame rate drops/slows down and video/audio sync is lost.

Looking at my CPU usage, it seems only two of my four CPU cores is being used. Does it not use all four cores?
Can't see how my system could be the problem as it is fast enough to capture uncompressed HD.
I can watch the raw 47GB (with audio) at 1392x1008 video with no slow down, but I'm not able to play back an 1392x1008 x264 video with audio?
Video was encoded with Megui using HQ-Slowest default, but with bit-rate changed to 15,000.

What might the problem be?

CPU Usage with 47GB 1392x1008 YUY2/PCM Playback (Perfect Playback)
http://temp.seraphicgate.com/rawcpu.jpg

CPU Usage with 538MB x264/AAC 1392x1008 Playback (Slow and out of sync Playback)
http://temp.seraphicgate.com/cpu.jpg

audyovydeo
6th June 2008, 10:44
Looking at my CPU usage, it seems only two of my four CPU cores is being used. Does it not use all four cores?

It would help to know what your playback application is.

With this one (http://forum.doom9.org/showthread.php?t=123537&page=117) you can specify the number of playback threads : what does it give ?

cheers
a/v

Seraphic-
6th June 2008, 11:11
It would help to know what your playback application is.

With this one (http://forum.doom9.org/showthread.php?t=123537&page=117) you can specify the number of playback threads : what does it give ?

cheers
a/v

Both were played using Media Player Classic 6.4.9.1 and ffdshow video decoder from http://www.free-codecs.com/download/K_Lite_Mega_Codec_Pack.htm

I do not see any way to set playback threads though.

audyovydeo
6th June 2008, 15:03
Both were played using Media Player Classic 6.4.9.1

I'm talking about this one (read the thread I pointed you to) :
http://mpc-hc.sourceforge.net

it's got its own DXVA-enabled H.264 decoding filter, where you can specify the number of decoding threads.

cheers
a/v

Blue_MiSfit
6th June 2008, 18:16
Yeah. The Media Player Classic Home Cinema H.264 decoder is a bit faster than ffdshow's ;)

CoreAVC is better still!

~MiSfit

Seraphic-
7th June 2008, 19:17
Alright, I'll give those a try.

Snowknight26
7th June 2008, 20:22
Yeah. The Media Player Classic Home Cinema H.264 decoder is a bit faster than ffdshow's ;)

Without DXVA I presume?