查找media.OutputFileCollection中文件集合的输出比特率的详细信息 [英] Finding the details of the output bitrate for a collection of files in the media.OutputFileCollection

查看:76
本文介绍了查找media.OutputFileCollection中文件集合的输出比特率的详细信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在Expression Encoder中设置了一个预设,用于代码。此预设会导致以各种分辨率和比特率写出3个MP4文件。这将构成更大代码库的一部分,完成内容提取的所有工作流程。我遇到的问题是,当我将Preset应用于 正如预期的那样,Job和MediaItem创建了一个可从mediaItem OutputFiles属性访问的OutputFileCollection。但是,我无法从集合中的每个OutputFile确定它的比特率和分辨率。我需要这些信息以确保我们维护的数据库具有正确的文件信息..


 


我是如何获得这些数据的?


谢谢


 


Neil

解决方案

我没有尝试从OutputFileCollection中获取它,但是如果其他一切都失败了,你不应该能够在outputfilecollection中对文件初始化并以这种方式获取数据吗? />

Hi,

I have setup a preset in Expression Encoder to use from code. This preset causes 3 MP4 files to be written out with various resolutions and bitrates. This will form part of a larger codebase that completes all the workflow for content ingestion. The issue I have is that when I apply the Preset to  the Job and MediaItem created, as expected I get a OutputFileCollection accessible from the mediaItem OutputFiles property. However, I am unable to determine from each OutputFile in the collection, which bitrate and resolution it is. I need this information to ensure the database we maintain has the correct file information..

 

Any ideas how I can get this data?

Thanks

 

Neil

解决方案

I haven't tried getting it from the OutputFileCollection, but if everything else fails, shouldn't you be able to initalize a mediaitem on the files in the outputfilecollection and get the data this way?


这篇关于查找media.OutputFileCollection中文件集合的输出比特率的详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆