Commit graph

229 commits

Author SHA1 Message Date
Malte Rosenbjerg
3e3ba683f2 Merge branch 'master' into fix/dynamic_argumentText
Former-commit-id: b0578e3ae7
2022-03-24 20:57:12 +01:00
Jonas Kamsker
bb4c646f02 Fixed merge & implemented aax mode
Former-commit-id: f42faa4f26
2022-03-20 19:56:17 +01:00
Malte Rosenbjerg
52bf2ec4d0 Init
Former-commit-id: 7f8bd24058
2022-03-12 19:06:46 +01:00
Jonas Kamsker
f3031db17b Added unit tests
Former-commit-id: d6bc6c92a5
2022-01-12 00:34:52 +01:00
Jonas Kamsker
dd2bfac840 Using correct map_metadata dynamically
Former-commit-id: 1b2af5fd1f
2022-01-11 22:42:31 +01:00
Malte Rosenbjerg
81ee9b9872 Update packages
Former-commit-id: 1c65502b90
2022-01-08 12:27:14 +01:00
Malte Rosenbjerg
e4ef092ac6 Merge branch 'master' into MetaDataArgument
Former-commit-id: 48689cf694
2022-01-07 16:39:37 +01:00
Jonas Kamsker
1f0a4f2a0e Refactored, added unit test
Former-commit-id: f560244628
2022-01-06 19:38:37 +01:00
Jonas Kamsker
e950cdf068 Added unit test
Former-commit-id: e79448df48
2022-01-04 17:47:10 +01:00
BobSilent
ce71aaab78 reset GlobalFFOptions to null after testing
Former-commit-id: 8cacf074fd
2021-11-19 09:20:47 +01:00
BobSilent
c04546a156 Added Tests
Former-commit-id: 47a6c23b2d
2021-11-18 14:01:38 +01:00
Alex Zhukov
4608b590e1 parse ffprobes -show_packets output
Former-commit-id: 239e2aef42
2021-11-08 06:28:16 -08:00
Malte Rosenbjerg
dfd4490b37 Added VideoCodec.LibX265 (#276)
Former-commit-id: 0f82509c41
2021-11-03 18:53:38 +01:00
Malte Rosenbjerg
7de7a67623 Merge branch 'master' into ffprobe-frames
Former-commit-id: 40235db7ec
2021-10-21 20:47:25 +02:00
Malte Rosenbjerg
3ea68c4fb8 Merge branch 'master' into pr/255
Former-commit-id: 2b7cd6f7ca
2021-10-21 20:40:25 +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
alex6dj
67030dda50 Finish PanArgument tests behaviour
Former-commit-id: 45b8486a72
2021-10-05 00:48:33 -04:00
alex6dj
fb71e1a062 Use only audio files for test to speedup tests run
Former-commit-id: 6045d1534e
2021-10-04 19:14:04 -04:00
alex6dj
56abd747d3 Updated MSTest to fix failling test using DataTestMethod
Former-commit-id: f3db0f5d78
2021-10-04 19:10:58 -04:00
alex6dj
152648275f Implemented Dynamic Audio Normalizer
Former-commit-id: 40c14b573a
2021-10-04 19:10:00 -04:00
alex6dj
b5dd8600a4 Pan filter implementation and testing
Former-commit-id: 7a661b6ab3
2021-10-04 12:27:24 -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
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
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
Malte Rosenbjerg
bc00b6786a Increase timeout on failing unit test
Former-commit-id: 04ebdb1907
2021-08-10 10:38:56 +02: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
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
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
8b5b6d8e79 Merge branch 'master' of github.com:rosenbjerg/FFMpegCore
Former-commit-id: 37109bab34
2021-08-03 21:57:30 +03:00
alex6dj
041d40effd Basic ffprobe test
Former-commit-id: 47916eac29
2021-07-31 16:46:21 -04:00
Malte Rosenbjerg
2601dc3a83 Reduce timeout in cancellation token test
Former-commit-id: 587c453a7e
2021-07-16 01:17:20 +02:00
Patrick Krämer
0ba18c24ae Support cancellation token for cancelling FFMPEG processes
Former-commit-id: 3efc34565a
2021-07-07 20:16:14 +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
33878ab605 Cleanup in using directives
Former-commit-id: 6c3129d417
2021-05-15 11:17:12 +02:00
Malte Rosenbjerg
12e031dfb3 Fixes, renames and missing stuff
Former-commit-id: 27a2219b8e
2021-05-14 01:02:00 +02:00
Malte Rosenbjerg
59dc8e6b94 Fix test
Former-commit-id: cce6c6983c
2021-03-15 23:50:11 +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
ffbce8fba9 Bump nuget dependencies
Former-commit-id: 0face0b6e4
2021-03-15 22:48:53 +01: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
a4a3218878 Cleanup tests
Former-commit-id: e0819c89bf
2021-03-06 23:12:53 +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
Thierry Fleury
50cb183ae2 Add cancel timeout
(cherry picked from commit 6383164f267516fbd50d50b2a511c15c25a168dc)


Former-commit-id: 9672713e63
2021-03-02 19:43:24 +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
3d640f9e08 Add NotifyOnOutput
Former-commit-id: cfee86199b
2020-12-18 00:40:09 +01:00
Malte Rosenbjerg
732e3a0772 Merge branch 'master' into master
Former-commit-id: de689dbb50
2020-12-09 11:02:26 +01:00
Malte Rosenbjerg
d2c4d81196 Use webm for streaming test
Former-commit-id: d64f2dddeb
2020-12-07 21:00:43 +01:00
Malte Rosenbjerg
c2f7b36a5e Test with .NET 5.0
Former-commit-id: 4c24189f6b
2020-12-07 18:07:23 +01:00
Malte Rosenbjerg
5311f99419 Convert to mp3 instead of opus
Former-commit-id: f9090ba9fe
2020-12-07 17:52:47 +01:00
Malte Rosenbjerg
27de93d64c Reencode raw file
Former-commit-id: 1a15c08ea2
2020-12-07 17:41:31 +01:00
Malte Rosenbjerg
ac82e17d25 Fix
Former-commit-id: 203da6300b
2020-12-07 01:20:13 +01:00
Malte Rosenbjerg
726c0f9800 Merge branch 'master' into refactor-tests
Former-commit-id: 7fd7ae369d
2020-12-07 01:14:19 +01:00
Malte Rosenbjerg
ec671ff8bf Dump
Former-commit-id: 3ad127a682
2020-12-07 00:47:47 +01:00
Malte Rosenbjerg
273d7232cb Use .NET Core 3.1 - 5.0 not yet available
Former-commit-id: d8a09a3574
2020-12-06 00:43:05 +01:00
Malte Rosenbjerg
73494b9765 Bump versions for tests
Former-commit-id: 9c3d8d4338
2020-12-06 00:34:06 +01:00
Malte Rosenbjerg
aeab8b03ed Add raw audio test
Former-commit-id: 7904a86d63
2020-12-06 00:33:55 +01:00
Malte Rosenbjerg
c691dba8e8 Init
Former-commit-id: 8b45a6b680
2020-12-03 20:47:20 +01:00
Malte Rosenbjerg
717d61dd07 Update dependencies and add StreamPipeSink constructor
Former-commit-id: 5ba2ed97cf
2020-11-25 16:15:16 +01:00
Fedor Zhilkin
0126cd1e77 Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore
Former-commit-id: c6bdf55a77
2020-11-13 01:36:00 +03:00
Malte Rosenbjerg
049cbc1dc6 Fix cancellation
Former-commit-id: 179cb15ba8
2020-10-28 19:26:33 +01:00
Malte Rosenbjerg
b0e3d157d3 Cleanup
Former-commit-id: 6b1e411bfe
2020-10-27 00:49:28 +01:00
Malte Rosenbjerg
e914f3fe4c More timeouts ...
Former-commit-id: da34cf1ec1
2020-10-25 17:42:50 +01:00
Malte Rosenbjerg
c00562bb31 Timeout on all to find problematic test in GH action runner
Former-commit-id: 1b42eb2c1a
2020-10-25 17:34:38 +01:00
Malte Rosenbjerg
88a099523d Add more timeout attributes
Former-commit-id: 2bacf6232b
2020-10-25 17:26:43 +01:00
Malte Rosenbjerg
f7e787a7d5 GitHub Actions annotations for tests
Former-commit-id: a40d264de5
2020-10-25 17:25:46 +01:00
Malte Rosenbjerg
98486268a2 Add timeouts
Former-commit-id: d0293598ae
2020-10-25 17:18:40 +01:00
Malte Rosenbjerg
b30a23fc58 Fix test
Former-commit-id: a7981f2886
2020-10-25 17:16:47 +01:00
Malte Rosenbjerg
4f9b4f4b57 Shorten resources used for testing
Former-commit-id: adbd61c51d
2020-10-25 17:11:52 +01:00
Malte Rosenbjerg
ca1035fde2 Add HardwareAccelerationArgument
Former-commit-id: 5fb2305b5b
2020-10-24 23:33:44 +02:00
Malte Rosenbjerg
9434715fba New API
Former-commit-id: 010e9947e9
2020-10-24 22:31:54 +02:00
Fedor Zhilkin
0a09cbce2b Add test for map filtering
Former-commit-id: f2fca0c1b6
2020-09-17 21:02:33 +03:00
Rafael Carvalho
b25d287422 Update existing references to use IMediaAnalysis
Former-commit-id: 37a04a37cd
2020-08-12 17:22:10 +12:00
Malte Rosenbjerg
bce612fca3 Update test packages
Former-commit-id: db449430bd
2020-08-11 00:47:29 +02:00
Malte Rosenbjerg
96af90ba7e Add SeekedFileInputArgument and such
Former-commit-id: 59abdd2343
2020-07-26 02:45:14 +02:00
Malte Rosenbjerg
ecec9d2ea4 Clean unused using directives
Former-commit-id: 8576154d3f
2020-07-20 15:26:34 +02:00
Malte Rosenbjerg
40f22de444 Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore
Former-commit-id: 3785179a87
2020-07-13 23:54:49 +02:00
Malte Rosenbjerg
ef8edf2a6e Base file extension on video container info from ffmpeg
Former-commit-id: 442e69ce1d
2020-07-13 23:54:46 +02:00
Mike Cochran
8105333443 Added audio codec profile to AudioStream
Added the audio codec profile and accompanying test.


Former-commit-id: 24f79fe3c8
2020-07-06 16:33:50 -05:00
Malte Rosenbjerg
8f66a8f4c2 Update VideoTest.cs
Former-commit-id: d840f8d237
2020-06-18 22:08:44 +02:00
Malte Rosenbjerg
e1422c94c8 Update VideoTest.cs
Former-commit-id: f9a3197165
2020-06-16 07:42:51 +02:00
Malte Rosenbjerg
5b3f578bff Skip two tests
Former-commit-id: cb42e13ed9
2020-06-06 15:38:14 +02:00
Malte Rosenbjerg
82d401b1cf Add overload to Join
Former-commit-id: a778ccd58f
2020-05-24 19:27:55 +02:00
Malte Rosenbjerg
17c9db52dd Renaming
Former-commit-id: 39dd390e81
2020-05-24 19:17:14 +02:00
Malte Rosenbjerg
ff5b9e3b42 Minor adjustment
Former-commit-id: 82fc6e92c9
2020-05-13 00:11:53 +02:00
Malte Rosenbjerg
dd785a8203 Add delay
Former-commit-id: ef64263899
2020-05-13 00:00:02 +02:00
Malte Rosenbjerg
93733964aa Make process cancellable
Former-commit-id: b2085c4a8b
2020-05-12 23:52:07 +02:00