Commit graph

142 commits

Author SHA1 Message Date
Warrick Wilson
ac2b358fad Added CodecTag and CodecTagString properties to info derived from an FFProbe.Analyse() call. This allows for specific codecs to be identified to check compatibility with hardware limitations. 2021-08-09 14:52:39 -05:00
Malte Rosenbjerg
28278301dc Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore 2021-08-06 11:13:45 +02:00
alex6dj
14d457b946 Use long option for stream index for better clarity 2021-08-05 15:14:37 -04:00
alex6dj
3a89062384 Subtitle hard-burn implementation. 2021-08-05 14:37:32 -04:00
Malte Rosenbjerg
fc23456eb1 Fix PcmAudioSampleWrapper namespace 2021-08-05 13:21:57 +02:00
alex6dj
47916eac29 Basic ffprobe test 2021-07-31 16:46:21 -04:00
Malte Rosenbjerg
587c453a7e Reduce timeout in cancellation token test 2021-07-16 01:17:20 +02:00
Patrick Krämer
3efc34565a Support cancellation token for cancelling FFMPEG processes 2021-07-07 20:16:14 +02:00
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
cfee86199b Add NotifyOnOutput 2020-12-18 00:40:09 +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
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
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