Commit graph

363 commits

Author SHA1 Message Date
Malte Rosenbjerg
3ea68c4fb8 Merge branch 'master' into pr/255
Former-commit-id: 2b7cd6f7ca
2021-10-21 20:40:25 +02:00
Malte Rosenbjerg
71356258f8 Merge pull request #253 from stasokrosh/master
fix stream index for passing to ffmpeg while making a snapshot

Former-commit-id: 5de32064c1
2021-10-21 20:39:15 +02:00
Malte Rosenbjerg
466d0c6cad Merge pull request #260 from alex6dj/fix/subtitle-hardburning-path-scape
Fixed error when burning subtitle with some special charaters in path

Former-commit-id: ce18f3b2ed
2021-10-21 20:38:21 +02:00
Malte Rosenbjerg
75fa1db64f Minor improvements
Former-commit-id: 79bc918917
2021-10-21 20:36:54 +02:00
Malte Rosenbjerg
2de12dd61d Minor fixes
Former-commit-id: 06da927c7e
2021-10-21 19:44:22 +02:00
Malte Rosenbjerg
390cd00005 Minor fixes
Former-commit-id: 1b67ea76f0
2021-10-21 19:43:13 +02:00
Malte Rosenbjerg
9b1df3945b Merge branch 'master' into fix/subtitle-hardburning-path-scape
Former-commit-id: 519fde40e3
2021-10-21 19:08:42 +02:00
Malte Rosenbjerg
b15cc39ebd Merge branch 'master' into feature/audio-filters
Former-commit-id: 8e98bf6afd
2021-10-21 19:08:40 +02:00
Konstantin Samburov
9f3debb9f1 Fix throwing exception for AnalyseAsync if ExitCode not 0.
Former-commit-id: 9ff82337f6
2021-10-11 12:25:41 +09:00
alex6dj
152648275f Implemented Dynamic Audio Normalizer
Former-commit-id: 40c14b573a
2021-10-04 19:10:00 -04:00
alex6dj
d7be7aa5ac Document PanArgument
Former-commit-id: 571cc88a39
2021-10-04 13:05:44 -04:00
alex6dj
b5dd8600a4 Pan filter implementation and testing
Former-commit-id: 7a661b6ab3
2021-10-04 12:27:24 -04:00
alex6dj
c6f1d94a74 Initial audio filter implementation
Former-commit-id: 78a703fc93
2021-10-04 09:54:38 -04:00
alex6dj
0c74351d83 Fixed single quotes escape in subtitle file path
Former-commit-id: 975bd75c5d
2021-10-03 11:07:15 -04:00
alex6dj
21da31c4c1 Fixed error when burning subtitle with some special charaters in path
Former-commit-id: e6e07fc2fe
2021-10-01 23:40:40 -04:00
Andrew Morgan
dbccc116fe Adding support for ffprobe show frames
Former-commit-id: 93131a7cd0
2021-09-24 10:23:59 +01:00
Stanislau Krashynski
849eb3ce54 fix stream index for passing to ffmpeg while making a snapshot
Former-commit-id: 26fcfcc206
2021-09-20 16:06:43 +03:00
alex6dj
2b6a74dd7e Use boolean instead on generic int for disposition state value
Former-commit-id: d79bbaef97
2021-09-07 12:48:05 -04:00
alex6dj
57e2585f52 Get extra disposition data in MediaStream
Former-commit-id: 41ec1a10dd
2021-09-06 23:08:36 -04:00
Malte Rosenbjerg
db56dda75e Update nuget details
Former-commit-id: 607bd1837f
2021-08-12 22:37:52 +02:00
Fedor Zhilkin
737654256c Merge branch 'master' of github.com:Feodoros/FFMpegCore
Former-commit-id: c540819893
2021-08-11 15:55:40 +03:00
Fedor Zhilkin
847ed70522 Fix params order
Former-commit-id: 86ea16c432
2021-08-11 15:54:58 +03:00
Malte Rosenbjerg
f7dfc6106c Merge branch 'master' into master
Former-commit-id: fc9db2c04a
2021-08-11 00:43:03 +02:00
Fedor Zhilkin
65ebc57b29 Nullable streamIndex and inputFileIndex
Former-commit-id: 562a50d874
2021-08-11 01:21:06 +03:00
Warrick Wilson
cbd33fd553 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.
Former-commit-id: ac2b358fad
2021-08-09 14:52:39 -05:00
Malte Rosenbjerg
d73d7fa30e Load config file, if found, on first use
Former-commit-id: e363440118
2021-08-07 16:39:10 +02:00
Malte Rosenbjerg
3516440ca1 Specify README.md as nuget readme
Former-commit-id: 0efaf686f3
2021-08-07 14:54:48 +02:00
Malte Rosenbjerg
1f3d1ec429 Move Loop(1) to image FileInput. Fix for #206
Former-commit-id: 914003ee32
2021-08-07 14:40:58 +02:00
Malte Rosenbjerg
8b3aadda08 Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore
Former-commit-id: 28278301dc
2021-08-06 11:13:45 +02:00
Malte Rosenbjerg
4c521aadcc Merge branch 'master' into master
Former-commit-id: 3888a07ab2
2021-08-06 08:10:37 +02:00
alex6dj
8633937f52 Use long option for stream index for better clarity
Former-commit-id: 14d457b946
2021-08-05 15:14:37 -04:00
alex6dj
75386b6dac Document parameters
Former-commit-id: 6247bf6ea4
2021-08-05 15:11:23 -04:00
alex6dj
96ec0613d3 Subtitle hard-burn implementation.
Former-commit-id: 3a89062384
2021-08-05 14:37:32 -04:00
Malte Rosenbjerg
d755c1d526 Fix PcmAudioSampleWrapper namespace
Former-commit-id: fc23456eb1
2021-08-05 13:21:57 +02:00
Fedor Zhilkin
074404f08c Style guide fixes and minor refactoring
Former-commit-id: c30cf4c7ad
2021-08-03 21:58:40 +03:00
Fedor Zhilkin
8b5b6d8e79 Merge branch 'master' of github.com:rosenbjerg/FFMpegCore
Former-commit-id: 37109bab34
2021-08-03 21:57:30 +03:00
alex6dj
bd7dcf9edd Basic ffprobe subtitle support
Former-commit-id: f80d1fa3a6
2021-07-31 15:34:47 -04:00
Malte Rosenbjerg
06a519eefe Update nuget info
Former-commit-id: 0c9c526e2a
2021-07-16 01:10:54 +02:00
Malte Rosenbjerg
33ab024a60 Improve ffprobe exceptions
Former-commit-id: 27fb37700c
2021-07-16 01:02:38 +02:00
cephei
2f66d24fa5 support specific StandardOutputEncoding & StandardErrorEncoding for ffprobe
Former-commit-id: ab82e3cc0f
2021-07-08 20:17:09 +08:00
Patrick Krämer
0ba18c24ae Support cancellation token for cancelling FFMPEG processes
Former-commit-id: 3efc34565a
2021-07-07 20:16:14 +02:00
Malte Rosenbjerg
e8f9fa52ae Update nuget info
Former-commit-id: d5e8444cb8
2021-06-08 19:10:30 +02:00
Malte Rosenbjerg
bf020a7893 Merge branch 'master' into add-pcm-wrapper
Former-commit-id: f8692abc57
2021-06-08 18:55:09 +02:00
Malte Rosenbjerg
d9ef2f5d54 Remove -y
Former-commit-id: 366a1cd6c0
2021-06-08 18:49:22 +02:00
Julien Loir
7e9b3d20cd Add test for the new audio pipe
Former-commit-id: acd462a527
2021-05-25 16:14:40 +02:00
Malte Rosenbjerg
2ad0381413 Reorder using directives
Former-commit-id: be32a14619
2021-05-15 11:19:22 +02:00
Malte Rosenbjerg
2bdfcdcb7a Merge branch 'master' into add-pcm-wrapper
Former-commit-id: e56521b2bb
2021-05-15 11:17:46 +02:00
Malte Rosenbjerg
33878ab605 Cleanup in using directives
Former-commit-id: 6c3129d417
2021-05-15 11:17:12 +02:00
Malte Rosenbjerg
c75d5c434a Merge branch 'master' into add-pcm-wrapper
Former-commit-id: 9632bf5b30
2021-05-15 11:14:44 +02:00
Malte Rosenbjerg
4d3ba4192b Update nuget meta
Former-commit-id: 811471ed77
2021-05-14 01:08:01 +02:00
Malte Rosenbjerg
12e031dfb3 Fixes, renames and missing stuff
Former-commit-id: 27a2219b8e
2021-05-14 01:02:00 +02:00
Julien Loir
32dfb34724 Add simple support for PCM audio source wrapping
Former-commit-id: d8810682ef
2021-04-12 13:50:27 +02:00
Julien Loir
7bee36e2ca Add support for Format16bppRgb555 in Bitmap wrapper
Former-commit-id: 1711f98bd5
2021-04-12 13:49:36 +02:00
Julien Loir
4eafa4533c Move System.IO in usings on some classes
Former-commit-id: e10657169e
2021-04-12 13:48:55 +02:00
Victor Horobchuk
c690817135 update
Former-commit-id: 4e6ecda884
2021-03-22 12:25:13 +02:00
Victor Horobchuk
93496db720 Update
Former-commit-id: 4e85482988
2021-03-18 21:37:02 +02:00
Victor Horobchuk
d0afc5001b Update
Former-commit-id: ab8be5cd57
2021-03-17 09:58:01 +02:00
Victor Horobchuk
229fb93980 Add mirror and default ForceFormat for OutputPipeArgument
Former-commit-id: ec1b8a6b07
2021-03-17 00:09:56 +02:00
Malte Rosenbjerg
90f642d61d Update FFMpegCore.csproj
Former-commit-id: 97fe2cce60
2021-03-15 23:44:31 +01:00
Malte Rosenbjerg
eed36f579b Update nuget meta
Former-commit-id: 277f11d06e
2021-03-15 23:43:28 +01:00
Malte Rosenbjerg
263645f83b Fix tests
Former-commit-id: 1d6517796f
2021-03-15 23:43:22 +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
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
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
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
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
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
hey-red
ce12f753c0 Fix incorrect condition
Former-commit-id: d16efbda31
2021-01-23 05:40:03 +03:00
Malte Rosenbjerg
3d640f9e08 Add NotifyOnOutput
Former-commit-id: cfee86199b
2020-12-18 00:40:09 +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
Malte Rosenbjerg
732e3a0772 Merge branch 'master' into master
Former-commit-id: de689dbb50
2020-12-09 11:02:26 +01:00
Malte Rosenbjerg
949dc76f3f Also include output data on non-zero ffmpeg exitcode
Former-commit-id: 6bdf9da683
2020-12-09 10:58:21 +01:00
Malte Rosenbjerg
76a977bcd6 Include ffprobe std output in exception
Former-commit-id: f648a4b234
2020-12-08 23:30:10 +01:00
Malte Rosenbjerg
e124bab800 Init
Former-commit-id: fb2e1e00aa
2020-12-08 23:27:25 +01:00
Malte Rosenbjerg
c1881bcff7 Update FFMpegCore.csproj
Former-commit-id: 02877f6326
2020-12-07 21:07:00 +01:00
Malte Rosenbjerg
ab277aa8fa Run post after ffmpeg has completed
Former-commit-id: 418cb943ff
2020-12-07 17:25:54 +01:00
Malte Rosenbjerg
ac82e17d25 Fix
Former-commit-id: 203da6300b
2020-12-07 01:20:13 +01:00