astrofox-io / astrofox

Astrofox is a motion graphics program that lets you turn audio into amazing videos.
https://astrofox.io
MIT License
1.75k stars 105 forks source link

Export bug #33

Open comav opened 3 years ago

comav commented 3 years ago

I created a project, then I clicked "Save video", set up the settings and started to wait. When progress bar hit 100% the app became gray and there is no video file in destination folder. image

mikecao commented 3 years ago

What OS are you using?

comav commented 3 years ago

Windows 10 2004 x64

riverma commented 3 years ago

@mikecao @comav I noticed this exact issue on macOS 10.15.7 with the following export settings:

Any suggested workarounds?

mikecao commented 3 years ago

@riverma Does your export finish even though the app crashes?

mikecao commented 3 years ago

Please try the latest version 1.2.0

ChetanAmrao commented 3 years ago

Hi Mike, love this project you made! I was hoping to use it for a short clip, I followed the steps in the readme doc but not able to get the file exported I am using

when I click save video, i get no response from the app. It goes unresponsive and I wait for an hour but nothing happens till I stop it from the command prompt could you resolve my issue?

mikecao commented 3 years ago

@ChetanAmrao I've never heard of it freezing before. You can bring up the developer console to see if there are any errors thrown.

ChetanAmrao commented 3 years ago

Yes, I found that option and got this error.

`
app.js:1 astrofox Error: spawn C:\Users\User\Downloads\astrofox\astrofox\bin\ffmpeg.exe ENOENT
output @ app.js:1
error @ app.js:1
start @ app.js:1
async function (async)
start @ app.js:1
(anonymous) @ app.js:1
setTimeout (async)
onClick @ app.js:1
Ge @ app.js:1
Ye @ app.js:1
(anonymous) @ app.js:1
Mr @ app.js:1
Tr @ app.js:1
(anonymous) @ app.js:1
Ie @ app.js:1
(anonymous) @ app.js:1
Rr @ app.js:1
Kt @ app.js:1
Qt @ app.js:1
t.unstable_runWithPriority @ app.js:1
Gi @ app.js:1
De @ app.js:1
Zt @ app.js:1
app.js:1 Uncaught (in promise) Error: spawn C:\Users\User\Downloads\astrofox\astrofox\bin\ffmpeg.exe ENOENT
async function (async)
start @ app.js:1
(anonymous) @ app.js:1
setTimeout (async)
onClick @ app.js:1
Ge @ app.js:1
Ye @ app.js:1
(anonymous) @ app.js:1
Mr @ app.js:1
Tr @ app.js:1
(anonymous) @ app.js:1
Ie @ app.js:1
(anonymous) @ app.js:1
Rr @ app.js:1
Kt @ app.js:1
Qt @ app.js:1
t.unstable_runWithPriority @ app.js:1
Gi @ app.js:1
De @ app.js:1
Zt @ app.js:1
`
mikecao commented 3 years ago

@ChetanAmrao are you running the installed application or the repo? It says it can't find ffmpeg.exe and it seems you're running it from a strange location.

ChetanAmrao commented 3 years ago

running from my downloads folder and I did install ffmpeg but idk why its giving me that error still

riverma commented 3 years ago

@riverma Does your export finish even though the app crashes?

@mikecao it did not.

I should mention I did find a workaround: ensuring my audio file was a LAME encoded MP3, not the iTunes M4A, and being methodical to add Astrofox filters right after a fresh restart and then hitting render - not having the program running for some time after previous render job attempts. i.e. "have you turned it off and on again?" ;)

ChetanAmrao commented 3 years ago

Now, I did it using yarn and followed the exact same steps it rendered my video and then hangs at least video was exported but have to run it each time I export now? 🤔

erroreyes commented 11 months ago

I just got this when I exported a test video for the first time (I am a first time user), and this is what was printed in the console:

Error sending from webFrameMain:  Error: Render frame was disposed before WebFrameMain could be accessed
    at Object.n.send (node:electron/js2c/browser_init:165:417)
    at Object.b.send (node:electron/js2c/browser_init:161:2492)
    at U (/tmp/.mount_AstrofZGBZ1g/resources/app.asar/main.js:1:266329)
    at BrowserWindow.M (/tmp/.mount_AstrofZGBZ1g/resources/app.asar/main.js:1:266447)
    at BrowserWindow.emit (node:events:406:35)

image