📄 frmvideoview.frm
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "Comdlg32.ocx"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Object = "{4C0915E6-F3AD-11D0-901E-0020AF7543C2}#5.0#0"; "fxvid50g.ocx"
Begin VB.Form frmVideoView
Caption = "视频播放与截图"
ClientHeight = 6405
ClientLeft = 165
ClientTop = 450
ClientWidth = 11880
Icon = "frmVideoView.frx":0000
LinkTopic = "Form1"
LockControls = -1 'True
ScaleHeight = 6405
ScaleWidth = 11880
StartUpPosition = 3 '窗口缺省
Begin VB.Frame fraVideo
Height = 4185
Left = 45
TabIndex = 19
Top = -15
Width = 5760
Begin FXVID50GLib.FXVid fxvVideo
Height = 3945
Left = 90
TabIndex = 20
Top = 165
Width = 5595
_Version = 327680
_ExtentX = 9869
_ExtentY = 6959
_StockProps = 64
_StdProps = 10584349
ErrStr = "JAMHAOMAADJOCHAENOONHMCOCLELFODDPPPFJLKMPFKDCK"
ErrCode = 2143058573
ErrInfo = -1025026604
AutoSize = 2
Notify = -1 'True
BorderColor = 192
BInnerColor1 = 192
FXEnabled = -1 'True
BackColor = 0
End
End
Begin VB.Timer tmrVideo
Enabled = 0 'False
Interval = 20
Left = 4995
Top = 60
End
Begin MSComctlLib.StatusBar sbrVideo
Align = 2 'Align Bottom
Height = 300
Left = 0
TabIndex = 7
Top = 6105
Width = 11880
_ExtentX = 20955
_ExtentY = 529
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 4
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
AutoSize = 1
Object.Width = 12753
Text = "尺寸: "
TextSave = "尺寸: "
Key = "Size"
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Text = "放大: 1 倍"
TextSave = "放大: 1 倍"
Key = "Zoom"
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Text = "长度: "
TextSave = "长度: "
Key = "Length"
EndProperty
BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Text = "位置: "
TextSave = "位置: "
Key = "Position"
EndProperty
EndProperty
End
Begin VB.PictureBox picV
Align = 2 'Align Bottom
BorderStyle = 0 'None
Height = 1920
Left = 0
ScaleHeight = 1920
ScaleWidth = 11880
TabIndex = 0
Top = 4185
Width = 11880
Begin VB.Frame fraSound
Height = 1065
Left = 11430
TabIndex = 30
Top = -30
Visible = 0 'False
Width = 1335
Begin VB.CommandButton cmdPlayVideoSound
Caption = "播放配音"
Height = 825
Left = 150
Picture = "frmVideoView.frx":000C
Style = 1 'Graphical
TabIndex = 31
Top = 165
Width = 1050
End
End
Begin VB.Frame Frame1
Height = 1065
Left = 8280
TabIndex = 22
Top = -30
Width = 3075
Begin MSComctlLib.Slider sldZoom
Height = 480
Left = 870
TabIndex = 24
Top = 195
Width = 2085
_ExtentX = 3678
_ExtentY = 847
_Version = 393216
LargeChange = 1
Min = 1
Max = 4
SelStart = 1
Value = 1
End
Begin VB.Label Label4
Caption = "2"
Height = 180
Index = 3
Left = 1605
TabIndex = 29
Top = 705
Width = 135
End
Begin VB.Label Label4
Caption = "3"
Height = 180
Index = 2
Left = 2160
TabIndex = 28
Top = 705
Width = 135
End
Begin VB.Label Label4
Caption = "4"
Height = 180
Index = 1
Left = 2715
TabIndex = 27
Top = 705
Width = 135
End
Begin VB.Label Label4
Caption = "1"
Height = 180
Index = 0
Left = 1035
TabIndex = 26
Top = 690
Width = 135
End
Begin VB.Label lblZoomRate
Alignment = 2 'Center
BackColor = &H00000000&
BorderStyle = 1 'Fixed Single
Caption = "× 1"
ForeColor = &H0000FF00&
Height = 270
Left = 210
TabIndex = 25
Top = 645
Width = 525
End
Begin VB.Label Label2
Caption = "放大:"
Height = 300
Left = 225
TabIndex = 23
Top = 300
Width = 735
End
End
Begin VB.Frame fraCmd
Height = 1065
Left = 30
TabIndex = 11
Top = -30
Width = 4005
Begin VB.CommandButton cmdCapture
Height = 330
Left = 2775
Picture = "frmVideoView.frx":1D06
Style = 1 'Graphical
TabIndex = 18
Top = 600
Width = 900
End
Begin VB.CommandButton cmdFile
Height = 330
Left = 1890
Picture = "frmVideoView.frx":1E50
Style = 1 'Graphical
TabIndex = 12
Top = 600
Width = 870
End
Begin VB.CommandButton cmdStop
Enabled = 0 'False
Height = 330
Left = 2775
Picture = "frmVideoView.frx":1F9A
Style = 1 'Graphical
TabIndex = 15
Top = 255
Width = 900
End
Begin VB.CommandButton cmdNextFrame
Enabled = 0 'False
Height = 330
Left = 990
Picture = "frmVideoView.frx":20E4
Style = 1 'Graphical
TabIndex = 14
Top = 600
Width = 885
End
Begin VB.CommandButton cmdPause
Enabled = 0 'False
Height = 330
Left = 1890
Picture = "frmVideoView.frx":222E
Style = 1 'Graphical
TabIndex = 16
Top = 255
Width = 870
End
Begin VB.CommandButton cmdPreviousFrame
Enabled = 0 'False
Height = 330
Left = 105
Picture = "frmVideoView.frx":2378
Style = 1 'Graphical
TabIndex = 13
Top = 600
Width = 870
End
Begin VB.CommandButton cmdPlay
Enabled = 0 'False
Height = 330
Left = 105
Picture = "frmVideoView.frx":24C2
Style = 1 'Graphical
TabIndex = 17
Top = 255
Width = 1770
End
End
Begin VB.Frame fraSpeed
Height = 1065
Left = 4095
TabIndex = 3
Top = -30
Width = 4110
Begin VB.HScrollBar hscVolumn
Height = 255
Left = 1110
Max = 100
TabIndex = 8
Top = 645
Value = 50
Width = 2175
End
Begin VB.HScrollBar hscSpeed
Height = 255
Left = 1110
Max = 400
TabIndex = 4
Top = 240
Value = 100
Width = 2175
End
Begin VB.Image Image1
Height = 240
Left = 675
Picture = "frmVideoView.frx":260C
Top = 645
Width = 240
End
Begin VB.Label Label6
Caption = "音量:"
Height = 240
Left = 150
TabIndex = 10
Top = 675
Width = 885
End
Begin VB.Label lblvolumn
Alignment = 2 'Center
BackColor = &H00000000&
BorderStyle = 1 'Fixed Single
Caption = "100%"
ForeColor = &H0000FF00&
Height = 255
Left = 3450
TabIndex = 9
Top = 660
Width = 525
End
Begin VB.Label Label1
Caption = "播放速度:"
Height = 240
Left = 150
TabIndex = 6
Top = 285
Width = 885
End
Begin VB.Label lblSpeed
Alignment = 2 'Center
BackColor = &H00000000&
BorderStyle = 1 'Fixed Single
Caption = "100%"
ForeColor = &H0000FF00&
Height = 255
Left = 3450
TabIndex = 5
Top = 255
Width = 525
End
End
Begin VB.Frame fraProgress
Height = 870
Left = 30
TabIndex = 1
Top = 1020
Width = 8190
Begin MSComctlLib.Slider sldVideo
Height = 465
Left = 825
TabIndex = 2
Top = 285
Width = 6405
_ExtentX = 11298
_ExtentY = 820
_Version = 393216
TickStyle = 3
End
Begin VB.Image Image3
Height = 480
Left = 180
Picture = "frmVideoView.frx":2756
Top = 240
Width = 480
End
Begin VB.Label lblProgress
Alignment = 2 'Center
BackColor = &H00000000&
BorderStyle = 1 'Fixed Single
ForeColor = &H0000FF00&
Height = 270
Left = 7290
TabIndex = 21
Top = 360
Width = 765
End
End
End
Begin MSComDlg.CommonDialog cdlOpen
Left = 4500
Top = 30
_ExtentX = 847
_ExtentY = 847
_Version = 393216
DialogTitle = "请选择要打开的视频文件:"
Filter = "视频文件(*.AVI)|*.AVI"
End
Begin MSComDlg.CommonDialog cdlSave
Left = 5910
Top = 75
_ExtentX = 847
_ExtentY = 847
_Version = 393216
DialogTitle = "图形另存为:"
Filter = "图形文件(*.BMP)|*.BMP"
End
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -