Skip to content

Issue w/ ffmpeg #36

@cats112233333

Description

@cats112233333

Hi there,
I'm avid user of this excellent tool!
Attempted to download a show today but program needed to be updated to 1.3.6, did that just fine.
However, when trying to download the show again I faced ffmpeg not being found by nts. I had a go with 'installing it' and upgrading it through pip3, but I still am unable to get it to work.
I would appreciate any help.

reuben@theonly-Inspiron-5485:~$ nts https://www.nts.live/shows/tash-lc/episodes/tash-lc-19th-march-2025

downloading into: /home/reuben/Downloads

[soundcloud] Extracting URL: https://soundcloud.com/user-643553014/distant-rhythm-190325
[soundcloud] user-643553014/distant-rhythm-190325: Downloading info JSON
[soundcloud] 2058678712: Downloading hls_aac format info JSON
[soundcloud] 2058678712: Downloading hls_mp3 format info JSON
[soundcloud] 2058678712: Downloading http_mp3 format info JSON
[soundcloud] 2058678712: Downloading hls_opus format info JSON
[info] 2058678712: Downloading 1 format(s): hls_aac_256
[download] Destination: /home/reuben/Downloads/Distant Rhythm - 2025-3-19.aac
ERROR: m3u8 download detected but ffmpeg could not be found. Please install
Traceback (most recent call last):
  File "/home/reuben/.local/bin/nts", line 8, in <module>
    sys.exit(main())
  File "/home/reuben/.local/lib/python3.10/site-packages/nts/cli.py", line 87, in main
    url_matcher(arg)
  File "/home/reuben/.local/lib/python3.10/site-packages/nts/cli.py", line 65, in url_matcher
    nts.download(url=url,
  File "/home/reuben/.local/lib/python3.10/site-packages/nts/downloader.py", line 122, in download
    ydl.download([link])
  File "/home/reuben/.local/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 3607, in download
    self.__download_wrapper(self.extract_info)(
  File "/home/reuben/.local/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 3582, in wrapper
    res = func(*args, **kwargs)
  File "/home/reuben/.local/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1615, in extract_info
    return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
  File "/home/reuben/.local/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1626, in wrapper
    return func(self, *args, **kwargs)
  File "/home/reuben/.local/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1782, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/home/reuben/.local/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1841, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
  File "/home/reuben/.local/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 3015, in process_video_result
    self.process_info(new_info)
  File "/home/reuben/.local/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 179, in wrapper
    return func(self, *args, **kwargs)
  File "/home/reuben/.local/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 3483, in process_info
    success, real_download = self.dl(temp_filename, info_dict)
  File "/home/reuben/.local/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 3203, in dl
    return fd.download(name, new_info, subtitle)
  File "/home/reuben/.local/lib/python3.10/site-packages/yt_dlp/downloader/common.py", line 466, in download
    ret = self.real_download(filename, info_dict)
  File "/home/reuben/.local/lib/python3.10/site-packages/yt_dlp/downloader/external.py", line 50, in real_download
    retval = self._call_downloader(tmpfilename, info_dict)
  File "/home/reuben/.local/lib/python3.10/site-packages/yt_dlp/downloader/external.py", line 481, in _call_downloader
    self.report_error('m3u8 download detected but ffmpeg could not be found. Please install')
  File "/home/reuben/.local/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1092, in report_error
    self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
  File "/home/reuben/.local/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1031, in trouble
    raise DownloadError(message, exc_info)
yt_dlp.utils.DownloadError: ERROR: m3u8 download detected but ffmpeg could not be found. Please install

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions