Commit graph

24 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
alex6dj
47916eac29 Basic ffprobe test 2021-07-31 16:46:21 -04: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
4f28983972 Init 2021-03-05 18:06:40 +01: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
d64f2dddeb Use webm for streaming test 2020-12-07 21:00:43 +01:00
Malte Rosenbjerg
3ad127a682 Dump 2020-12-07 00:47:47 +01:00
Malte Rosenbjerg
da34cf1ec1 More timeouts ... 2020-10-25 17:42:50 +01:00
Malte Rosenbjerg
adbd61c51d Shorten resources used for testing 2020-10-25 17:11:52 +01: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
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
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
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
ec043ef075 Major refactoring 2020-05-08 11:07:51 +02:00
Максим Багрянцев
cfda0fc9ae Added ffprobe stream input 2020-04-28 15:21:48 +03:00
Malte Rosenbjerg
cdcecda648 Make output capacity configureable and set higher default
Fixes #42
2020-03-01 12:55:57 +01:00