Commit graph

360 commits

Author SHA1 Message Date
Malte Rosenbjerg
79bc918917 Minor improvements 2021-10-21 20:36:54 +02:00
Malte Rosenbjerg
06da927c7e Minor fixes 2021-10-21 19:44:22 +02:00
Malte Rosenbjerg
1b67ea76f0 Minor fixes 2021-10-21 19:43:13 +02:00
Malte Rosenbjerg
519fde40e3
Merge branch 'master' into fix/subtitle-hardburning-path-scape 2021-10-21 19:08:42 +02:00
Malte Rosenbjerg
8e98bf6afd
Merge branch 'master' into feature/audio-filters 2021-10-21 19:08:40 +02:00
Konstantin Samburov
9ff82337f6 Fix throwing exception for AnalyseAsync if ExitCode not 0. 2021-10-11 12:25:41 +09:00
alex6dj
40c14b573a Implemented Dynamic Audio Normalizer 2021-10-04 19:10:00 -04:00
alex6dj
571cc88a39 Document PanArgument 2021-10-04 13:05:44 -04:00
alex6dj
7a661b6ab3 Pan filter implementation and testing 2021-10-04 12:27:24 -04:00
alex6dj
78a703fc93 Initial audio filter implementation 2021-10-04 09:54:38 -04:00
alex6dj
975bd75c5d Fixed single quotes escape in subtitle file path 2021-10-03 11:07:15 -04:00
alex6dj
e6e07fc2fe Fixed error when burning subtitle with some special charaters in path 2021-10-01 23:40:40 -04:00
Andrew Morgan
93131a7cd0 Adding support for ffprobe show frames 2021-09-24 10:23:59 +01:00
Stanislau Krashynski
26fcfcc206 fix stream index for passing to ffmpeg while making a snapshot 2021-09-20 16:06:43 +03:00
alex6dj
d79bbaef97 Use boolean instead on generic int for disposition state value 2021-09-07 12:48:05 -04:00
alex6dj
41ec1a10dd Get extra disposition data in MediaStream 2021-09-06 23:08:36 -04:00
Malte Rosenbjerg
607bd1837f Update nuget details 2021-08-12 22:37:52 +02:00
Fedor Zhilkin
c540819893 Merge branch 'master' of github.com:Feodoros/FFMpegCore 2021-08-11 15:55:40 +03:00
Fedor Zhilkin
86ea16c432 Fix params order 2021-08-11 15:54:58 +03:00
Malte Rosenbjerg
fc9db2c04a
Merge branch 'master' into master 2021-08-11 00:43:03 +02:00
Fedor Zhilkin
562a50d874 Nullable streamIndex and inputFileIndex 2021-08-11 01:21:06 +03:00
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
e363440118 Load config file, if found, on first use 2021-08-07 16:39:10 +02:00
Malte Rosenbjerg
0efaf686f3 Specify README.md as nuget readme 2021-08-07 14:54:48 +02:00
Malte Rosenbjerg
914003ee32 Move Loop(1) to image FileInput. Fix for #206 2021-08-07 14:40:58 +02:00
Malte Rosenbjerg
28278301dc Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore 2021-08-06 11:13:45 +02:00
Malte Rosenbjerg
3888a07ab2
Merge branch 'master' into master 2021-08-06 08:10:37 +02:00
alex6dj
14d457b946 Use long option for stream index for better clarity 2021-08-05 15:14:37 -04:00
alex6dj
6247bf6ea4 Document parameters 2021-08-05 15:11:23 -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
Fedor Zhilkin
c30cf4c7ad Style guide fixes and minor refactoring 2021-08-03 21:58:40 +03:00
Fedor Zhilkin
37109bab34 Merge branch 'master' of github.com:rosenbjerg/FFMpegCore 2021-08-03 21:57:30 +03:00
alex6dj
f80d1fa3a6 Basic ffprobe subtitle support 2021-07-31 15:34:47 -04:00
Malte Rosenbjerg
0c9c526e2a Update nuget info 2021-07-16 01:10:54 +02:00
Malte Rosenbjerg
27fb37700c Improve ffprobe exceptions 2021-07-16 01:02:38 +02:00
cephei
ab82e3cc0f support specific StandardOutputEncoding & StandardErrorEncoding for ffprobe 2021-07-08 20:17:09 +08:00
Patrick Krämer
3efc34565a Support cancellation token for cancelling FFMPEG processes 2021-07-07 20:16:14 +02:00
Malte Rosenbjerg
d5e8444cb8 Update nuget info 2021-06-08 19:10:30 +02:00
Malte Rosenbjerg
f8692abc57
Merge branch 'master' into add-pcm-wrapper 2021-06-08 18:55:09 +02:00
Malte Rosenbjerg
366a1cd6c0 Remove -y 2021-06-08 18:49:22 +02:00
Julien Loir
acd462a527 Add test for the new audio pipe 2021-05-25 16:14:40 +02:00
Malte Rosenbjerg
be32a14619 Reorder using directives 2021-05-15 11:19:22 +02:00
Malte Rosenbjerg
e56521b2bb
Merge branch 'master' into add-pcm-wrapper 2021-05-15 11:17:46 +02:00
Malte Rosenbjerg
6c3129d417 Cleanup in using directives 2021-05-15 11:17:12 +02:00
Malte Rosenbjerg
9632bf5b30
Merge branch 'master' into add-pcm-wrapper 2021-05-15 11:14:44 +02:00
Malte Rosenbjerg
811471ed77 Update nuget meta 2021-05-14 01:08:01 +02:00
Malte Rosenbjerg
27a2219b8e Fixes, renames and missing stuff 2021-05-14 01:02:00 +02:00
Julien Loir
d8810682ef Add simple support for PCM audio source wrapping 2021-04-12 13:50:27 +02:00
Julien Loir
1711f98bd5 Add support for Format16bppRgb555 in Bitmap wrapper 2021-04-12 13:49:36 +02:00
Julien Loir
e10657169e Move System.IO in usings on some classes 2021-04-12 13:48:55 +02:00
Victor Horobchuk
4e6ecda884 update 2021-03-22 12:25:13 +02:00
Victor Horobchuk
4e85482988 Update 2021-03-18 21:37:02 +02:00
Victor Horobchuk
ab8be5cd57 Update 2021-03-17 09:58:01 +02:00
Victor Horobchuk
ec1b8a6b07 Add mirror and default ForceFormat for OutputPipeArgument 2021-03-17 00:09:56 +02:00
Malte Rosenbjerg
97fe2cce60 Update FFMpegCore.csproj 2021-03-15 23:44:31 +01:00
Malte Rosenbjerg
277f11d06e Update nuget meta 2021-03-15 23:43:28 +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
8a314f02ae Move MediaAnalysis parsing helper methods to static class 2021-03-15 23:17:56 +01:00
Malte Rosenbjerg
0a146251e7 Update nuget meta 2021-03-15 23:06:34 +01:00
Malte Rosenbjerg
fc2802d5fb Renaming to OutputUrlArgument 2021-03-15 23:04:59 +01:00
Malte Rosenbjerg
340400966d Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore 2021-03-15 22:53:51 +01:00
Malte Rosenbjerg
ce7eb9228b
Merge pull request #179 from Codinlab/OutputStream
Add OutputStreamArgument
2021-03-15 22:53:42 +01:00
Malte Rosenbjerg
0face0b6e4 Bump nuget dependencies 2021-03-15 22:48:53 +01:00
Malte Rosenbjerg
6882284593 Move extension method from Bitmap to Image 2021-03-15 22:48:43 +01:00
Maxim Bagryantsev
bbd9b7f55c Moved Debug.WriteLine to Pipe disconnect 2021-03-15 20:44:48 +03: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
7444899106 reorder method 2021-03-06 23:33:48 +01:00
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
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
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
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
hey-red
d16efbda31 Fix incorrect condition 2021-01-23 05:40:03 +03:00
Malte Rosenbjerg
cfee86199b Add NotifyOnOutput 2020-12-18 00:40:09 +01:00
Malte Rosenbjerg
a4aba666cd Support specifying output encoding for ffmpeg and ffprobe output 2020-12-09 17:07:41 +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
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
02877f6326 Update FFMpegCore.csproj 2020-12-07 21:07:00 +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
Malte Rosenbjerg
57258c6f5c Only post in continuation 2020-12-07 01:13:32 +01:00
Malte Rosenbjerg
6c51f634c2 Merge branch 'dev/fixes' into refactor-tests 2020-12-07 01:11:17 +01:00