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

Stream from a Python PIPE output #5

Open
wes1993 opened this issue Mar 9, 2022 · 2 comments
Open

Stream from a Python PIPE output #5

wes1993 opened this issue Mar 9, 2022 · 2 comments

Comments

@wes1993
Copy link

wes1993 commented Mar 9, 2022

Hello,
i'm iterested in your project but i'm finding a way to stream the output from one python to your server.
For now i can see the video with FFMPEG using this command:
python streamcamera.py | ffplay -i pipe:

If i run the script with this command python streamcamera.py i have the video feed output.

Thanks a lot
Stefano

@prabhakar-sivanesan
Copy link
Owner

Hi Stefano,
Could you be more specific, like what are you trying to achieve and what is the issues you're facing while using this project ?

@wes1993
Copy link
Author

wes1993 commented Mar 15, 2022

Hello @prabhakar-sivanesan Thanks a lot for your reply and sorry for my late reply, very very busy days... :-(
I have this Python Script that i must use to connect with my cameras:
https://gist.githubusercontent.com/maxious/c8915a436b532ab09e61bf937295a5d2/raw/8de5512824e6198aa7f765e8517a170855cddec3/stream.socket.py

When i execute this script i can see the video output with this command:
python streamcamera.py | ffplay -i pipe:

Now my question is, there is a way to stream the script output with your rtsp server?

  1. Run the Python Script: python streamcamera.py
  2. Pass the output of the scritp to your server
  3. connect with VLC to your server to see the video

Thanks a lot
Stefano

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