Commit graph

30 commits

Author SHA1 Message Date
Malte Rosenbjerg
278ab4c7b5
V.5.0.0 (#391)
* Move NotifyOnProgress processing to ErrorData

* added HighPass filter, LowPass filter, Audiogate and Silencedetection

* re-added corresponding AudioFilterOptions

* Update LICENSE

* Update ci.yml

* Fix argument

* Bump action versions

* Ignore Uri_Duration until root cause found

* Use action that can install specific ffmpeg version

* Remove ignore

* Revert "Remove ignore"

This reverts commit d85a4b81ab.

* Bump dependencies

* Use setup-dotnet@v2 since v3 seems to install .NET 7

* Init

* WIP

* Add Directory.Build.props

* Add SupportedOSPlatform attribute on tests using SDC

* Fix using temporarily

* Add IgnoreIf attribute to only run SDC tests on Windows

* Cleanup pipelines

* Cleanup

* Cleanup using directives

* More cleanup

* Simplify attribute

* Fix attribute

* Add missing test file

* Added blackdetect and blackframe arguments

* Added log levels

* Add missing using directive after rebase

* fix extension is not png lost path

* Apply fix to methods in new location

* Add Uri support for Frame Analysis,
skipped Stream support as this cannot support MP4's with moov atom in the end of the file, and input pipes do not support seek.

* Add select multiple streams

* Add other stream types to Channel (V,s,d,t)

* Add negative mapping to select stream (deselect)

* Update test

* Add pad video filter

* Update PipeHelpers.cs

* Fix GetPipePath() for MacOS

* Add SampleAspectRatio property to VideoStream

* Update year

* Always use Path.GetTempPath() on linux and macos

* Use FedericoCarboni/setup-ffmpeg@v2

* Include macos in ci matrix

* AddDeviceInput similar to AddFileInput and FromDeviceInput

* fixed hwaccel parameter not working in 5.0

* a hack to unconditionally kill ffmpeg when parent .NET process exits

* Remove PInvoke.Kernel32

* Remove unneeded cast

* Update test

* Added ability to retrieve bit depth from media streams for lossless encodings (#359)

* Added ability to retrieve bit depth from media streams for lossless encodings

* Shortened sample AIFF file used in tests

* Cleanup after splitting into two packages (#386)

* Move PosterWithAudio to FFMpegCore

* Reduce windows only tests

* Update Directory.Build.props

* Create .editorconfig

* More cleanup

* Enable implicit usings

* Remove unused method

* Apply dotnet format

* Fix unused variable in AudioGateArgument

* Fix boolean conditions in AudioGateArgument

* Merge boolean conditions into pattern

* Use target-typed new

* Add linting to CI

* Add CUDA to HardwareAccelerationDevice enum

* Increase timeout for Video_Join_Image_Sequence

* Adjust Video_Join_Image_Sequence timeout

* Fix expected seconds in Video_Join_Image_Sequence

* Increase timeout for Video_TranscodeToMemory due to macos agents

* fix: Switch source for rotation property from 'tags/rotate' to 'side_data_list/rotation' (incl. test case) (#388)

* Init (#389)

* build master branch after merge or push (#390)

* Update ci.yml

* Add codecov

* Remove codecov for now

* Add coverlet.collector and codecov

---------

Co-authored-by: keg247 <44041557+keg247@users.noreply.github.com>
Co-authored-by: Wilbert Bongers <msdnwilbert@muziekweb.nl>
Co-authored-by: Artemii Gazizianov <107502822+ArtemiiimetrA@users.noreply.github.com>
Co-authored-by: Thodoris Koskinopoulos <me@koskit.me>
Co-authored-by: 赵宁 <602726286@qq.com>
Co-authored-by: jeroenvanderschoot <jeroen.vanderschoot@kinetiq.tv>
Co-authored-by: Sky Z <qe201020335@sina.com>
Co-authored-by: Gleb Moskalenko <gleb.moskalenko.general@gmail.com>
Co-authored-by: ep1kt3t0s <86835785+ep1kt3t0s@users.noreply.github.com>
Co-authored-by: Victor Nova <lostfreeman@gmail.com>
Co-authored-by: Tom Bogle <tom_bogle@sil.org>
Co-authored-by: pklaes <10601494+pklaes@users.noreply.github.com>
2023-02-05 00:29:37 +01:00
Malte Rosenbjerg
7f8bd24058 Init 2022-03-12 19:06:46 +01:00
Alex Zhukov
239e2aef42 parse ffprobes -show_packets output 2021-11-08 06:28:16 -08:00
Malte Rosenbjerg
79bc918917 Minor improvements 2021-10-21 20:36:54 +02: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
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
alex6dj
47916eac29 Basic ffprobe test 2021-07-31 16:46:21 -04:00
Malte Rosenbjerg
cce6c6983c Fix test 2021-03-15 23:50:11 +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
4f28983972 Init 2021-03-05 18:06:40 +01: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
d64f2dddeb Use webm for streaming test 2020-12-07 21:00:43 +01:00
Malte Rosenbjerg
3ad127a682 Dump 2020-12-07 00:47:47 +01:00
Malte Rosenbjerg
da34cf1ec1 More timeouts ... 2020-10-25 17:42:50 +01:00
Malte Rosenbjerg
adbd61c51d Shorten resources used for testing 2020-10-25 17:11:52 +01:00
Mike Cochran
24f79fe3c8 Added audio codec profile to AudioStream
Added the audio codec profile and accompanying test.
2020-07-06 16:33:50 -05:00
Malte Rosenbjerg
1dc7524ecd Revert "Cleanup"
This reverts commit d95f687e46.
2020-05-12 21:28:50 +02:00
Malte Rosenbjerg
d95f687e46 Cleanup 2020-05-12 21:05:00 +02:00
Malte Rosenbjerg
40a7475b05 Merge branch 'master' into refactor 2020-05-10 13:23:04 +02:00
Malte Rosenbjerg
d923dace6c Add timeouts 2020-05-10 12:07:28 +02:00
Malte Rosenbjerg
dc30010725 Fix probe tests and add timeouts 2020-05-10 11:46:33 +02:00
Malte Rosenbjerg
542000601a Reverted experiment 2020-05-10 11:41:53 +02:00
Malte Rosenbjerg
8d74a3e0d7 Fixes 2020-05-10 11:31:26 +02:00
Malte Rosenbjerg
6c84396898 Attempt at unix pipe support 2020-05-09 20:34:27 +02:00
Malte Rosenbjerg
72366d573a Cleanup 2020-05-09 17:53:03 +02:00
Malte Rosenbjerg
ec043ef075 Major refactoring 2020-05-08 11:07:51 +02:00
Максим Багрянцев
cfda0fc9ae Added ffprobe stream input 2020-04-28 15:21:48 +03:00
Malte Rosenbjerg
cdcecda648 Make output capacity configureable and set higher default
Fixes #42
2020-03-01 12:55:57 +01:00