Commit graph

448 commits

Author SHA1 Message Date
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
Tom Bogle
7dfefbdfdb 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

Former-commit-id: db7e1e4995
2023-02-01 08:09:16 +01:00
Malte Rosenbjerg
b2847b99e2 Remove unneeded cast
Former-commit-id: 751019a36d
2023-01-31 23:26:18 +01:00
Malte Rosenbjerg
cabfb0b2db Remove PInvoke.Kernel32
Former-commit-id: f0c9993c6e
2023-01-31 23:25:33 +01:00
Victor Nova
28deedc038 a hack to unconditionally kill ffmpeg when parent .NET process exits
Former-commit-id: 5ac61011c4
2023-01-31 23:20:10 +01:00
Victor Nova
0d7bf18832 fixed hwaccel parameter not working in 5.0
Former-commit-id: 7938ec3c0a
2023-01-31 23:19:45 +01:00
Victor Nova
4b79891bb7 AddDeviceInput similar to AddFileInput and FromDeviceInput
Former-commit-id: aced406957
2023-01-31 23:19:45 +01:00
Malte Rosenbjerg
50555b144c Always use Path.GetTempPath() on linux and macos
Former-commit-id: 1b729280b6
2023-01-31 23:10:09 +01:00
keg247
1dd2685aff Add SampleAspectRatio property to VideoStream
Former-commit-id: 02de377093
2023-01-31 22:41:57 +01:00
ep1kt3t0s
53f0c7917d Fix GetPipePath() for MacOS
Former-commit-id: 75e4f6f257
2023-01-31 21:25:02 +01:00
ep1kt3t0s
5623119b35 Update PipeHelpers.cs
Former-commit-id: abc7d9463a
2023-01-31 21:24:44 +01:00
Gleb Moskalenko
25c3cab7f1 Add pad video filter
Former-commit-id: e76ebdcbe8
2023-01-31 20:57:14 +01:00
Sky Z
f1e13326b8 Add negative mapping to select stream (deselect)
Former-commit-id: 40f97594f0
2023-01-31 20:46:16 +01:00
Sky Z
a776db85d2 Add other stream types to Channel (V,s,d,t)
Former-commit-id: ca8275436b
2023-01-31 20:46:16 +01:00
Sky Z
638f4cae89 Add select multiple streams
Former-commit-id: df40eeede9
2023-01-31 20:46:16 +01:00
jeroenvanderschoot
c2db2a35a1 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.


Former-commit-id: 31b93b3ed6
2023-01-31 20:39:00 +01:00
Malte Rosenbjerg
167f8e174f Apply fix to methods in new location
Former-commit-id: b175eed38c
2023-01-31 20:32:36 +01:00
赵宁
d4fdd646fe fix extension is not png lost path
Former-commit-id: c063043271
2023-01-31 20:32:36 +01:00
Malte Rosenbjerg
d5974f5585 Add missing using directive after rebase
Former-commit-id: 8fca6c4035
2023-01-31 20:25:37 +01:00
Thodoris Koskinopoulos
f405269244 Added log levels
Former-commit-id: 6e4e8fbba1
2023-01-31 20:25:37 +01:00
Thodoris Koskinopoulos
f042d78f2c Added blackdetect and blackframe arguments
Former-commit-id: 7f72625eac
2023-01-31 20:25:37 +01:00
Malte Rosenbjerg
30c9ea85c4 Merge branch 'master' into add-audiofilters
Former-commit-id: b53d8ebadc
2023-01-30 22:24:53 +01:00
Malte Rosenbjerg
b208c65b5a Cleanup using directives
Former-commit-id: 237fa3353f
2023-01-29 23:01:37 +01:00
Malte Rosenbjerg
766bec2112 Cleanup
Former-commit-id: 476c8f33c0
2023-01-29 23:01:26 +01:00
Malte Rosenbjerg
5f5db69bcd Add Directory.Build.props
Former-commit-id: 8e9b7df4de
2023-01-29 22:17:40 +01:00
Malte Rosenbjerg
11dfaa6e71 WIP
Former-commit-id: 2abb2a1e6b
2023-01-29 20:52:59 +01:00
Malte Rosenbjerg
844753b1ed Init
Former-commit-id: 53651a0275
2023-01-29 20:52:59 +01:00
Malte Rosenbjerg
a730cde791 Bump dependencies
Former-commit-id: b84bb6470a
2023-01-28 13:25:48 +01:00
Wilbert Bongers
9b16687e7a re-added corresponding AudioFilterOptions
Former-commit-id: 09305d488b
2022-08-02 11:37:47 +02:00
Wilbert Bongers
5f014029d6 added HighPass filter, LowPass filter, Audiogate and Silencedetection
Former-commit-id: 074528238e
2022-08-02 10:12:24 +02:00
keg247
1e372e3e29 Move NotifyOnProgress processing to ErrorData
Former-commit-id: 5d62be654a
2022-06-19 23:31:18 -04:00
Malte Rosenbjerg
b7e1c082e3 Update metadata
Former-commit-id: 9f34591a03
2022-04-15 20:11:39 +02: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
fc58cec7e2 Fix for PosterWithAudio #317
Former-commit-id: 621b3a2eeb
2022-04-15 12:08:03 +02:00
Malte Rosenbjerg
c35372f5d9 Merge branch 'master' into patch-3
Former-commit-id: b8298d90b3
2022-04-05 21:35:58 +02:00
Malte Rosenbjerg
d5d2c18af7 Merge branch 'master' into bugfix/fixes
Former-commit-id: eb0f6ca44a
2022-03-24 21:15:59 +01:00
Malte Rosenbjerg
cfbecdfa9c Handle null dictionaries
Former-commit-id: 1c851dc3ff
2022-03-24 21:15:28 +01:00
Malte Rosenbjerg
f9d9458ebb Remove duplicated property
Former-commit-id: c817381139
2022-03-24 21:14:00 +01:00
Malte Rosenbjerg
299c30e48a Merge branch 'master' into feature/aaxc_support
Former-commit-id: 1ba796596d
2022-03-24 21:04:50 +01:00
Malte Rosenbjerg
3e3ba683f2 Merge branch 'master' into fix/dynamic_argumentText
Former-commit-id: b0578e3ae7
2022-03-24 20:57:12 +01:00
Malte Rosenbjerg
93c2b62a08 Clean warnings
Former-commit-id: 787804c3a2
2022-03-24 20:46:02 +01:00
Malte Rosenbjerg
6a7714a157 Make Tags and Disposition dictionaries case-insensivite #295
Former-commit-id: 90155efe75
2022-03-24 20:45:49 +01:00
Malte Rosenbjerg
549856f619 Make properties on MediaStream classes for deserialization #296
Former-commit-id: fc86a64b9e
2022-03-24 20:37:27 +01:00
Malte Rosenbjerg
c84c68407d Support cancellationtoken on async ffprobe calls #299
Former-commit-id: da251e99ad
2022-03-24 20:34:25 +01:00
Malte Rosenbjerg
21e5b9634f Expose avg_frame_rate as AverageFrameRate on VideoStream #300
Former-commit-id: 2133d31021
2022-03-24 20:27:09 +01:00
Malte Rosenbjerg
5b97f08029 Wrap image size check in using block #304
Former-commit-id: 05839825e0
2022-03-24 20:24:22 +01:00
Jonas Kamsker
bb4c646f02 Fixed merge & implemented aax mode
Former-commit-id: f42faa4f26
2022-03-20 19:56:17 +01:00
Jonas Kamsker
b8505babf4 Merged #292 into #293
Former-commit-id: 499d03f710
2022-03-20 19:36:45 +01:00
Jonas Kamsker
59e5ceb455 Removed comment
Former-commit-id: 353bbff1b8
2022-03-20 19:34:01 +01:00
Jonas Kamsker
6be9690527 Removed string count extension
Former-commit-id: 373c604a11
2022-03-20 19:32:48 +01:00
Jonas Kamsker
5185f566e3 Applied reqested changes
Former-commit-id: 5b0d3d21c9
2022-03-20 19:31:15 +01:00
Malte Rosenbjerg
18fb77985a Merge branch 'master' into update/update-instances-dependency
Former-commit-id: 1022f88019
2022-03-12 19:07:05 +01:00
Malte Rosenbjerg
52bf2ec4d0 Init
Former-commit-id: 7f8bd24058
2022-03-12 19:06:46 +01:00
Notheisz57
eec2c3b375 Update FFProbe.cs
Pass FFOptions argument in call to GlobalFFOptions.GetFFProbeBinaryPath

Former-commit-id: 1d2c0f760b
2022-01-29 19:29:45 -08:00
Jonas Kamsker
f06131a10f Added errordata to analysis
Former-commit-id: 3324cbb528
2022-01-12 01:03:51 +01:00
Jonas Kamsker
974c984d6c Update FFProbeAnalysis.cs
Former-commit-id: 07470ec153
2022-01-12 01:01:40 +01:00
Jonas Kamsker
8555278dcf Merge remote-tracking branch 'JKamsker/fix/dynamic_argumentText' into feature/aaxc_support
Former-commit-id: 2035b7d341
2022-01-12 00:34:59 +01:00
Jonas Kamsker
0dd07055d8 Fixed GetText to pleasure the unit test
Former-commit-id: c05337562c
2022-01-12 00:31:47 +01:00
Jonas Kamsker
7e6738edaf Added support for aaxc decryption
Former-commit-id: 2626b3796b
2022-01-12 00:15:32 +01:00
Jonas Kamsker
da759449c2 Fixed possible nullreference
Former-commit-id: bfd2f4a908
2022-01-11 22:46:33 +01:00
Jonas Kamsker
dd2bfac840 Using correct map_metadata dynamically
Former-commit-id: 1b2af5fd1f
2022-01-11 22:42:31 +01:00
Malte Rosenbjerg
40a28f92e7 Update nuget meta
Former-commit-id: 0502b41532
2022-01-08 12:35:10 +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
65bb8ecd2b Added string escape for DemuxConcatArgument
Fixes issue when source files have a ``'`` in their path

Former-commit-id: 21d1df824f
2022-01-04 16:05:40 +01:00
Weirdo
532c4abcb3 Returning ReadOnlyMetaData instead of MetaData
Former-commit-id: 6194dc4e4b
2021-12-21 00:42:20 +01:00
Weirdo
f38562aa68 Implemented AddChapters for convenience
Former-commit-id: e2dc91660c
2021-12-21 00:40:45 +01:00
Weirdo
5c8597670c Added MetadataBuilder
Former-commit-id: 2605ac1a54
2021-12-21 00:34:33 +01:00
Weirdo
82fa9b56e1 Added MetaDataArgument
Former-commit-id: e3eb2f2056
2021-12-21 00:10:59 +01:00
BobSilent
c04546a156 Added Tests
Former-commit-id: 47a6c23b2d
2021-11-18 14:01:38 +01:00
BobSilent
a5b5965924 Add Configure on FFMpegArgumentProcessor to fuently configure ffoptions per run.
Former-commit-id: 965e756dc4
2021-11-18 09:34:10 +01:00
Alex Zhukov
a0d0a87970 Merge branch 'master' into ffprobe-show-packets
Former-commit-id: ebf77d0662
2021-11-17 07:36:13 -08:00
Malte Rosenbjerg
28891eb242 Add documentation comments to NotifyOn* methods
Former-commit-id: a0399b361a
2021-11-14 01:25:04 +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
4c54ff18b9 Move .ConfigureAwait(false) in StreamPipeSink to inside ReadAsync to fix failure in ubuntu CI
Former-commit-id: 936da48ca2
2021-11-01 19:21:34 +01:00
Malte Rosenbjerg
5ceebfba59 Update nuget info
Former-commit-id: 6377c50de7
2021-11-01 19:15:39 +01:00
Malte Rosenbjerg
aa30c82985 Ensure ConfigureAwait(false) is set (#246)
Former-commit-id: e8df465ffa
2021-11-01 19:15:00 +01:00
Malte Rosenbjerg
8ba0d7deef Add .ConfigureAwait(false) in StreamPipeSink Writer function
Former-commit-id: e0385dcfdb
2021-11-01 18:53:33 +01:00
Malte Rosenbjerg
f5745b9670 Ensure disposal of opened Image instances (#249)
Former-commit-id: b217ca4af0
2021-11-01 18:14:06 +01:00
Malte Rosenbjerg
079760d044 Support for specyfying process working directory through FFOptions (#272)
Former-commit-id: c2d28055c1
2021-11-01 18:13:23 +01:00
Rich Gerber
f47e64789b Change Int32 to long for BitRate
Former-commit-id: b8fefc6a0d
2021-10-26 11:47:46 -07: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
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