Skip to content
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

wav to mp3 conversion #31

Open
selul opened this issue Jun 25, 2015 · 4 comments
Open

wav to mp3 conversion #31

selul opened this issue Jun 25, 2015 · 4 comments

Comments

@selul
Copy link

selul commented Jun 25, 2015

Hello,

I'm trying to use videoconverter plugin to merge two wav files and transform them to mp3. The command im using is

                            arguments: ['-i', 'one.wav','-i', 'two.wav',
                                  '-filter_complex', 'amix=inputs=2' ,(new Date().toUTCString()+'.mp3') ],
                                  files: [
                                    {
                                      data: new Uint8Array(data1),
                                      name: "one.wav"
                                    },
                                    {
                                      data: new Uint8Array(data2),
                                      name: "two.wav"
                                    },
                                  ]
                                });

and i'm getting this error:

Encoder (codec none) not found for output stream #0:0

Anybody knows what i'm doing wrong ?

Thank you for help !

@DickyT
Copy link

DickyT commented Feb 28, 2016

I am sure this library isn't compiled with lamb, so mp3 is not supported

@datvm
Copy link

datvm commented Apr 6, 2017

Hi, could I recompile it myself and include lamb? Is it easy?

@datvm
Copy link

datvm commented May 3, 2017

@mbivol10 Thanks for your reply, but I do not understand yet. Could you elaborate where the web assembly version is?

@jonasof
Copy link

jonasof commented May 4, 2017

It should be related to #55 (Upgrade to emscripten 1.35.0, ffmpeg 3.1.3), not #63 (WebAssembly). I tested here and #55 worked.

(the pull request #63 also contains #55)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants