nyanpasu64
|
2a19afce5f
|
[wip] Add unit tests for CLI parser
|
2018-08-20 00:38:13 -07:00 |
nyanpasu64
|
47a8450669
|
Improve error message for nonexistent files
|
2018-08-20 00:38:13 -07:00 |
nyanpasu64
|
7eb9cea766
|
CLI: Remove --write path argument, automatically generate path
If audio is present, use `audio without .wav`.yaml. If not present,
default to ovgenpy.yaml.
|
2018-08-19 19:08:49 -07:00 |
nyanpasu64
|
590185ae5c
|
Rename --write-cfg to --write
|
2018-08-19 18:53:52 -07:00 |
nyanpasu64
|
75d2e066c0
|
Create Click parameter type OutFile
|
2018-08-19 18:53:13 -07:00 |
nyanpasu64
|
cb19417787
|
Reformat command-line parser to reduce visual clutter
|
2018-08-19 18:51:13 -07:00 |
nyanpasu64
|
7117a74fd0
|
Merge pull request #36 from nyanpasu64/validate-yaml
Validate parameters when loading YAML config
|
2018-08-19 16:19:38 -07:00 |
nyanpasu64
|
d9555c101e
|
Add unit test for YAML config loading validation
|
2018-08-19 16:15:51 -07:00 |
nyanpasu64
|
910dd507d9
|
Validate parameters when loading YAML config
Call the dataclass constructor, which raise TypeError on extra or
missing arguments.
|
2018-08-19 15:59:39 -07:00 |
nyanpasu64
|
b4104185f4
|
Make begin_time optional, defaulting to 0
|
2018-08-19 15:33:47 -07:00 |
nyanpasu64
|
93e265774f
|
Merge pull request #34 from nyanpasu64/begin-time
Add `begin_time` parameter, to skip ahead in rendering.
|
2018-08-18 16:09:40 -07:00 |
nyanpasu64
|
716f799c42
|
Add `begin_time` parameter, to skip ahead in rendering.
CorrelationTrigger starts with zeroed-out buffer, so triggering will
differ from not seeking.
|
2018-08-18 15:58:36 -07:00 |
nyanpasu64
|
b8cccc3411
|
Merge pull request #33 from nyanpasu64/terminate-ffmpeg
Terminate output pipeline (ffmpeg and ffplay) on exception
|
2018-08-18 14:10:09 -07:00 |
nyanpasu64
|
3cec61a2ac
|
Ensure that Ovgen.outputs are closed upon exceptions
channels and outputs are loaded upon Ovgen.play(), not __init__ creation
|
2018-08-18 02:57:03 -07:00 |
nyanpasu64
|
6f09710999
|
Add tests to ensure Outputs are closed upon exceptions
|
2018-08-18 02:57:03 -07:00 |
nyanpasu64
|
8f228d2da7
|
[PipeOutput] Combine all return codes from pipeline.
This allows the caller to detect whether intermediate commands (eg.
ffmpeg | ffplay) failed.
|
2018-08-18 02:57:03 -07:00 |
nyanpasu64
|
2c48de88af
|
Terminate ffmpeg and ffplay on exception
|
2018-08-18 02:57:03 -07:00 |
nyanpasu64
|
1e09f2af40
|
[wip] Kill ffplay on exception, refactor Popen handling
|
2018-08-18 02:57:03 -07:00 |
nyanpasu64
|
30425e5375
|
Merge pull request #28 from nyanpasu64/layout-config
Always write layout orientation to YAML
|
2018-08-17 16:55:59 -07:00 |
nyanpasu64
|
4289ff2d81
|
Merge pull request #27 from nyanpasu64/benchmark
Add benchmarking support
|
2018-08-17 14:54:42 -07:00 |
nyanpasu64
|
f6b554fe86
|
Fix dumping benchmark_mode to YAML
|
2018-08-17 14:50:28 -07:00 |
nyanpasu64
|
b0e6d827e1
|
Merge pull request #25 from nyanpasu64/global-colors
Add support for global colors and per-line color
|
2018-08-17 14:28:03 -07:00 |
nyanpasu64
|
c58fb527cc
|
Add config parameter for benchmarking
|
2018-08-17 01:56:34 -07:00 |
nyanpasu64
|
3324ed1568
|
[renderer] Test default colors, and channel line-color overrides
|
2018-08-17 00:00:36 -07:00 |
nyanpasu64
|
b1688f9d54
|
Always write layout orientation to YAML
|
2018-08-16 22:37:39 -07:00 |
nyanpasu64
|
74f47a6525
|
Add test for rendering to output
|
2018-08-16 22:21:18 -07:00 |
nyanpasu64
|
d94d6b235f
|
Add line width support to MatplotlibRenderer
|
2018-08-16 22:21:18 -07:00 |
nyanpasu64
|
33166f19a2
|
Mark MatplotlibRenderer attributes as protected
|
2018-08-16 22:21:18 -07:00 |
nyanpasu64
|
5f94be0329
|
Add test for renderer background/foreground colors
|
2018-08-16 22:21:18 -07:00 |
nyanpasu64
|
b0de9be500
|
Switch to blue line by default
|
2018-08-16 22:21:18 -07:00 |
nyanpasu64
|
0968052566
|
Switch from per-channel to global background color
Figure-global backgrounds are reasonably fast, while axes-specific
background color causes performance drop.
|
2018-08-16 22:21:18 -07:00 |
nyanpasu64
|
b648f9755b
|
Add background/line color support to renderer
|
2018-08-16 22:21:18 -07:00 |
nyanpasu64
|
f0da6c682e
|
Add FFmpeg input buffering
|
2018-08-16 22:16:59 -07:00 |
nyanpasu64
|
6e7b7f4048
|
Rearrange renderer unit tests
|
2018-08-15 22:39:48 -07:00 |
nyanpasu64
|
58f8515967
|
Remove unused import
|
2018-08-15 22:28:05 -07:00 |
nyanpasu64
|
85d98a4167
|
Add --profile CLI option to generate cprofile files
|
2018-08-15 22:27:58 -07:00 |
nyanpasu64
|
d669e37044
|
Always get frame from renderer, even without outputs
Enables more realistic render benchmarking.
|
2018-08-15 18:36:18 -07:00 |
nyanpasu64
|
0149b79a7c
|
Speed up rendering, remove bytes-to-ndarray conversion
|
2018-08-15 18:35:48 -07:00 |
nyanpasu64
|
fb7ac5d006
|
Remove unused numpy reshape from MatplotlibRenderer
|
2018-08-15 17:38:16 -07:00 |
nyanpasu64
|
fccfb61649
|
ProcessOutput.write_frame() takes ndarray, not bytes
|
2018-08-15 17:38:16 -07:00 |
nyanpasu64
|
961356bd3f
|
Mark MatplotlibRenderer.set_layout as protected
|
2018-08-14 23:57:07 -07:00 |
nyanpasu64
|
596e9812c7
|
Merge pull request #22 from nyanpasu64/renderer-layout
Add renderer layout orientation field, add class LayoutConfig
|
2018-08-14 21:31:27 -07:00 |
nyanpasu64
|
21d739cd4f
|
Move layout rows/columns to class LayoutConfig
|
2018-08-14 21:24:09 -07:00 |
nyanpasu64
|
2f4ebece70
|
Move renderer layout calculation to class RendererLayout
|
2018-08-14 21:23:40 -07:00 |
nyanpasu64
|
4a25b41d22
|
Move MatplotlibRenderer.create_window parameter into cfg
|
2018-08-14 21:23:19 -07:00 |
nyanpasu64
|
06159555a1
|
Disable test for config type checking
|
2018-08-14 02:20:07 -07:00 |
nyanpasu64
|
c8aa456136
|
Add comment about avoiding `-movflags faststart`
|
2018-07-31 02:17:49 -07:00 |
nyanpasu64
|
fc7014750b
|
Precompute Gaussian windows for CorrelationTrigger objects
|
2018-07-29 06:36:00 -07:00 |
nyanpasu64
|
042c8a3be5
|
Fix crash when loading YAML (disable type checking)
|
2018-07-29 06:35:58 -07:00 |
nyanpasu64
|
4b231eaf5d
|
Faster ffmpeg video encoder options
|
2018-07-29 06:35:56 -07:00 |