Skip to content

Commit f4dfa45

Browse files
committed
added analyze module
video: added detect() typing support for Python 3.7
1 parent 2cd85a5 commit f4dfa45

18 files changed

Lines changed: 1357 additions & 31 deletions

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,4 +152,3 @@ docs/
152152
!docs/.nojekyll
153153

154154
sandbox/*
155-
!sandbox/*.py

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
55

66
## [Unreleased]
77

8+
### Added
9+
10+
- `path.check_version()` to check FFmpeg version easily
11+
812
## [0.5.0] - 2022-04-03
913

1014
### Added

docsrc/detect.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
.. highlight:: python
2+
.. _detect:
3+
4+
Data Analyses
5+
=============
6+
7+
List of Functions
8+
-----------------
9+
10+
.. autosummary::
11+
:nosignatures:
12+
:recursive:
13+
14+
ffmpegio.video.detect
15+
ffmpegio.audio.detect
16+
17+
18+
.. autofunction:: ffmpegio.video.detect
19+
.. autofunction:: ffmpegio.audio.detect

docsrc/options.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ functions operate strictly with RGB or grayscale formats listed below.
7373
===== ===== ========= ===================================
7474
ncomp dtype pix_fmt Description
7575
===== ===== ========= ===================================
76-
1 |u8 gray grayscale
76+
1 \|u8 gray grayscale
7777
1 <u2 gray16le 16-bit grayscale
7878
1 <f4 grayf32le floating-point grayscale
79-
2 |u1 ya8 grayscale with alpha channel
79+
2 \|u1 ya8 grayscale with alpha channel
8080
2 <u2 ya16le 16-bit grayscale with alpha channel
81-
3 |u1 rgb24 RGB
81+
3 \|u1 rgb24 RGB
8282
3 <u2 rgb48le 16-bit RGB
83-
4 |u1 rgba RGB with alpha transparency channel
83+
4 \|u1 rgba RGB with alpha transparency channel
8484
4 <u2 rgba64le 16-bit RGB with alpha channel
8585
===== ===== ========= ===================================
8686

@@ -98,7 +98,7 @@ run :py:func:`caps.sample_fmts()` to list available formats). For the I/O purpos
9898
====== ==========
9999
dtype sample_fmt
100100
====== ==========
101-
|u1 u8
101+
\|u1 u8
102102
<i2 s16
103103
<i4 s32
104104
<f4 flt

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ packages=ffmpegio,ffmpegio.streams,ffmpegio.utils,ffmpegio.plugins,ffmpegio.plug
3333
install_requires =
3434
pluggy
3535
packaging
36+
typing-extensions; python_version<'3.8'
3637
python_requires = >=3.7,

0 commit comments

Comments
 (0)