Page 1 of 1

H.264 (1280x720) files playback choppy

Posted: 13 Oct 2009 08:58
by vl6000
I am attempting to play back files on a local disk. 400-line video plays back OK, but 720-line is choppy (jumps over missing frames). Where should I look for a problem?

O/S is Windows XP Pro SP3, CPU is Pentium 4 @ 2.4 GHz, 3 GB RAM, video card Radeon X1650 Pro driving dual monitors. Playback is on primary monitor, LCD 1920x1200, 32-bit color. All graphics hardware accelerations are enabled by Windows. VLC 1.0.2 Goldeneye.

The choppiness is improved slightly by setting "Skip the loop filter for H.264 decoding" to "All", but it is still unwatchable.

When I play back the .mp4 video file, under media information, I have

Stream 0
Type: Video
Codec: avc1
Resolution: 1280x720
Display resolution 1280x720
Frame rate: 59.939820

Stream 1:
Type: Audio
Codec: mp4a
Channels: Stereo
Sample rate: 48000 Hz

And in Statistics:
Video
Decoded blocks 12548
Displayed frames 30940
Lost frames 5375
Input
Read at media 136657 kB
Input bitrate 3259 kb/s
Demuxed 13517 kB
Stream bitrate 3120 kb/s
Corrupted 0
Discontinuities 0

Re: H.264 (1280x720) files playback choppy

Posted: 13 Oct 2009 12:07
by Lotesdelere
Try to disable the loop filter:
viewtopic.php?f=2&t=42328

Re: H.264 (1280x720) files playback choppy

Posted: 13 Oct 2009 20:22
by vl6000
As you might see from my OP, I did that already, and although it made a small difference, the jerkiness is still present.

Re: H.264 (1280x720) files playback choppy

Posted: 13 Oct 2009 21:22
by Lotesdelere
Codec: avc1
Resolution: 1280x720
Display resolution 1280x720
Frame rate: 59.939820
1280*720 at ~60 FPS is quite CPU demanding. Depending on the bitrate of the video I'm afraid your CPU might be too weak for such videos.

Re: H.264 (1280x720) files playback choppy

Posted: 13 Oct 2009 21:49
by vl6000
Bitrate seems to be about 3200 kb/s, from the statistics. How can I decide what CPU would be required? Or is there additional hardware which can handle the decoding?

Re: H.264 (1280x720) files playback choppy

Posted: 13 Oct 2009 23:00
by Lotesdelere
MPC-HC might help you with DXVA if your video is DXVA compatible and if your graphics card can handle it.

Re: H.264 (1280x720) files playback choppy

Posted: 13 Oct 2009 23:56
by vl6000
Interesting. MPC-HC shows the video without jerkiness, but in slow motion. Also, the audio is out of sync with the video.

Re: H.264 (1280x720) files playback choppy

Posted: 14 Oct 2009 14:21
by patch

Re: H.264 (1280x720) files playback choppy

Posted: 14 Oct 2009 19:53
by vl6000
Turning off "Enable OSD" and "Show media title on video" made a big improvement. It doesn't look like 720-line resolution, but the choppiness is almost gone. Anyone know why this matters?

Tnx to 'patch'. I never would have found this.

Re: H.264 (1280x720) files playback choppy

Posted: 15 Oct 2009 18:15
by Jean-Baptiste Kempf
OSD needs blending that takes some ressources...