-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Using on Linux #8
Comments
Hey Kasperkopf, I recently switched from Aurora.js to FFPLAY to handle the playback of files (much better performance) - but it requires downloading the ffmpeg binaries. The error you are receiving is because it cannot find the I created a script You can try running it at Thanks for logging this -- I did heaps of work on the player over the new year, but haven't documented everything yet! 😔 |
Hey thanx for your fast reply! I didn't know that the script
Don't know whats happend with unlink, but the directory exist now. I will keep on this! |
So finaly it works! If I use your player = spawn(`./ffmpeg/ffplay`, [file.path, '-nodisp', '-autoexit'], {stdio: 'ignore'})
ffmpeg.setFfprobePath(`./ffmpeg/ffprobe`) Now it works on Linux. Maybe I can use ffplay-static instead of linking the binary. And can you explain what you want to do with |
ahh, i wasn't aware ffplay wasn't available on linux -- or of ffplay-static. I was actually in the process of rewriting the logic behind getting all of these binaries -- not ready to commit yet. I know it's a bit of a mess -- If you have a better solution for grabbing these binaries, please pull request! Also, you you get a stable build for linux, please pass it on and I can add it to the releases page -- I have gotten a few requests for linux support, and unfortunately I cannot find the time at the moment. 🏇 |
Okay let me find some time at the weekend and I will find a better solution. Its strange that there is no Linux support for btw I have an autoplay/next play issue. will keep this in mind! |
I think there is a bug with autoplay in the last commit i did (not in the released build). I have a commit in progress which will hopefully resolve it (assuming its the same issue). I've been testing the new commit locally, still working out a few kinks. |
Issue will fixed with #9. Please read my comment why I change some code. Can you answer some questions for me?
|
I was having issues getting the ffmpeg path to resolve in production builds (in macOSX), specifically relative paths, UserData gives a absolute path. That line in the I will have a look at your PR to see if it keeps macOSX functionality intact. Thanks again, getting motivated to fix these fiddly bits. 🚤 |
hey,
I try to use the player on my linux computer, but it fails. So I used this instruction, but its incomplete and I tried to rebuild the app. After reinstalling some dependencies i run this app and it works better than previously.
When I play a track (by clicking on a track name or the play-icon), I get this error from JavaScript:
I think there is an issue with the ffmpeg path, because I have a system installation of ffmpeg (should find in my $PATH). I tried to read the code of this app to find this path, but i cant find the line where ffmpeg will be used for playing, except
metadata/editor.js
.Can someone help me or try to fix this issue?
The text was updated successfully, but these errors were encountered: