RecklessSergio
RecklessSergio

Reputation: 836

MediaInfo DLL for files in remote server

MediaInfo DLL is working as expected for local files. Is there any way to get info for files hosted in my storage similar to the way ffmpeg works?

If we give url to ffmpeg as input, it gets the info. Similarly, can we get the MediaInfo DLL for remote urls?

I am using http protocol

Upvotes: 2

Views: 1840

Answers (1)

Just use the URL as input

mediainfo https://example.com/example.mp4

Works (same for the DLL and MediaInfo::Open()).

On e.g. Windows, don't forget to put libcurl.dll (with the right arch), used by MediaInfo for HTTP/FTP/... access, beside MediaInfo.dll. this additional DLL is available on the MediaInfo Windows download page in the CLI packages if you want to quickly find it.
Linux and Mac builds are usually compiled to use the system libcurl version.

You can also classically use SAMBA access with "\\example\example.mkv" or map a letter to your URL (you didn't say which protocol you want to use, so we have to guess...)

Jérôme, Developer of MediaInfo

Upvotes: 2

Related Questions