Malte Rosenbjerg
cdf2dd5b65
Refine unit tests for cancellation
2025-10-27 21:01:36 +01:00
Malte Rosenbjerg
935e1cf17c
Merge branch 'main' into PR-592_Snapshot_Cancellation_Support
2025-10-27 19:56:10 +01:00
Malte Rosenbjerg
919c6ef526
Use CreateLinkedTokenSource to bind to TestContext cancellationtoken
2025-10-27 19:38:58 +01:00
Malte Rosenbjerg
ef313ea411
Add test verifying functionality
2025-10-25 11:25:52 +02:00
Sergey Nechaev
b3c201b42e
Add cancellation token support to SnapshotAsync, GifSnapshotAsync and SubVideoAsync methods. Fixes #592 .
2025-10-21 17:25:51 +02:00
Malte Rosenbjerg
0e62fb4d57
Merge branch 'main' into fix-fps-handling-in-join-image-sequence
2025-10-18 00:37:20 +02:00
Malte Rosenbjerg
f20bd0c433
Merge branch 'main' into improve-percentage-progress-test
2025-10-18 00:01:33 +02:00
Malte Rosenbjerg
9a0f784c71
Increate timeout further due to slow windows CI ....
2025-10-17 23:29:13 +02:00
Malte Rosenbjerg
f11b168ed9
Increase timeout because of slow windows CI agents
2025-10-17 23:15:16 +02:00
Malte Rosenbjerg
d0f6db1a2a
Dont override in test using cancellationtoken
2025-10-17 22:52:33 +02:00
Malte Rosenbjerg
40414ad008
Remove extranous blank line
2025-10-17 22:46:45 +02:00
Malte Rosenbjerg
0ea445cdb8
Apply suggestions from Copilot review
2025-10-17 22:46:03 +02:00
Malte Rosenbjerg
fab7ff0aab
Ensure TestContext.CancellationToken is used
2025-10-17 22:37:39 +02:00
Malte Rosenbjerg
2003100909
Improve test for percentage progress events
2025-10-17 22:14:00 +02:00
Malte Rosenbjerg
4baddaab7f
Add test verifying cancellation before processing starts
2025-10-17 21:51:11 +02:00
Malte Rosenbjerg
3c3da28a99
Update test assertion on video duration
2025-10-17 21:50:34 +02:00
Malte Rosenbjerg
2a25bff836
Remove WindowsOnlyTestMethod and use OsSpecificTestMethod
2025-10-17 15:14:42 +02:00
Malte Rosenbjerg
91bbfa850e
Avoid modifying global options if not necessary
2025-10-16 14:36:25 +02:00
Malte Rosenbjerg
671829b501
Run code cleanup
2025-10-16 13:32:25 +02:00
Malte Rosenbjerg
c49f4c79ca
Pass TestContext.CancellationToken to async invocations
2025-10-16 12:40:25 +02:00
Malte Rosenbjerg
ce87dc8a36
Run full code cleanup
2025-10-16 12:38:57 +02:00
Malte Rosenbjerg
d3d810ecd7
Update tests to new syntax
2025-10-16 12:35:45 +02:00
Victor Horobchuk
aa1051b268
FEAT: added more extensions for snapshot(jpg, bmp, webp)
2025-04-17 12:29:06 +03:00
Fredrik Hagfjäll
fe4b79e24c
fix linting
2024-03-30 09:31:03 +01:00
Fredrik Hagfjäll
7697e2767d
made test resize the output
2024-03-30 09:29:25 +01:00
Fredrik Hagfjäll
82cc9715dc
fix: Snapshots from rotated videos should have correct width/height
...
Some video-files have their metadata as -90 instead of 90. This PR handles correct aspect-ratio and rotation when taking snapshots.
The sample video provided in the PR is my own recording. A bit too big maybe? I couldn't find any command to set the metadata to `-90` on existing video. Would be happy to get it working on already existing test-data to reduce size.
Fixes #509
2024-03-30 09:10:13 +01:00
Rafael Carvalho
c218b3592b
Add unit tests
2023-03-07 16:44:33 +13:00
Dimitri Vranken
46a8ec7da5
Increased unit test timeout
...
Existing (untouched) tests are not stable in CI test execution
2023-02-20 14:10:18 +01:00
Dimitri Vranken
e3aa7a5eae
Removed invalid assertion
2023-02-20 13:57:48 +01:00
Dimitri Vranken
9646c440bb
Fixed code style issues
2023-02-20 13:23:06 +01:00
Malte Rosenbjerg
2bc6c645f2
Merge branch 'main' into feature/net7-windows-support-v5
2023-02-17 00:19:46 +01:00
Malte Rosenbjerg
02d2b4261b
Add missing usings on tests
2023-02-16 23:55:20 +01:00
Dimitri Vranken
2458b4ae9c
Adjusted FFMpegCore.Test for separate FFMpegCore.Extensions.SkiaSharp project
2023-02-16 14:34:35 +01:00
Dimitri Vranken
6e38b45445
chore: Increased test timeout duration
...
Required for successful test execution on my rather slow machine
2023-02-13 11:40:11 +01:00
Dimitri Vranken
72c76c20f0
refactor: Centralized test timeout duration
...
Changes can be made in a single place if neeeded
2023-02-13 11:39:34 +01:00
Dimitri Vranken
7f17d68a52
Updated tests for SkiaSharp
2023-02-13 11:39:03 +01:00
Malte Rosenbjerg
693acabac4
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
Former-commit-id: f9f7161686
2023-02-02 21:19:45 +01:00
Malte Rosenbjerg
f8eff73690
Simplify attribute
...
Former-commit-id: e51cf7cc63
2023-01-29 23:08:47 +01:00
Malte Rosenbjerg
4acdca55dd
Add IgnoreIf attribute to only run SDC tests on Windows
...
Former-commit-id: fb6865587a
2023-01-29 22:55:35 +01:00
Malte Rosenbjerg
844753b1ed
Init
...
Former-commit-id: 53651a0275
2023-01-29 20:52:59 +01:00
keg247
1e372e3e29
Move NotifyOnProgress processing to ErrorData
...
Former-commit-id: 5d62be654a
2022-06-19 23:31:18 -04:00
Malte Rosenbjerg
10a646e37e
Throw OperationCanceledException when processing is cancelled
...
Former-commit-id: 4f38eed753
2022-04-15 15:08:30 +02:00
Malte Rosenbjerg
27683c478b
Fix for JoinImageSequence #281
...
Former-commit-id: 9c0b2bdb44
2022-04-15 12:55:34 +02:00
Malte Rosenbjerg
52bf2ec4d0
Init
...
Former-commit-id: 7f8bd24058
2022-03-12 19:06:46 +01:00
Malte Rosenbjerg
dfd4490b37
Added VideoCodec.LibX265 ( #276 )
...
Former-commit-id: 0f82509c41
2021-11-03 18:53:38 +01:00
Malte Rosenbjerg
bc00b6786a
Increase timeout on failing unit test
...
Former-commit-id: 04ebdb1907
2021-08-10 10:38:56 +02: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
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