Page 1 of 1

can VLC use QT MPEG codec?

Posted: 16 Oct 2005 15:41
by chinarut
While playing a VCD, VLC abruptly closes the stream (but does not quit)

I verified it consistently stops in the same time signature.

I opened up the MPEG (.dat) in QuickTime (Basic, 7.0.3) and it goes past the frame(s) in question.

I'm not clear if VLC shares codecs with QT or not - is is possible for VLC to use the same codec QT uses to workaround this issue?

Re: can VLC use QT MPEG codec?

Posted: 16 Oct 2005 16:46
by fkuehne
That's not a problem with the decoder. It's probably a problem with the input/demuxer (prolly said a module which splits the video and audio streams from the VCD-stream to decode them seperately with their specific decoders), which fails on your VCD. You could post some messages from Window -> Messages when the playback stops?

BTW. VLC can make use of the QT-codecs, but it does that for QT-movies only. All other sources are played using VLC's native codecs.

Posted: 16 Oct 2005 17:12
by chinarut
ok...here you go....does look like an audio issue:

main warning: audio drift is too big (-272723), clearing out
main warning: timing screwed, stopping resampling
main warning: mixer start isn't output start (-10808)
main warning: audio drift is too big (-272542), clearing out
main warning: vout synchro warning: pts != current_date (-360000)
main warning: backward_pts != dts (360011)
main warning: backward_pts != current_pts (360000)
main debug: audio output is starving (375649), playing silence
main warning: vout synchro warning: pts != current_date (-360000)
main debug: EOF reached
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: closing input
ffmpeg debug: ffmpeg codec (MPEG Audio layer 1/2) stopped
main debug: unlocking module "ffmpeg"
main debug: thread 34968576 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 34959872 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"
macosx debug: input has changed, refreshing interface
main debug: thread 34916352 joined (src/input/input.c:386)
main: nothing to play
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 35738624 joined (src/video_output/video_output.c:506)

Posted: 16 Oct 2005 23:03
by The DJ
main debug: EOF reached

The file said it was at it's end. VLC listens to those kinds of things. (Because in streams that means you have to stop receiving !!!!). Most other applications don't. The file is technically broken though. It does not adhere to the specifications of MPEG.