Closed psigen closed 5 months ago
My suggestion would be to alias ffplay as ffmpeg.ffplay instead of modifying the script.
Just so I know, why are you using snap installs and not direct host versions if you're on Ubuntu ?
sudo apt-get install ffmpeg lz4
isn't working ? I would find it strange.
There are a few reasons why someone would want to use snap installs
apt-get upgrade
So there are a number of reasons why people use snaps. You can read more about them here: https://snapcraft.io/docs
Thanks 👍
Feel free to make a PR to put the ffplay and ffmpeg executables in an environment variable. However it is also easily fixable by replacing the ffplay command in the script.
I'll close this issue for now at has been open for quite a while 🙂
I was able to get reStream working very easily on Ubuntu with only the following two snaps:
However, the ffmpeg snap packages ffplay as
ffmpeg.ffplay
, so I had to manually editreStream.sh
to use that instead of the default commandffplay
. I was wondering if there was a reasonable way to support this use, since it's really nice to only depend on two confined snaps from an installation perspective.Here are some options:
reStream.sh --ffplay-cmd "ffmpeg.ffplay"
RESTREAM_FFPLAY_CMD
to override the default commandffplay
first and thenffmpeg.ffplay
ffmpeg
have an alias forffmpeg.ffplay
? If so, default to that instead in the script.ffplay
from the snap? Here is the package description.