FelippeChemello/podcast-maker

Instagram videos without voice

Muurilo opened this issue · 17 comments

Voice not working, i get this error while build the video.

[Error: Error: Cannot find module './C:\Users\Murilo\Documents\Projects\podcast-maker\tmp\output-0.mp3'
at webpackContextResolve (http://localhost:3000/bundle.js:13195:11)
at webpackContext (http://localhost:3000/bundle.js:13190:11)
at loadAudio (http://localhost:3000/bundle.js:13440:41)
at http://localhost:3000/bundle.js:13452:5
at fk (http://localhost:3000/bundle.js:6938:19)
at exports.unstable_runWithPriority (http://localhost:3000/bundle.js:11950:12)
at gg (http://localhost:3000/bundle.js:3787:10)
at Oj (http://localhost:3000/bundle.js:6890:12)
at http://localhost:3000/bundle.js:6880:7
at V (http://localhost:3000/bundle.js:11876:17)]

the intro sound works fine

I created the TTS

It seams like output for news was not created, please check content file and TTS process.
It expect to have output-X.mp3 created in tmp directory

I have all these files inside temp dir
image

when creating instagram video this happens

image

it looks like it has a ./ at start of path, maybe this is an error?

Yes, I have only tested on Linux, as you are using windows path could not be right.

Try to remove it and feel free to send a PR correcting it

The problem is in the file generated in the temp folder similar to example.json, the path to the audio is with the wrong formatting just like you said, but I can't find where the file is generated to change the path

This file is exported at ExportDataService.ts, however audio file path is defined in content.json at RetrieveAudioDataService.ts

Can I make some changes in your commit?
After could you, please, test it on Windows?

Yes.

Pls, remove --props inline json and add to a file because windows not support this

When are you going to make the changes and approve the PR

I will take a look at it during the weekend

I need to make some changes in your PR, it seems like doesn't correct the root of problem... I was investigating, cause it seems to have a bug in motion require

UPDATE: still working in this issue, asap I will be back with bug correction

ok, thanks for the support

fix was merged on #10