[MPlayer-cygwin] DVD startup mingw vs cygwin

Gianluigi Tiesi mplayer at netfarm.it
Sat Jan 29 09:15:14 CET 2005


I've made some tests, I think the slow startup on mingw
is not related to seek and open file, I've tried
also using native CreateFile and SetFilePointer functions, but
something is different, here both logs on similar configurated builds:

mingw:
Reading disc structure, please wait...
There are 3 titles on this DVD.
There are 15 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (5.1/6.1) language: en aid: 128
[open] audio stream: 1 audio format: ac3 (unknown) language: fr aid: 129
[open] audio stream: 2 audio format: ac3 (unknown) language: it aid: 130
[open] number of audio channels on disk: 3.
[open] subtitle ( sid ): 0 language: nl
[open] subtitle ( sid ): 1 language: en
[open] subtitle ( sid ): 2 language: fr
[open] subtitle ( sid ): 3 language: el
[open] subtitle ( sid ): 4 language: it
[open] number of subtitles on disk: 5
DVD start cell: 0  pack: 0x0-0x3284A
DVD start=0 end=2877801  
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x3284A  
Angle-seek synced by cell/vob IDN search!  
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for Nullsoft Streaming Video
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename dvd://1 ext: (null)
Checking for MOV
Checking for VIVO
header block 1 size: 0
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x3284A  
Angle-seek synced by cell/vob IDN search!  
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 72650, FOUND 0, packet_size= 71, SEEMS A TS? 0
DVD Seek! lba=0x23  cell=0  packs: 0x0-0x3284A  
Angle-seek synced by cell/vob IDN search!  
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x3284A  
Angle-seek synced by cell/vob IDN search!  
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851708
LMLM4 Stream Format not found
system stream synced at 0xD (13)!
==> Found video stream: 0
dvd_next_cell: next1=0x0  
dvd_next_cell: next2=0x0  
dvd_next_cell: next3=0x1  
DVD Seek! lba=0x5F43A  cell=1  packs: 0x3284B-0x78DE3  
Angle-seek synced by cell/vob IDN search!  
==> Found audio stream: 130
==> Found audio stream: 129
==> Found audio stream: 128
dvd_next_cell: next1=0x0  
dvd_next_cell: next2=0x0  
dvd_next_cell: next3=0x1  
dvd_next_cell: next1=0x1  
dvd_next_cell: next2=0x1  
dvd_next_cell: next3=0x2  
dvd_next_cell: next1=0x2  
dvd_next_cell: next2=0x2  
dvd_next_cell: next3=0x3  
DVD Seek! lba=0xBE874  cell=3  packs: 0xA6A44-0xC76E3  
Angle-seek synced by cell/vob IDN search!  
==> Found subtitle: 4
==> Found subtitle: 3
==> Found subtitle: 2
==> Found subtitle: 1
==> Found subtitle: 0

-------------------- VERY LONG PAUSE -------------

--- END OF CELL !!! ---
dvd_next_cell: next1=0x3  
dvd_next_cell: next2=0x3  
dvd_next_cell: next3=0x4  
DVD next cell: 4  pack: 0xC76E4-0xE3953  
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
ds_fill_buffer: EOF reached (stream: video)  
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x3284A  
Angle-seek synced by cell/vob IDN search!  
MPEG-PS file format detected.
Searching for sequence header... OK!

--------------------------------------


cygwin:
Reading disc structure, please wait...
There are 3 titles on this DVD.
There are 15 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (5.1/6.1) language: en aid: 128
[open] audio stream: 1 audio format: ac3 (unknown) language: fr aid: 129
[open] audio stream: 2 audio format: ac3 (unknown) language: it aid: 130
[open] number of audio channels on disk: 3.
[open] subtitle ( sid ): 0 language: nl
[open] subtitle ( sid ): 1 language: en
[open] subtitle ( sid ): 2 language: fr
[open] subtitle ( sid ): 3 language: el
[open] subtitle ( sid ): 4 language: it
[open] number of subtitles on disk: 5
DVD start cell: 0  pack: 0x0-0x3284A  
DVD start=0 end=2877801  
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x3284A  
Angle-seek synced by cell/vob IDN search!  
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for Nullsoft Streaming Video
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename dvd://1 ext: (null)
Checking for MOV
Checking for VIVO
header block 1 size: 0
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x3284A  
Angle-seek synced by cell/vob IDN search!  
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 72650, FOUND 47, packet_size= 0, SEEMS A TS? 0
DVD Seek! lba=0x23  cell=0  packs: 0x0-0x3284A  
Angle-seek synced by cell/vob IDN search!  
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x3284A  
Angle-seek synced by cell/vob IDN search!  
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851708
LMLM4 Stream Format not found
system stream synced at 0xD (0)!
==> Found video stream: 0
dvd_next_cell: next1=0x0  
dvd_next_cell: next2=0x0  
dvd_next_cell: next3=0x1  
dvd_next_cell: next1=0x1  
dvd_next_cell: next2=0x1  
dvd_next_cell: next3=0x2  
dvd_next_cell: next1=0x2  
dvd_next_cell: next2=0x2  
dvd_next_cell: next3=0x3  
dvd_next_cell: next1=0x3  
dvd_next_cell: next2=0x3  
dvd_next_cell: next3=0x4  
dvd_next_cell: next1=0x4  
dvd_next_cell: next2=0x4  
dvd_next_cell: next3=0x5  
dvd_next_cell: next1=0x5  
dvd_next_cell: next2=0x5  
dvd_next_cell: next3=0x6  
dvd_next_cell: next1=0x6  
dvd_next_cell: next2=0x6  
dvd_next_cell: next3=0x7  
dvd_next_cell: next1=0x7  
Gdvd_next_cell: next2=0x7  
dvd_next_cell: next3=0x8  
DVD Seek! lba=0x15F43A  cell=8  packs: 0x150FFD-0x183AE9  
Angle-seek synced by cell/vob IDN search!  
==> Found audio stream: 130
==> Found audio stream: 129
==> Found audio stream: 128
dvd_next_cell: next1=0x0  
dvd_next_cell: next2=0x0  
dvd_next_cell: next3=0x1  
dvd_next_cell: next1=0x1  
dvd_next_cell: next2=0x1  
dvd_next_cell: next3=0x2  
dvd_next_cell: next1=0x2  
dvd_next_cell: next2=0x2  
dvd_next_cell: next3=0x3  
dvd_next_cell: next1=0x3  
dvd_next_cell: next2=0x3  
dvd_next_cell: next3=0x4  
dvd_next_cell: next1=0x4  
dvd_next_cell: next2=0x4  
dvd_next_cell: next3=0x5  
dvd_next_cell: next1=0x5  
dvd_next_cell: next2=0x5  
dvd_next_cell: next3=0x6  
dvd_next_cell: next1=0x6  
dvd_next_cell: next2=0x6  
dvd_next_cell: next3=0x7  
dvd_next_cell: next1=0x7  
dvd_next_cell: next2=0x7  
dvd_next_cell: next3=0x8  
dvd_next_cell: next1=0x8  
dvd_next_cell: next2=0x8  
dvd_next_cell: next3=0x9  
dvd_next_cell: next1=0x9  
dvd_next_cell: next2=0x9  
dvd_next_cell: next3=0xA  
dvd_next_cell: next1=0xA  
dvd_next_cell: next2=0xA  
dvd_next_cell: next3=0xB  
dvd_next_cell: next1=0xB  
dvd_next_cell: next2=0xB  
dvd_next_cell: next3=0xC  
dvd_next_cell: next1=0xC  
dvd_next_cell: next2=0xC  
dvd_next_cell: next3=0xD  
dvd_next_cell: next1=0xD  
dvd_next_cell: next2=0xD  
dvd_next_cell: next3=0xE  
dvd_next_cell: next1=0xE  
dvd_next_cell: next2=0xE  
dvd_next_cell: next3=0xF  
DVD Seek! lba=0x2BE874  cell=15  packs: 0x29A236-0x2BE969  
Angle-seek synced by cell/vob IDN search!  
--- END OF CELL !!! ---
dvd_next_cell: next1=0xF  
dvd_next_cell: next2=0xF  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x3284A  
Angle-seek synced by cell/vob IDN search!  
MPEG-PS file format detected.
Searching for sequence header... OK!

---

Actions are a bit differents, please also note:

on mingw:
...
Checking for MPEG-TS...
TRIED UP TO POSITION 72650, FOUND 0, packet_size= 71, SEEMS A TS? 0

...
system stream synced at 0xD (13)!

on cygwin:
...
Checking for MPEG-TS...
TRIED UP TO POSITION 72650, FOUND 47, packet_size= 0, SEEMS A TS? 0
...
system stream synced at 0xD (0)!

in demux_mpg.c: line 345
mp_msg(MSGT_DEMUX,MSGL_V,"system stream synced at 0x%X (%d)!\n",demux->filepos,demux->filepos);

how cygwin can print out:
system stream synced at 0xD (0)!

demux->filepos is changing while mplayer is printing the message?


I'm still investigating... someone has ideas?

Regards

-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/




More information about the MPlayer-cygwin mailing list