Comments (1)
trying to use pillow arrary but get the same result
code
import numpy as np
from PIL import Image
def tes(image):
img = Image.fromarray(image)
im = FImage(img)
im.apply(Sepia(90) )
return np.array(im)
video0 = VideoFileClip("mountains.mp4")
video0 = video0.fl_image(tes)
result
AttributeError Traceback (most recent call last)
[<ipython-input-7-a86f884d4715>](https://localhost:8080/#) in <cell line: 8>()
6
7 video0 = VideoFileClip("mountains.mp4")
----> 8 video0 = video0.fl_image(tes)
11 frames
<decorator-gen-178> in set_make_frame(self, mf)
<decorator-gen-128> in get_frame(self, t)
[/usr/local/lib/python3.10/dist-packages/PIL/Image.py](https://localhost:8080/#) in __getattr__(self, name)
544 )
545 return self._category
--> 546 raise AttributeError(name)
547
548 @property
AttributeError: read
thanks and best regards
from moviepy.
Related Issues (20)
- How to transform a file bytes stream with moviepy HOT 4
- webm format video with transparent background HOT 17
- MoviePy VideoClip Methods and Gif Looping Issue: set_ Methods Ineffective for VideoClip, Gif Not Looping in Python Code HOT 3
- AudioArrayClip processing sample rate wrongly HOT 2
- Gif to MP4 by VideoFileClip, always plays the first frame HOT 6
- I tried to crop a video into circular frames and make the overlay transparent, which did'nt work. Any ideas on how to go about this? I want the video in a circle and the edges(cropped part) transparent. HOT 1
- Writing Audio Gest Stuck! HOT 1
- Calibrate nchunks of iter_chunks function
- Certain decorators perform extremely slow function inspection every call
- Can't apply transition 'crossfadein' to a clip HOT 1
- AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' HOT 3
- An error occurred in calculating the duration of multiple videos in one folder using VideoFileClip HOT 1
- After do 'concatenate_videoclips', most of added movie does not displayed that seems no keyframe for added clips. HOT 2
- AttributeError: 'numpy.ndarray' object has no attribute 'point' HOT 1
- ArgumentError: argument 2: TypeError: wrong type HOT 2
- error: OpenCV(4.9.0) :-1: error: (-5:Bad argument) in function 'putText' HOT 2
- TypeError: cannot unpack non-iterable NoneType object HOT 1
- VideoFileClip.write_videofile stops with an error message HOT 1
- Any Unicode Font For TextClip
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moviepy.