Giter Club home page Giter Club logo

Comments (7)

bgrins avatar bgrins commented on July 19, 2024

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.

DawsonG avatar DawsonG commented on July 19, 2024

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.

ravendareriver avatar ravendareriver commented on July 19, 2024

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.

duanyao avatar duanyao commented on July 19, 2024

Using latest libvpx and ffmpeg in PR #30, vp8 encoder works fine for me. @DawsonG can you test it?

from videoconverter.js.

DawsonG avatar DawsonG commented on July 19, 2024

Sure, I've been using vp9 successfully for awhile, but I'll fire it up and see.

from videoconverter.js.

DawsonG avatar DawsonG commented on July 19, 2024

@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.

duanyao avatar duanyao commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.