制作交付
原能力
按用途打包分镜、镜头清单、素材引用、版权状态与制作交接说明。(细化版 p.12–13)
首选项目
OpenTimelineIO(Apache-2.0,见附加说明)。 OpenTimelineIO
匹配范围
导出时间线和文档交接包。
源码
OpenTimelineIO · def write_to_file(
src/py-opentimelineio/opentimelineio/adapters/__init__.py · 177–190 行。 在 GitHub 查看源码 · 许可证与声明
源码片段
def write_to_file(
input_otio,
filepath,
adapter_name=None,
**adapter_argument_map
):
"""Write input_otio to filepath using adapter_name.
If adapter_name is None, infer the adapter_name to use based on the
filepath.
.. code-block:: python
:caption: Example
- # SPDX-License-Identifier: Apache-2.0
- # Copyright Contributors to the OpenTimelineIO project
Pandoc · optToOutputSettings scriptingEngine opts = do
src/Text/Pandoc/App/OutputSettings.hs · 66–79 行。 在 GitHub 查看源码 · 许可证与声明
源码片段
optToOutputSettings scriptingEngine opts = do
let outputFile = fromMaybe "-" (optOutputFile opts)
when (optDumpArgs opts) . liftIO $ do
UTF8.hPutStrLn stdout (T.pack outputFile)
mapM_ (UTF8.hPutStrLn stdout . T.pack) (fromMaybe [] $ optInputFiles opts)
exitSuccess
epubMetadata <- traverse readUtf8File $ optEpubMetadata opts
let pdfOutput = map toLower (takeExtension outputFile) == ".pdf" ||
optTo opts == Just "pdf"
let defaultOutput = "html"
defaultOutputFlavor <- parseFlavoredFormat defaultOutput
- Copyright : Copyright (C) 2006-2024 John MacFarlane
实现与验收要点
按接收方要求整理授权、实际素材和制作说明。