Commit graph

252 commits

Author SHA1 Message Date
Malte Rosenbjerg
7b2a419c10 Cleanup
Former-commit-id: 46bc75c6d1
2020-02-27 21:12:48 +01:00
Malte Rosenbjerg
ff1c7e070b Use switch expression
Former-commit-id: 6561d0bec1
2020-02-27 20:24:20 +01:00
Malte Rosenbjerg
7d77c33609 Remove ArgumentStringifier + cleanup
No reason to split the responsibility


Former-commit-id: 0e2c788796
2020-02-27 20:16:17 +01:00
Malte Rosenbjerg
616a6d1c7d Move to separate file
Former-commit-id: 293ac4306a
2020-02-27 18:32:45 +01:00
Malte Rosenbjerg
3ff253f744 Add vbr support
Former-commit-id: 098917a5da
2020-02-27 18:31:57 +01:00
Malte Rosenbjerg
cc82f0b3fa Add more AudioQuality presets (enum)
Former-commit-id: 1badd3ba4c
2020-02-27 18:29:27 +01:00
Malte Rosenbjerg
fa3904ea91 Add argument for removing metadata
Former-commit-id: e688bcc674
2020-02-27 18:29:09 +01:00
Malte Rosenbjerg
a5c0eb639c Support for faststart
Former-commit-id: b806f2bbfb
2020-02-27 18:28:55 +01:00
Malte Rosenbjerg
06a046e3fe Support for crf
Former-commit-id: 170aefeb32
2020-02-27 18:28:49 +01:00
Malte Rosenbjerg
e24b652695 Add support for drawtext argument
Former-commit-id: ebd9ff0adc
2020-02-25 23:19:30 +01:00
Malte Rosenbjerg
1ac2664f58 Release branch init
Former-commit-id: 4ea246ee70
2020-02-21 17:40:03 +01:00
Malte Rosenbjerg
889820b32c Prepare nuget info
Former-commit-id: 4ea76c847a
2020-02-21 17:14:07 +01:00
Malte Rosenbjerg
0164c801c1 Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore
Former-commit-id: c41b124588
2020-02-20 23:04:54 +01:00
Malte Rosenbjerg
4dd179c2d4 Refactoring
Former-commit-id: 6e67f77c32
2020-02-20 23:04:51 +01:00
Crydsch
bce2b98d5d Merge branch 'master' into master
Former-commit-id: a2f09b22f1
2020-02-16 17:23:32 +01:00
Malte Rosenbjerg
a7d2102958 Bump versions
Former-commit-id: 16a4726426
2020-02-16 11:08:15 +01:00
Crydsch
703da64f44 Fix NullReferenceException if no duration exists
Former-commit-id: 5daef17b44
2020-02-13 20:58:14 +01:00
Crydsch
073cfee5ea Lift restriction of duration to seconds
Former-commit-id: 0b35935b5d
2020-02-13 17:36:49 +01:00
Cry dsch
ed5fffd7a9 Fix duration parsing of .mkv and .webm files
Former-commit-id: fbd9f3fc89
2020-02-12 21:37:10 +01:00
Cry dsch
68c24621e9 Merge https://github.com/rosenbjerg/FFMpegCore
Former-commit-id: f10c01e667
2020-02-12 21:31:24 +01:00
Cry dsch
37fc05b26b Fix duration parsing of .mkv and .webm files
Former-commit-id: a4c7d87e62
2020-02-12 21:26:27 +01:00
Malte Rosenbjerg
b11be87a45 More cleanup
Former-commit-id: ecf7a711f4
2020-02-12 20:45:16 +01:00
Malte Rosenbjerg
45e170f315 Cleanup begun
Former-commit-id: 8ee92a40ab
2020-02-11 22:45:02 +01:00
Cry dsch
555c618706 Fix progress event output when using the convert(ArgumentContainer) function
Former-commit-id: 16a70ebd72
2020-02-08 20:29:30 +01:00
Tuğrul Elmas
3b289e3fd9 Arguments: DurationArgument
#33 

* added format provider to correctly parse the video's duration

* added DurationArgument


Former-commit-id: ec03bfe4a6
2020-01-29 16:33:15 +02:00
Vlad Jerca
87c4db19da chore: bump version
Former-commit-id: acf6b10fab
2020-01-29 13:03:20 +02:00
Tuğrul Elmas
ce16d9103c FFProbe: add format provider to correctly parse the video's duration
#31 

Former-commit-id: d599592084
2020-01-29 12:54:30 +02:00
Malte Rosenbjerg
a5aad904e7 FFProbe: expose async methods
#30 

Former-commit-id: 7b9b8afac8
2020-01-29 12:53:36 +02:00
Vlad Jerca
efe61e8bad chore: bump version
Former-commit-id: 8a8b8a968f
2019-09-30 14:15:24 +03:00
Richkovskiy Lev
19bfbb5154 InputArgument: use the AbsolutUri value for URLs
If i want to download video from video server i use this code:
string textLinkVideo = "https://vk.com/video_hls.php?dirs%5B240%5D=https%3A%2F%2Fcs531220.vkuservideo.net%2F5%2Fe15NTMyPzc3MA%2Fvideos%2F&dirs%5B360%5D=https%3A%2F%2Fcs531220.vkuservideo.net%2F5%2Fe15NTMyPzc3MA%2Fvideos%2F&path=5%2Fe15NTMyPzc3MA%2Fvideos%2F&extra=6jU8MLGkIpMxHqpAViGv7wXJofsIDdlwBNfwnjifdOnsHTv8e-h7LsyFJabx26lyLTsNfDBDy4u5H2HU0w9fT6114_FzHvFU2l2A-H9B23gan3k48_L60B68aDHTA_CLGKJEesUqTlEgyLlYoQiQiOg&c_extra=w0ZgeFZ-2ZoxqYTYlfwL5LZA5o2enfF0CqLyrQQVEk2owWZFaD2hfnPrzvLWrQfU81A8u5rCXw_CIe_8TDfITX3Cl12YwhBIfVCR4gmDNPYUbB-2tarthA-mOpY5WK77GAOZHs7gwx65i02-wHjGwIA&video=-7865622_456240009&tag=042ea140e4&c_tag=860d1761765a&hash=848f2afe36a72db4ff&lang_id=0&viewer_id=17403755";
FFMpegModel FFMpegModel = new FFMpegModel();
FFMpegModel.DownloadVideoVk(textLinkVideo, filePath);

With AbsolutePath this method return /video_hls.php
With AbsoluteUri this.method return full url

Former-commit-id: b5ae935025
2019-09-30 00:10:08 +03:00
Vlad Jerca
0ed52fec9f chore: bump version
Former-commit-id: 085fa78bf0
2019-05-20 11:16:22 +03:00
Vlad Jerca
88a29895d2 FFMpegOptions: build paths using the Combine util
#12

Former-commit-id: 3448a2044b
2019-05-20 11:00:10 +03:00
Vlad Jerca
7980823aab chore bump version
Former-commit-id: 22f1f574bd
2019-05-11 06:43:46 +03:00
Vlad Jerca
214d68d369 FFMpegCore: remove binaries from repository (use choco)
- improve binary path detection

Former-commit-id: 4d75640a16
2019-05-10 20:25:57 +03:00
Vlad Jerca
dd60e90124 Chore: Bump version
Former-commit-id: f25c8f5525
2019-05-03 16:57:13 +03:00
Joshua Hatzenbuehler
f92652690e FFMpegCore: use Path.DirectorySeparatorChar instead of \\, for non windows based platform dont use target, for non windows based platform dont use .exe
Former-commit-id: 61d455b831
2019-05-02 10:11:00 -05:00
Vlad Jerca
0eb5abb7b1 chore: bump version
Former-commit-id: c3206e218d
2019-04-01 12:59:41 +03:00
Vlad Jerca
567c9e7390 FFProbe: improve metadata extraction
#3

Former-commit-id: 3e856845ae
2019-04-01 12:56:36 +03:00
Vlad Jerca
3ba3ee405a Chore: bump version
Former-commit-id: 5e8bb1c185
2019-03-28 01:21:36 +02:00
Kyriakos Ioannou
b3c08dd890 Modify snapshot method (#4)
* When a snapshot is needeed, it's overkill to create the image on the filesystem, then delete it, and then create the image on the filesystem again. With this feature we can avoid this scenario and actually persist the created image on disk

* Apply requested changes by author. Added unit test for persist snapshot


Former-commit-id: c2a0c3b942
2019-03-28 00:51:41 +02:00
Vlad Jerca
7547c48927 FFMpegCore: Rethink options configuration
Former-commit-id: a0de4c1cf6
2019-03-04 23:05:01 +02:00
Vlad Jerca
e24c0a523a HotFix: propagate ctor options in child classes
Former-commit-id: 1c8ab3b1da
2019-03-03 01:17:35 +02:00
Vlad Jerca
7c25a5e8e7 Merge pull request #2 from vladjerca/feature/configure_root_ctor
FFMpegCore:  enable root configuration view ctor
Former-commit-id: 0e95615261
2019-03-01 20:52:06 +02:00
Vlad Jerca
2fe729832e FFMpegCore: enable root configuration view ctor
Former-commit-id: 02ac7c5ac0
2019-03-01 20:45:47 +02:00
Vlad Jerca
0cb4f0e660 HotFix: invalid progress
Former-commit-id: 7dca87a73f
2019-02-26 23:39:00 +02:00
Vlad Jerca
fe9a8f9232 Chore: bump release version and stop packing binaries
Former-commit-id: eab069dbf0
2019-02-26 23:01:04 +02:00
Vlad Jerca
46a77a9440 FFMpegCore: report progress when converting
Former-commit-id: 7c36ffc873
2019-02-26 21:59:43 +02:00
Vlad Jerca
9287cb3418 FFMpegCore: support configuration via ffmpeg.config.json
Former-commit-id: aed33a3d5c
2019-02-26 21:49:08 +02:00
Vlad Jerca
5f524bbc07 FFMpegCore: move argument implementations to seperate folder
Former-commit-id: 8272dc9c94
2019-02-26 21:46:48 +02:00
Vlad Jerca
b0c2a7ea92 FFMpegCore: use the argument builder in the ffmpeg methods
Former-commit-id: 3729d65e24
2019-02-08 22:41:40 +02:00
Vlad Jerca
9b855736ab FFMpegCore: port lib to .net standard
Former-commit-id: c215191bf5
2019-02-08 22:41:40 +02:00
Vlad Jerca
b6b0624aaf FFMpeg: add binaries
Former-commit-id: b52fbdf53d
2019-02-08 22:37:58 +02:00