-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Awesome! ffmpeg_all_codec.js failing when audio in video #16
Comments
@Noitidart the FFmpeg used in P.S: |
Aw drats, thanks for that. Is it possible to pack with my addon a cross platform executable? I know exe works for Windows, but what about for mac and linux? |
I don't recommend packing ffmpeg. You can ask users to install FFmpeg or even you can offer downloading it like I did in this extension. or alternatively, you can push a pull request to Media Converter to support MP4 conversion and then use this extension in background for your conversion requests; https://github.com/inbasic/media-converter/blob/master/connect.md
See the JSON response of the feed URL. FFmpeg executable is available on all these three platforms. |
Thanks so much! I try to make my addons have 0 dependencies, so I rather not have them install. May you please point me to the cross platform executables? |
Holy heck I think I found them, they are like 40mb each and for linux they dont have one solution the have one for Fedora, Ubuntu, Debian, etc etc. Shoot. I think Ill try to push ffmpeg.js guys to update :( |
yes, there is not a single cross platform executable. You need to offer platform dependent executables; see browser_download_url's of https://api.github.com/repos/inbasic/ffmpeg/releases/latest
Have you tried to convert an actual video file using the ffmpeg.js? Firefox literally cannot handle it (Chrome is much better though). |
Yep it works first class. I do it off main thread from a ChromeWorker. Only On Sat, Jun 25, 2016 at 4:09 AM, InBasic notifications@github.com wrote:
|
Screencast using my addon to show you ffmpeg in firefox woohoo :d https://www.youtube.com/watch?v=gCTFPmDmHwE |
Nice! Thanks for sharing |
@inbasic by chance do you know of any alternative js libraries to convert webm files? |
Not that I am aware of. You can also try to compile the webm part of ffmpeg using https://github.com/kripken/emscripten |
Oh interesting, thanks very much! |
Hi there!
This is really cool. I didn't realize ffmpeg was in use by another firefox addon. I made an addon last week which records the screen. WebRTC records as
.webm
but stuff like Twitter only accepts gif or mp4. Things are working great EXCEPT when I have audio in the webm recording. If there is audio, then converting it to mp4 fails. I was wondering if you could please take a look at these topics - bgrins/videoconverter.js#49Here is my addon repository - https://github.com/Noitidart/Screencastify/
Here is my released addon: mozilla/addons#145 (comment)
I couldn't solve this conversion to mp4, if you could help that would be awesome. I set up a demo here:
http://noitforks.github.io/videoconverter.js/demo/
You can run any command on this page. But if you click "Video to mp4" you will see the error I am getting.
The text was updated successfully, but these errors were encountered: