Skip to content

miyako/4d-plugin-mediainfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 

Repository files navigation

version platform license downloads

4d-plugin-mediainfo

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

Examples

$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

About

4D implementation of the MediaInfo program.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages