Python Forum
Opening a livestream in python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Opening a livestream in python
#1
Hello everyone,

For a project I need to open a live stream in python. I guess a way to do this is with openCV but I am not sure.
I have a link to the source of the file which looks like this:

http://xxx.com:9999/xxx/cam.stream/playlist.m3u8

Then there is a second problem, when I enter the page where it is located now, I need to login first otherwise you will not be able to view the stream so I need to send the login password and username as a request.

Can someone help me out with this?

Thanks in advance!
Reply
#2
Pleas post a sample, not a proxy URL.
Reply
#3
an example of this would be:

https://mnmedias.api.telequebec.tv/m3u8/29880.m3u8

For this one you do not have to login tho
Reply
#4
I have an example for playing TV Livestreams on github. (using PyQt5)
https://github.com/Axel-Erfurt/LiveStream-TVPlayer
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Why is IDLE not opening on a MacOS Montery 12.6 and using Python 3.10.7? Merlin385 7 1,668 Oct-08-2022, 08:36 PM
Last Post: Merlin385
  Opening CMD from Python Oshadha 2 1,269 Jul-17-2022, 11:22 PM
Last Post: Skaperen
Question Opening small size browser with python selenium not work, need help greenpine 0 1,612 Feb-07-2022, 11:36 AM
Last Post: greenpine
  python keeps opening script directory Tyrel 5 2,993 Aug-06-2021, 10:43 PM
Last Post: snippsat
  Python OpenCV window not opening in fullscreen mode Zman350x 0 3,289 Apr-29-2021, 07:54 PM
Last Post: Zman350x
  cv2.imshow Python is not opening the window on top Petko 0 2,371 Feb-21-2020, 11:11 AM
Last Post: Petko
  Python opening a new command window m_lokeshkumar 1 1,850 Jan-05-2020, 09:01 PM
Last Post: Larz60+
  Error -3 when opening matlab file in python python_newbie09 0 2,288 Aug-02-2019, 11:51 AM
Last Post: python_newbie09
  python script file not opening in IDLE editor srm 2 4,378 Jun-23-2019, 08:45 AM
Last Post: Larz60+
  opening a file from a windows desktop folder- error opening file Charan007 1 2,970 Dec-06-2018, 11:50 AM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020