Commit graph

90 commits

Author SHA1 Message Date
Krzysztofz01
cf930a3eae Missing testing image added 2023-08-28 11:50:13 +02:00
Krzysztofz01
6b9ccaa776 Separate GetVideoFrame code removed 2023-08-28 11:48:57 +02:00
Krzysztofz01
68378a0fde ReadFrame and ReadFrames tests added 2023-08-28 11:46:16 +02:00
Krzysztofz01
c53213a27f ReadFrame and ReadFrames integrated into the Video struct 2023-08-28 11:44:32 +02:00
Krzysztofz01
38101a377c GetVideoFrame() nil frame buffer validation 2023-08-21 10:28:43 +02:00
Krzysztofz01
957b8dc191 GetVideoFrame() buffer param added 2023-08-21 09:55:12 +02:00
Krzysztofz01
1813715282 GetVideoFrame test for valid input, invalid path and out-of-range frame index 2023-08-19 14:54:59 +02:00
Krzysztofz01
fd5137064c GetVideoFrame function implementation. 2023-08-19 14:52:18 +02:00
Alex Eidt
b1d35e0f81 Use io.ReadFull in Read() 2023-03-17 10:49:43 -07:00
Alex Eidt
05cff486bc
Merge pull request #3 from Jille/cleanups
Two minor cleanups
2023-03-17 10:47:35 -07:00
Jille Timmermans
71afd7b11a cleanup: Use io.ReadAll to fully read the buffer
Also don't ignore errors other than io.EOF, but return false for them
too
2023-03-17 11:12:02 +01:00
Jille Timmermans
2e92f00374 cleanup: Don't use a pointer for Video.pipe, it's an interface
Interfaces can already store nil, so we don't need a pointer to
distinguish between unset and set.
2023-03-17 11:09:26 +01:00
Alex Eidt
68fe8618c6 Add example to README, copy buffer in Write 2022-10-01 11:35:47 -07:00
Alex Eidt
f1c7d31a29 Updated Documentation 2022-09-23 19:02:09 -07:00
Alex Eidt
f6eaee9f1f rgb to rgba 2022-09-19 20:41:07 -07:00
Alex Eidt
2f07344cb8 Updated README 2022-09-16 08:32:45 -07:00
Alex Eidt
0bce47ccae HasAudio() generalized to HasStreams() 2022-09-15 14:14:45 -07:00
Alex Eidt
bbbb23041a Options.Audio adds all streams 2022-09-15 13:30:13 -07:00
Alex Eidt
c9bc141f27 Cleanup 2022-09-13 23:02:38 -07:00
Alex Eidt
538bcb7a83 Cleanup 2022-09-09 22:39:49 -07:00
Alex Eidt
b577495180 Added support for multiple Video streams 2022-09-09 22:14:40 -07:00
Alex Eidt
32f30850c4 Cleanup in utils 2022-09-06 15:26:47 -07:00
Alex Eidt
34c0e44380 NewVideo error when file contains no video 2022-09-03 13:22:19 -07:00
Alex Eidt
2c194879df Cleanup 2022-08-24 13:37:18 -07:00
Alex Eidt
25fa3dd387 Updated README 2022-08-24 13:23:09 -07:00
Alex Eidt
47c1e37dbb Updated README 2022-08-24 13:21:00 -07:00
Alex Eidt
54cfa7783a Refactoring and Cleanup 2022-08-05 18:40:55 -07:00
Alex Eidt
af983f09e4 Added Format for VideoWriter 2022-08-03 16:12:07 -07:00
Alex Eidt
9e805e183b SetFrameBuffer returns error 2022-08-02 19:54:28 -07:00
Alex Eidt
45952ddbd0 Updated README 2022-07-26 09:40:30 -07:00
Alex Eidt
3948f3dc37 Updated README 2022-07-25 23:03:34 -07:00
Alex Eidt
8afa8f63fb Typo 2022-07-25 14:59:38 -07:00
Alex Eidt
e73f59496b Added Audio() getter to VideoWriter 2022-07-25 14:43:28 -07:00
Alex Eidt
226b3efe8f Removed pixfmt from Video 2022-07-23 15:23:26 -07:00
Alex Eidt
0e18bf49d1 Updated README 2022-07-20 16:28:19 -07:00
Alex Eidt
663a405ca6 Cleanup error messages 2022-07-20 13:43:02 -07:00
Alex Eidt
217b406617 Updated examples in README 2022-05-18 16:01:16 -07:00
Alex Eidt
34d7ee3c27 Cleanup up imageio 2022-04-23 20:19:15 -07:00
Alex Eidt
536e5a7d54 Updated README 2022-04-22 16:04:07 -07:00
Alex Eidt
84476c3206 Added optional buffer for image Read() 2022-04-22 14:17:39 -07:00
Alex Eidt
9f884aeec1 Added PixFmt() getter 2022-04-22 13:33:16 -07:00
Alex Eidt
2d72a27288 Added SetFrameBuffer for Video and Camera 2022-04-18 17:38:21 -07:00
Alex Eidt
3f4ae6eb23 Added error returns, removed panics 2022-04-17 09:11:38 -07:00
Alex Eidt
5de0d207f5 Updated README 2022-04-16 15:39:56 -07:00
Alex Eidt
1700998b3b Updated README 2022-04-16 12:01:59 -07:00
Alex Eidt
3e62223de3 Buffered channel for signal interrupt 2022-04-16 11:47:41 -07:00
Alex Eidt
1c933691ff Updated README 2022-04-16 11:28:07 -07:00
Alex Eidt
e8ea1b458f Updated README 2022-04-16 11:18:43 -07:00
Alex Eidt
fc2b41afe8 Updated README 2022-04-16 11:14:27 -07:00
Alex Eidt
24d9d24d5e Updated README 2022-04-16 11:08:39 -07:00