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 ...@@ -7,14 +7,14 @@ Number of forms: 1
=============== FORM =============== =============== FORM ===============
Name: form Name: form
Width: 350.000000 Width: 450.000000
Height: 240.000000 Height: 240.000000
Number of Objects: 23 Number of Objects: 33
-------------------- --------------------
class: 1 class: 1
type: 1 type: 1
box: 0.000000 0.000000 350.000000 240.000000 box: 0.000000 0.000000 450.000000 240.000000
boxtype: 1 boxtype: 1
colors: 47 47 colors: 47 47
alignment: 4 alignment: 4
...@@ -26,28 +26,133 @@ name: ...@@ -26,28 +26,133 @@ name:
callback: callback:
argument: 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 class: 10000
type: 0 type: 0
box: 0.000000 0.000000 0.000000 0.000000 box: 0.000000 0.000000 0.000000 0.000000
boxtype: 0 boxtype: 0
colors: 5487 512 colors: 1668246586 540019308
alignment: 4 alignment: 4
style: 0 style: 0
size: 11.000000 size: 11.000000
lcol: 0 lcol: 0
label: label:
name: g_burst name: g_audio
callback: callback:
argument: argument:
-------------------- --------------------
class: 1 class: 11
type: 1 type: 0
box: 140.000000 10.000000 120.000000 120.000000 box: 10.000000 10.000000 190.000000 30.000000
boxtype: 1 boxtype: 1
colors: 47 47 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 style: 0
size: 11.000000 size: 11.000000
lcol: 0 lcol: 0
...@@ -57,33 +162,48 @@ callback: ...@@ -57,33 +162,48 @@ callback:
argument: argument:
-------------------- --------------------
class: 31 class: 10000
type: 1 type: 0
box: 150.000000 70.000000 100.000000 30.000000 box: 0.000000 0.000000 0.000000 0.000000
boxtype: 2 boxtype: 0
colors: 13 5 colors: 1147496041 1852404841
alignment: 0 alignment: 4
style: 0 style: 0
size: 11.000000 size: 11.000000
lcol: 0 lcol: 0
label: Max Mbytes: label:
name: in_maxmem name: g_video
callback: cb_maxmem 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 argument: 0
-------------------- --------------------
class: 31 class: 11
type: 2 type: 0
box: 150.000000 20.000000 100.000000 30.000000 box: 10.000000 110.000000 190.000000 30.000000
boxtype: 2 boxtype: 1
colors: 13 5 colors: 47 47
alignment: 0 alignment: 4
style: 0 style: 0
size: 11.000000 size: 11.000000
lcol: 0 lcol: 0
label: Nr. of fields: label: Set video file...
name: in_nframes name: b_vfile
callback: cb_nframes callback: cb_vfile
argument: 0 argument: 0
-------------------- --------------------
...@@ -91,7 +211,7 @@ class: 20000 ...@@ -91,7 +211,7 @@ class: 20000
type: 0 type: 0
box: 0.000000 0.000000 0.000000 0.000000 box: 0.000000 0.000000 0.000000 0.000000
boxtype: 0 boxtype: 0
colors: -322390740 -895472437 colors: 544171552 1331849829
alignment: 4 alignment: 4
style: 0 style: 0
size: 11.000000 size: 11.000000
...@@ -106,110 +226,140 @@ class: 10000 ...@@ -106,110 +226,140 @@ class: 10000
type: 0 type: 0
box: 0.000000 0.000000 0.000000 0.000000 box: 0.000000 0.000000 0.000000 0.000000
boxtype: 0 boxtype: 0
colors: 1147496041 1852404841 colors: 0 0
alignment: 4 alignment: 4
style: 0 style: 0
size: 11.000000 size: 11.000000
lcol: 0 lcol: 0
label: label:
name: g_main name: g_single
callback: callback:
argument: argument:
-------------------- --------------------
class: 1 class: 31
type: 1 type: 2
box: 10.000000 10.000000 120.000000 120.000000 box: 220.000000 170.000000 100.000000 30.000000
boxtype: 1 boxtype: 2
colors: 47 47 colors: 13 5
alignment: 0 alignment: 0
style: 0 style: 0
size: 11.000000 size: 11.000000
lcol: 0 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: label:
name: name:
callback: callback:
argument: argument:
-------------------- --------------------
class: 31 class: 10000
type: 2 type: 0
box: 50.000000 70.000000 40.000000 30.000000 box: 0.000000 0.000000 0.000000 0.000000
boxtype: 2 boxtype: 0
colors: 13 5 colors: 0 0
alignment: 0 alignment: 4
style: 0 style: 0
size: 11.000000 size: 11.000000
lcol: 0 lcol: 0
label: Capture rate: label:
name: in_rate name: g_burst
callback: cb_rate callback:
argument: 0 argument:
-------------------- --------------------
class: 12 class: 31
type: 1 type: 1
box: 140.000000 140.000000 120.000000 30.000000 box: 220.000000 170.000000 100.000000 30.000000
boxtype: 1 boxtype: 2
colors: 39 3 colors: 13 5
alignment: 4 alignment: 0
style: 0 style: 0
size: 11.000000 size: 11.000000
lcol: 0 lcol: 0
label: Burst mode label: Max Mbytes:
name: b_burst name: in_maxmem
callback: cb_burst callback: cb_maxmem
argument: 0 argument: 0
-------------------- --------------------
class: 31 class: 31
type: 0 type: 2
box: 50.000000 200.000000 209.999985 30.000000 box: 220.000000 110.000000 100.000000 30.000000
boxtype: 2 boxtype: 2
colors: 13 5 colors: 13 5
alignment: 2 alignment: 0
style: 0 style: 0
size: 11.000000 size: 11.000000
lcol: 0 lcol: 0
label: File: label: Nr. of frames:
name: in_file name: in_nframes
callback: cb_file callback: cb_nframes
argument: 0 argument: 0
-------------------- --------------------
class: 11 class: 20000
type: 0 type: 0
box: 270.000000 200.000000 70.000000 30.000000 box: 0.000000 0.000000 0.000000 0.000000
boxtype: 1 boxtype: 0
colors: 47 47 colors: 0 0
alignment: 4 alignment: 4
style: 0 style: 0
size: 11.000000 size: 11.000000
lcol: 0 lcol: 0
label: Open... label:
name: b_open name:
callback: cb_open callback:
argument: 0 argument:
-------------------- --------------------
class: 11 class: 10000
type: 0 type: 0
box: 270.000000 140.000000 70.000015 30.000002 box: 0.000000 0.000000 0.000000 0.000000
boxtype: 1 boxtype: 0
colors: 47 47 colors: 0 0
alignment: 4 alignment: 4
style: 1 style: 0
size: 11.000000 size: 11.000000
lcol: 0 lcol: 0
label: Capture label:
name: b_capture name: g_cont
callback: cb_capture 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 argument: 0
-------------------- --------------------
class: 2 class: 2
type: 0 type: 0
box: 20.000000 70.000000 30.000000 30.000000 box: 220.000000 170.000000 30.000000 30.000000
boxtype: 0 boxtype: 0
colors: 47 47 colors: 47 47
alignment: 2 alignment: 2
...@@ -224,7 +374,7 @@ argument: ...@@ -224,7 +374,7 @@ argument:
-------------------- --------------------
class: 2 class: 2
type: 0 type: 0
box: 90.000000 70.000000 30.000000 30.000000 box: 290.000000 170.000000 30.000000 30.000000
boxtype: 0 boxtype: 0
colors: 47 47 colors: 47 47
alignment: 2 alignment: 2
...@@ -237,76 +387,61 @@ callback: ...@@ -237,76 +387,61 @@ callback:
argument: argument:
-------------------- --------------------
class: 11 class: 13
type: 0 type: 0
box: 270.000000 10.000000 70.000008 30.000000 box: 220.000000 110.000000 100.000000 30.000000
boxtype: 1 boxtype: 0
colors: 47 47 colors: 7 3
alignment: 4 alignment: 4
style: 0 style: 0
size: 11.000000 size: 11.000000
lcol: 0 lcol: 0
label: Quit label: Fielddrop
name: b_quit name: b_drop
callback: cb_quit callback: cb_drop
argument: 0 argument: 0
-------------------- --------------------
class: 11 class: 20000
type: 0 type: 0
box: 270.000000 60.000000 70.000000 30.000000 box: 0.000000 0.000000 0.000000 0.000000
boxtype: 1 boxtype: 0
colors: 47 47 colors: 0 0
alignment: 4 alignment: 4
style: 0 style: 0
size: 11.000000 size: 11.000000
lcol: 0 lcol: 0
label: Play label:
name: b_play name:
callback: cb_play callback:
argument: 0 argument:
-------------------- --------------------
class: 42 class: 2
type: 0 type: 0
box: 10.000000 140.000000 120.000000 30.000000 box: 390.000000 130.000000 50.000000 30.000002
boxtype: 5 boxtype: 2
colors: 7 0 colors: 47 47
alignment: 0 alignment: 2
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
style: 0 style: 0
size: 11.000000 size: 11.000000
lcol: 0 lcol: 0
label: Fielddrop label:
name: b_drop name: t_nframes
callback: cb_drop callback:
argument: 0 argument:
-------------------- --------------------
class: 20000 class: 2
type: 0 type: 0
box: 0.000000 0.000000 0.000000 0.000000 box: 320.000000 130.000000 60.000000 30.000000
boxtype: 0 boxtype: 0
colors: 544171552 1331849829 colors: 47 47
alignment: 4 alignment: 2
style: 0 style: 0
size: 11.000000 size: 11.000000
lcol: 0 lcol: 0
label: label: Frames:
name: name:
callback: callback:
argument: argument:
...@@ -316,29 +451,44 @@ class: 10000 ...@@ -316,29 +451,44 @@ class: 10000
type: 0 type: 0
box: 0.000000 0.000000 0.000000 0.000000 box: 0.000000 0.000000 0.000000 0.000000
boxtype: 0 boxtype: 0
colors: 1147496041 1852404841 colors: 0 0
alignment: 4 alignment: 4
style: 0 style: 0
size: 11.000000 size: 11.000000
lcol: 0 lcol: 0
label: label:
name: g_stop name: g_vcr
callback: callback:
argument: argument:
-------------------- --------------------
class: 11 class: 31
type: 0 type: 2
box: 270.000000 140.000000 70.000000 30.000000 box: 220.000000 110.000000 100.000000 30.000000
boxtype: 1 boxtype: 2
colors: 47 47 colors: 13 5
alignment: 4 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 style: 0
size: 11.000000 size: 11.000000
lcol: 0 lcol: 0
label: Stop label: Delay:
name: b_stop name: in_sleeptime
callback: cb_stop callback: cb_sleeptime
argument: 0 argument: 0
-------------------- --------------------
...@@ -346,7 +496,7 @@ class: 20000 ...@@ -346,7 +496,7 @@ class: 20000
type: 0 type: 0
box: 0.000000 0.000000 0.000000 0.000000 box: 0.000000 0.000000 0.000000 0.000000
boxtype: 0 boxtype: 0
colors: 544171552 1331849829 colors: 0 0
alignment: 4 alignment: 4
style: 0 style: 0
size: 11.000000 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