• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

1stplugins

FileMaker plug-ins and Reverse Engineering

  • Plugins
    • MediaManager
  • Services
    • Reverse Engineering
    • FileMaker Plug-Ins
  • About
    • About Us
    • Contact Us
    • Terms of Use of the Website and Privacy Policy
  • Store
    • Terms and Conditions
    • Warranty Claim Guidelines
    • Contract Withdrawal Form
    • Warranty Claim Report

Media_GetVideoInfo

Media_GetVideoInfo ( container )

Media_GetVideoInfo gives you detailed information about video files that have been “inserted as QuickTime.” Information returned includes format, duration, video dimensions, frame rate, audio sample rate, etc.

Parameter Description
container

Location of the video file.

To pick out specific pieces of information, use the Media_ExtractInfo function.

Because the information returned by this function is hierarchical and indented, it can be helpful to display the returned information with a font that uses equal character spacing, such as Courier.

Returns

The result is a hierarchical list of metadata values associated with the video and audio tracks in the video file, such as:

Movie
Location: /Users/username/directory/samplevideo.mp4
Size (KB): 0.0
Duration (s): 000:21:00.010
Video
Width (pt): 720
Height (pt): 404
Depth (bits): 24
Sample Format: 61766331
Sample Format Description:
Static Frame Rate: 29.97
Data Rate (kbps): 0.00
Audio
Sample Format: 6D703461
Sample Format Description: MPEG-4 Audio
Compression Type: Variable compression
Sample Rate (Hz): 48000
Sample Size (b): 16
Channels: 2
Channel Layout: a standard stereo stream left, right
Bit Rate (kbps): 128.00

Examples

To place all of the video info in a field named “Video Metadata”:

Set Field [ MyTable::Video Metadata ;
Media_GetVideoInfo (MyTable::Container) ]

To put the video width and height values into separate fields:

Set Field [ MyTable::Width ;
Media_ExtractInfo (
Media_GetVideoInfo (MyTable::Container) ;
"Media/Video/Height"
) ]

Set Field [ MyTable::Height ;
Media_ExtractInfo (
Media_GetVideInfo (MyTable::Container) ;
"Media/Video/Height"
) ]

To isolate the frame rate:

Set Field [ MyTable::Frame Rate ;
Media_ExtractInfo (
Media_GetVideoInfo (MyTable::Container) ;
"Movie/Video/Static Frame Rate"
) ]

Primary Sidebar

Document Functions

Media_CopyItem
Media_CreateAlias
Media_CreateFolder
Media_DeleteItem
Media_ExportField
Media_ExtractInfo
Media_GetDefaultFolder
Media_GetItemInfo
Media_GetName
Media_GetPath
Media_InsertFile
Media_ListDisks
Media_ListFolder
Media_MoveItem
Media_OpenItem
Media_RenameItem
Media_Search
Media_SetDefaultFolder

General and Registration Functions

Media_Get
Media_GetLastError
Media_GetMouseUp
Media_JSONPath
Media_PeekStream
Media_Register
Media_RegisterLicensedEncoder
Media_Set
Media_Version

Image Functions

Media_ConvertImage
Media_CreateQRCode
Media_EffectApply
Media_EffectDialog
Media_GetImageInfo
Media_GetMetadata
Media_InsertImage
Media_ListImageOutputTypes
Media_SetImageDefaults Media_TApply
Media_TClear
Media_TCrop
Media_TQuad
Media_TResize
Media_TRotate
Media_TScale
Media_TSkew

Script Steps

Copy Item
Create Alias
Create Folder
Delete Item
Export Field
Get Default Folder
Get Item Property
Move Item
Open Item
Rename Item
Set Default Folder

Sound Functions

Media_Amplify
Media_AppendSound
Media_ConvertSound
Media_CreateSound
Media_DrawWaveform
Media_ExtractSound
Media_FadeSound
Media_GetMetadata
Media_GetSoundInfo
Media_InsertQuickTime
Media_ListSoundOutputFormats
Media_MixSounds
Media_Normalize
Media_PlayPause
Media_PlaySound
Media_RecordSoundFormatDialog
Media_RecordSoundStart
Media_RecordSoundPause
Media_RecordSoundStop
Media_SetMetadata
Media_SoundFormatDialog
Media_StopSound

Video Functions

Media_GetVideoInfo

Footer

Let’s get started on your project.

Get in touch

  • Plugins
  • Services
  • About
  • Store

Copyright ©2006-2020 by 1stplugins, s.r.o. All rights reserved.