Comments (8)
Hello, I try to fix it, if you agree ?
from etro.
Thank you @moumini-creator! You can look at Movie#record
for reference. Let me know if you have any questions!
from etro.
I was able to observe that there were only a few seconds of the video that was being played is this on purpose?
from etro.
Yeah, that's intentional. The whole movie should be 9 seconds long.
from etro.
So where's the code that controls the cutting of the video? Please. Or I don't quite understand what's going on, in which case please enlighten me on how it works.
from etro.
The code for the example is located in examples/introduction/export.html, if that's what you mean.
Movie#record
is the method that renders the video to a file, so that's where the problem should be. It uses the native media recorder API to accumulate the image and audio data for each frame and convert it into one blob at the end. I wonder if changing the blob type in line 238 would fix it.
On a side note, you have probably run into the issue that the examples are not allowed to play (because of the browsers' autoplay policies). I am working on changing the examples so you have to click to start the movie. In the meantime, you should be able to prevent this behavior in your browser settings.
from etro.
@moumini-creator Hi, did that fix work? If not, feel free to comment any questions!
from etro.
This is no longer an issue, I suppose it was fixed in v0.7
from etro.
Related Issues (20)
- Add `onDraw` option to `Movie.record()`
- Seeking during playback doesn't seek the movie's current time HOT 2
- Can't add an outline to a text layer HOT 2
- Mute karma browser output
- `test:*` scripts in `package.json` cannot be run on Windows because of syntax error
- Can't resolve 'etro' on Next 13. HOT 13
- Quality loss when resizing picture
- `Shader` effect always rendering as solid black in firefox on macos
- Deprecate `mediaRecorderOptions`
- Non-numeric keyframe values throwing compile-time type error
- `this.data is undefined` when calling `Transform.apply()` with dynamic matrix
- Deprecate and rename `Layer.render`
- Replace `unknown` in `KeyFrame.value`'s type HOT 1
- Deprecate function properties
- Deprecate `time` parameter for `val()`
- Release commit log link broken
- Type `KeyFrame` constructor to accept custom interpolation functions
- Can't read an image layer while rendering the movie. The image is from remote, like (https://image/) HOT 2
- timeline editor component for end users ? HOT 1
- Unmount using react
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 etro.