本文介绍了使用模板使用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对文件进行编码
发布评论