Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black Frame detection using ffprobe #212

Draft
wants to merge 467 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
467 commits
Select commit Hold shift + click to select a range
48bb95e
Add missing using for disposable
rosenbjerg May 10, 2020
b854d5b
Pass cancellation token through all input output tasks
rosenbjerg May 10, 2020
f896ec1
Slight renaming
rosenbjerg May 10, 2020
b8fc8e5
Lower timeouts
rosenbjerg May 10, 2020
bbc9305
Added Codec, PixelFormat and ContainerFormat classes
max619 May 12, 2020
17fa6aa
Updated PixelFormat namespace
max619 May 12, 2020
18cc364
Renamed files
max619 May 12, 2020
d76a059
Removed empty Enums folder from project
max619 May 12, 2020
29fd4a7
Fixed color pallette (#58)
max619 May 12, 2020
038d7d6
Update ci.yml
rosenbjerg May 12, 2020
22daf6e
Merge pull request #59 from max619/feature/variables_from_ffmpeg
rosenbjerg May 12, 2020
ba43feb
Merge branch 'master' into fix/pix_fmt_order
rosenbjerg May 12, 2020
9ed4996
Merge pull request #60 from max619/fix/pix_fmt_order
rosenbjerg May 12, 2020
da399a6
Support custom temp dir and cleanup
rosenbjerg May 12, 2020
d9d42d4
Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore
rosenbjerg May 12, 2020
97d3d15
Merge
rosenbjerg May 12, 2020
3855215
Default to throwing on errors
rosenbjerg May 12, 2020
d95f687
Cleanup
rosenbjerg May 12, 2020
1dc7524
Revert "Cleanup"
rosenbjerg May 12, 2020
708189b
Change default paths
rosenbjerg May 12, 2020
59f2afd
Minor cleanup
rosenbjerg May 12, 2020
ca89cac
Snapshot improvements
rosenbjerg May 12, 2020
a754d57
Dispose bitmap to unlock file in test
rosenbjerg May 12, 2020
b2085c4
Make process cancellable
rosenbjerg May 12, 2020
ef64263
Add delay
rosenbjerg May 12, 2020
d55127a
Update release.yml
rosenbjerg May 12, 2020
82fc6e9
Minor adjustment
rosenbjerg May 12, 2020
59ca76c
Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore
rosenbjerg May 12, 2020
7459346
PrepareSnapshotSize error : ratio=source.PrimaryVideoStream.Width / 0
May 15, 2020
7381764
FFMpeg.Join error Invalid output file. File extension should be 'mp…
May 15, 2020
0da0b0c
PrepareSnapshotSize repair
May 15, 2020
7faeda3
Merge pull request #62 from 3400442579/master
rosenbjerg May 16, 2020
39dd390
Renaming
rosenbjerg May 24, 2020
ac6b203
Fix unit test
rosenbjerg May 24, 2020
a778ccd
Add overload to Join
rosenbjerg May 24, 2020
4a9ae3d
Update README.md
rosenbjerg May 24, 2020
6e78af2
Update README.md
rosenbjerg May 24, 2020
6b294ff
Fix null reference exception in ParseAudioStream
Jun 3, 2020
68709ee
Merge pull request #67 from HmarikBel/master
rosenbjerg Jun 4, 2020
cb42e13
Skip two tests
rosenbjerg Jun 6, 2020
257c63b
Update FFMpegCore.csproj
rosenbjerg Jun 6, 2020
9be3fc5
trim excess fractions of duration tag
rosenbjerg Jun 16, 2020
4e5d464
Add demux concat
rosenbjerg Jun 16, 2020
f9a3197
Update VideoTest.cs
rosenbjerg Jun 16, 2020
552b5d8
Move to separate files
rosenbjerg Jun 18, 2020
01d4474
Move to separate files
rosenbjerg Jun 18, 2020
1985692
.NET Standard 2.0 support
rosenbjerg Jun 18, 2020
d840f8d
Update VideoTest.cs
rosenbjerg Jun 18, 2020
f0b83a8
Update FFMpegCore.csproj
rosenbjerg Jun 18, 2020
b7b1507
Parse Format from FFProbe show_format
rosenbjerg Jun 20, 2020
f3c99df
Fix NullRefException in ParseFormat
rosenbjerg Jun 21, 2020
2320217
Update FFMpegCore.csproj
rosenbjerg Jun 21, 2020
24f79fe
Added audio codec profile to AudioStream
vongrippen Jul 6, 2020
5828a35
Merge pull request #86 from vongrippen/Add-audio-profile
rosenbjerg Jul 7, 2020
442e69c
Base file extension on video container info from ffmpeg
rosenbjerg Jul 13, 2020
3785179
Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore
rosenbjerg Jul 13, 2020
29d8829
Fix warnings
rosenbjerg Jul 13, 2020
06d5d19
Upgrade nuget dependencies
rosenbjerg Jul 20, 2020
c4c02d6
Write output messages to debug
rosenbjerg Jul 20, 2020
8576154
Clean unused using directives
rosenbjerg Jul 20, 2020
59abdd2
Add SeekedFileInputArgument and such
rosenbjerg Jul 26, 2020
ef49542
Changed input for SeekedFileInputArgument
rosenbjerg Jul 26, 2020
91b39b4
Change DemuxConcatArgument output to match FFmpeg format
xxbiohazrdxx Jul 31, 2020
cb2a9a8
Update DemuxConcatArgument.cs
xxbiohazrdxx Jul 31, 2020
1eb4959
Merge pull request #95 from xxbiohazrdxx/DemuxConcatenateFix
rosenbjerg Aug 2, 2020
9bf2093
Add snapshot overloads
rosenbjerg Aug 8, 2020
a54a835
Update nuget info
rosenbjerg Aug 8, 2020
0c19874
Make tags more flexible (dictionary)
rosenbjerg Aug 10, 2020
3b5f677
Handle video frame rotation #84
rosenbjerg Aug 10, 2020
db44943
Update test packages
rosenbjerg Aug 10, 2020
e613980
Update nuget info
rosenbjerg Aug 10, 2020
8c77ce0
Add IMediaAnalysis interface
rpaschoal Aug 12, 2020
725c8b3
Implement IMediaAnalysis in MediaAnalysis class
rpaschoal Aug 12, 2020
37a04a3
Update existing references to use IMediaAnalysis
rpaschoal Aug 12, 2020
1c79e13
Update MediaAnalysis's access modifier to internal
rpaschoal Aug 12, 2020
3fb3b8f
Update ci.yml
rosenbjerg Aug 12, 2020
26ca2eb
Merge branch 'master' into mockable-media-analysis
rosenbjerg Aug 12, 2020
7f54115
Merge pull request #96 from rpaschoal/mockable-media-analysis
rosenbjerg Aug 17, 2020
4ecf05e
Fix pipe path for unix.
samburovkv Aug 21, 2020
e99b1b1
Add using System.IO
samburovkv Aug 21, 2020
f470777
Merge pull request #100 from samburovkv/PipeHelpersGetPipePathFix
rosenbjerg Aug 23, 2020
32e7f16
Add creation-time getter property
rosenbjerg Aug 27, 2020
78919dc
Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore
rosenbjerg Aug 27, 2020
eea6adc
Fix #97
rosenbjerg Aug 27, 2020
76107fb
#94
rosenbjerg Aug 27, 2020
ed537e6
Update FrameRateArgument.cs
jogibear9988 Oct 14, 2020
d9d18cf
Merge pull request #122 from jogibear9988/patch-1
rosenbjerg Oct 15, 2020
577776f
shortens unique id generation
mii9000 Oct 19, 2020
462069c
refactors to use string interpolation
mii9000 Oct 19, 2020
fc988b3
fixes typo
mii9000 Oct 19, 2020
bc92e54
Merge pull request #123 from Ibrahim-Islam/master
rosenbjerg Oct 19, 2020
3d50530
Fix unix socket naming
rosenbjerg Oct 24, 2020
0136d49
Check ffmpeg/ffprobe availability #75
rosenbjerg Oct 24, 2020
010e994
New API
rosenbjerg Oct 24, 2020
e9f08ac
Update README.md
rosenbjerg Oct 24, 2020
5716291
Update README.md
rosenbjerg Oct 24, 2020
5fb2305
Add HardwareAccelerationArgument
rosenbjerg Oct 24, 2020
d105ec4
Remove unused files
rosenbjerg Oct 24, 2020
31ee792
Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore
rosenbjerg Oct 24, 2020
054872d
Update README.md
rosenbjerg Oct 24, 2020
adbd61c
Shorten resources used for testing
rosenbjerg Oct 25, 2020
61387fa
Check for existence before analysing with ffprobe
rosenbjerg Oct 25, 2020
cc42df3
Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore
rosenbjerg Oct 25, 2020
a7981f2
Fix test
rosenbjerg Oct 25, 2020
d029359
Add timeouts
rosenbjerg Oct 25, 2020
a40d264
GitHub Actions annotations for tests
rosenbjerg Oct 25, 2020
2bacf62
Add more timeout attributes
rosenbjerg Oct 25, 2020
1b42eb2
Timeout on all to find problematic test in GH action runner
rosenbjerg Oct 25, 2020
e9817cf
Update ci.yml
rosenbjerg Oct 25, 2020
da34cf1
More timeouts ...
rosenbjerg Oct 25, 2020
f189488
Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore
rosenbjerg Oct 25, 2020
564a9e6
Fix build warning
rosenbjerg Oct 25, 2020
26f5b0f
Use /tmp folder for unix sockets
rosenbjerg Oct 25, 2020
31685da
Cancel on exit
rosenbjerg Oct 25, 2020
6b1e411
Cleanup
rosenbjerg Oct 26, 2020
9feb9f5
Fix output pipe hanging on unix sockets
rosenbjerg Oct 26, 2020
d4d0e9f
Update nuget info
rosenbjerg Oct 26, 2020
c79bc51
Merge branch 'release' into master
rosenbjerg Oct 27, 2020
590b2e1
Merge pull request #126 from rosenbjerg/master
rosenbjerg Oct 27, 2020
8aa967c
Update release.yml
rosenbjerg Oct 27, 2020
5797fbf
Update ci.yml
rosenbjerg Oct 27, 2020
179cb15
Fix cancellation
rosenbjerg Oct 28, 2020
683f200
Update ci.yml
rosenbjerg Oct 28, 2020
3139d77
Merge branch 'master' into release
rosenbjerg Oct 28, 2020
fb8d7ce
Fix NuGet push
rosenbjerg Oct 28, 2020
3cae96f
Explicit output dir
rosenbjerg Oct 28, 2020
100de27
Update release.yml
rosenbjerg Oct 28, 2020
fe26188
Skip ffmpeg prep
rosenbjerg Oct 28, 2020
1093404
Update release.yml
rosenbjerg Oct 28, 2020
8fbb602
Use relative path
rosenbjerg Oct 28, 2020
5ecd481
Update release.yml
rosenbjerg Oct 28, 2020
04c5909
Update release.yml
rosenbjerg Oct 28, 2020
701b0aa
Update release.yml
rosenbjerg Oct 28, 2020
9ab8c09
Update release.yml
rosenbjerg Oct 28, 2020
8a3f29e
Update release.yml
rosenbjerg Oct 28, 2020
261e780
Update release.yml
rosenbjerg Oct 28, 2020
83d2ede
Add key
rosenbjerg Oct 28, 2020
01bded8
Update README.md
rosenbjerg Oct 28, 2020
928e501
Update README.md
rosenbjerg Oct 28, 2020
1bcc9fe
Update README.md
rosenbjerg Nov 9, 2020
5ba2ed9
Update dependencies and add StreamPipeSink constructor
rosenbjerg Nov 25, 2020
96e0a03
Add license expression
rosenbjerg Nov 25, 2020
8cfc2ff
Merge pull request #131 from rosenbjerg/master
rosenbjerg Nov 25, 2020
8b45a6b
Init
rosenbjerg Dec 3, 2020
7904a86
Add raw audio test
rosenbjerg Dec 5, 2020
9c3d8d4
Bump versions for tests
rosenbjerg Dec 5, 2020
fd723e0
Add debug info
rosenbjerg Dec 5, 2020
db95448
Skip disconnect on cancelled
rosenbjerg Dec 5, 2020
224126c
Update nuget info
rosenbjerg Dec 5, 2020
f6e4e31
Use NET 5.0 in pipelines
rosenbjerg Dec 5, 2020
c444230
Check available dotnet version
rosenbjerg Dec 5, 2020
d8a09a3
Use .NET Core 3.1 - 5.0 not yet available
rosenbjerg Dec 5, 2020
28b70d8
Merge pull request #134 from rosenbjerg/master
rosenbjerg Dec 5, 2020
45bc6ac
Explicit Release build
rosenbjerg Dec 5, 2020
df10f84
Merge pull request #135 from rosenbjerg/master
rosenbjerg Dec 5, 2020
24ef1a8
Use FedericoCarboni/setup-ffmpeg@v1-beta for CI
rosenbjerg Dec 5, 2020
ed5b5a8
Run matrix tests
rosenbjerg Dec 5, 2020
56608e6
Do not matrix test on macos-latest due to missing libgdiplus
rosenbjerg Dec 6, 2020
01b1dd2
Only disconnect if pipe not already disposed
rosenbjerg Dec 6, 2020
25c650f
Return clone to avoid problems with disposing original memorystream
rosenbjerg Dec 6, 2020
3ad127a
Dump
rosenbjerg Dec 6, 2020
8e2b146
Partial revert
rosenbjerg Dec 7, 2020
6c51f63
Merge branch 'dev/fixes' into refactor-tests
rosenbjerg Dec 7, 2020
57258c6
Only post in continuation
rosenbjerg Dec 7, 2020
7fd7ae3
Merge branch 'master' into refactor-tests
rosenbjerg Dec 7, 2020
203da63
Fix
rosenbjerg Dec 7, 2020
418cb94
Run post after ffmpeg has completed
rosenbjerg Dec 7, 2020
1a15c08
Reencode raw file
rosenbjerg Dec 7, 2020
8c7dee1
Output ffmpeg formats
rosenbjerg Dec 7, 2020
a38b985
Prevent double GH actions on push to branch with active PR
rosenbjerg Dec 7, 2020
f9090ba
Convert to mp3 instead of opus
rosenbjerg Dec 7, 2020
4c24189
Test with .NET 5.0
rosenbjerg Dec 7, 2020
d64f2dd
Use webm for streaming test
rosenbjerg Dec 7, 2020
2e1ffb0
Merge pull request #136 from rosenbjerg/refactor-tests
rosenbjerg Dec 7, 2020
02877f6
Update FFMpegCore.csproj
rosenbjerg Dec 7, 2020
f5aebb4
Merge pull request #137 from rosenbjerg/master
rosenbjerg Dec 7, 2020
04f78b0
Use .NET 5 in release pipeline
rosenbjerg Dec 7, 2020
668aa79
Merge pull request #138 from rosenbjerg/master
rosenbjerg Dec 7, 2020
502c441
Increase timeout time
rosenbjerg Dec 7, 2020
fb2e1e0
Init
rosenbjerg Dec 8, 2020
f648a4b
Include ffprobe std output in exception
rosenbjerg Dec 8, 2020
fa49e13
Merge pull request #139 from rosenbjerg/dev/include-ffmpeg-stdout-in-…
rosenbjerg Dec 8, 2020
ec59363
Merge pull request #140 from rosenbjerg/master
rosenbjerg Dec 9, 2020
6bdf9da
Also include output data on non-zero ffmpeg exitcode
rosenbjerg Dec 9, 2020
2815ca0
Merge pull request #141 from rosenbjerg/master
rosenbjerg Dec 9, 2020
a4aba66
Support specifying output encoding for ffmpeg and ffprobe output
rosenbjerg Dec 9, 2020
8fe7377
Merge pull request #143 from rosenbjerg/feature/support-for-specifyin…
rosenbjerg Dec 14, 2020
cfee861
Add NotifyOnOutput
rosenbjerg Dec 17, 2020
9604127
Merge pull request #148 from rosenbjerg/master
rosenbjerg Dec 19, 2020
d16efbd
Fix incorrect condition
hey-red Jan 23, 2021
89fdef4
Merge pull request #159 from hey-red/fix-formats
rosenbjerg Jan 23, 2021
f603163
Add tags on media stream and format
hey-red Jan 29, 2021
8d2251c
Merge pull request #165 from hey-red/expose-tags
rosenbjerg Jan 29, 2021
66cdb30
Return null when no format detected during analysis
rosenbjerg Feb 3, 2021
4cb8043
Update FFMpegCore.csproj
rosenbjerg Feb 3, 2021
09d8c00
Merge branch 'release' into master
rosenbjerg Feb 3, 2021
d598d84
Merge pull request #167 from rosenbjerg/master
rosenbjerg Feb 3, 2021
af67cc2
Added tiesont to contributors list
rosenbjerg Feb 3, 2021
35ca34c
ffprobe duration parsing
test-in-prod Feb 7, 2021
bb08076
Format -ss timespan argument to calculate hours
test-in-prod Feb 13, 2021
73531b3
Add InputDeviceArgument
TFleury Feb 28, 2021
157a536
Add OutputStreamArgument
TFleury Feb 28, 2021
9672713
Add cancel timeout
TFleury Mar 2, 2021
fb11b53
Merge pull request #177 from Codinlab/InputDevice
rosenbjerg Mar 5, 2021
47779dc
Merge pull request #180 from Codinlab/CancelTimeout
rosenbjerg Mar 5, 2021
4f28983
Init
rosenbjerg Mar 5, 2021
8452672
Merge branch 'master' into refactor-video-filter-args
rosenbjerg Mar 5, 2021
e49290b
Fix tests
rosenbjerg Mar 6, 2021
a12c322
Add ConfigureAwait(false)
rosenbjerg Mar 6, 2021
e0819c8
Cleanup tests
rosenbjerg Mar 6, 2021
f40479e
Update nuget info
rosenbjerg Mar 6, 2021
cfda317
change FrameRate on RawVideoPipeSource to double
rosenbjerg Mar 6, 2021
7444899
reorder method
rosenbjerg Mar 6, 2021
df0205f
Cleanup
rosenbjerg Mar 6, 2021
9e02309
Merge pull request #184 from rosenbjerg/refactor-video-filter-args
rosenbjerg Mar 6, 2021
aed2dc0
Merge pull request #185 from rosenbjerg/master
rosenbjerg Mar 6, 2021
928ef40
Update README.md
jogibear9988 Mar 10, 2021
bad7c94
Merge pull request #188 from jogibear9988/patch-2
rosenbjerg Mar 10, 2021
fe64675
Fixed process hang on pipe images format mismatch
max619 Mar 15, 2021
bbd9b7f
Moved Debug.WriteLine to Pipe disconnect
max619 Mar 15, 2021
eba1dac
Update README.md
rosenbjerg Mar 15, 2021
d448637
Update README.md
rosenbjerg Mar 15, 2021
e8a7806
Merge branch 'master' into test/variable_image_size
max619 Mar 15, 2021
2be7600
Merge pull request #191 from max619/test/variable_image_size
rosenbjerg Mar 15, 2021
cbf241c
Add examples from readme
rosenbjerg Mar 15, 2021
6882284
Move extension method from Bitmap to Image
rosenbjerg Mar 15, 2021
0face0b
Bump nuget dependencies
rosenbjerg Mar 15, 2021
ce7eb92
Merge pull request #179 from Codinlab/OutputStream
rosenbjerg Mar 15, 2021
3404009
Merge branch 'master' of https://github.com/rosenbjerg/FFMpegCore
rosenbjerg Mar 15, 2021
fc2802d
Renaming to OutputUrlArgument
rosenbjerg Mar 15, 2021
0a14625
Update nuget meta
rosenbjerg Mar 15, 2021
8a314f0
Move MediaAnalysis parsing helper methods to static class
rosenbjerg Mar 15, 2021
5a2ebcf
Merge branch 'master' into master
rosenbjerg Mar 15, 2021
814f499
Merge pull request #170 from test-in-prod/master
rosenbjerg Mar 15, 2021
1d65177
Fix tests
rosenbjerg Mar 15, 2021
277f11d
Update nuget meta
rosenbjerg Mar 15, 2021
97fe2cc
Update FFMpegCore.csproj
rosenbjerg Mar 15, 2021
cce6c69
Fix test
rosenbjerg Mar 15, 2021
18201e2
Merge pull request #192 from rosenbjerg/master
rosenbjerg Mar 15, 2021
ec1b8a6
Add mirror and default ForceFormat for OutputPipeArgument
GorobVictor Mar 16, 2021
ab8be5c
Update
GorobVictor Mar 17, 2021
4e85482
Update
GorobVictor Mar 18, 2021
4e6ecda
update
GorobVictor Mar 22, 2021
27a2219
Fixes, renames and missing stuff
rosenbjerg May 13, 2021
811471e
Update nuget meta
rosenbjerg May 13, 2021
19569cb
Merge pull request #193 from GorobVictor/MirrorAttributeAndDefaultFor…
rosenbjerg May 13, 2021
a586390
Merge branch 'release' into master
rosenbjerg May 13, 2021
6c3129d
Cleanup in using directives
rosenbjerg May 15, 2021
274bb96
Update used GitHub Actions
rosenbjerg May 15, 2021
22eeb42
Add files via upload
leta-lpb May 19, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on:
push:
branches:
- master
pull_request:
branches:
- master
- release

jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
timeout-minutes: 6
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Prepare .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- name: Prepare FFMpeg
uses: FedericoCarboni/setup-ffmpeg@v1
- name: Test with dotnet
run: dotnet test --logger GitHubActions
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: NuGet release
on:
push:
branches:
- release
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Prepare .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- name: Build solution
run: dotnet build --output build -c Release
- name: Publish NuGet package
run: dotnet nuget push "build/*.nupkg" --source nuget.org --api-key ${{ secrets.NUGET_TOKEN }}

Loading