Commit graph

559 commits

Author SHA1 Message Date
Malte Rosenbjerg
399da85257 Merge pull request #170 from test-in-prod/master
Enhance ffprobe duration parsing

Former-commit-id: 814f499f62
2021-03-15 23:22:20 +01:00
Malte Rosenbjerg
8817b4c765 Merge branch 'master' into master
Former-commit-id: 5a2ebcf0f3
2021-03-15 23:20:27 +01:00
Malte Rosenbjerg
e1f319e074 Move MediaAnalysis parsing helper methods to static class
Former-commit-id: 8a314f02ae
2021-03-15 23:17:56 +01:00
Malte Rosenbjerg
7340380bd0 Update nuget meta
Former-commit-id: 0a146251e7
2021-03-15 23:06:34 +01:00
Malte Rosenbjerg
aec737bbc5 Renaming to OutputUrlArgument
Former-commit-id: fc2802d5fb
2021-03-15 23:04:59 +01:00
Malte Rosenbjerg
8f5ebf4852 Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore
Former-commit-id: 340400966d
2021-03-15 22:53:51 +01:00
Malte Rosenbjerg
085788c4e4 Merge pull request #179 from Codinlab/OutputStream
Add OutputStreamArgument

Former-commit-id: ce7eb9228b
2021-03-15 22:53:42 +01:00
Malte Rosenbjerg
ffbce8fba9 Bump nuget dependencies
Former-commit-id: 0face0b6e4
2021-03-15 22:48:53 +01:00
Malte Rosenbjerg
d2ed98ee26 Move extension method from Bitmap to Image
Former-commit-id: 6882284593
2021-03-15 22:48:43 +01:00
Malte Rosenbjerg
fdd2d2b6c3 Add examples from readme
Former-commit-id: cbf241ca3c
2021-03-15 22:45:30 +01:00
Malte Rosenbjerg
0cc7e361e5 Merge pull request #191 from max619/test/variable_image_size
Fixed process hang on pipe images format mismatch

Former-commit-id: 2be7600576
2021-03-15 22:44:33 +01:00
Max Bagryantsev
7bcdf6e642 Merge branch 'master' into test/variable_image_size
Former-commit-id: e8a780681c
2021-03-15 20:59:21 +03:00
Malte Rosenbjerg
5fd475210d Update README.md
Former-commit-id: d44863747a
2021-03-15 18:49:31 +01:00
Malte Rosenbjerg
16d2c8a6ff Update README.md
Former-commit-id: eba1dac0b9
2021-03-15 18:49:20 +01:00
Maxim Bagryantsev
fdc524d516 Moved Debug.WriteLine to Pipe disconnect
Former-commit-id: bbd9b7f55c
2021-03-15 20:44:48 +03: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
6602c87022 Merge pull request #188 from jogibear9988/patch-2
Update README.md

Former-commit-id: bad7c94b60
2021-03-10 21:12:48 +01:00
Jochen Kühner
64e31eb578 Update README.md
Former-commit-id: 928ef40f21
2021-03-10 07:15:36 +01:00
Malte Rosenbjerg
d2155541f9 Merge pull request #185 from rosenbjerg/master
v4.0.0

Former-commit-id: aed2dc0907
2021-03-07 00:36:26 +01:00
Malte Rosenbjerg
5f854cd2f4 Merge pull request #184 from rosenbjerg/refactor-video-filter-args
Refactor video filter args

Former-commit-id: 9e0230917d
2021-03-07 00:30:48 +01:00
Malte Rosenbjerg
7457168c44 Cleanup
Former-commit-id: df0205fb11
2021-03-07 00:26:08 +01:00
Malte Rosenbjerg
4a6fb20aab reorder method
Former-commit-id: 7444899106
2021-03-06 23:33:48 +01:00
Malte Rosenbjerg
f20c25d2ee change FrameRate on RawVideoPipeSource to double
Former-commit-id: cfda317883
2021-03-06 23:26:15 +01:00
Malte Rosenbjerg
4e1729875a Update nuget info
Former-commit-id: f40479e697
2021-03-06 23:17:23 +01:00
Malte Rosenbjerg
a4a3218878 Cleanup tests
Former-commit-id: e0819c89bf
2021-03-06 23:12:53 +01:00
Malte Rosenbjerg
b3032a4ab2 Add ConfigureAwait(false)
Former-commit-id: a12c322de9
2021-03-06 23:05:38 +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
Malte Rosenbjerg
4f06258557 Merge pull request #180 from Codinlab/CancelTimeout
Add cancel timeout

Former-commit-id: 47779dce4d
2021-03-05 18:00:38 +01:00
Malte Rosenbjerg
3e338de8f9 Merge pull request #177 from Codinlab/InputDevice
Add InputDeviceArgument

Former-commit-id: fb11b5324f
2021-03-05 17:52:10 +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
Thierry Fleury
93e56e523c Add OutputStreamArgument
(cherry picked from commit 0c64c4d81d7055a582d8377123dbc3b7ba86e444)


Former-commit-id: 157a53690f
2021-03-02 19:40:50 +01:00
Thierry Fleury
22340a4575 Add InputDeviceArgument
Former-commit-id: 73531b3947
2021-02-28 14:50:55 +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
1c016fed9a Merge branch 'master' into master
Former-commit-id: 6874ace962
2021-02-04 00:13:02 +01:00
Malte Rosenbjerg
cbb6c5a055 Added tiesont to contributors list
Helping other users of this library

Former-commit-id: af67cc2fbb
2021-02-03 23:58:11 +01:00
Malte Rosenbjerg
9f9640877d Merge pull request #167 from rosenbjerg/master
3.4.0

Former-commit-id: d598d846a8
2021-02-03 23:54:38 +01:00
Malte Rosenbjerg
2056412cbf Merge branch 'release' into master
Former-commit-id: 09d8c00d80
2021-02-03 23:50:05 +01:00
Malte Rosenbjerg
10726acc69 Update FFMpegCore.csproj
Former-commit-id: 4cb80432f6
2021-02-03 23:20:26 +01:00
Malte Rosenbjerg
08c898b56d Return null when no format detected during analysis
Former-commit-id: 66cdb302ef
2021-02-03 23:20:12 +01:00
Malte Rosenbjerg
ffa53edb51 Merge pull request #165 from hey-red/expose-tags
Add tags on media stream and format

Former-commit-id: 8d2251c136
2021-01-29 17:50:39 +01:00
hey-red
e9ac0951ee Add tags on media stream and format
Former-commit-id: f603163e25
2021-01-29 16:03:59 +03:00
Malte Rosenbjerg
f65a983803 Merge pull request #159 from hey-red/fix-formats
Fix incorrect condition

Former-commit-id: 89fdef4766
2021-01-24 00:56:54 +01:00
hey-red
ce12f753c0 Fix incorrect condition
Former-commit-id: d16efbda31
2021-01-23 05:40:03 +03:00
Malte Rosenbjerg
c82333bd12 Merge pull request #148 from rosenbjerg/master
3.3.0

Former-commit-id: 9604127f7a
2020-12-19 01:35:33 +01:00
Malte Rosenbjerg
3d640f9e08 Add NotifyOnOutput
Former-commit-id: cfee86199b
2020-12-18 00:40:09 +01:00
Malte Rosenbjerg
74c7dfddd6 Merge pull request #143 from rosenbjerg/feature/support-for-specifying-output-encoding
Support specifying output encoding for ffmpeg and ffprobe output

Former-commit-id: 8fe7377bbd
2020-12-14 18:16:24 +01:00
Malte Rosenbjerg
be477197cc Support specifying output encoding for ffmpeg and ffprobe output
Former-commit-id: a4aba666cd
2020-12-09 17:07:41 +01:00