Page 1 of 1

Problem playing mpeg

Posted: 27 Aug 2004 13:41
by markfm
ftp\videolan\org\incoming\the_office.mpeg

An 8/22 VLC build.

The clip plays fine on both WMP and Real.

Under VLC:
main debug: demux2_New: access='' demux='' path='C:\Documents and Settings\mfm\Desktop\the_office.mpeg'
main debug: looking for demux2 module
main debug: probing 30 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)
flac warning: flac module discarded (no startcode)
aac warning: AAC module discarded
main debug: looking for id3 module
main debug: probing 2 candidates
id3tag debug: checking for ID3 tag
main debug: using id3 module "id3tag"
main debug: unlocking module "id3tag"
mpga warning: mpga module discarded
mpgv warning: ES module discarded (no startcode)
livedotcom warning: SDP module discarded
mkv warning: matroska module discarded (invalid header 0x0a89ed7a)
ogg warning: ogg module discarded (invalid header)
aiff warning: AIFF module discarded
au warning: AU module discarded
mod warning: MOD module discarded (extention 'mpeg' unknown)
nsv warning: NSV module discarded
playlist warning: old import module discarded: invalid file
playlist warning: pls import module discarded
pva warning: PVA module discarded
ts warning: TS module discarded
ps warning: this does not look like an MPEG PS stream, continuing anyway
main debug: using demux2 module "ps"
main debug: looking for a subtitle file in C:\Documents and Settings\mfm\Desktop\
main debug: `C:\Documents and Settings\mfm\Desktop\the_office.mpeg' sucessfully opened
ps warning: garbage at input
ps warning: garbage at input
ps warning: garbage at input
ps warning: garbage at input
ps warning: garbage at input
ps warning: garbage at input
ps warning: garbage at input
ps warning: garbage at input
ps warning: garbage at input

The "garbage at input" until it hits a message queue overflow, then stops.

WinXP, SP2 -- other mpg videos are playing fine.

Posted: 29 Aug 2004 12:27
by Gibalou
I had a look, this file is an MPEG video elementary stream.
VLC can play it fine if you force the mpgv demuxer (vlc /mpgv:the_office.mpg).
However the autodetection of MPEG video ES is very tricky and it is very prone to misdetection (ie. misdetect another type of video for MPEG video ES), so our detection code is very conservative. Maybe this could be improved but I'm not really sure how.

Posted: 29 Aug 2004 13:43
by markfm
Thanks -- not harmful, just curious that others could handle it.
Is the TS method equally hard to detect? If not, perhaps have ES pop out as the default selection after checking for PS then TS.