Comments (7)
Yes, I think there is something messed up with VP8 - I've tried changing a bunch of different options when compiling but never been able to get it to unscramble. As a workaround I think you could use: -c:v libvpx-vp9
, but this will use the VP9 codec. I don't have any real pointers - but if you want to try to build it yourself using this script or a variation of it: https://github.com/bgrins/videoconverter.js/blob/master/build/build_all_codecs.sh maybe it will work - I'd love to see if you get different results.
For another example, run the demo app with:
-t 3 -i input.webm -vf showinfo -strict -2 output.webm
Notice that it's scrambled. But if you run with:
-t 3 -i input.webm -vf showinfo -strict -2 -c:v libvpx-vp9 output.webm
it works fine.
from videoconverter.js.
The vp9 codex works great, although it's a bit slow compared to other conversions -- including the broken vp8. I'm going to take a crack at building it; I'll let you know how it goes. In the meantime, thanks for your help.
from videoconverter.js.
maybe this one can work better, I used it to convert mp4 to webM and between http://www.bigasoft.com/articles/convert-vp9-webm-to-mp4.html
from videoconverter.js.
Using latest libvpx and ffmpeg in PR #30, vp8 encoder works fine for me. @DawsonG can you test it?
from videoconverter.js.
Sure, I've been using vp9 successfully for awhile, but I'll fire it up and see.
from videoconverter.js.
@duanyao I ran into problems completing the build process that I don't want to take the time to fix. Would you mind updating the pre-built .js files in your repo? I'll use those and tell you how it goes.
from videoconverter.js.
I created a release that you can use:
https://github.com/duanyao/videoconverter.js/releases/download/v0.2/ffmpeg_js-v0.2.zip
P.S. what are the problems you encountered? You need very recent emscripten (1.32.x) and run pull_source.sh
and build.sh
in build_edge
.
from videoconverter.js.
Related Issues (20)
- Implementation reactjs
- Update ffmpeg to version 3.3.4 HOT 2
- Does this still work? HOT 4
- How to compress ffmpeg-all-codecs.js
- convert image to video HOT 1
- decode h264 frames without entire file HOT 1
- endian test failed HOT 1
- Referencing a link to a video url instead of local file
- RTMP & RTSP url as input
- Subtitle Input Example
- How can I use ffplay to display vedio in demo page?
- convert video in browser and upload it automatically to the server?
- Sample app not working. HOT 1
- Compilation Ffmpeg error caching how?
- filters error
- Size of videoconvertre.js HOT 1
- Unable to combine video and audio HOT 1
- Project demo does not work
- Can I convert image to video? missing function: madvise
- Are there more compact FFmpeg libraries? HOT 1
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 videoconverter.js.