Page 1 of 1

MKV (h.264 1080p) playback is jerky

Posted: 25 Sep 2011 19:37
by plotzzz
A terrible truth: HD MKVs (I only have h.264 1080p files) play jerky (saccadé) with VLC but play fine with a basic Windows Media Player 9!
I tried to play with some video output options (overlay, predefined/DirectX) it won't do.
Anybody aware of that ? Any fix ? thanks

PS: I always mux with the latest MKVToolnix/Merge available

Re: MKV (h.264 1080p) playback is jerky

Posted: 25 Sep 2011 22:07
by Jean-Baptiste Kempf
OS?

Re: MKV (h.264 1080p) playback is jerky

Posted: 26 Sep 2011 11:41
by plotzzz
WinXP 32bits (same behaviour on Win7 64bits)
CPU load about 55%

Code: Select all

Général Identifiant unique : 182881319635063085480521687890419633601 (0x8995A935AF6D87DABF7F0B29EDB5CDC1) Nom complet : G:\Films\HP.mkv Format : Matroska Version du format : Version 2 Taille du fichier : 5,99 Gio Durée : 2h 15mn Débit global moyen : 6 317 Kbps Date d'encodage : UTC 2011-09-24 21:07:46 Application utilisée : mkvmerge v4.9.1 ('Ich will') built on Jul 11 2011 23:53:15 Bibliothèque utilisée : libebml v1.2.1 + libmatroska v1.1.1 Vidéo ID : 1 Format : AVC Format/Info : Advanced Video Codec Profil du format : High@L4.0 Paramètres du format, CABAC : Oui Paramètres du format, RefFrames : 4 images Paramètres du format, GOP : M=8, N=32 Type de muxing : Header stripping Identifiant du codec : V_MPEG4/ISO/AVC Durée : 2h 15mn Débit : 5 808 Kbps Largeur : 1 920 pixels Hauteur : 1 088 pixels Largeur originale : 1 080 pixels Format à l'écran : 16/9 Format à l'écran d'origine : 16/9 Images par seconde : 50,000 Im/s Images/s d'origine : 25,000 Im/s Espace de couleurs : YUV Sous-échantillonnage de la chrom : 4:2:0 Profondeur des couleurs : 8 bits Type d'image : MBAFF Bits/(Pixel*Image) : 0.056 Taille du flux : 5,51 Gio (92%) Coordonnées de chromaticité : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177 Caractéristiques du transfert : BT.709-5, BT.1361 Coefficients de la matrice : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177 Audio #1 ID : 2 Format : E-AC-3 Format/Info : Audio Coding 3 Type de muxing : Header stripping Identifiant du codec : A_EAC3 Durée : 2h 15mn Type de débit : Constant Débit : 128 Kbps Canaux : 2 canaux Position des cannaux : Front: L R Echantillonnage : 48,0 KHz Mode de compression : Avec perte Délai par rapport Vidéo : -340ms Taille du flux : 124 Mio (2%) Titre : Stereo Langue : Anglais Audio #2 ID : 3 Format : E-AC-3 Format/Info : Audio Coding 3 Type de muxing : Header stripping Identifiant du codec : A_EAC3 Durée : 2h 15mn Type de débit : Constant Débit : 256 Kbps Canaux : 6 canaux Position des cannaux : Front: L C R, Side: L R, LFE Echantillonnage : 48,0 KHz Mode de compression : Avec perte Délai par rapport Vidéo : -100ms Taille du flux : 249 Mio (4%) Titre : 5.1 Langue : Français Texte ID : 4 Format : UTF-8 Identifiant du codec : S_TEXT/UTF8 Identifiant du codec/Info : UTF-8 Plain Text Langue : Français

Re: MKV (h.264 1080p) playback is jerky

Posted: 26 Sep 2011 15:44
by VLC_help

Re: MKV (h.264 1080p) playback is jerky

Posted: 26 Sep 2011 17:41
by plotzzz
It still won't work.
If it can help an Avidemux developper once told me: "actually vlc is producing them [the jitters] when increasing its PTS delay".
No idea what it means.

PS: happens every time, with mp2 audio as well.

Re: MKV (h.264 1080p) playback is jerky

Posted: 27 Sep 2011 16:12
by VLC_help
Is there some sample file you could share to us?

Re: MKV (h.264 1080p) playback is jerky

Posted: 27 Sep 2011 17:52
by plotzzz
Here is an example generated by Avidemux, but behaviour is the same once remuxed with MKVToolnix. It gives bugs with VLC, but plays fine with WMP9 (ffdshow & Haali media splitter icons showing in the taskbar)

http://dl.free.fr/lZc7Fu5Wb

Re: MKV (h.264 1080p) playback is jerky

Posted: 28 Sep 2011 15:44
by VLC_help
I will check that file during weekend.

Re: MKV (h.264 1080p) playback is jerky

Posted: 02 Oct 2011 16:50
by VLC_help
Thanks. The file must be 1080i since there is MBAFF tag in it. And it is prolly a slow decoding issue related to interlacing since VLC 1.2.0 nightlies play the file much better.

Re: MKV (h.264 1080p) playback is jerky

Posted: 02 Oct 2011 18:16
by plotzzz
Yes, I would say 1080i since Mediainfo or even VLC say 50fps. But again my CPU load doesn't go above 55%. So I guess I just wait for a VLC update ?

Re: MKV (h.264 1080p) playback is jerky

Posted: 03 Oct 2011 15:55
by VLC_help
Current VLC releases can only do single core H.264 decoding. VLC 1.2.0 will support multicore H.264 decoding.

Re: MKV (h.264 1080p) playback is jerky

Posted: 16 Oct 2011 00:15
by plotzzz
I doubt that's the issue because it happens even with 30% CPU load, and disappears if EAC3 is reencoded (which I would like to avoid).

Re: MKV (h.264 1080p) playback is jerky

Posted: 01 Nov 2011 12:16
by plotzzz
Most of all I forgot to mention that before remuxing into MKV, VLC plays the video very well when it's still in the .ts transport stream.