FFMpegCore/.github/workflows/ci.yml

52 lines
1.1 KiB
YAML
Raw Normal View History

2020-02-16 10:46:30 +01:00
name: CI
2020-10-27 12:08:18 +01:00
on:
push:
branches:
- master
2022-03-24 21:27:16 +01:00
paths:
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 d85a4b81abaf4ab7832020cdb2ccfb46758d3bde. * 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
- .github/workflows/ci.yml
- FFMpegCore/**
- FFMpegCore.Test/**
2020-10-27 12:08:18 +01:00
pull_request:
branches:
- master
- release
2022-03-24 21:27:16 +01:00
paths:
- .github/workflows/ci.yml
2022-03-24 21:27:16 +01:00
- FFMpegCore/**
- FFMpegCore.Test/**
2020-10-27 12:08:18 +01:00
2020-02-16 10:46:30 +01:00
jobs:
2020-02-21 17:57:25 +01:00
ci:
2020-12-06 00:59:51 +01:00
runs-on: ${{ matrix.os }}
strategy:
matrix:
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 d85a4b81abaf4ab7832020cdb2ccfb46758d3bde. * 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
os: [windows-latest, ubuntu-latest, macos-latest]
timeout-minutes: 7
2020-02-16 10:46:30 +01:00
steps:
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 d85a4b81abaf4ab7832020cdb2ccfb46758d3bde. * 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
2020-12-06 00:53:11 +01:00
- name: Checkout
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 d85a4b81abaf4ab7832020cdb2ccfb46758d3bde. * 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
uses: actions/checkout@v3
2020-12-07 18:07:23 +01:00
- name: Prepare .NET
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 d85a4b81abaf4ab7832020cdb2ccfb46758d3bde. * 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
uses: actions/setup-dotnet@v3
2020-12-07 18:07:23 +01:00
with:
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 d85a4b81abaf4ab7832020cdb2ccfb46758d3bde. * 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
dotnet-version: '7.0.x'
- name: Lint with dotnet
run: dotnet format FFMpegCore.sln --severity warn --verify-no-changes
2020-02-16 11:13:21 +01:00
- name: Prepare FFMpeg
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 d85a4b81abaf4ab7832020cdb2ccfb46758d3bde. * 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
uses: FedericoCarboni/setup-ffmpeg@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
2020-02-16 10:46:30 +01:00
- name: Test with dotnet
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 d85a4b81abaf4ab7832020cdb2ccfb46758d3bde. * 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
run: dotnet test FFMpegCore.sln --collect "XPlat Code Coverage" --logger GitHubActions
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
directory: FFMpegCore.Test/TestResults
fail_ci_if_error: true