Home Assistant release with the issue:
arch - armv7
dev - false
docker - false
hassio - false
os name - Linux
python version - 3.7.3
version - 0.98.5
virtualenv - true
Operating environment (Hass.io/Docker/Windows/etc.):
Home assistant virtualenv (Raspberry PI)
Description of problem:
Hello.
I have problems with the stream component. I have never used it and want to configure it. I include this component in the configuration file. I do a configuration check.
I have such an error:
“Configuration invalid
Component error: stream - Requirements for stream not found: [‘av == 6.1.2’]”.
The ffmpeg component is installed. The cameras are work:
$ ffmpeg -i INPUT -an -f null -
ffmpeg version N-94610-g9bcb1cb6ed Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 8 (Raspbian 8.3.0-6 + rpi1)
configuration: --arch = armel --target-os = linux --enable-gpl --enable-libx264 --enable-nonfree
libavutil 56.33.100 / 56.33.100
libavcodec 58. 55.100 / 58. 55.100
libavformat 58.31.101 / 58.31.101
libavdevice 58.9.100 / 58.9.100
libavfilter 7. 58.100 / 7. 58.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55.6.100 / 55.600
INPUT: No such file or directory
All dependencies are installed
In the log the following error:
2019-09-18 08:28:11 ERROR (SyncWorker_5) [homeassistant.util.package] Unable to install package av == 6.1.2: Failed building wheel for av
Command “/ srv / homeassistant / bin / python3 -u -c” import setuptools, tokenize; __ file __ = ‘/ tmp / pip-install-55s03uo5 / av / setup.py’; f = getattr (tokenize, ‘open’, open ) (__ file __); code = f.read (). replace (’\ r \ n’, ‘\ n’); f.close (); exec (compile (code, file, ‘exec’)) "install - -record /tmp/pip-record-lzi8uto4/install-record.txt --single-version-externally-managed
–compile --install-headers /srv/homeassistant/include/site/python3.7/av "failed with error code 1 in / tmp / pip-install-55s03uo5 / av /`
**I switched the Python version from 2 to 3. The problem is not resolved.**
`~ $ python --version
Python 3.7.3
I executed the following command, and that’s what I got:
(homeassistant) homeassistant@raspberrypi:/home/pi $ pip3 install --upgrade av==6.1.2
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting av==6.1.2
Using cached https://files.pythonhosted.org/packages/05/e4/205b787753d25da5d927b59b7cf59c0b7563e3d18f35d228101658792c05/av-6.1.2.tar.gz
Building wheels for collected packages: av
Running setup.py bdist_wheel for av ... error
Complete output from command /srv/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-c75qlob2/av/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-uclg7cwl --python-tag cp37:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.7
creating build/lib.linux-armv7l-3.7/av
copying av/datasets.py -> build/lib.linux-armv7l-3.7/av
copying av/__main__.py -> build/lib.linux-armv7l-3.7/av
copying av/__init__.py -> build/lib.linux-armv7l-3.7/av
copying av/deprecation.py -> build/lib.linux-armv7l-3.7/av
creating build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/cctx_encode.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/merge-filmstrip.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/glproxy.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/encode_frames.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/remux.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/decode_threads.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/second_seek_example.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/encode.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/qtproxy.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/audio_player.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/show_frames_opencv.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/average.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/decode.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/save_subtitles.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/cctx_decode.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/graph.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/player.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/filmstrip.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/__init__.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/audio.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/dump_format.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/experimental.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/frame_seek_example.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/resource_use.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/seekmany.py -> build/lib.linux-armv7l-3.7/scratchpad
creating build/lib.linux-armv7l-3.7/av/audio
copying av/audio/__init__.py -> build/lib.linux-armv7l-3.7/av/audio
creating build/lib.linux-armv7l-3.7/av/container
copying av/container/__init__.py -> build/lib.linux-armv7l-3.7/av/container
creating build/lib.linux-armv7l-3.7/av/codec
copying av/codec/__init__.py -> build/lib.linux-armv7l-3.7/av/codec
creating build/lib.linux-armv7l-3.7/av/data
copying av/data/__init__.py -> build/lib.linux-armv7l-3.7/av/data
creating build/lib.linux-armv7l-3.7/av/video
copying av/video/__init__.py -> build/lib.linux-armv7l-3.7/av/video
creating build/lib.linux-armv7l-3.7/av/filter
copying av/filter/__init__.py -> build/lib.linux-armv7l-3.7/av/filter
creating build/lib.linux-armv7l-3.7/av/subtitles
copying av/subtitles/__init__.py -> build/lib.linux-armv7l-3.7/av/subtitles
running build_ext
running config
pkg-config returned flags we don't understand: -pthread -pthread
Failed building wheel for av
Running setup.py clean for av
Failed to build av
Installing collected packages: av
Running setup.py install for av ... error
Complete output from command /srv/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-c75qlob2/av/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-1i_gtkhp/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.7/av:
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.7
creating build/lib.linux-armv7l-3.7/av
copying av/datasets.py -> build/lib.linux-armv7l-3.7/av
copying av/__main__.py -> build/lib.linux-armv7l-3.7/av
copying av/__init__.py -> build/lib.linux-armv7l-3.7/av
copying av/deprecation.py -> build/lib.linux-armv7l-3.7/av
creating build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/cctx_encode.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/merge-filmstrip.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/glproxy.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/encode_frames.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/remux.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/decode_threads.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/second_seek_example.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/encode.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/qtproxy.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/audio_player.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/show_frames_opencv.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/average.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/decode.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/save_subtitles.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/cctx_decode.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/graph.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/player.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/filmstrip.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/__init__.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/audio.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/dump_format.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/experimental.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/frame_seek_example.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/resource_use.py -> build/lib.linux-armv7l-3.7/scratchpad
copying scratchpad/seekmany.py -> build/lib.linux-armv7l-3.7/scratchpad
creating build/lib.linux-armv7l-3.7/av/audio
copying av/audio/__init__.py -> build/lib.linux-armv7l-3.7/av/audio
creating build/lib.linux-armv7l-3.7/av/container
copying av/container/__init__.py -> build/lib.linux-armv7l-3.7/av/container
creating build/lib.linux-armv7l-3.7/av/codec
copying av/codec/__init__.py -> build/lib.linux-armv7l-3.7/av/codec
creating build/lib.linux-armv7l-3.7/av/data
copying av/data/__init__.py -> build/lib.linux-armv7l-3.7/av/data
creating build/lib.linux-armv7l-3.7/av/video
copying av/video/__init__.py -> build/lib.linux-armv7l-3.7/av/video
creating build/lib.linux-armv7l-3.7/av/filter
copying av/filter/__init__.py -> build/lib.linux-armv7l-3.7/av/filter
creating build/lib.linux-armv7l-3.7/av/subtitles
copying av/subtitles/__init__.py -> build/lib.linux-armv7l-3.7/av/subtitles
running build_ext
running config
pkg-config returned flags we don't understand: -pthread -pthread
Command "/srv/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-c75qlob2/av/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-1i_gtkhp/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.7/av" failed with error code 1 in /tmp/pip-install-c75qlob2/av/
I tried uninstalling ffmpeg and reinstalling. I used RPI hardware acceleration by compiling and following most of the instructions here
This solved the problem with the stream component. But the video stopped working. When you click on a preview image, the video stream does not play. Moreover, the ffmpeg has disappeared from the folder /usr/bin/ffmpeg. And in the folder /usr/local/bin/ffmpeg did not work.
And I restored everything back.
Help me please, what else can I do to make the component work?
Problem-relevant configuration.yaml
entries and (fill out even if it seems unimportant):
stream:
ffmpeg:
ffmpeg_bin: /usr/bin/ffmpeg
Traceback (if applicable):
Additional information:
Did you try these steps?
https://www.home-assistant.io/components/stream#troubleshooting
Yes.
I have tried this. But nothing has changed.
~ $ sudo apt-get install -y python-dev pkg-config libavformat-dev libavcodec-
dev libavdevice-dev libavutil-dev libswscale-dev libavresample-dev libavfilter-dev
Reading package lists ... Done
Building dependency tree
Reading state information ... Done
pkg-config is already the newest version (0.29-6).
python-dev is already the newest version (2.7.16-1).
libavcodec-dev is already the newest version (7: 4.1.4-1 + rpt1 ~ deb10u1).
libavdevice-dev is already the newest version (7: 4.1.4-1 + rpt1 ~ deb10u1).
libavfilter-dev is already the newest version (7: 4.1.4-1 + rpt1 ~ deb10u1).
libavformat-dev is already the newest version (7: 4.1.4-1 + rpt1 ~ deb10u1).
libavresample-dev is already the newest version (7: 4.1.4-1 + rpt1 ~ deb10u1).
libavutil-dev is already the newest version (7: 4.1.4-
1 + rpt1 ~ deb10u1).
libswscale-dev is already the newest version (7: 4.1.4-1 + rpt1 ~ deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 170 not upgraded.
Hey there @hunterjm, mind taking a look at this issue as its been labeled with a integration (stream
) you are listed as a codeowner for? Thanks!
Same issue here, except I am using CentOS7 as I have HA running on my office server.
I manually compiled fdk-aac, lame-3.100, libvpx, nasm-2.14.02, opus-1.3.1, x264, and x265, then built a new ffmpeg binary which reports without error.
However, when I add stream to my configuration.yaml, I get the same error.
I did notice in my log that HA does indeed try to install av, but fails:
Unable to install package av==6.1.2: Command "/home/paul.allsopp/homeassistant/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-pi18qsvb/av/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-1wzf9d2l-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/paul.allsopp/homeassistant/include/site/python3.6/av" failed with error code 1 in /tmp/pip-build-pi18qsvb/av/
That error is the same error from doing: "pip install av==6.1.2"
Thx
I managed to get further by downloading (pip download instead of pip install) the av package, and then running python setup.py install --record /tmp/install-record.txt --single-version-externally-managed --compile
from the unzipped folder. Then adding the libraries to the pkg-config path, i.e:
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH;/usr/local/lib/pkgconfig
or wherever you find "libavcodec.pc"
However, I do get:
pkg-config returned flags we don't understand: -pthread
which I cannot yet resolve.
Even when I build from the github source I get the same output.
Did you follow the directions here when trying to install pyAV from source? Look specifically at how it installs FFMPEG in ./scripts/build-deps
and make sure your configuration flags are similar. If you aren't using a package manager to maintain ffmpeg and/or the libav libraries, you will likely also need to compile pyAV from source.
Either way, this issue is likely out of scope for Home Assistant.
Thanks for the tip.
I executed the following commands.
`git clone [email protected]:mikeboers/PyAV
cd PyAV
source scripts/activate.sh
pip install --upgrade -r tests/requirements.txt
./scripts/build-deps
make`
When the last command is executed (make).
That error appears.
(Linux.4.19.58-v7+.cpython3.7) pi@raspberrypi:~/PyAV $ make -j4
CFLAGS="-O0" LDFLAGS="" python3 setup.py build_ext --inplace --debug
running build_ext
running config
Warning: We don't understand some of CFLAGS (and will leave it in the envvar): -O0
pkg-config returned flags we don't understand: -pthread -pthread
make: * [Makefile:14: build] Error 1
I still can’t install PyAV.
This should be an issue in the pyAV project then.
If you comment out that line in the setup script (line 95 I think, though I’m not at my desk right now), does it succeed?
It ain't easy being green! Please recycle.
On Oct 3, 2019, at 4:37 AM, oleg-78 notifications@github.com wrote:
Thanks for the tip.
I executed the following commands.
git clone [email protected]:mikeboers/PyAV cd PyAV source scripts/activate.sh pip install --upgrade -r tests/requirements.txt ./scripts/build-deps make
When the last command is executed (make).
That error appears.
(Linux.4.19.58-v7+.cpython3.7) pi@raspberrypi:~/PyAV $ make -j4 CFLAGS="-O0" LDFLAGS="" python3 setup.py build_ext --inplace --debug running build_ext running config Warning: We don't understand some of CFLAGS (and will leave it in the envvar): -O0 pkg-config returned flags we don't understand: -pthread -pthread make: * [Makefile:14: build] Error 1
I still can’t install PyAV.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
Thank you. I commented out line 95 in /home/pi/PyAV/setup.py
after
I executed the following commands.
cd PyAV
source scripts/activate.sh
pip install --upgrade -r tests/requirements.txt
./scripts/build-deps
python setup.py build_ext --inplace
Now the installation went without errors. PyAV installed.
But the Stream component does not work as before. Gives an error message.
Component error: stream - Requirements for stream not found: ['av==6.1.2'].
i'm in the same/a similar boat ...
Are you able to query PyAV for the version?
I haven't had a chance to get back to this issue but would really like to see if resolved.
Maybe I should just own it :)
I'm having the same exact issue, get this error when trying to add a stream camera in my config:
Component error: camera - Requirements for stream not found: ['av==6.1.2'].
I started having this error after the update to HA 0.101.3. My configuration didn't change, just updated from 0.101.2 to 0.101.3.
Configuration Entry:
stream:
camera:
- platform: mjpeg
name: Street Camera
mjpeg_url: http://XXXXX.com:XXXX/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=admin&pwd=XXXXXXX
I get the same error, when I try to update from 0.100.2 to 0.101.3.
No configuration changes.
Not using the stream
component.
Getting the same error running under Windows. Didn't change anything concerning cameras - issue started after upgrading to 0.101.2 for me.
Config checker gives me this:
Component error: camera - Requirements for stream not found: ['av==6.1.2'].
Just tried 0.102.1 and still getting the error on the config check.
This is clearly not a PyAV issue, as has been make clear by the newer posts about upgrade. This is an unforeseen upgrade problem. I don't have access to the codebase right at this moment, but this must be an issue with a change to the stream component, so a diff on that between the 2 version would be the next step.
Can someone on this thread try the update to 102.3, as it looks like it may have been fixed.
Can someone on this thread try the update to 102.3, as it looks like it may have been fixed.
Tried "pip3 install --upgrade homeassistant==0.102.3" , get " Could not find a version that satisfies the requirement homeassistant==0.102.3 (from versions: 0.7.0rc1, 0.7.0, .... 0.102.0, 0.102.1)"?
My apologies, I meant 101.3. I'll check it, as I have some time now.
Thx
I'm running 0.102.1 (newer) and the problem still exists.
Same problem here after upgrading from 0.100.2 to 0.102.3.
only using the camera component and not the stream component.
Solved it by recompiling ffmpeg on my pi with the following parameters:
sudo ./configure --enable-gpl --enable-nonfree --enable-mmal --enable-omx --enable-omx-rpi --disable-static --enable-shared --disable-doc
Solved it by recompiling ffmpeg on my pi with the following parameters:
sudo ./configure --enable-gpl --enable-nonfree --enable-mmal --enable-omx --enable-omx-rpi --disable-static --enable-shared --disable-doc
Would love to try, but am i correct i first need to do stuff like described here: https://trac.ffmpeg.org/wiki/CompilationGuide/RaspberryPi ?
I did the following:
cd /home/pi/
sudo apt-get install libomxil-bellagio-dev –y
git clone https://github.com/FFmpeg/FFmpeg.git
cd FFmpeg
sudo ./configure --enable-gpl --enable-nonfree --enable-mmal --enable-omx --enable-omx-rpi --disable-static --enable-shared --disable-doc
sudo make -j4
sudo make install
sudo reboot
sudo apt-get install libomxil-bellagio-dev –y
Did that as a command and got "E: Unable to locate package –y" > did it without -y, manually entering Y when prompted > worked... After doing what you shared, and checking the config > get a "valid config" message again instead of the ‘av == 6.1.2’ error. Thank you @JohnnyM84 !
So it looks like the OpenMax library is being used then.
If so, then for CentOS, this should solve it:
https://snapcraft.io/install/omxplayer-pi/centos
I'll give it a try later.
No that’s for hardware acceleration, this is the solution: --disable-static --enable-shared
I did the following:
cd /home/pi/
sudo apt-get install libomxil-bellagio-dev –y
git clone https://github.com/FFmpeg/FFmpeg.git
cd FFmpeg
sudo ./configure --enable-gpl --enable-nonfree --enable-mmal --enable-omx --enable-omx-rpi --disable-static --enable-shared --disable-doc
sudo make -j4
sudo make install
sudo reboot
I also did the following successfully. My configuration shows valid now. The check for configuration took FOREVER though.
I also did the following successfully. My configuration shows valid now. The check for configuration took FOREVER though.
Had the same the first check, was tired waiting, found the UI unresponsive, did a sudo reboot again, checked the config > took the usual time. Haven't done many re-checks after that yet, so for now assume it was only that 1st time.
On Ubuntu 16.04 i received the following error at step:
sudo ./configure --enable-gpl --enable-nonfree --enable-mmal --enable-omx --enable-omx-rpi --disable-static --enable-shared --disable-doc
nasm/yasm not found or too old. Use --disable-x86asm for a crippled build.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
[email protected] mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
Anyone have a fix to the configuration checker error when running under Windows? This just started after the 0.101 upgrade.
Just upgraded to 0.103 and the issue still exists when doing a configuration check. Running HA under Windows and getting this when running the config checker:
Configuration invalid
Component error: camera - Requirements for stream not found: ['av==6.1.2'].
First noticed around the 0.101 release. I don't even have streams defined in the config, just motion jpgs from cameras (Blue Iris).
Nah, I'm done with HA. Takes too long to get everything set up, and the fact that I'm having to compile source code from scratch just hints at a smell, and the lack of support from the team is another smell.
I've been writing my own solution for a while and I'll stick with that. It's tailored to my home and it works.
Have fun guys!
Here is the fix which can be manually updated until it makes it in the main build:
https://github.com/DeviousPenguin/home-assistant/commit/f6653bb3884fd7ee7f5fd692b41ed982be9740ee
I'm using home assistant within a virtualenv. The following link fixed my problem:
https://www.home-assistant.io/integrations/stream#troubleshooting
Unfortunately the installing of the libraries information isn't applicable for a Windows setup. There is probably a way to do a similar setup under Windows, but have not found it yet. The easiest option for me now - especially don't I don't use the stream option, is to remove that check from the code. Will try and figure out the equivalent install for stream support under Windows.
I believe these Windows developer libraries will work with Windows-64bit and will test later:
https://ffmpeg.zeranoe.com/builds/
Same with CentOS. I was running my instance from a CentOS 7 server in my
office, and some of the Python packages I had to compile from source were
not even available and I had to build and link from a much lower level.
It got to a point where it wasn't fun anymore.
On Fri, Dec 13, 2019 at 5:07 AM Mark Hofmann notifications@github.com
wrote:
Unfortunately the installing of the libraries information isn't applicable
for a Windows setup. There is probably a way to do a similar setup under
Windows, but have not found it yet. The easiest option for me now -
especially don't I don't use the stream option, is to remove that check
from the code. Will try and figure out the equivalent install for stream
support under Windows. It most likely uses visual basic DLLs or something
similar.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/26711?email_source=notifications&email_token=AAFMYRCO7JB2UAQL2VOH6TDQYOCJZA5CNFSM4IYGFS6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGZ5UYI#issuecomment-565434977,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFMYRDF7HCJ6HIXQXTOOFLQYOCJZANCNFSM4IYGFS6A
.
--
Paul Christian Allsopp
Please recycle - it ain't easy being green
I had the same problem. I'm running home assistant in a VENV under arch linux. To solve the problem i just installed ffmpeg from the arch repositories
pacman -Sy ffmpeg
After doing that clicking on "check config" took quite some time to complete but I saw that it was compiling stuff in the background
[root@hass homeassistant]# ps -ef|grep home
haadmin 472 1 11 09:22 ? 00:00:40 /home/haadmin/homeassistant/bin/python /home/haadmin/homeassistant/bin/hass -c /home/haadmin/.homeassistant
haadmin 557 472 1 09:23 ? 00:00:02 /home/haadmin/homeassistant/bin/python -m pip install --quiet av==6.1.2 --upgrade --constraint /home/haadmin/homeassistant/lib/python3.7/site-packages/homeassistant/package_constraints.txt
haadmin 568 557 21 09:24 ? 00:00:57 /home/haadmin/homeassistant/bin/python -u -c import sys, setuptools, tokenize; sys.argv[0] = '/tmp/pip-install-564hyuc_/av/setup.py'; __file__='/tmp/pip-install-564hyuc_/av/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec')) bdist_wheel -d /tmp/pip-wheel-7ynxd7w0 --python-tag cp37
haadmin 772 568 0 09:28 ? 00:00:00 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fPIC -I/usr/include/python3.7m -I/home/haadmin/homeassistant/include -Iinclude -Ibuild/temp.linux-x86_64-3.7/include -I/home/haadmin/homeassistant/include -I/usr/include/python3.7m -Ibuild/temp.linux-x86_64-3.7/include -c src/av/filter/filter.c -o build/temp.linux-x86_64-3.7/src/av/filter/filter.o
haadmin 773 772 87 09:28 ? 00:00:06 /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/cc1 -quiet -I /usr/include/python3.7m -I /home/haadmin/homeassistant/include -I include -I build/temp.linux-x86_64-3.7/include -I /home/haadmin/homeassistant/include -I /usr/include/python3.7m -I build/temp.linux-x86_64-3.7/include -D_REENTRANT -D NDEBUG src/av/filter/filter.c -quiet -dumpbase filter.c -march=x86-64 -mtune=generic -auxbase-strip build/temp.linux-x86_64-3.7/src/av/filter/filter.o -g -O3 -O3 -O3 -O3 -Wno-unused-result -Wsign-compare -Wall -fwrapv -fno-plt -fPIC -o -
haadmin 774 772 2 09:28 ? 00:00:00 as -I /usr/include/python3.7m -I /home/haadmin/homeassistant/include -I include -I build/temp.linux-x86_64-3.7/include -I /home/haadmin/homeassistant/include -I /usr/include/python3.7m -I build/temp.linux-x86_64-3.7/include --64 -o build/temp.linux-x86_64-3.7/src/av/filter/filter.o
root 776 493 0 09:28 ttyS0 00:00:00 grep home
dunno if this may help others or not.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
I did the following:
cd /home/pi/
sudo apt-get install libomxil-bellagio-dev –y
git clone https://github.com/FFmpeg/FFmpeg.git
cd FFmpeg
sudo ./configure --enable-gpl --enable-nonfree --enable-mmal --enable-omx --enable-omx-rpi --disable-static --enable-shared --disable-doc
sudo make -j4
sudo make install
sudo reboot