4D implementation of the MediaInfo program.
info:=MediaInfo (data;type)
Parameter | Type | Description |
---|---|---|
data | BLOB | classic C_BLOB , not 4D.Blob object |
type | LONGINT | MediaInfo Inform XML , MediaInfo Inform CSV , MediaInfo Inform HTML , MediaInfo Inform JSON |
info | TEXT |
info:=MediaInfoFile (path;type)
Parameter | Type | Description |
---|---|---|
path | TEXT | |
type | LONGINT | MediaInfo Inform XML , MediaInfo Inform CSV , MediaInfo Inform HTML , MediaInfo Inform JSON |
info | TEXT |
$path:=Get 4D folder(Current resources folder)+"sample.mp3"
DOCUMENT TO BLOB($path;$data)
$info:=MediaInfo ($data;MediaInfo Inform XML)
$info:=MediaInfo ($data;MediaInfo Inform CSV)
$info:=MediaInfo ($data;MediaInfo Inform HTML)
$info:=MediaInfo ($data;MediaInfo Inform JSON)
Note: 2.2.0
added More formats. see constants.xlf