Commit graph

171 commits

Author SHA1 Message Date
Malte Rosenbjerg
c691dba8e8 Init
Former-commit-id: 8b45a6b680
2020-12-03 20:47:20 +01:00
Malte Rosenbjerg
717d61dd07 Update dependencies and add StreamPipeSink constructor
Former-commit-id: 5ba2ed97cf
2020-11-25 16:15:16 +01:00
Fedor Zhilkin
4b08805467 Refactoring
Former-commit-id: c47214b7aa
2020-11-13 02:09:52 +03:00
Fedor Zhilkin
0126cd1e77 Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore
Former-commit-id: c6bdf55a77
2020-11-13 01:36:00 +03:00
Malte Rosenbjerg
049cbc1dc6 Fix cancellation
Former-commit-id: 179cb15ba8
2020-10-28 19:26:33 +01:00
Malte Rosenbjerg
b2c28adcd4 Fix output pipe hanging on unix sockets
Former-commit-id: 9feb9f5a22
2020-10-27 00:49:49 +01:00
Malte Rosenbjerg
b0e3d157d3 Cleanup
Former-commit-id: 6b1e411bfe
2020-10-27 00:49:28 +01:00
Malte Rosenbjerg
0f27130e8a Cancel on exit
Former-commit-id: 31685da18a
2020-10-25 18:23:55 +01:00
Malte Rosenbjerg
2b78be6d27 Use /tmp folder for unix sockets
Former-commit-id: 26f5b0f4f4
2020-10-25 17:50:28 +01:00
Malte Rosenbjerg
2966ea2fd8 Fix build warning
Former-commit-id: 564a9e6cfd
2020-10-25 17:44:09 +01:00
Malte Rosenbjerg
ca1035fde2 Add HardwareAccelerationArgument
Former-commit-id: 5fb2305b5b
2020-10-24 23:33:44 +02:00
Malte Rosenbjerg
9434715fba New API
Former-commit-id: 010e9947e9
2020-10-24 22:31:54 +02:00
Malte Rosenbjerg
af6480e1d9 Check ffmpeg/ffprobe availability #75
Former-commit-id: 0136d49edf
2020-10-24 22:18:16 +02:00
Malte Rosenbjerg
fee7d6f450 Fix unix socket naming
Former-commit-id: 3d50530c74
2020-10-24 22:17:33 +02:00
Ibrahim Islam
d2691b6f1f fixes typo
Former-commit-id: fc988b3bbe
2020-10-20 06:53:24 +07:00
Ibrahim Islam
a7c7eb4872 refactors to use string interpolation
Former-commit-id: 462069cefe
2020-10-20 06:35:51 +07:00
Ibrahim Islam
3fd637e44c shortens unique id generation
Former-commit-id: 577776f30f
2020-10-20 06:31:01 +07:00
Jochen Kühner
11585b6268 Update FrameRateArgument.cs
Bugfix framerate need "." as decimal seperator

Former-commit-id: ed537e6ab2
2020-10-15 00:15:40 +02:00
Fedor Zhilkin
e977511b17 Use map filtering
Use map filtering  doing snapshot


Former-commit-id: 981b3294c5
2020-09-17 20:56:28 +03:00
Fedor Zhilkin
f6132e2eba -map filtering
Add map filtering to choose videostream


Former-commit-id: e60fb71ff8
2020-09-17 20:50:38 +03:00
Malte Rosenbjerg
726e8cd486 #94
Former-commit-id: 76107fb93e
2020-08-27 17:22:23 +02:00
Malte Rosenbjerg
0d3f98a011 Fix #97
Former-commit-id: eea6adc6f1
2020-08-27 17:22:04 +02:00
Konstantin
e49a17bab1 Add using System.IO
Former-commit-id: e99b1b106f
2020-08-21 21:39:28 +09:00
Konstantin
2fcf389aba Fix pipe path for unix.
Replace fixed '/tmp' with Path.GetTempPath().

Former-commit-id: 4ecf05ec79
2020-08-21 20:10:57 +09:00
Rafael Carvalho
b25d287422 Update existing references to use IMediaAnalysis
Former-commit-id: 37a04a37cd
2020-08-12 17:22:10 +12:00
Malte Rosenbjerg
679b1b4c47 Handle video frame rotation #84
Former-commit-id: 3b5f677a2c
2020-08-11 00:46:44 +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
ef8edf2a6e Base file extension on video container info from ffmpeg
Former-commit-id: 442e69ce1d
2020-07-13 23:54:46 +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
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
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
Максим Багрянцев
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
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
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
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