Closed privatezero closed 7 years ago
Did you set the global variables, usually in .bashrc
, at installation?
aha! I might have neglected that step. I'll test it out when I get back home!
Sorry, I cannot test myself now, but if it still gives an error, then you could file an issue to Linuxbrew.
I have confirmed that the error still occurs for the sox install when linuxbrew is on the PATH - I'll keep looking into this, but in the meantime the apt install makes things hunky dory (at least in respect to running- I don't have a linux compatible A/D so can't test quality)
I’ll try to test on Saturday.
Thank you much! Have you been able to successfully get ffplay to work via linuxbrew as well? I seem to be running into a similar issue - if I build FFmpeg via apt-get (using a PPA for a newer version) ffplay runs, but built via linuxbrew it throws an error
Could not initialize SDL - No available video device
Would love to figure out a way to get the install formula working so that users wouldn't have to manually install the dependencies using apt-get!
oh haha! looks like the linuxbrew version of sdl2 was conflicting with the other installed version- I was able to fix the ffplay issue at least by forcing brew to uninstall its version of sdl2!
Yay! That gave me the idea to try manually installing alsa via brew instead of using the system install version. Looks like that solved the sox alsa issue!
Hello @privatezero, @pjotrek-b mentioned yesterday on twitter Zenity, GUI for shell scripts, which could be interesting indeed for many of our projects!
Update: There are some issues with Zenity too…
Hi! Yes, I have experimented with Zenity before and found it interesting, but problematic. The biggest problem I had (in macOS at least) was it would often open its window behind existing windows, which could be very confusing for users!
Yes, that’s also one of my cons. There are other solutions I’m testing, including a fork from Zenity. No one I would suggest so far… :-(
Regarding focus-stealing issues with Zenity: Maybe "wmctrl" could be used to stabilize it's behavior (for starters) - and for long-term: Fix/improve Zenity? (Don't know if wmctrl exists/works on MacOS though)
Hmm… I really don’t have the time to fix Zenity ;-)
Thank you for the information! I’ll check it.
I seem to recall that the linux workarounds didn't exist in macOS, but it has been a while since I looked into it so I could be totally wrong about that!
@retokromer: Didn't mean that you should fix Zenity.
Just tried not to promote a workaround without mentioning that it might be possible to actually fix things: Because it's FOSS :smile:
@pjotrek-b Нема проблема! My answer was meant ironically, therefore the added ;-)
The installation seems to be resolved in https://github.com/amiaopensource/audiorecorder/pull/32.
As @retokromer says! Resolved for now via https://github.com/amiaopensource/audiorecorder/pull/32. Closing!
Looks like when installing audiorecorder via linuxbrew, the sox dependency does not end up configured to use the default alsa device. If sox is installed via apt install there is no problem. Probably some path issue that needs looking into!