Jump to content

How set the language of the library medianfo?

Recommended Posts

Example valid code without language:

#include <Array.au3>

$_InfoArray = _GetInfoArrayByMediaInfodll ( 'd:\autoit\mediainfo\video.mp4' )
_ArrayDisplay ( $_InfoArray )

Func _GetInfoArrayByMediaInfodll ( $_MediaFilePath )
    $_Dll = DllOpen ( "MediaInfo.dll" )
    $_Handle = DllCall ( $_Dll, "ptr", "MediaInfo_New" )
    DllCall ( $_Dll, "int", "MediaInfo_Open", "ptr", $_Handle[0], "wstr", $_MediaFilePath )
    DllCall ( $_Dll, "wstr", "MediaInfo_Option", "ptr", 0, "wstr", "Complete", "wstr", "" )
    $_Inform = DllCall ( $_Dll, "wstr", "MediaInfo_Inform", "ptr", $_Handle[0], "int", 0 )
    DllClose ( $_Dll )
    $_Return = StringSplit ( $_Inform[0], @lf )
    If Not @error Then
        Return $_Return
        Return 0
EndFunc ;==> _GetInfoArrayByMediaInfodll ( )

Example language string:


Oficial info:



Please, how set the language (example string or svc file) of the library mediainfo?

Edited by Krakatoa
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...