FelippeChemello / podcast-maker

Fully automated video maker using motion graphics and text-to-speech synthesis to turn newsletters into daily YouTube videos.
https://youtube.com/@CodeStackMe
MIT License
544 stars 67 forks source link

Instagram videos without voice #7

Closed Muurilo closed 3 years ago

Muurilo commented 3 years ago

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

Muurilo commented 3 years ago

I created the TTS

FelippeChemello commented 3 years ago

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

Muurilo commented 3 years ago

I have all these files inside temp dir image

Muurilo commented 3 years ago

when creating instagram video this happens

image

Muurilo commented 3 years ago

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

FelippeChemello commented 3 years ago

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

Muurilo commented 3 years ago

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

FelippeChemello commented 3 years ago

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

FelippeChemello commented 3 years ago

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

Muurilo commented 3 years ago

Yes.

Muurilo commented 3 years ago

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

Muurilo commented 3 years ago

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

FelippeChemello commented 3 years ago

I will take a look at it during the weekend

FelippeChemello commented 3 years ago

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

FelippeChemello commented 3 years ago

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

Muurilo commented 3 years ago

ok, thanks for the support

FelippeChemello commented 3 years ago

fix was merged on https://github.com/FelippeChemello/podcast-maker/pull/10