Commit graph

221 commits

Author SHA1 Message Date
Rafael Carvalho
b25d287422 Update existing references to use IMediaAnalysis
Former-commit-id: 37a04a37cd
2020-08-12 17:22:10 +12:00
Rafael Carvalho
79607c580f Implement IMediaAnalysis in MediaAnalysis class
Former-commit-id: 725c8b31ee
2020-08-12 17:18:10 +12:00
Rafael Carvalho
9ff34b250f Add IMediaAnalysis interface
Former-commit-id: 8c77ce0cdf
2020-08-12 17:17:34 +12:00
Malte Rosenbjerg
3f9e6c0d18 Update nuget info
Former-commit-id: e6139805a8
2020-08-11 00:48:38 +02:00
Malte Rosenbjerg
679b1b4c47 Handle video frame rotation #84
Former-commit-id: 3b5f677a2c
2020-08-11 00:46:44 +02:00
Malte Rosenbjerg
e264c93f67 Make tags more flexible (dictionary)
Former-commit-id: 0c19874be3
2020-08-11 00:46:08 +02:00
Malte Rosenbjerg
385e50bcee Update nuget info
Former-commit-id: a54a83589c
2020-08-08 20:13:57 +02:00
Malte Rosenbjerg
1b24a71636 Add snapshot overloads
Former-commit-id: 9bf2093517
2020-08-08 20:13:50 +02:00
xxbiohazrdxx
dc9dfddf25 Update DemuxConcatArgument.cs
Typo

Former-commit-id: cb2a9a8334
2020-07-31 11:51:16 -04:00
xxbiohazrdxx
ba67b60931 Change DemuxConcatArgument output to match FFmpeg format
Former-commit-id: 91b39b41a8
2020-07-31 11:46:12 -04:00
Malte Rosenbjerg
a88010d7a1 Changed input for SeekedFileInputArgument
Former-commit-id: ef49542de0
2020-07-26 02:55:42 +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
cd5116bd6f Write output messages to debug
Former-commit-id: c4c02d6d21
2020-07-20 15:26:20 +02:00
Malte Rosenbjerg
7b9ab9ae5b Upgrade nuget dependencies
Former-commit-id: 06d5d199f8
2020-07-20 15:25:48 +02:00
Malte Rosenbjerg
f0d4f12485 Fix warnings
Former-commit-id: 29d8829d48
2020-07-13 23:56:12 +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
4456fa7b5e Update FFMpegCore.csproj
Former-commit-id: 2320217315
2020-06-21 21:23:59 +02:00
Malte Rosenbjerg
ec53c2ddc0 Fix NullRefException in ParseFormat
Former-commit-id: f3c99dffb6
2020-06-21 21:23:16 +02:00
Malte Rosenbjerg
8f832b929c Parse Format from FFProbe show_format
Former-commit-id: b7b15079eb
2020-06-20 14:50:46 +02:00
Malte Rosenbjerg
643d3d999e Update FFMpegCore.csproj
Former-commit-id: f0b83a8941
2020-06-18 22:23:25 +02:00
Malte Rosenbjerg
4e0ee69348 .NET Standard 2.0 support
Former-commit-id: 19856923c6
2020-06-18 21:44:45 +02:00
Malte Rosenbjerg
c3a2104d84 Move to separate files
Former-commit-id: 01d4474595
2020-06-18 21:37:12 +02:00
Malte Rosenbjerg
4f3d2c1fda Move to separate files
Former-commit-id: 552b5d811a
2020-06-18 21:36:59 +02:00
Malte Rosenbjerg
9b7bebfd84 Add demux concat
Former-commit-id: 4e5d464753
2020-06-16 07:42:35 +02:00
Malte Rosenbjerg
5ee26d52ad trim excess fractions of duration tag
Former-commit-id: 9be3fc5a07
2020-06-16 07:42:14 +02:00
Malte Rosenbjerg
f72a301d78 Update FFMpegCore.csproj
Former-commit-id: 257c63b385
2020-06-06 15:38:19 +02:00
Hmarik
38e3baf7b7 Fix null reference exception in ParseAudioStream
Former-commit-id: 6b294ff510
2020-06-03 20:06:51 +03:00
Malte Rosenbjerg
82d401b1cf Add overload to Join
Former-commit-id: a778ccd58f
2020-05-24 19:27:55 +02:00
Malte Rosenbjerg
2435b5aa8b Fix unit test
Former-commit-id: ac6b203f39
2020-05-24 19:17:21 +02:00
Malte Rosenbjerg
17c9db52dd Renaming
Former-commit-id: 39dd390e81
2020-05-24 19:17:14 +02:00
jianxingwu
2fa9255d40 PrepareSnapshotSize repair
Former-commit-id: 0da0b0c156
2020-05-15 17:26:34 +08:00
jianxingwu
bf5e732ad5 FFMpeg.Join error Invalid output file. File extension should be 'mpegts' required.
Former-commit-id: 738176479d
2020-05-15 17:03:29 +08:00
jianxingwu
a94fc05144 PrepareSnapshotSize error : ratio=source.PrimaryVideoStream.Width / 0
ratio=source.PrimaryVideoStream.Height / 0


Former-commit-id: 74593461d4
2020-05-15 16:58:56 +08:00
Malte Rosenbjerg
ff5b9e3b42 Minor adjustment
Former-commit-id: 82fc6e92c9
2020-05-13 00:11:53 +02:00
Malte Rosenbjerg
93733964aa Make process cancellable
Former-commit-id: b2085c4a8b
2020-05-12 23:52:07 +02:00
Malte Rosenbjerg
18cb87559d Snapshot improvements
completely in-memory is now possible


Former-commit-id: ca89cac2f0
2020-05-12 22:48:20 +02:00
Malte Rosenbjerg
aadcb6b5e1 Minor cleanup
Former-commit-id: 59f2afd2ca
2020-05-12 22:47:57 +02:00
Malte Rosenbjerg
5e1aef9adc Change default paths
Former-commit-id: 708189b837
2020-05-12 21:37:10 +02:00
Malte Rosenbjerg
d7a705e9ae Revert "Cleanup"
This reverts commit 152683323e [formerly d95f687e46].


Former-commit-id: 1dc7524ecd
2020-05-12 21:28:50 +02:00
Malte Rosenbjerg
152683323e Cleanup
Former-commit-id: d95f687e46
2020-05-12 21:05:00 +02:00
Malte Rosenbjerg
e0b7d652d9 Default to throwing on errors
Former-commit-id: 3855215000
2020-05-12 17:55:31 +02:00
Malte Rosenbjerg
02c05d1b29 Merge
Former-commit-id: 97d3d15a1f
2020-05-12 17:32:56 +02:00
Malte Rosenbjerg
c960419bae Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore
Former-commit-id: d9d42d459d
2020-05-12 17:31:41 +02:00
Malte Rosenbjerg
4361bf393b Support custom temp dir and cleanup
Former-commit-id: da399a69aa
2020-05-12 17:30:35 +02:00
Malte Rosenbjerg
20e2df244d Merge branch 'master' into fix/pix_fmt_order
Former-commit-id: ba43feb213
2020-05-12 17:29:24 +02:00
Максим Багрянцев
791cc4b300 Fixed color pallette (#58)
Former-commit-id: 29fd4a76c0
2020-05-12 18:26:52 +03:00
Максим Багрянцев
d47ef3b5b5 Removed empty Enums folder from project
Former-commit-id: d76a059a36
2020-05-12 17:55:17 +03:00
Максим Багрянцев
8c6d097305 Renamed files
Former-commit-id: 18cc364fff
2020-05-12 17:54:39 +03:00
Максим Багрянцев
fa7850b135 Updated PixelFormat namespace
Former-commit-id: 17fa6aafee
2020-05-12 17:53:52 +03:00
Максим Багрянцев
6416cea390 Added Codec, PixelFormat and ContainerFormat classes
Former-commit-id: bbc9305e2b
2020-05-12 17:44:14 +03:00
Malte Rosenbjerg
ca86c86f44 Slight renaming
Former-commit-id: f896ec126f
2020-05-11 00:50:49 +02:00
Malte Rosenbjerg
27fc3eaa28 Pass cancellation token through all input output tasks
Former-commit-id: b854d5b43b
2020-05-11 00:34:17 +02:00
Malte Rosenbjerg
563b5632f9 Add missing using for disposable
Former-commit-id: 48bb95e178
2020-05-11 00:04:53 +02:00
Malte Rosenbjerg
9115485464 Fix tests
Former-commit-id: f22c506f46
2020-05-11 00:02:35 +02:00
Malte Rosenbjerg
209b8d8dd6 Merge pull request #57 from max619/fix/invariant_culture_parsing
Fix FormatException in Media Analysis

Former-commit-id: 52444d439e
2020-05-10 23:57:37 +02:00
Malte Rosenbjerg
9dbaa959b8 QuietArgument -> VerbosityLevelArgument
Former-commit-id: 673af9b78b
2020-05-10 23:55:03 +02:00
Malte Rosenbjerg
afbca2e8d0 QuietArgument -> VerbosityLevelArgument
More options


Former-commit-id: af77e48f28
2020-05-10 23:17:30 +02:00
Malte Rosenbjerg
7315cf2916 Use ToLowerInvariant
Former-commit-id: 188f37c9ee
2020-05-10 23:16:52 +02:00
Максим Багрянцев
f01d514542 Fix FormatException when parsing doubles on systems whith ',' whole and fractional parts separator
Former-commit-id: 54c30c0e1e
2020-05-10 18:55:42 +03:00
Malte Rosenbjerg
f5febbd6ed Outcomment Format48bppRgb tests for now
Former-commit-id: 8583b02687
2020-05-10 14:15:32 +02:00
Malte Rosenbjerg
06539f7b39 Fixes
Former-commit-id: 8d74a3e0d7
2020-05-10 11:31:26 +02:00
Malte Rosenbjerg
c3b5cd997e Cleanup
Former-commit-id: 72366d573a
2020-05-09 17:53:03 +02:00
Malte Rosenbjerg
e8dcdc2238 Update nuget info
Former-commit-id: 821044f33d
2020-05-08 13:09:31 +02:00
Malte Rosenbjerg
bc533df330 Fix tests
Former-commit-id: f50ab577ae
2020-05-08 13:01:59 +02:00
Malte Rosenbjerg
bd55018f4f Major refactoring
Former-commit-id: ec043ef075
2020-05-08 11:07:51 +02:00
Malte Rosenbjerg
503eb3c248 Init
Former-commit-id: 14ea6b1ae1
2020-05-06 23:34:31 +02:00
Malte Rosenbjerg
72339049db Update NuGet info
Former-commit-id: 4abd656b74
2020-05-06 22:16:44 +02:00
Malte Rosenbjerg
0da37cca9f Fix tests
Former-commit-id: 494e38c14a
2020-05-06 21:15:06 +02:00
Malte Rosenbjerg
be932d3e49 Merge branch 'master' into feature/fluent-api
Former-commit-id: fe53609b38
2020-05-06 20:57:26 +02:00
Max Bagryantsev
80622fb16c Merge branch 'master' into feature/piping
Former-commit-id: 2bf113e01a
2020-05-05 15:14:47 +03:00
Malte Rosenbjerg
3e800c7e32 Merge pull request #52 from WeihanLi/fluent-config
config FFMpegOptions with delegate

Former-commit-id: 90ab2d255f
2020-05-03 23:39:58 +02:00
Максим Багрянцев
c7047b6a5f RawVideoPipeDataWriter updated
Former-commit-id: 5ad1a3931a
2020-05-02 13:39:48 +03:00
Максим Багрянцев
b9b13052b9 Changed RawVideoPipeDataWriter StreamFormat, Width, Height to be readonly
Former-commit-id: df63417e11
2020-05-02 13:33:44 +03:00
Weihan Li
955bf08fad Merge branch 'master' into clean-dependency
Former-commit-id: 398184225b
2020-05-02 18:14:03 +08:00
Weihan Li
ee2db4d887 Merge branch 'master' into fluent-config
Former-commit-id: 302ca6f0be
2020-05-02 18:13:44 +08:00
Максим Багрянцев
9e0c15cb64 StreamPipeDataWriter & StreamPipeDataReader using Stream.CopyTo
Former-commit-id: f132a3b731
2020-05-02 13:13:22 +03:00
Максим Багрянцев
ed1284fc31 Fixed VideoInfo ToString when no File is specified
Former-commit-id: b007e9105a
2020-05-02 13:07:34 +03:00
Максим Багрянцев
71bd6f3f88 Merge remote-tracking branch 'fork/master' into feature/piping
Former-commit-id: ee16064f4c
2020-05-02 13:02:01 +03:00
Максим Багрянцев
56fd0495ab Added ContainsOnlyOneOf insted of CountExistedKeys
Former-commit-id: b4dcd9ffb1
2020-05-02 12:41:47 +03:00
weihanli
480a10a13c clean project dependency
Former-commit-id: d6e6f3f36d
2020-05-02 11:41:51 +08:00
weihanli
16a318d664 config FFMpegOptions with delegate
Former-commit-id: 2c63f93b59
2020-05-02 11:26:54 +08:00
Weihan Li
4d156a31c9 Merge branch 'master' into features/raw-argument
Former-commit-id: 1688e0d6e4
2020-05-02 11:07:04 +08:00
weihanli
5a6d61cfe3 rename RawArgument to CustomArgument
Former-commit-id: eb521ae908
2020-05-02 11:05:44 +08:00
Malte Rosenbjerg
6f925f76a7 Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore
Former-commit-id: 1f7e663765
2020-05-01 10:07:43 +02:00
Malte Rosenbjerg
78e3f5e0c5 Add AudioBitrate as separate Argument
Former-commit-id: 4b88229f72
2020-05-01 10:07:40 +02:00
Максим Багрянцев
0ca11ec962 Added DrawTextOptions
Former-commit-id: 240c9bb23b
2020-04-30 15:13:47 +03:00
Максим Багрянцев
64363d2f71 Added Fluent API methods for ArgumentContainer
Former-commit-id: d8b2cbe3ca
2020-04-30 14:46:20 +03:00
Максим Багрянцев
50f353aac7 Added exit code checking to FFProbe stream methods
Former-commit-id: 883185b5ec
2020-04-28 22:43:53 +03:00
Максим Багрянцев
2a6347e1db Updated FFmpeg RunProcess and RunProcessAsyncFunctions
Former-commit-id: 412456857f
2020-04-28 22:40:00 +03:00
Максим Багрянцев
214859aa0b Updated FFProbe
Former-commit-id: 11edbbea2b
2020-04-28 22:39:26 +03:00
Максим Багрянцев
d94065d4b3 Changed ForceFormatArgument and VideoCodecArgument to string arguments
Former-commit-id: 06f5c319ad
2020-04-28 22:36:03 +03:00
Максим Багрянцев
b5361b69b0 Updated Input and Output Pipe arguments. Derived them from PipieArgument
Former-commit-id: b83479e1b6
2020-04-28 22:34:04 +03:00
Максим Багрянцев
e462b424eb Simplified ContainsInputOutput implementation
Former-commit-id: 1d51163a05
2020-04-28 18:50:29 +03:00
Максим Багрянцев
b0aedbad87 Added StreamFormat property to StreamPipeDataWriter
Former-commit-id: 6845fe3bc7
2020-04-28 18:43:54 +03:00
Максим Багрянцев
6bb03f6e14 Renamed IPipeSource to IpipeDataWriter
Former-commit-id: b7099f6709
2020-04-28 18:42:50 +03:00
Максим Багрянцев
9642e4473b Added OutputPipeArgument
Former-commit-id: 8434ffbba6
2020-04-28 18:39:39 +03:00
Максим Багрянцев
f48632c105 FromStream method to Video Info & added comments to FFprobe methods with stream
Former-commit-id: f56ea098a5
2020-04-28 15:44:27 +03:00