和顺 / 影核 返回所属 Agent
YH-10.02

文件一致性

原能力

核对导出稿、引用素材及时间线的版本,标记缺件和引用过期。(细化版 p.12–13)

首选项目

Git LFS(MIT(部分 Go 代码 BSD-3-Clause))。 Git LFS

匹配范围

Git LFS 对象与 ffprobe 属性辅助核对版本和格式。

源码

Git LFS · func DecodePointer(

lfs/pointer.go · 118–131 行。 在 GitHub 查看源码 · 许可证与声明

源码片段
func DecodePointer(reader io.Reader) (*Pointer, error) {
	p, _, err := DecodeFrom(reader)
	return p, err
}

// DecodeFrom decodes an *lfs.Pointer from the given io.Reader, "reader".
// If the pointer encoded in the reader could successfully be read and decoded,
// it will be returned with a nil error.
//
// If the pointer could not be decoded, an io.Reader containing the entire
// blob's data will be returned, along with a parse error.
func DecodeFrom(reader io.Reader) (*Pointer, io.Reader, error) {
	buf := make([]byte, BlobSizeCutoff)
	n, err := reader.Read(buf)

FFmpeg · static int show_stream(

fftools/ffprobe.c · 1984–1997 行。 在 GitHub 查看源码 · 许可证与声明

源码片段
static int show_stream(AVTextFormatContext *tfc, AVFormatContext *fmt_ctx, int stream_idx, InputStream *ist, int container)
{
    AVStream *stream = ist->st;
    AVCodecParameters *par;
    AVCodecContext *dec_ctx;
    char val_str[128];
    const char *s;
    AVRational sar, dar;
    AVBPrint pbuf;
    const AVCodecDescriptor *cd;
    const SectionID section_header[] = {
        SECTION_ID_STREAM,
        SECTION_ID_PROGRAM_STREAM,
        SECTION_ID_STREAM_GROUP_STREAM,
  • * Copyright (c) 2007-2010 Stefano Sabatini

实现与验收要点

跨导出包的内容清单、过期引用及审核要求。