Python Forum
Playing music from streaming
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Playing music from streaming
#2
I would just call ffplay a part of FFmpeg.
This works.
import subprocess

stream = 'http://icy-4.radioparadise.com/aac-128'
subprocess.run(['ffplay', stream])
Libraries pydub, python-vlc, ffmpeg-python
Reply


Messages In This Thread
Playing music from streaming - by ebolisa - Oct-08-2019, 05:51 PM
RE: Playing music from streaming - by snippsat - Oct-08-2019, 06:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to decrease latency while recording streaming video. unicorn2019 0 1,265 Nov-15-2021, 02:12 PM
Last Post: unicorn2019
  Python 3.5 streaming output to the same log file that I write to cbj0517 2 2,763 Apr-23-2019, 04:38 PM
Last Post: cbj0517
  Streaming to website instead of Window OpenCV SDGRIFFUSW 1 1,929 Apr-19-2019, 09:59 PM
Last Post: SheeppOSU
  Python and SQL BLOB Streaming ashtona 4 4,402 May-09-2018, 06:13 PM
Last Post: ashtona
  Video Streaming Python 3 adaptation failling maimonid 8 8,580 Dec-28-2016, 09:20 AM
Last Post: maimonid

Forum Jump:

User Panel Messages

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