Commit graph

188 commits

Author SHA1 Message Date
Julien Loir
acd462a527 Add test for the new audio pipe 2021-05-25 16:14:40 +02:00
Malte Rosenbjerg
6c3129d417 Cleanup in using directives 2021-05-15 11:17:12 +02:00
Malte Rosenbjerg
27a2219b8e Fixes, renames and missing stuff 2021-05-14 01:02:00 +02:00
Malte Rosenbjerg
cce6c6983c Fix test 2021-03-15 23:50:11 +01:00
Malte Rosenbjerg
1d6517796f Fix tests 2021-03-15 23:43:22 +01:00
Malte Rosenbjerg
5a2ebcf0f3
Merge branch 'master' into master 2021-03-15 23:20:27 +01:00
Malte Rosenbjerg
0face0b6e4 Bump nuget dependencies 2021-03-15 22:48:53 +01:00
Maxim Bagryantsev
fe646752d3 Fixed process hang on pipe images format mismatch 2021-03-15 20:37:18 +03:00
Malte Rosenbjerg
df0205fb11 Cleanup 2021-03-07 00:26:08 +01:00
Malte Rosenbjerg
e0819c89bf Cleanup tests 2021-03-06 23:12:53 +01:00
Malte Rosenbjerg
e49290b217 Fix tests 2021-03-06 21:25:17 +01:00
Malte Rosenbjerg
8452672ee6 Merge branch 'master' into refactor-video-filter-args 2021-03-05 18:06:50 +01:00
Malte Rosenbjerg
4f28983972 Init 2021-03-05 18:06:40 +01:00
Thierry Fleury
9672713e63 Add cancel timeout
(cherry picked from commit 6383164f267516fbd50d50b2a511c15c25a168dc)
2021-03-02 19:43:24 +01:00
crypton
bb08076db4 Format -ss timespan argument to calculate hours 2021-02-12 22:16:55 -08:00
crypton
35ca34c0b0 ffprobe duration parsing
- on large recordings (e.g. radio transmissions), ffprobe might return number of hours which is too large for TimeSpan.Parse (exception: The TimeSpan string '149:07:50.911750' could not be parsed because at least one of the numeric components is out of range or contains too many digits.)
- use regex groups to extract components (hours/minutes/seconds/millis) then parse/create new timespan from that
- NOTICE: this will discard microseconds provided by ffprobe, not sure if this is significant
- ffprobe has inconsitencies with how it represents millisecond component. Sometimes it may return just `82` for 820 milliseconds, so padding with 0s is required on the left. Likewise, sometimes it might return microseconds past milliseconds (first 3 significant figures); this is currently discarded
- Added InternalsVisibleTo to help with unit testing *just* the duration parsing function
2021-02-06 16:50:12 -08:00
Malte Rosenbjerg
6874ace962
Merge branch 'master' into master 2021-02-04 00:13:02 +01:00
Malte Rosenbjerg
cfee86199b Add NotifyOnOutput 2020-12-18 00:40:09 +01:00
Malte Rosenbjerg
de689dbb50
Merge branch 'master' into master 2020-12-09 11:02:26 +01:00
Malte Rosenbjerg
d64f2dddeb Use webm for streaming test 2020-12-07 21:00:43 +01:00
Malte Rosenbjerg
4c24189f6b Test with .NET 5.0 2020-12-07 18:07:23 +01:00
Malte Rosenbjerg
f9090ba9fe Convert to mp3 instead of opus 2020-12-07 17:52:47 +01:00
Malte Rosenbjerg
1a15c08ea2 Reencode raw file 2020-12-07 17:41:31 +01:00
Malte Rosenbjerg
203da6300b Fix 2020-12-07 01:20:13 +01:00
Malte Rosenbjerg
7fd7ae369d Merge branch 'master' into refactor-tests 2020-12-07 01:14:19 +01:00
Malte Rosenbjerg
3ad127a682 Dump 2020-12-07 00:47:47 +01:00
Malte Rosenbjerg
d8a09a3574 Use .NET Core 3.1 - 5.0 not yet available 2020-12-06 00:43:05 +01:00
Malte Rosenbjerg
9c3d8d4338 Bump versions for tests 2020-12-06 00:34:06 +01:00
Malte Rosenbjerg
7904a86d63 Add raw audio test 2020-12-06 00:33:55 +01:00
Malte Rosenbjerg
8b45a6b680 Init 2020-12-03 20:47:20 +01:00
Malte Rosenbjerg
5ba2ed97cf Update dependencies and add StreamPipeSink constructor 2020-11-25 16:15:16 +01:00
Fedor Zhilkin
c6bdf55a77 Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore 2020-11-13 01:36:00 +03:00
Malte Rosenbjerg
179cb15ba8 Fix cancellation 2020-10-28 19:26:33 +01:00
Malte Rosenbjerg
6b1e411bfe Cleanup 2020-10-27 00:49:28 +01:00
Malte Rosenbjerg
da34cf1ec1 More timeouts ... 2020-10-25 17:42:50 +01:00
Malte Rosenbjerg
1b42eb2c1a Timeout on all to find problematic test in GH action runner 2020-10-25 17:34:38 +01:00
Malte Rosenbjerg
2bacf6232b Add more timeout attributes 2020-10-25 17:26:43 +01:00
Malte Rosenbjerg
a40d264de5 GitHub Actions annotations for tests 2020-10-25 17:25:46 +01:00
Malte Rosenbjerg
d0293598ae Add timeouts 2020-10-25 17:18:40 +01:00
Malte Rosenbjerg
a7981f2886 Fix test 2020-10-25 17:16:47 +01:00
Malte Rosenbjerg
adbd61c51d Shorten resources used for testing 2020-10-25 17:11:52 +01:00
Malte Rosenbjerg
5fb2305b5b Add HardwareAccelerationArgument 2020-10-24 23:33:44 +02:00
Malte Rosenbjerg
010e9947e9 New API 2020-10-24 22:31:54 +02:00
Fedor Zhilkin
f2fca0c1b6 Add test for map filtering 2020-09-17 21:02:33 +03:00
Rafael Carvalho
37a04a37cd Update existing references to use IMediaAnalysis 2020-08-12 17:22:10 +12:00
Malte Rosenbjerg
db449430bd Update test packages 2020-08-11 00:47:29 +02:00
Malte Rosenbjerg
59abdd2343 Add SeekedFileInputArgument and such 2020-07-26 02:45:14 +02:00
Malte Rosenbjerg
8576154d3f Clean unused using directives 2020-07-20 15:26:34 +02:00
Malte Rosenbjerg
3785179a87 Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore 2020-07-13 23:54:49 +02:00
Malte Rosenbjerg
442e69ce1d Base file extension on video container info from ffmpeg 2020-07-13 23:54:46 +02:00
Mike Cochran
24f79fe3c8 Added audio codec profile to AudioStream
Added the audio codec profile and accompanying test.
2020-07-06 16:33:50 -05:00
Malte Rosenbjerg
d840f8d237 Update VideoTest.cs 2020-06-18 22:08:44 +02:00
Malte Rosenbjerg
f9a3197165 Update VideoTest.cs 2020-06-16 07:42:51 +02:00
Malte Rosenbjerg
cb42e13ed9 Skip two tests 2020-06-06 15:38:14 +02:00
Malte Rosenbjerg
a778ccd58f Add overload to Join 2020-05-24 19:27:55 +02:00
Malte Rosenbjerg
39dd390e81 Renaming 2020-05-24 19:17:14 +02:00
Malte Rosenbjerg
82fc6e92c9 Minor adjustment 2020-05-13 00:11:53 +02:00
Malte Rosenbjerg
ef64263899 Add delay 2020-05-13 00:00:02 +02:00
Malte Rosenbjerg
b2085c4a8b Make process cancellable 2020-05-12 23:52:07 +02:00
Malte Rosenbjerg
a754d57421 Dispose bitmap to unlock file in test 2020-05-12 22:50:27 +02:00
Malte Rosenbjerg
ca89cac2f0 Snapshot improvements
completely in-memory is now possible
2020-05-12 22:48:20 +02:00
Malte Rosenbjerg
59f2afd2ca Minor cleanup 2020-05-12 22:47:57 +02:00
Malte Rosenbjerg
708189b837 Change default paths 2020-05-12 21:37:10 +02:00
Malte Rosenbjerg
1dc7524ecd Revert "Cleanup"
This reverts commit d95f687e46.
2020-05-12 21:28:50 +02:00
Malte Rosenbjerg
d95f687e46 Cleanup 2020-05-12 21:05:00 +02:00
Malte Rosenbjerg
3855215000 Default to throwing on errors 2020-05-12 17:55:31 +02:00
Malte Rosenbjerg
ba43feb213
Merge branch 'master' into fix/pix_fmt_order 2020-05-12 17:29:24 +02:00
Максим Багрянцев
29fd4a76c0 Fixed color pallette (#58) 2020-05-12 18:26:52 +03:00
Максим Багрянцев
17fa6aafee Updated PixelFormat namespace 2020-05-12 17:53:52 +03:00
Максим Багрянцев
bbc9305e2b Added Codec, PixelFormat and ContainerFormat classes 2020-05-12 17:44:14 +03:00
Malte Rosenbjerg
b8fc8e5742 Lower timeouts 2020-05-11 00:51:00 +02:00
Malte Rosenbjerg
f22c506f46 Fix tests 2020-05-11 00:02:35 +02:00
Malte Rosenbjerg
89cd7e89e9 Fix verbosity unit test 2020-05-10 23:56:48 +02:00
Malte Rosenbjerg
2192096f74 QuietArgument -> VerbosityLevelArgument 2020-05-10 23:55:46 +02:00
Malte Rosenbjerg
188f37c9ee Use ToLowerInvariant 2020-05-10 23:16:52 +02:00
Malte Rosenbjerg
8583b02687 Outcomment Format48bppRgb tests for now 2020-05-10 14:15:32 +02:00
Malte Rosenbjerg
40a7475b05 Merge branch 'master' into refactor 2020-05-10 13:23:04 +02:00
Malte Rosenbjerg
d923dace6c Add timeouts 2020-05-10 12:07:28 +02:00
Malte Rosenbjerg
dc30010725 Fix probe tests and add timeouts 2020-05-10 11:46:33 +02:00
Malte Rosenbjerg
542000601a Reverted experiment 2020-05-10 11:41:53 +02:00
Malte Rosenbjerg
8d74a3e0d7 Fixes 2020-05-10 11:31:26 +02:00
Malte Rosenbjerg
8787ccaa8d Remove timeouts 2020-05-09 20:42:20 +02:00
Malte Rosenbjerg
6c84396898 Attempt at unix pipe support 2020-05-09 20:34:27 +02:00
Malte Rosenbjerg
72366d573a Cleanup 2020-05-09 17:53:03 +02:00
Malte Rosenbjerg
f50ab577ae Fix tests 2020-05-08 13:01:59 +02:00
Malte Rosenbjerg
ec043ef075 Major refactoring 2020-05-08 11:07:51 +02:00
Malte Rosenbjerg
f791f6b059 Add timeouts 2020-05-07 00:14:40 +02:00
Malte Rosenbjerg
560c9c8d98 Make tests faster 2020-05-06 23:39:45 +02:00
Malte Rosenbjerg
b4f0883685 Fix tests 2020-05-06 22:11:25 +02:00
Malte Rosenbjerg
211f4b168a Fix tests 2020-05-06 21:47:15 +02:00
Malte Rosenbjerg
4a25e50eae Fix tests 2020-05-06 21:42:56 +02:00
Malte Rosenbjerg
fe53609b38
Merge branch 'master' into feature/fluent-api 2020-05-06 20:57:26 +02:00
Максим Багрянцев
e4f4dd3def Updated tests 2020-05-02 13:02:22 +03:00
Максим Багрянцев
ee16064f4c Merge remote-tracking branch 'fork/master' into feature/piping 2020-05-02 13:02:01 +03:00
Weihan Li
1688e0d6e4
Merge branch 'master' into features/raw-argument 2020-05-02 11:07:04 +08:00
weihanli
eb521ae908 rename RawArgument to CustomArgument 2020-05-02 11:05:44 +08:00
Malte Rosenbjerg
4b88229f72 Add AudioBitrate as separate Argument 2020-05-01 10:07:40 +02:00
Максим Багрянцев
b7aafeb586 Added Fluent tests 2020-04-30 15:14:10 +03:00
Максим Багрянцев
8cc1791d25 Added Video_TranscodeInMemory test 2020-04-28 22:54:39 +03:00
Максим Багрянцев
5991cc99f0 Added Unit tests for input and output pipes 2020-04-28 22:40:33 +03:00