3parts.sgml

来自「可用该程序将avi的电影文件转化为TS流」· SGML 代码 · 共 71 行

SGML
71
字号
<chapter><title>Parts of vls in more details</title>Here is the global VLS framework :<mediaobject>  <imageobject>    <imagedata fileref="stream_send.eps" format="EPS" scalefit="1" scale="90">  </imageobject>  <imageobject>    <imagedata fileref="stream_send.jpg" format="JPG">  </imageobject>  <textobject>    <phrase>Sequence diagram</phrase>  </textobject></mediaobject>We can isolate 3 major parts :<variablelist>the "source" thread (Reader+Converter)which takes the data from the media and format them into TS packets.</variablelist><sect1><title>The </title><para>Here is a simplified sequence diagram to show what happens when a "start"command is sent through the telnet interface:<mediaobject>  <imageobject>    <imagedata fileref="stream_start.eps" format="EPS" scalefit="1" scale="90">  </imageobject>  <imageobject>    <imagedata fileref="stream_start.jpg" format="JPG">  </imageobject>  <textobject>    <phrase>Sequence diagram</phrase>  </textobject></mediaobject></para></sect1><sect1><title>How is a TS packet sent ?</title><para><mediaobject>  <imageobject>    <imagedata fileref="stream_send.eps" format="EPS" scalefit="1" scale="90">  </imageobject>  <imageobject>    <imagedata fileref="stream_send.jpg" format="JPG">  </imageobject>  <textobject>    <phrase>Sequence diagram</phrase>  </textobject></mediaobject>The Packet Handler (C_SyncFifo) is shared between two threads: in one thread the Converter pushes TS packets in the fifo, and in another thread the Streamerpops them.</para></sect1></chapter>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?