Commit graph

135 commits

Author SHA1 Message Date
Patrick Krämer
0ba18c24ae Support cancellation token for cancelling FFMPEG processes
Former-commit-id: 3efc34565a
2021-07-07 20:16:14 +02:00
Julien Loir
7e9b3d20cd Add test for the new audio pipe
Former-commit-id: acd462a527
2021-05-25 16:14:40 +02:00
Malte Rosenbjerg
33878ab605 Cleanup in using directives
Former-commit-id: 6c3129d417
2021-05-15 11:17:12 +02:00
Malte Rosenbjerg
12e031dfb3 Fixes, renames and missing stuff
Former-commit-id: 27a2219b8e
2021-05-14 01:02:00 +02:00
Malte Rosenbjerg
59dc8e6b94 Fix test
Former-commit-id: cce6c6983c
2021-03-15 23:50:11 +01:00
Malte Rosenbjerg
263645f83b Fix tests
Former-commit-id: 1d6517796f
2021-03-15 23:43:22 +01:00
Malte Rosenbjerg
8817b4c765 Merge branch 'master' into master
Former-commit-id: 5a2ebcf0f3
2021-03-15 23:20:27 +01:00
Malte Rosenbjerg
ffbce8fba9 Bump nuget dependencies
Former-commit-id: 0face0b6e4
2021-03-15 22:48:53 +01:00
Maxim Bagryantsev
ba8904429d Fixed process hang on pipe images format mismatch
Former-commit-id: fe646752d3
2021-03-15 20:37:18 +03:00
Malte Rosenbjerg
7457168c44 Cleanup
Former-commit-id: df0205fb11
2021-03-07 00:26:08 +01:00
Malte Rosenbjerg
a4a3218878 Cleanup tests
Former-commit-id: e0819c89bf
2021-03-06 23:12:53 +01:00
Malte Rosenbjerg
b776422ada Fix tests
Former-commit-id: e49290b217
2021-03-06 21:25:17 +01:00
Malte Rosenbjerg
32e5e97864 Merge branch 'master' into refactor-video-filter-args
Former-commit-id: 8452672ee6
2021-03-05 18:06:50 +01:00
Malte Rosenbjerg
77e2403902 Init
Former-commit-id: 4f28983972
2021-03-05 18:06:40 +01:00
Thierry Fleury
50cb183ae2 Add cancel timeout
(cherry picked from commit 6383164f267516fbd50d50b2a511c15c25a168dc)


Former-commit-id: 9672713e63
2021-03-02 19:43:24 +01:00
crypton
bff3406545 Format -ss timespan argument to calculate hours
Former-commit-id: bb08076db4
2021-02-12 22:16:55 -08:00
crypton
83c9478007 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


Former-commit-id: 35ca34c0b0
2021-02-06 16:50:12 -08:00
Malte Rosenbjerg
3d640f9e08 Add NotifyOnOutput
Former-commit-id: cfee86199b
2020-12-18 00:40:09 +01:00
Malte Rosenbjerg
d2c4d81196 Use webm for streaming test
Former-commit-id: d64f2dddeb
2020-12-07 21:00:43 +01:00
Malte Rosenbjerg
c2f7b36a5e Test with .NET 5.0
Former-commit-id: 4c24189f6b
2020-12-07 18:07:23 +01:00
Malte Rosenbjerg
5311f99419 Convert to mp3 instead of opus
Former-commit-id: f9090ba9fe
2020-12-07 17:52:47 +01:00
Malte Rosenbjerg
27de93d64c Reencode raw file
Former-commit-id: 1a15c08ea2
2020-12-07 17:41:31 +01:00
Malte Rosenbjerg
ac82e17d25 Fix
Former-commit-id: 203da6300b
2020-12-07 01:20:13 +01:00
Malte Rosenbjerg
726c0f9800 Merge branch 'master' into refactor-tests
Former-commit-id: 7fd7ae369d
2020-12-07 01:14:19 +01:00
Malte Rosenbjerg
ec671ff8bf Dump
Former-commit-id: 3ad127a682
2020-12-07 00:47:47 +01:00
Malte Rosenbjerg
273d7232cb Use .NET Core 3.1 - 5.0 not yet available
Former-commit-id: d8a09a3574
2020-12-06 00:43:05 +01:00
Malte Rosenbjerg
73494b9765 Bump versions for tests
Former-commit-id: 9c3d8d4338
2020-12-06 00:34:06 +01:00
Malte Rosenbjerg
aeab8b03ed Add raw audio test
Former-commit-id: 7904a86d63
2020-12-06 00:33:55 +01:00
Malte Rosenbjerg
c691dba8e8 Init
Former-commit-id: 8b45a6b680
2020-12-03 20:47:20 +01:00
Malte Rosenbjerg
717d61dd07 Update dependencies and add StreamPipeSink constructor
Former-commit-id: 5ba2ed97cf
2020-11-25 16:15:16 +01:00
Malte Rosenbjerg
049cbc1dc6 Fix cancellation
Former-commit-id: 179cb15ba8
2020-10-28 19:26:33 +01:00
Malte Rosenbjerg
b0e3d157d3 Cleanup
Former-commit-id: 6b1e411bfe
2020-10-27 00:49:28 +01:00
Malte Rosenbjerg
e914f3fe4c More timeouts ...
Former-commit-id: da34cf1ec1
2020-10-25 17:42:50 +01:00
Malte Rosenbjerg
c00562bb31 Timeout on all to find problematic test in GH action runner
Former-commit-id: 1b42eb2c1a
2020-10-25 17:34:38 +01:00
Malte Rosenbjerg
88a099523d Add more timeout attributes
Former-commit-id: 2bacf6232b
2020-10-25 17:26:43 +01:00
Malte Rosenbjerg
f7e787a7d5 GitHub Actions annotations for tests
Former-commit-id: a40d264de5
2020-10-25 17:25:46 +01:00
Malte Rosenbjerg
98486268a2 Add timeouts
Former-commit-id: d0293598ae
2020-10-25 17:18:40 +01:00
Malte Rosenbjerg
b30a23fc58 Fix test
Former-commit-id: a7981f2886
2020-10-25 17:16:47 +01:00
Malte Rosenbjerg
4f9b4f4b57 Shorten resources used for testing
Former-commit-id: adbd61c51d
2020-10-25 17:11:52 +01:00
Malte Rosenbjerg
ca1035fde2 Add HardwareAccelerationArgument
Former-commit-id: 5fb2305b5b
2020-10-24 23:33:44 +02:00
Malte Rosenbjerg
9434715fba New API
Former-commit-id: 010e9947e9
2020-10-24 22:31:54 +02:00
Rafael Carvalho
b25d287422 Update existing references to use IMediaAnalysis
Former-commit-id: 37a04a37cd
2020-08-12 17:22:10 +12:00
Malte Rosenbjerg
bce612fca3 Update test packages
Former-commit-id: db449430bd
2020-08-11 00:47:29 +02:00
Malte Rosenbjerg
96af90ba7e Add SeekedFileInputArgument and such
Former-commit-id: 59abdd2343
2020-07-26 02:45:14 +02:00
Malte Rosenbjerg
ecec9d2ea4 Clean unused using directives
Former-commit-id: 8576154d3f
2020-07-20 15:26:34 +02:00
Malte Rosenbjerg
40f22de444 Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore
Former-commit-id: 3785179a87
2020-07-13 23:54:49 +02:00
Malte Rosenbjerg
ef8edf2a6e Base file extension on video container info from ffmpeg
Former-commit-id: 442e69ce1d
2020-07-13 23:54:46 +02:00
Mike Cochran
8105333443 Added audio codec profile to AudioStream
Added the audio codec profile and accompanying test.


Former-commit-id: 24f79fe3c8
2020-07-06 16:33:50 -05:00
Malte Rosenbjerg
8f66a8f4c2 Update VideoTest.cs
Former-commit-id: d840f8d237
2020-06-18 22:08:44 +02:00
Malte Rosenbjerg
e1422c94c8 Update VideoTest.cs
Former-commit-id: f9a3197165
2020-06-16 07:42:51 +02:00