H.264 (1280x720) files playback choppy

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
vl6000
Blank Cone
Blank Cone
Posts: 18
Joined: 24 Sep 2006 05:37

H.264 (1280x720) files playback choppy

Postby vl6000 » 13 Oct 2009 08:58

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

Lotesdelere
Cone Master
Cone Master
Posts: 9896
Joined: 08 Sep 2006 04:39
Location: Europe

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

Postby Lotesdelere » 13 Oct 2009 12:07

Try to disable the loop filter:
viewtopic.php?f=2&t=42328

vl6000
Blank Cone
Blank Cone
Posts: 18
Joined: 24 Sep 2006 05:37

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

Postby vl6000 » 13 Oct 2009 20:22

As you might see from my OP, I did that already, and although it made a small difference, the jerkiness is still present.

Lotesdelere
Cone Master
Cone Master
Posts: 9896
Joined: 08 Sep 2006 04:39
Location: Europe

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

Postby Lotesdelere » 13 Oct 2009 21:22

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.

vl6000
Blank Cone
Blank Cone
Posts: 18
Joined: 24 Sep 2006 05:37

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

Postby vl6000 » 13 Oct 2009 21:49

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?

Lotesdelere
Cone Master
Cone Master
Posts: 9896
Joined: 08 Sep 2006 04:39
Location: Europe

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

Postby Lotesdelere » 13 Oct 2009 23:00

MPC-HC might help you with DXVA if your video is DXVA compatible and if your graphics card can handle it.

vl6000
Blank Cone
Blank Cone
Posts: 18
Joined: 24 Sep 2006 05:37

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

Postby vl6000 » 13 Oct 2009 23:56

Interesting. MPC-HC shows the video without jerkiness, but in slow motion. Also, the audio is out of sync with the video.

patch
Blank Cone
Blank Cone
Posts: 34
Joined: 06 Jun 2008 06:05

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

Postby patch » 14 Oct 2009 14:21


vl6000
Blank Cone
Blank Cone
Posts: 18
Joined: 24 Sep 2006 05:37

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

Postby vl6000 » 14 Oct 2009 19:53

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 15 Oct 2009 18:15

OSD needs blending that takes some ressources...
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 22 guests