Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit 789f55a

Browse files
committed
version bump -> v0.4.1 (matching)
1 parent e9d4eed commit 789f55a

File tree

4 files changed

+43
-4
lines changed

4 files changed

+43
-4
lines changed

CHANGELOG.md

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

66
## [Unreleased]
77

8+
## [0.4.1] - 2022-02-22
9+
10+
### Changed
11+
12+
- Matching the `ffmpegio` version bump
13+
814
## [0.4.0] - 2022-02-22
915

1016
### Changed
@@ -30,6 +36,6 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
3036
- First release.
3137
- A plugin to convert raw media I/O data of `ffmpegio` to use `numpy.ndarray` objects.
3238

33-
[Unreleased]: https://github.com/python-ffmpegio/python-ffmpegio/compare/v0.4.0...HEAD
34-
[v0.3.3]: https://github.com/python-ffmpegio/python-ffmpegio/compare/v0.3.1...v0.4.0
39+
[Unreleased]: https://github.com/python-ffmpegio/python-ffmpegio/compare/v0.4.1...HEAD
40+
[v0.3.3]: https://github.com/python-ffmpegio/python-ffmpegio/compare/v0.3.1...v0.4.1
3541
[v0.3.1]: https://github.com/python-ffmpegio/python-ffmpegio/compare/v0.3.0...v0.3.1

sandbox/test_image_video.py

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import ffmpegio
2+
from matplotlib import pyplot as plt
3+
4+
vf = ffmpegio.FilterGraph(
5+
[
6+
[
7+
(
8+
"drawtext",
9+
{
10+
"fontfile": "C:\\WINDOWS\\FONTS\\BKANT.TTF",
11+
"text": "Test Text",
12+
"x": "(w-text_w)/2",
13+
"y": "(h-text_h)/2",
14+
"fontsize": 24,
15+
"fontcolor": "[email protected]",
16+
"box": 1,
17+
"boxcolor": "[email protected]",
18+
"boxborderw": 6,
19+
},
20+
)
21+
]
22+
]
23+
)
24+
25+
I = ffmpegio.image.create("smptebars", d=1, vf=vf)
26+
27+
plt.imshow(I)
28+
plt.show()
29+
30+
# T = 10
31+
# ffmpegio.video.write(
32+
# r"sandbox\test.mp4", 1 / T, I, r=25, t=10, show_log=True, overwrite=True
33+
# )

src/ffmpegio_plugin_numpy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
hookimpl = HookimplMarker("ffmpegio")
1010

11-
__version__ = "0.4.0"
11+
__version__ = "0.4.1"
1212

1313
__all__ = [
1414
"video_info",

0 commit comments

Comments
 (0)