196 lines
4.7 KiB
Plaintext
196 lines
4.7 KiB
Plaintext
object fmain: Tfmain
|
|
Left = 369
|
|
Top = 233
|
|
Caption = 'Media Foundation URL Capture Demo - www.imageen.com'
|
|
ClientHeight = 598
|
|
ClientWidth = 954
|
|
Color = clBtnFace
|
|
Font.Charset = DEFAULT_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -11
|
|
Font.Name = 'Tahoma'
|
|
Font.Style = []
|
|
OldCreateOrder = True
|
|
Position = poScreenCenter
|
|
PixelsPerInch = 96
|
|
TextHeight = 13
|
|
object ImageEnView1: TImageEnView
|
|
Left = 0
|
|
Top = 0
|
|
Width = 707
|
|
Height = 598
|
|
Background = clBtnFace
|
|
MouseInteract = [miMoveLayers, miResizeLayers]
|
|
OnMediaFoundationNotify = ImageEnView1MediaFoundationNotify
|
|
EnableInteractionHints = True
|
|
Align = alClient
|
|
TabOrder = 0
|
|
end
|
|
object Panel1: TPanel
|
|
Left = 707
|
|
Top = 0
|
|
Width = 247
|
|
Height = 598
|
|
Align = alRight
|
|
BevelOuter = bvNone
|
|
TabOrder = 1
|
|
object GroupBox1: TGroupBox
|
|
Left = 7
|
|
Top = 8
|
|
Width = 234
|
|
Height = 353
|
|
Caption = ' Source '
|
|
TabOrder = 0
|
|
object Label1: TLabel
|
|
Left = 9
|
|
Top = 157
|
|
Width = 52
|
|
Height = 13
|
|
Caption = 'Input URL:'
|
|
end
|
|
object SpeedButton1: TSpeedButton
|
|
Left = 8
|
|
Top = 211
|
|
Width = 217
|
|
Height = 29
|
|
AllowAllUp = True
|
|
GroupIndex = 1
|
|
Caption = 'Capture'
|
|
OnClick = SpeedButton1Click
|
|
end
|
|
object Label7: TLabel
|
|
Left = 16
|
|
Top = 304
|
|
Width = 41
|
|
Height = 13
|
|
Caption = 'Position:'
|
|
end
|
|
object Label5: TLabel
|
|
Left = 8
|
|
Top = 19
|
|
Width = 75
|
|
Height = 13
|
|
Caption = 'Select a Trailer:'
|
|
end
|
|
object Label8: TLabel
|
|
Left = 25
|
|
Top = 267
|
|
Width = 170
|
|
Height = 26
|
|
Caption = 'Note: May be out of sync. This is a grabber not a media-player!'
|
|
WordWrap = True
|
|
end
|
|
object EditInputFile: TEdit
|
|
Left = 8
|
|
Top = 173
|
|
Width = 183
|
|
Height = 21
|
|
TabOrder = 1
|
|
end
|
|
object ButtonOpenDialog: TButton
|
|
Left = 197
|
|
Top = 172
|
|
Width = 28
|
|
Height = 21
|
|
Caption = '...'
|
|
TabOrder = 2
|
|
OnClick = ButtonOpenDialogClick
|
|
end
|
|
object ScrollBarPosition: TScrollBar
|
|
Left = 16
|
|
Top = 322
|
|
Width = 209
|
|
Height = 17
|
|
Max = 1000
|
|
PageSize = 0
|
|
TabOrder = 4
|
|
OnChange = ScrollBarPositionChange
|
|
end
|
|
object ListBoxTrailers: TListBox
|
|
Left = 8
|
|
Top = 35
|
|
Width = 217
|
|
Height = 113
|
|
ItemHeight = 13
|
|
Items.Strings = (
|
|
|
|
'Gravity (2K) ' +
|
|
' http://videos.hd-trailers.net/' +
|
|
'GRAVITY_TRAILER_5-2K-HDTN.mp4'
|
|
|
|
'Beauty and the Beast (1080p) ' +
|
|
' http://movietrailers.apple.com' +
|
|
'/movies/disney/beautyandthebeast2016/beautyandthebeast-tlr1_h108' +
|
|
'0p.mov'
|
|
|
|
'Logan ' +
|
|
' http://trailers.apple.com/movi' +
|
|
'es/independent/logan/logan-tlr1_h1080p.mov '
|
|
|
|
'Justice League ' +
|
|
' http://nz.assets.flicks.co.nz/' +
|
|
'trailers/9c/9ca944c9ed5395f277c6661b70d4b504.mp4')
|
|
TabOrder = 0
|
|
OnClick = ListBoxTrailersClick
|
|
end
|
|
object CheckBoxRenderAudio: TCheckBox
|
|
Left = 9
|
|
Top = 250
|
|
Width = 199
|
|
Height = 17
|
|
Caption = 'Render Audio'
|
|
TabOrder = 3
|
|
end
|
|
end
|
|
object GroupBox2: TGroupBox
|
|
Left = 7
|
|
Top = 364
|
|
Width = 226
|
|
Height = 61
|
|
Caption = ' Display '
|
|
TabOrder = 1
|
|
object Label2: TLabel
|
|
Left = 8
|
|
Top = 22
|
|
Width = 26
|
|
Height = 13
|
|
Caption = 'Zoom'
|
|
end
|
|
object TrackBar1: TTrackBar
|
|
Left = 40
|
|
Top = 19
|
|
Width = 177
|
|
Height = 37
|
|
Max = 400
|
|
Min = 10
|
|
Frequency = 10
|
|
Position = 100
|
|
TabOrder = 0
|
|
OnChange = TrackBar1Change
|
|
end
|
|
end
|
|
object Button5: TButton
|
|
Left = 8
|
|
Top = 496
|
|
Width = 88
|
|
Height = 25
|
|
Caption = 'Save Image'
|
|
TabOrder = 3
|
|
OnClick = Button5Click
|
|
end
|
|
object ListBox1: TListBox
|
|
Left = 8
|
|
Top = 432
|
|
Width = 225
|
|
Height = 55
|
|
ItemHeight = 13
|
|
ScrollWidth = 1000
|
|
TabOrder = 2
|
|
end
|
|
end
|
|
object OpenDialog1: TOpenDialog
|
|
Left = 935
|
|
Top = 8
|
|
end
|
|
end
|