Skip to content
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

how to use this by python #13

Open
beyond21299 opened this issue Jan 7, 2021 · 3 comments
Open

how to use this by python #13

beyond21299 opened this issue Jan 7, 2021 · 3 comments

Comments

@beyond21299
Copy link

No description provided.

@andreanobile
Copy link
Owner

In the python directory there is a README and an example.

@beyond21299
Copy link
Author

In the python directory there is a README and an example.

Thank you for your reply. I saw the document named as README, I followed the instructions, But no Python folder was generated in the Build folder. So I changed the CMakeList file in the root directory to add add_subdirectory(python) on line 33. I followed the instructions again, generating the Python folder and the rtmp_streaming.so file, but when I copied test_stream.py to the current directory and ran it, the following error occurred _ImportError: /home/zhmq/src/rtmp/opencv_ffmpeg_streaming/build/python/rtmp_streaming.so: undefined symbol: _ZNK5boost6python5numpy7ndarray5shapeEi
rtmp5
rtmp40

_

@andreanobile
Copy link
Owner

andreanobile commented Jan 8, 2021

From directory opencv_ffmpeg_streaming/python/ just follow README.
i.e. for python build directory is opencv_ffmpeg_streaming/python/build
also ensure you have boost python installed correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants