[vlc] jerky MPEG-2 elementary stream playback

Philippe De Neve Philippe.deneve at intec.ugent.be
Thu Apr 29 11:47:47 CEST 2004


Hi,

when I try to playback MPEG-2 elementary streams the video is very jerky.
Mostly VLC even freezes. What could cause this?
The file is the VCEG video sample foreman encoded with TMPGEnc at a bitrate
of 2000 kbits/s (non-interlaced MPEG-2 elementary stream  .m2v with a GOP of
15/3). I've tested it for different MPEG-2 files and all result in the same
jerkyness.
I'm using VLC on a windows XP Proffessional machine (Version 2002, Service
Pack 1).
The VLC version is 0.7.1 (wxWindows Interface).
The test file playsback fine on Windows Media Player 9 and in Virtual Dub.

If you want I can send you the testfile.

wfr, Philippe De Neve


Messages Output (full list):

main debug: adding playlist item `G:\Undamaged\M2V (MPEG-2 Elementary
Stream)\foreman_cif_2000_CBR_15_3.m2v' ( G:\Undamaged\M2V (MPEG-2 Elementary
Stream)\foreman_cif_2000_CBR_15_3.m2v )
main debug: creating new input thread

main: playlist item `G:\Undamaged\M2V (MPEG-2 Elementary
Stream)\foreman_cif_2000_CBR_15_3.m2v'

main debug: waiting for thread completion

main warning: drive letter G: found in source string

main debug: access `', demux `', name `G:\Undamaged\M2V (MPEG-2 Elementary
Stream)\foreman_cif_2000_CBR_15_3.m2v'

main debug: looking for access module

main debug: probing 7 candidates

main debug: thread 3352 (input) created at priority 1
(src/input/input.c:254)

dvdplay debug: plugin discarded (not a valid source)

dvdread warning: dvdread module discarded (not a valid source)

vcd debug: trying .cue file: G:\Undamaged\M2V (MPEG-2 Elementary
Stream)\foreman_cif_2000_CBR_15_3.cue

vcd warning: could not open G:\Undamaged\M2V (MPEG-2 Elementary
Stream)\foreman_cif_2000_CBR_15_3.m2v

cdda debug: trying .cue file: G:\Undamaged\M2V (MPEG-2 Elementary
Stream)\foreman_cif_2000_CBR_15_3.cue

cdda warning: could not open G:\Undamaged\M2V (MPEG-2 Elementary
Stream)\foreman_cif_2000_CBR_15_3.m2v

access_file debug: opening file `G:\Undamaged\M2V (MPEG-2 Elementary
Stream)\foreman_cif_2000_CBR_15_3.m2v'

main debug: using access module "access_file"

main debug: looking for demux module

main debug: probing 21 candidates

mp4 warning: MP4 plugin discarded (not a valid file)

avi warning: avi module discarded (invalid header)

asf warning: ASF plugin discarded (not a valid file)

dshow warning: dshow plugin discarded (not a valid stream)

dshow warning: dshow plugin discarded (not a valid stream)

ts_dvbpsi warning: TS module discarded (lost sync)

ts warning: TS module discarded (lost sync)

flac warning: flac module discarded (no startcode)

main debug: looking for packetizer module

main debug: probing 28 candidates

main debug: using packetizer module "packetizer_mpegvideo"

main debug: using demux module "mpgv"

main debug: selecting ES 0x1

main debug: looking for decoder module

main debug: probing 21 candidates

main debug: using decoder module "libmpeg2"

main debug: thread 3260 (decoder) created at priority 0
(src/input/input_dec.c:153)

packetizer_mpegvideo debug: Size 352x288 fps=30.000

libmpeg2 debug: 352x288, aspect 576000, 30.000 fps

main debug: no usable vout present, spawning one

main debug: looking for video output module

main debug: probing 5 candidates

vout_directx debug: creating DirectXEventThread

main debug: waiting for thread completion

vout_directx debug: DirectXCreateWindow

vout_directx debug: Created video sub-window

main debug: thread 3068 (DirectX Events Thread) created at priority 0
(directx.c:230)

vout_directx debug: DirectXEventThread running

vout_directx debug: DirectXInitDDraw

vout_directx debug: directx-device:

vout_directx debug: DirectXEnumCallback: Primary Display Driver, display

vout_directx debug: screen dimensions (0x0,1280x1024)

vout_directx debug: DirectDraw Capabilities: overlay=1 yuvoverlay=1
can_deinterlace_overlay=0 colorkey=1 stretch=1 bltfourcc=1

vout_directx debug: End DirectXInitDDraw

vout_directx debug: DirectXCreateDisplay

vout_directx debug: DirectXCreateClipper

main debug: using video output module "vout_directx"

main debug: looking for text renderer module

main debug: probing 3 candidates

freetype debug: Using fontsize: 18

main debug: using text renderer module "freetype"

vout_directx debug: NewPictureVec overlay:yes chroma:YV12

vout_directx debug: End NewPictureVec (failed)

vout_directx debug: NewPictureVec overlay:yes chroma:YUY2

vout_directx debug: End NewPictureVec (failed)

vout_directx debug: NewPictureVec overlay:no chroma:YV12

vout_directx debug: created plain surface of chroma:RV32

vout_directx debug: End NewPictureVec (succeeded)

main debug: got 1 direct buffer(s)

main debug: picture in 352x288, chroma 0x30323449 (I420), aspect ratio 4:3

main debug: picture out 352x288, chroma 0x32335652 (RV32), aspect ratio 4:3

main debug: looking for chroma module

main debug: probing 10 candidates

main debug: using chroma module "i420_rgb_mmx"

main debug: indirect render, mapping render pictures 0-7 to system pictures
1-8

main debug: waiting for thread completion

main debug: thread 3520 (video output) created at priority 1
(src/video_output/video_output.c:487)

main warning: backward_pts != current_pts (601974)

main debug: stream periodicity changed from B[1] to B[2]

main warning: backward_pts != current_pts (99998)

main warning: vout synchro warning: pts != current_date (-366667)

main warning: late picture skipped (322133)

main debug: stream periodicity changed from P[5] to P[4]

libmpeg2 debug: 352x288, aspect 576000, 30.000 fps

main warning: vout synchro warning: pts != current_date (53294)

main debug: stream periodicity changed from B[1] to B[2]

main debug: stream periodicity changed from P[5] to P[4]

main debug: decoded 70/105 pictures

main debug: decoded 88/105 pictures

main: EOF reached

main debug: 612 loops

main debug: dumping stream ID 0x0 [OK:0/D:0]

main debug: seekable stream, position: 2499878/2499878 (-:--:--/-:--:--)

main debug: dumping program 0x0, version 0 (partial)

main debug: ES 0x0, stream 0x0, fourcc `null', not selected [OK:0/ERR:0]

main debug: ES 0x1, stream 0x0, fourcc `mpgv', selected [OK:0/ERR:0]

main debug: unlocking module "packetizer_mpegvideo"

main debug: unlocking module "mpgv"

main debug: unselecting ES 0x1

main debug: unlocking module "libmpeg2"

main debug: thread 3260 joined (src/input/input_dec.c:201)

main debug: killing decoder fourcc `mpgv', 13 PES in FIFO

main debug: no more selected ES

access_file: closing `/://G:\Undamaged\M2V (MPEG-2 Elementary
Stream)\foreman_cif_2000_CBR_15_3.m2v'

main debug: unlocking module "access_file"

main debug: pes: 0 packets

main debug: data: 1 packets

main debug: buffers: 2 packets

main debug: freeing info structures...

main debug: thread 3352 joined (src/input/input.c:289)

main warning: refcount is 1, delaying before deletion

main debug: garbage collector destroying 1 vout

main debug: unlocking module "i420_rgb_mmx"

main debug: unlocking module "freetype"

vout_directx debug: DirectXCloseSurface

vout_directx debug: DirectXCloseDisplay

vout_directx debug: DirectXCloseDisplay clipper

vout_directx debug: DirectXCloseDisplay display

vout_directx debug: DirectXCloseDDraw

vout_directx debug: CloseVideo

vout_directx debug: DirectXEventThread terminating

vout_directx debug: DirectXCloseWindow

vout_directx debug: WinProc WM_DESTROY

main debug: thread 3068 joined (directx.c:426)

main debug: unlocking module "vout_directx"

main debug: thread 3520 joined (src/video_output/video_output.c:512)




-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list