Page 1 of 1

glitches on some mpegs

Posted: 26 Nov 2005 22:24
by compunett
I'm running a macosx 10.4.3, with VLC 0.8.4

When I play some MPEG2videos, I actually expérience glitches in the video and in the sound. According to the information VLC reports, there is 3 streams inside this file

1 - mpgv : the video of course
2 - lpcm : the PCM stream actually it doesn't output anything at all (normal the support of those stream iscausing problems under osx)
3 - mpga : and this stream, which does play

However in the file gltches appears, i see wrong macroblocks on the video, the audio sometime becomes sloppy (videos is also sloppy at the same time).

By the way other files with only mpgv and mpga expérience the same problems on VLC OSX.
EDIT: I tried a VOB file with LPCM the file plays, but again gliches appears on the video and the audio get impacted as glitches appears there too.

On the VLC Win32, the information on the file didn't mention any LPCM, and the file plays just well.

2nd EDIT:
It seems that 0.8.2 play correctly the video for these files, they are captures from dvb

Here is the message logs
VLC 0.8.4 Win32
main warning: late picture skipped (198298)
main warning: late picture skipped (158330)
main warning: late picture skipped (118338)
main warning: late picture skipped (83342)
main warning: late picture skipped (84471)
main warning: late picture skipped (4501)
main debug: decoded 110/112 pictures
main debug: EOF reached
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: closing input
main debug: unlocking module "mpeg_audio"
main debug: thread times: real 3m32.656250s, kernel 0m0.203125s, user 0m5.328125s
main debug: thread 3696 joined (src/input/decoder.c:191)
main debug: killing decoder fourcc `mpga', 0 PES in FIFO
main debug: unlocking module "mpgatofixed32"
main debug: unlocking module "bandlimited_resampler"
aout_directx debug: CloseAudio
aout_directx debug: DirectSoundThread exiting
main debug: thread times: real 3m32.515625s, kernel 0m0.000000s, user 0m0.000000s
main debug: thread 4184 joined (directx.c:600)
main debug: unlocking module "aout_directx"
main debug: unlocking module "float32tos16"
main debug: unlocking module "float32_mixer"
main debug: unlocking module "libmpeg2"
main debug: thread times: real 3m32.703125s, kernel 0m0.125000s, user 0m14.562500s
main debug: thread 3692 joined (src/input/decoder.c:191)
main debug: killing decoder fourcc `mpgv', 0 PES in FIFO
main debug: Program doesn't contain anymore ES
main debug: unlocking module "ps"
main debug: unlocking module "access_file"
main debug: thread times: real 3m32.875000s, kernel 0m0.187500s, user 0m0.140625s
main debug: thread 3636 joined (src/input/input.c:386)
main warning: Unable to find parent !
main: nothing to play
main debug: garbage collector destroying 1 vout
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 times: real 3m32.890625s, kernel 0m0.062500s, user 0m0.031250s
main debug: thread 4224 joined (directx.c:463)
main debug: unlocking module "vout_directx"
main debug: thread times: real 3m32.734375s, kernel 0m0.750000s, user 0m5.109375s
main debug: thread 4256 joined (src/video_output/video_output.c:456)


VLC 0.8.4 MacOSX (this one is quite verbose)
main debug: indirect render, mapping render pictures 0-7 to system pictures 1-8
main debug: thread 43388416 (video output) created at priority 37 (src/video_output/video_output.c:416)
main warning: dts != current_pts (-739341)
main warning: vout synchro warning: pts != current_date (-40000)
main debug: looking for decoder module: 24 candidates
ffmpeg debug: libavcodec initialized (interface 3277056 )
ffmpeg debug: ffmpeg codec (MPEG Audio layer 1/2) started
main debug: using decoder module "ffmpeg"
main debug: thread 43629056 (decoder) created at priority 37 (src/input/decoder.c:159)
main debug: no aout present, spawning one
main debug: looking for audio output module: 3 candidates
main debug: VLC is looking for:
's16b' 44100 Hz Stereo frame=1 samples/4 bytes
auhal debug: system has [1] device(s)
auhal debug: DevID: 257 DevName: Audio intégré DevUID: AppleDBDMAAudioDMAEngine:0
auhal debug: succesful finish of deviceslist
auhal debug: supported format:
samplerate: [44100]
FormatID: [lpcm]
FormatFlags: [11]
BypesPerPacket: [8]
FramesPerPacket: [1]
BytesPerFrame: [8]
ChannelsPerFrame: [2]
BitsPerChannel[32]
auhal debug: current format is :
samplerate: [44100]
FormatID: [lpcm]
FormatFlags: [43]
BypesPerPacket: [4]
FramesPerPacket: [1]
BytesPerFrame: [4]
ChannelsPerFrame: [2]
BitsPerChannel[32]
auhal debug: Layout of AUHAL has 2 channels
auhal debug: This is channel: -1
auhal warning: Unrecognized channel form provided by driver: -1
auhal warning: Probably no channellayout is set. force based on channelcount
auhal debug: This is channel: -1
auhal warning: Unrecognized channel form provided by driver: -1
auhal debug: defined 2 physical channels for vlc core
auhal debug: Stereo
auhal debug: we set the AU format: :
samplerate: [44100]
FormatID: [lpcm]
FormatFlags: [11]
BypesPerPacket: [8]
FramesPerPacket: [1]
BytesPerFrame: [8]
ChannelsPerFrame: [2]
BitsPerChannel[32]
auhal debug: the actual set AU format is :
samplerate: [44100]
FormatID: [lpcm]
FormatFlags: [11]
BypesPerPacket: [8]
FramesPerPacket: [1]
BytesPerFrame: [8]
ChannelsPerFrame: [2]
BitsPerChannel[32]
main debug: using audio output module "auhal"
main debug: output 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes
main debug: mixer 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes
main debug: no need for any filter
main debug: looking for audio mixer module: 3 candidates
main debug: using audio mixer module "trivial_mixer"
main debug: input 's16b' 44100 Hz Stereo frame=1 samples/4 bytes
main debug: filter(s) 's16b'->'fl32' 44100 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio filter module: 23 candidates
main debug: using audio filter module "s16tofloat32"
main debug: found a filter for the whole conversion
main debug: filter(s) 'fl32'->'fl32' 48510 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio filter module: 23 candidates
main debug: using audio filter module "bandlimited_resampler"
main debug: found a filter for the whole conversion
main warning: output date isn't PTS date, requesting resampling (-46135)
main warning: buffer is 72255 in advance, triggering downsampling
ps warning: garbage at input, trying to resync...
ps warning: found sync code
main warning: audio drift is too big (-150756), clearing out
main warning: timing screwed, stopping resampling
main warning: mixer start isn't output start (-13263)
main warning: audio drift is too big (-150575), clearing out
main debug: audio output is starving (342181), playing silence
main warning: output date isn't PTS date, requesting resampling (-40451)
main warning: buffer is 66572 in advance, triggering downsampling
main warning: backward_pts != dts (-240000)
main warning: backward_pts != current_pts (-40000)
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
main warning: backward_pts != dts (120000)
main warning: backward_pts != current_pts (160000)
main warning: vout synchro warning: pts != current_date (-120000)
main warning: late picture skipped (1133041282620968)
ps warning: garbage at input, trying to resync...
ps warning: found sync code
main warning: audio drift is too big (-165937), clearing out
main warning: timing screwed, stopping resampling
main warning: audio drift is too big (-165756), clearing out
main warning: mixer start isn't output start (-72638)
main debug: audio output is starving (391581), playing silence
ps warning: garbage at input, trying to resync...
ps warning: found sync code
main warning: audio drift is too big (261222), dropping buffer
main warning: audio drift is too big (235100), dropping buffer
main warning: audio drift is too big (208978), dropping buffer
main warning: buffer is 78378 in advance, triggering downsampling
ps warning: garbage at input, trying to resync...
ps warning: found sync code
main warning: output date isn't PTS date, requesting resampling (-43280)
main warning: audio drift is too big (-226304), clearing out
main warning: timing screwed, stopping resampling
main warning: mixer start isn't output start (-25453)
main warning: audio drift is too big (-182843), clearing out
ps warning: garbage at input, trying to resync...
ps warning: found sync code
main warning: audio drift is too big (235100), dropping buffer
main warning: audio drift is too big (208978), dropping buffer
main warning: audio drift is too big (156733), dropping buffer
main debug: audio output is starving (374171), playing silence
main warning: audio drift is too big (130611), dropping buffer
main warning: buffer is 104489 late, triggering upsampling
ps warning: garbage at input, trying to resync...
ps warning: found sync code
ps debug: es id=0xf6 format unknown
main warning: vout synchro warning: pts != current_date (240000)
main warning: backward_pts != dts (-240000)
main warning: backward_pts != current_pts (-240000)
main warning: vout synchro warning: pts != current_date (240000)
main warning: vout synchro warning: pts != current_date (-200000)
main warning: backward_pts != dts (240000)
main warning: backward_pts != current_pts (240000)
main warning: audio drift is too big (-235281), clearing out
main warning: timing screwed, stopping resampling
main warning: audio drift is too big (-235099), clearing out
main warning: mixer start isn't output start (-98303)
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
main warning: vout synchro warning: pts != current_date (-40000)
main warning: backward_pts != dts (-240000)
main warning: backward_pts != current_pts (-240000)
libmpeg2 warning: invalid picture encountered
ps warning: garbage at input, trying to resync...
ps warning: found sync code
main warning: audio drift is too big (208977), dropping buffer
main warning: audio drift is too big (182855), dropping buffer
main warning: audio drift is too big (156733), dropping buffer
main warning: audio drift is too big (130610), dropping buffer
main warning: buffer is 104488 late, triggering upsampling
main debug: audio output is starving (362544), playing silence
libmpeg2 warning: invalid picture encountered
main warning: backward_pts != current_pts (160000)
main warning: vout synchro warning: pts != current_date (-120000)
main warning: vout synchro warning: pts != current_date (200000)
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
main warning: vout synchro warning: pts != current_date (-160000)
main warning: backward_pts != dts (-240000)
main warning: backward_pts != current_pts (-80000)
libmpeg2 warning: invalid picture encountered
main warning: late picture skipped (1133041285718524)
main warning: late picture skipped (1133041285718576)
libmpeg2 warning: invalid picture encountered
main warning: backward_pts != dts (160000)
main warning: backward_pts != current_pts (160000)
main warning: vout synchro warning: pts != current_date (-280000)
main warning: backward_pts != dts (120000)
main warning: backward_pts != current_pts (120000)
main warning: vout synchro warning: pts != current_date (120000)
main warning: backward_pts != dts (-240000)
main warning: backward_pts != current_pts (-240000)
main warning: late picture skipped (1133041285806738)
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
main warning: vout synchro warning: pts != current_date (120000)
main warning: backward_pts != dts (120000)
main warning: backward_pts != current_pts (120000)
main debug: decoded 77/121 pictures
main warning: backward_pts != current_pts (-120000)
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
ps warning: garbage at input, trying to resync...
ps warning: found sync code
main warning: late picture skipped (1133041285877771)
main warning: vout synchro warning: pts != current_date (-160000)
main warning: audio drift is too big (-183070), clearing out
main warning: timing screwed, stopping resampling
main warning: mixer start isn't output start (-8120)
main warning: audio drift is too big (-182889), clearing out
main warning: backward_pts != dts (240000)
main warning: backward_pts != current_pts (240000)
main debug: audio output is starving (408984), playing silence
main warning: vout synchro warning: pts != current_date (-240000)
main warning: late picture skipped (1133041286098563)
main debug: decoded 89/102 pictures
ps warning: garbage at input, trying to resync...
ps warning: found sync code
main warning: audio drift is too big (156739), dropping buffer
main warning: audio drift is too big (130617), dropping buffer
main warning: buffer is 104495 late, triggering upsampling
main warning: vout synchro warning: pts != current_date (160000)
main warning: backward_pts != dts (-160000)
main warning: backward_pts != current_pts (-160000)
libmpeg2 warning: invalid picture encountered
libmpeg2 warning: invalid picture encountered
main warning: backward_pts != dts (240000)
main warning: backward_pts != current_pts (240000)
main warning: vout synchro warning: pts != current_date (-240000)
main warning: late picture skipped (1133041297878147)
main debug: decoded 91/105 pictures
main debug: control type=0
main debug: control: stopping input
main debug: closing input
ffmpeg debug: ffmpeg codec (MPEG Audio layer 1/2) stopped
main debug: unlocking module "ffmpeg"
main debug: thread 43629056 joined (src/input/decoder.c:191)
main debug: killing decoder fourcc `mpga', 0 PES in FIFO
main debug: unlocking module "s16tofloat32"
main debug: unlocking module "bandlimited_resampler"
main debug: unlocking module "auhal"
main debug: unlocking module "trivial_mixer"
main debug: unlocking module "libmpeg2"
main debug: thread 43307008 joined (src/input/decoder.c:191)
main debug: killing decoder fourcc `mpgv', 98 PES in FIFO
main debug: Program doesn't contain anymore ES
main debug: unlocking module "ps"
main debug: unlocking module "access_file"
main debug: thread 43123200 joined (src/input/input.c:386)
main debug: garbage collector destroying 1 vout
main debug: unlocking module "i420_yuy2_altivec"
main debug: unlocking module "macosx"
main debug: unlocking module "opengl"
main debug: thread 43388416 joined (src/video_output/video_output.c:456)


It seems there is some erros in my files, but vlc on MacOSX couldn't handle them, i didn't remember any problems with vlc 0.8.2 but at that time it was under OSX 10.3.