Commit graph

587 commits

Author SHA1 Message Date
Malte Rosenbjerg
cfda317883 change FrameRate on RawVideoPipeSource to double 2021-03-06 23:26:15 +01:00
Malte Rosenbjerg
f40479e697 Update nuget info 2021-03-06 23:17:23 +01:00
Malte Rosenbjerg
e0819c89bf Cleanup tests 2021-03-06 23:12:53 +01:00
Malte Rosenbjerg
a12c322de9 Add ConfigureAwait(false) 2021-03-06 23:05:38 +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
Malte Rosenbjerg
47779dce4d
Merge pull request #180 from Codinlab/CancelTimeout
Add cancel timeout
2021-03-05 18:00:38 +01:00
Malte Rosenbjerg
fb11b5324f
Merge pull request #177 from Codinlab/InputDevice
Add InputDeviceArgument
2021-03-05 17:52:10 +01:00
Thierry Fleury
9672713e63 Add cancel timeout
(cherry picked from commit 6383164f267516fbd50d50b2a511c15c25a168dc)
2021-03-02 19:43:24 +01:00
Thierry Fleury
157a53690f Add OutputStreamArgument
(cherry picked from commit 0c64c4d81d7055a582d8377123dbc3b7ba86e444)
2021-03-02 19:40:50 +01:00
Thierry Fleury
73531b3947 Add InputDeviceArgument 2021-02-28 14:50:55 +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
af67cc2fbb
Added tiesont to contributors list
Helping other users of this library
2021-02-03 23:58:11 +01:00
Malte Rosenbjerg
d598d846a8
Merge pull request #167 from rosenbjerg/master
3.4.0
2021-02-03 23:54:38 +01:00
Malte Rosenbjerg
09d8c00d80
Merge branch 'release' into master 2021-02-03 23:50:05 +01:00
Malte Rosenbjerg
4cb80432f6 Update FFMpegCore.csproj 2021-02-03 23:20:26 +01:00
Malte Rosenbjerg
66cdb302ef Return null when no format detected during analysis 2021-02-03 23:20:12 +01:00
Malte Rosenbjerg
8d2251c136
Merge pull request #165 from hey-red/expose-tags
Add tags on media stream and format
2021-01-29 17:50:39 +01:00
hey-red
f603163e25 Add tags on media stream and format 2021-01-29 16:03:59 +03:00
Malte Rosenbjerg
89fdef4766
Merge pull request #159 from hey-red/fix-formats
Fix incorrect condition
2021-01-24 00:56:54 +01:00
hey-red
d16efbda31 Fix incorrect condition 2021-01-23 05:40:03 +03:00
Malte Rosenbjerg
9604127f7a
Merge pull request #148 from rosenbjerg/master
3.3.0
2020-12-19 01:35:33 +01:00
Malte Rosenbjerg
cfee86199b Add NotifyOnOutput 2020-12-18 00:40:09 +01:00
Malte Rosenbjerg
8fe7377bbd
Merge pull request #143 from rosenbjerg/feature/support-for-specifying-output-encoding
Support specifying output encoding for ffmpeg and ffprobe output
2020-12-14 18:16:24 +01:00
Malte Rosenbjerg
a4aba666cd Support specifying output encoding for ffmpeg and ffprobe output 2020-12-09 17:07:41 +01:00
Malte Rosenbjerg
2815ca06f6
Merge pull request #141 from rosenbjerg/master
Also include output data on non-zero ffmpeg exitcode
2020-12-09 11:03:56 +01:00
Malte Rosenbjerg
de689dbb50
Merge branch 'master' into master 2020-12-09 11:02:26 +01:00
Malte Rosenbjerg
6bdf9da683 Also include output data on non-zero ffmpeg exitcode 2020-12-09 10:58:21 +01:00
Malte Rosenbjerg
ec59363af1
Merge pull request #140 from rosenbjerg/master
Include std out in FFMpegException
2020-12-09 08:35:41 +01:00
Malte Rosenbjerg
fa49e137f5
Merge pull request #139 from rosenbjerg/dev/include-ffmpeg-stdout-in-exception
Include ffmpeg std output in exception
2020-12-08 23:37:06 +01:00
Malte Rosenbjerg
f648a4b234 Include ffprobe std output in exception 2020-12-08 23:30:10 +01:00
Malte Rosenbjerg
fb2e1e00aa Init 2020-12-08 23:27:25 +01:00
Malte Rosenbjerg
502c4415e7 Increase timeout time 2020-12-07 22:07:41 +01:00
Malte Rosenbjerg
668aa794ec
Merge pull request #138 from rosenbjerg/master
Use .NET 5 in release pipeline
2020-12-07 22:01:22 +01:00
Malte Rosenbjerg
04f78b01e5 Use .NET 5 in release pipeline 2020-12-07 22:00:43 +01:00
Malte Rosenbjerg
f5aebb4caf
Merge pull request #137 from rosenbjerg/master
Fix dispose error with Snapshot in memory + tests refactored + matrix tests
2020-12-07 21:38:05 +01:00
Malte Rosenbjerg
02877f6326 Update FFMpegCore.csproj 2020-12-07 21:07:00 +01:00
Malte Rosenbjerg
2e1ffb0e02
Merge pull request #136 from rosenbjerg/refactor-tests
Refactor tests
2020-12-07 21:04:48 +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
a38b985b65 Prevent double GH actions on push to branch with active PR 2020-12-07 17:51:25 +01:00
Malte Rosenbjerg
8c7dee1b98 Output ffmpeg formats 2020-12-07 17:49:02 +01:00
Malte Rosenbjerg
1a15c08ea2 Reencode raw file 2020-12-07 17:41:31 +01:00
Malte Rosenbjerg
418cb943ff Run post after ffmpeg has completed 2020-12-07 17:25:54 +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