[MPlayer-users] Fails to recognise long mpeg stream, works ok if truncated

Jon Burgess mplayer at jburgess.uklinux.net
Tue Apr 15 20:14:31 CEST 2003


Last night I recorded a part of a TV program using vdr. When I tried to 
play it back with mplayer it failed to recognise the stream. At first I 
thought it was probably my mistake so I tried a stream from a different 
recording and that worked fine. Then I discovered that if I truncate the 
file then mplayer detects and plays it fine, but something about the 
makeup of the stream makes it break if it is too long.

I have placed the first 4Mb of the program on the web at 
http://www.jburgess.uklinux.net/mpg-fail-4m

Playing this file with MPlayer-0.90,today's CVS and with the 
"demux_ts2.patch" and all failed. If however I truncate the file e.g.
# dd if=mpg-fail-4m of=file-2m bs=1k count=2k
Then the file-2m plays OK.

I also ran it through arpi's g2-preview9 and that seemed happy with the 
stream.

I have attached what I think are the interesting bits of the mplayer log 
below:

Opps... PES packet found: 1C1
not layer-3
Opps... PES packet found: 1EA
Opps... elementary video packet found: 124
not layer-3
Opps... elementary video packet found: 100
Opps... elementary video packet found: 101
Opps... elementary video packet found: 102
Opps... elementary video packet found: 103
Opps... elementary video packet found: 104
Opps... elementary video packet found: 105
Opps... elementary video packet found: 106
Opps... PES packet found: 1EA
not layer-3
Opps... elementary video packet found: 107
Opps... elementary video packet found: 108
Opps... elementary video packet found: 109
Opps... elementary video packet found: 10A
Opps... PES packet found: 1C0
not layer-3
Opps... PES packet found: 1EA
Opps... elementary video packet found: 10B
Opps... elementary video packet found: 10C
not layer-3
Opps... elementary video packet found: 10D
not layer-3
Opps... PES packet found: 1EA
Opps... elementary video packet found: 10E
Opps... elementary video packet found: 10F
not layer-3
Opps... elementary video packet found: 110
Opps... elementary video packet found: 111
Opps... elementary video packet found: 112
Opps... PES packet found: 1EA
Opps... elementary video packet found: 113
Opps... elementary video packet found: 114
Opps... elementary video packet found: 115
sync_mpeg_ps: seems to be ES/PES stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 206  p101: 203 p1B6: 0 p12x: 1011 PES: 1998 
MP3: 482
s->pos=0  newpos=0  new_bufpos=0  buflen=0
Checking for DV
DEMUXER: freeing demuxer at 0x8511288
s->pos=23800  newpos=0  new_bufpos=0  buflen=0
head_check failed
not layer-3
head_check failed
==> Found audio stream: 0
head_check failed
DEMUXER: freeing demuxer at 0x8511288
DEMUXER: freeing sh_audio at 0x850c930
Falling back on trying to parse playlist 001.vdr...

MPlayer interrupted by signal 2 in module: handle_playlist

*** uninit(0xC8)

[[[uninit getch2]]]
vo: x11 uninit called but X11 not inited..
max framesize was 0 bytes




More information about the MPlayer-users mailing list