java在Azure Blob存储中的文件上运行ffprobe
我正在尝试获取Azure blob存储中的一个文件的元数据
我使用ffprobe就是为了这个目的。虽然它可以工作,但由于ffprobe二进制文件位于本地系统上,文件位于Blob中,所以整个过程太慢
为远程文件获取元数据的最佳方法是什么
你可以在下面搜索框中键入要查询的问题!
我正在尝试获取Azure blob存储中的一个文件的元数据
我使用ffprobe就是为了这个目的。虽然它可以工作,但由于ffprobe二进制文件位于本地系统上,文件位于Blob中,所以整个过程太慢
为远程文件获取元数据的最佳方法是什么
# 1 楼答案
有两种方法供您参考:
一,。使用blob.downloadAttributes(),然后使用
blob.getMetadata()
二,。使用get-metadata-activity in ADF
获取文件的元数据: