Kaydet (Commit) 9f42f4fe authored tarafından Guido van Rossum's avatar Guido van Rossum

Added single frame capturing.

Added VCR synchronized capturing.
Added audio capturing (for continuous mode only).
Lots of internal and external improvements.
üst 71ba5d96
This diff is collapsed.
......@@ -7,14 +7,14 @@ Number of forms: 1
=============== FORM ===============
Name: form
Width: 350.000000
Width: 450.000000
Height: 240.000000
Number of Objects: 23
Number of Objects: 33
--------------------
class: 1
type: 1
box: 0.000000 0.000000 350.000000 240.000000
box: 0.000000 0.000000 450.000000 240.000000
boxtype: 1
colors: 47 47
alignment: 4
......@@ -26,28 +26,133 @@ name:
callback:
argument:
--------------------
class: 11
type: 5
box: 330.000000 170.000000 110.000015 60.000004
boxtype: 1
colors: 47 47
alignment: 4
style: 1
size: 11.000000
lcol: 0
label: Capture
name: b_capture
callback: cb_capture
argument: 0
--------------------
class: 11
type: 0
box: 330.000000 10.000000 110.000008 30.000000
boxtype: 1
colors: 47 47
alignment: 4
style: 0
size: 11.000000
lcol: 0
label: Quit
name: b_quit
callback: cb_quit
argument: 0
--------------------
class: 11
type: 0
box: 330.000000 50.000000 110.000000 30.000000
boxtype: 1
colors: 47 47
alignment: 4
style: 0
size: 11.000000
lcol: 0
label: Playback
name: b_play
callback: cb_play
argument: 0
--------------------
class: 42
type: 0
box: 80.000000 200.000000 120.000000 30.000000
boxtype: 5
colors: 7 0
alignment: 2
style: 0
size: 11.000000
lcol: 0
label: Format:
name: c_vformat
callback: cb_vformat
argument: 0
--------------------
class: 11
type: 0
box: 330.000000 90.000000 110.000000 30.000000
boxtype: 1
colors: 47 47
alignment: 4
style: 0
size: 11.000000
lcol: 0
label: Reset
name: b_reset
callback: cb_reset
argument: 0
--------------------
class: 42
type: 0
box: 80.000000 50.000000 120.000000 30.000000
boxtype: 5
colors: 7 0
alignment: 2
style: 0
size: 11.000000
lcol: 0
label: Format:
name: c_aformat
callback: cb_aformat
argument: 0
--------------------
class: 10000
type: 0
box: 0.000000 0.000000 0.000000 0.000000
boxtype: 0
colors: 5487 512
colors: 1668246586 540019308
alignment: 4
style: 0
size: 11.000000
lcol: 0
label:
name: g_burst
name: g_audio
callback:
argument:
--------------------
class: 1
type: 1
box: 140.000000 10.000000 120.000000 120.000000
class: 11
type: 0
box: 10.000000 10.000000 190.000000 30.000000
boxtype: 1
colors: 47 47
alignment: 0
alignment: 4
style: 0
size: 11.000000
lcol: 0
label: Set audio file...
name: b_afile
callback: cb_afile
argument: 0
--------------------
class: 20000
type: 0
box: 0.000000 0.000000 0.000000 0.000000
boxtype: 0
colors: 876099360 892416522
alignment: 4
style: 0
size: 11.000000
lcol: 0
......@@ -57,33 +162,48 @@ callback:
argument:
--------------------
class: 31
type: 1
box: 150.000000 70.000000 100.000000 30.000000
boxtype: 2
colors: 13 5
alignment: 0
class: 10000
type: 0
box: 0.000000 0.000000 0.000000 0.000000
boxtype: 0
colors: 1147496041 1852404841
alignment: 4
style: 0
size: 11.000000
lcol: 0
label: Max Mbytes:
name: in_maxmem
callback: cb_maxmem
label:
name: g_video
callback:
argument:
--------------------
class: 42
type: 0
box: 80.000000 160.000000 120.000000 30.000000
boxtype: 5
colors: 7 0
alignment: 2
style: 0
size: 11.000000
lcol: 0
label: Mode:
name: c_vmode
callback: cb_vmode
argument: 0
--------------------
class: 31
type: 2
box: 150.000000 20.000000 100.000000 30.000000
boxtype: 2
colors: 13 5
alignment: 0
class: 11
type: 0
box: 10.000000 110.000000 190.000000 30.000000
boxtype: 1
colors: 47 47
alignment: 4
style: 0
size: 11.000000
lcol: 0
label: Nr. of fields:
name: in_nframes
callback: cb_nframes
label: Set video file...
name: b_vfile
callback: cb_vfile
argument: 0
--------------------
......@@ -91,7 +211,7 @@ class: 20000
type: 0
box: 0.000000 0.000000 0.000000 0.000000
boxtype: 0
colors: -322390740 -895472437
colors: 544171552 1331849829
alignment: 4
style: 0
size: 11.000000
......@@ -106,110 +226,140 @@ class: 10000
type: 0
box: 0.000000 0.000000 0.000000 0.000000
boxtype: 0
colors: 1147496041 1852404841
colors: 0 0
alignment: 4
style: 0
size: 11.000000
lcol: 0
label:
name: g_main
name: g_single
callback:
argument:
--------------------
class: 1
type: 1
box: 10.000000 10.000000 120.000000 120.000000
boxtype: 1
colors: 47 47
class: 31
type: 2
box: 220.000000 170.000000 100.000000 30.000000
boxtype: 2
colors: 13 5
alignment: 0
style: 0
size: 11.000000
lcol: 0
label: Frames/sec
name: in_fps
callback: cb_fps
argument: 0
--------------------
class: 20000
type: 0
box: 0.000000 0.000000 0.000000 0.000000
boxtype: 0
colors: 0 0
alignment: 4
style: 0
size: 11.000000
lcol: 0
label:
name:
callback:
argument:
--------------------
class: 31
type: 2
box: 50.000000 70.000000 40.000000 30.000000
boxtype: 2
colors: 13 5
alignment: 0
class: 10000
type: 0
box: 0.000000 0.000000 0.000000 0.000000
boxtype: 0
colors: 0 0
alignment: 4
style: 0
size: 11.000000
lcol: 0
label: Capture rate:
name: in_rate
callback: cb_rate
argument: 0
label:
name: g_burst
callback:
argument:
--------------------
class: 12
class: 31
type: 1
box: 140.000000 140.000000 120.000000 30.000000
boxtype: 1
colors: 39 3
alignment: 4
box: 220.000000 170.000000 100.000000 30.000000
boxtype: 2
colors: 13 5
alignment: 0
style: 0
size: 11.000000
lcol: 0
label: Burst mode
name: b_burst
callback: cb_burst
label: Max Mbytes:
name: in_maxmem
callback: cb_maxmem
argument: 0
--------------------
class: 31
type: 0
box: 50.000000 200.000000 209.999985 30.000000
type: 2
box: 220.000000 110.000000 100.000000 30.000000
boxtype: 2
colors: 13 5
alignment: 2
alignment: 0
style: 0
size: 11.000000
lcol: 0
label: File:
name: in_file
callback: cb_file
label: Nr. of frames:
name: in_nframes
callback: cb_nframes
argument: 0
--------------------
class: 11
class: 20000
type: 0
box: 270.000000 200.000000 70.000000 30.000000
boxtype: 1
colors: 47 47
box: 0.000000 0.000000 0.000000 0.000000
boxtype: 0
colors: 0 0
alignment: 4
style: 0
size: 11.000000
lcol: 0
label: Open...
name: b_open
callback: cb_open
argument: 0
label:
name:
callback:
argument:
--------------------
class: 11
class: 10000
type: 0
box: 270.000000 140.000000 70.000015 30.000002
boxtype: 1
colors: 47 47
box: 0.000000 0.000000 0.000000 0.000000
boxtype: 0
colors: 0 0
alignment: 4
style: 1
style: 0
size: 11.000000
lcol: 0
label: Capture
name: b_capture
callback: cb_capture
label:
name: g_cont
callback:
argument:
--------------------
class: 31
type: 2
box: 250.000000 170.000000 40.000000 30.000000
boxtype: 2
colors: 13 5
alignment: 0
style: 0
size: 11.000000
lcol: 0
label: Capture rate:
name: in_rate
callback: cb_rate
argument: 0
--------------------
class: 2
type: 0
box: 20.000000 70.000000 30.000000 30.000000
box: 220.000000 170.000000 30.000000 30.000000
boxtype: 0
colors: 47 47
alignment: 2
......@@ -224,7 +374,7 @@ argument:
--------------------
class: 2
type: 0
box: 90.000000 70.000000 30.000000 30.000000
box: 290.000000 170.000000 30.000000 30.000000
boxtype: 0
colors: 47 47
alignment: 2
......@@ -237,76 +387,61 @@ callback:
argument:
--------------------
class: 11
class: 13
type: 0
box: 270.000000 10.000000 70.000008 30.000000
boxtype: 1
colors: 47 47
box: 220.000000 110.000000 100.000000 30.000000
boxtype: 0
colors: 7 3
alignment: 4
style: 0
size: 11.000000
lcol: 0
label: Quit
name: b_quit
callback: cb_quit
label: Fielddrop
name: b_drop
callback: cb_drop
argument: 0
--------------------
class: 11
class: 20000
type: 0
box: 270.000000 60.000000 70.000000 30.000000
boxtype: 1
colors: 47 47
box: 0.000000 0.000000 0.000000 0.000000
boxtype: 0
colors: 0 0
alignment: 4
style: 0
size: 11.000000
lcol: 0
label: Play
name: b_play
callback: cb_play
argument: 0
label:
name:
callback:
argument:
--------------------
class: 42
class: 2
type: 0
box: 10.000000 140.000000 120.000000 30.000000
boxtype: 5
colors: 7 0
alignment: 0
style: 0
size: 11.000000
lcol: 0
label: Video format:
name: c_format
callback: cb_format
argument: 0
--------------------
class: 12
type: 1
box: 20.000000 20.000000 100.000000 30.000000
boxtype: 1
colors: 39 3
alignment: 4
box: 390.000000 130.000000 50.000000 30.000002
boxtype: 2
colors: 47 47
alignment: 2
style: 0
size: 11.000000
lcol: 0
label: Fielddrop
name: b_drop
callback: cb_drop
argument: 0
label:
name: t_nframes
callback:
argument:
--------------------
class: 20000
class: 2
type: 0
box: 0.000000 0.000000 0.000000 0.000000
box: 320.000000 130.000000 60.000000 30.000000
boxtype: 0
colors: 544171552 1331849829
alignment: 4
colors: 47 47
alignment: 2
style: 0
size: 11.000000
lcol: 0
label:
label: Frames:
name:
callback:
argument:
......@@ -316,29 +451,44 @@ class: 10000
type: 0
box: 0.000000 0.000000 0.000000 0.000000
boxtype: 0
colors: 1147496041 1852404841
colors: 0 0
alignment: 4
style: 0
size: 11.000000
lcol: 0
label:
name: g_stop
name: g_vcr
callback:
argument:
--------------------
class: 11
type: 0
box: 270.000000 140.000000 70.000000 30.000000
boxtype: 1
colors: 47 47
alignment: 4
class: 31
type: 2
box: 220.000000 110.000000 100.000000 30.000000
boxtype: 2
colors: 13 5
alignment: 0
style: 0
size: 11.000000
lcol: 0
label: Nr. of frames:
name: in_nframes_vcr
callback: cb_nframes_vcr
argument: 0
--------------------
class: 31
type: 1
box: 220.000000 170.000000 100.000000 30.000000
boxtype: 2
colors: 13 5
alignment: 0
style: 0
size: 11.000000
lcol: 0
label: Stop
name: b_stop
callback: cb_stop
label: Delay:
name: in_sleeptime
callback: cb_sleeptime
argument: 0
--------------------
......@@ -346,7 +496,7 @@ class: 20000
type: 0
box: 0.000000 0.000000 0.000000 0.000000
boxtype: 0
colors: 544171552 1331849829
colors: 0 0
alignment: 4
style: 0
size: 11.000000
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment