vcd-info: PSD
3.6 Program Segment Descriptors (PSD) Section
=============================================
Here is part of sample output from the test PAL SVCD that can be found
from:
<http://www.vcdimager.org/pub/vcdimager/examples/test_svcd/test_svcd_pal.zip>
SVCD/PSD.SVD
PSD[00] (LID[1] @0x0000): play list descriptor
NOI: 2 | LID#: 1 (rejected: no)
prev: disabled | next: LID[2] @0x0003 | return: disabled
playtime: 0/15s | wait: 0s | autowait: 0s
play-item[0]: SEGMENT[8] (0x03ef)
play-item[1]: SEGMENT[7] (0x03ee)
The first line SVCD/PSD.SVD again is the file entry that we are
reading. Since the CD image is in the SVCD format have that particular
name. If the CD image were in VCD 1.1 or VCD 2.0 format the line would
read VCD/PSD.VCD.
Above NOI shows that there are two play-item entries, the individual
entries are given below. We also see that this item is not "rejected"
and thus could be accessed directly from a player.
The corresponding XML text for the above output is:
<playlist id="playlist-01">
<next ref="playlist-02"/>
<wait>0</wait>
<autowait>0</autowait>
<play-item ref="segment-0007"/>
<play-item ref="segment-0006"/>
</playlist>
Some of the tag names like "play-item," "wait, and "autowait" given
above match what are in the XML description. Although, you won't find
"next," "prev" or "return" listed, the tag names are also the same. In
the XML you are free to omit values and you will get default values put
in; in 'vcd-info' you see what has been filled in.
Below is another excerpt from that file.
PSD[03] (LID[4] @0x0007): selection list descriptor
Flags: 0x01 | NOS: 9 | BSN: 1 | LID: 4 (rejected: yes)
prev: disabled | next: disabled | return: disabled
default: LID[12] @0x0029 | timeout: LID[2] @0x0003
wait: 10 secs | loop: 1 (delayed: no)
play-item: SEGMENT[1] (0x03e8)
ofs[0]: LID[6] @0x0015
ofs[1]: LID[7] @0x0017
ofs[2]: LID[8] @0x0019
ofs[3]: LID[9] @0x001b
ofs[4]: LID[11] @0x0026
ofs[5]: LID[10] @0x001d
ofs[6]: LID[13] @0x002b
ofs[7]: disabled
ofs[8]: LID[14] @0x002e
prev_area: disabled | next_area: disabled
retn_area: disabled | default_area: disabled
area[0]: disabled
area[1]: disabled
area[2]: disabled
area[3]: disabled
area[4]: disabled
area[5]: disabled
area[6]: disabled
area[7]: disabled
area[8]: disabled
The XML excerpt that corresponds to this part is this:
<selection id="selection-01" rejected="true">
<bsn>1</bsn>
<default ref="playlist-10" x1="0" y1="0" x2="0" y2="0"/>
<timeout ref="playlist-02"/>
<wait>10</wait>
<loop jump-timing="immediate">1</loop>
<play-item ref="segment-0000"/>
<select ref="playlist-05" x1="0" y1="0" x2="0" y2="0"/>
<select ref="playlist-06" x1="0" y1="0" x2="0" y2="0"/>
<select ref="playlist-07" x1="0" y1="0" x2="0" y2="0"/>
<select ref="playlist-08" x1="0" y1="0" x2="0" y2="0"/>
<select ref="playlist-09" x1="0" y1="0" x2="0" y2="0"/>
<select ref="selection-02" x1="0" y1="0" x2="0" y2="0"/>
<select ref="playlist-11" x1="0" y1="0" x2="0" y2="0"/>
<select/>
<select ref="playlist-12" x1="0" y1="0" x2="0" y2="0"/>
</selection>