使用模板使用SDK对文件进行编码

编程入门 行业动态 更新时间:2024-10-18 06:01:03
本文介绍了使用模板使用SDK对文件进行编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个xml文件,我想在编码文件时用作比特率模板等。我找不到任何关于实际使用它的信息。创建新作业后,如何应用模板?我是否将该文件包含在项目中,或者将其放在服务器上并将其指向该位置?感谢任何帮助。

I have an xml file I want to use as a template for bit rate etc when I encode files.  I can't find any information about actually using it though.  How do I apply the template once I've created the new job?  Do I include the file in the project, or place it on the server and just point it to the location?  Any help is appreciated.

推荐答案

xml文件是指您可以使用Encoder创建的预设xml文件之一。如果是这样,Job类上有一个ApplyPreset方法,MediaItem类上有一个方法。您可以调用它并将文件名传递给预设的xml文件。希望有所帮助。问候Dean。 By xml file do you mean one of the preset xml files that you can create with Encoder. If so there is an ApplyPreset method on the Job class and one on the MediaItem class. You can call that and pass the filename to your preset xml file.Hope that helps.RegardsDean.

更多推荐

使用模板使用SDK对文件进行编码

本文发布于:2023-11-24 02:10:30,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1623583.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:模板   文件   SDK

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!