[Bug]: Podcast download fails with Invalid media file: no audio or video streams found #3003

Open
opened 2026-04-25 00:12:55 +02:00 by adam · 1 comment
Owner

Originally created by @alcroito on GitHub (Sep 13, 2025).

What happened?

Tried to add the following podcast to download via Web UI: "Self-Directed Research"

Feed: https://sdr-podcast.com/podcast-feed-m4a.xml

Example podcast url: https://delivery.jamescdn.com/2024-08-14-bbqueue.m4a

Trying to download any of the episodes fails.
Downloading other podcasts on the same instance of ABS works.
Downloading the sample podcast URL via wget on the host also works.

What did you expect to happen?

The podcast to download successfully.

Steps to reproduce the issue

  1. Search for "Self-Directed Research" in the Web UI in the Add menu, and add it
  2. Press Find episodes
  3. Pick one and press download episode
  4. Observe in logs that the download seems to fail
  5. The file is not preserved on the file system

Audiobookshelf version

v2.29.0

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

None

Logs

audiobookshelf  | [2025-09-13 22:14:24.724] DEBUG: [podcastUtils] getPodcastFeed for "https://sdr-podcast.com/podcast-feed-m4a.xml"
audiobookshelf  | [2025-09-13 22:14:24.756] DEBUG: [podcastUtils] getPodcastFeed for "https://sdr-podcast.com/podcast-feed-m4a.xml" success - parsing xml
audiobookshelf  | [2025-09-13 22:14:29.983] DEBUG: [Watcher] addIgnoreDir: Ignoring directory "/podcasts/Self-Directed Research"
audiobookshelf  | [2025-09-13 22:14:30.024] DEBUG: [ffmpegHelpers] Successfully connected with User-Agent: audiobookshelf (+https://audiobookshelf.org; like iTMS)
audiobookshelf  | [2025-09-13 22:14:30.026] DEBUG: [FfmpegHelpers] downloadPodcastEpisode: Cmd: ffmpeg -i pipe:0 -y -loglevel debug -c:a copy -map 0:a -metadata podcast=1 -metadata album=Self-Directed Research -metadata album-sort=Self-Directed Research -metadata artist=OneVariable GmbH -metadata artist-sort=OneVariable GmbH -metadata comment=<p>James explains a bit about how safety critical industries think about reliability, the work that goes into shipping safety critical software, and how the Rust language and compiler are a good fit these industries.</p>
audiobookshelf  |
audiobookshelf  | <p> Visit <a href="https://sdr-podcast.com/episodes/how-is-software-safety-certified/">sdr-podcast.com/how-is-software-safety-certified</a> to see the show notes and transcript! </p>
audiobookshelf  |
audiobookshelf  | <p> This episode is sponsored by <a href="https://depot.dev/?utm_source=sdrpodcast&amp;utm_medium=podcast&amp;utm_campaign=sdr_podcast_may2025">Depot</a>: the build acceleration platform that's on a mission to make all builds near instant. If you're tired of watching your builds in GitHub Actions crawl like the modern-day equivalent of paint drying, give Depot's GitHub Actions runners a try. They’re up to 10x faster, with unlimited concurrency, faster caching, support for Linux, macOS, and Windows, and they plug right into other Depot optimizations like accelerated container image builds and remote caching for Bazel, Turborepo, Gradle, and more.
audiobookshelf  |
audiobookshelf  | Depot was built by developers who were tired of wasting time waiting on builds instead of shipping. It's made for teams that want to move faster and stay focused on what actually matters.
audiobookshelf  |
audiobookshelf  | That’s why companies like PostHog use Depot to cut build times from over 3 hours to just 3 minutes, saving tens of thousands of build hours every week.
audiobookshelf  |
audiobookshelf  | Start your free 7-day trial at depot.dev and let them know we sent you.</p> -metadata subtitle=(a crash course) -metadata genre=Technology;Podcasts -metadata language=en-us -metadata MVNM=Self-Directed Research -metadata title=How is software safety certified -metadata title-sort=How is software safety certified -metadata year=2025 -metadata date=Wed, 23 Jul 2025 08:00:00 GMT -metadata releasedate=Wed, 23 Jul 2025 08:00:00 GMT -metadata itunes-id=1761221065 -metadata podcast-type=episodic /podcasts/Self-Directed Research/How is software safety certified.m4a
audiobookshelf  | [2025-09-13 22:14:31.239] DEBUG: [FfmpegHelpers] downloadPodcastEpisode: Progress estimate 0% (N/A KB) for "https://delivery.jamescdn.com/2025-07-23-how-is-software-safety-certified.m4a"
audiobookshelf  | [2025-09-13 22:14:31.240] DEBUG: [FfmpegHelpers] downloadPodcastEpisode: Progress estimate 0% (4 KB) for "https://delivery.jamescdn.com/2025-07-23-how-is-software-safety-certified.m4a"
audiobookshelf  | [2025-09-13 22:14:31.244] DEBUG: [FfmpegHelpers] downloadPodcastEpisode: Complete
audiobookshelf  | [2025-09-13 22:14:31.285] ERROR: [PodcastManager] Podcast Episode downloaded but failed to probe "/podcasts/Self-Directed Research/How is software safety certified.m4a" Invalid media file: no audio or video streams found
audiobookshelf  | [2025-09-13 22:14:36.288] DEBUG: [Watcher] removeIgnoreDir: No longer ignoring directory "/podcasts/Self-Directed Research"

Additional Notes

Docker image from ghcr.io/advplyr/audiobookshelf:latest
docker host is running Ubuntu 24.04

Originally created by @alcroito on GitHub (Sep 13, 2025). ### What happened? Tried to add the following podcast to download via Web UI: "Self-Directed Research" Feed: https://sdr-podcast.com/podcast-feed-m4a.xml Example podcast url: https://delivery.jamescdn.com/2024-08-14-bbqueue.m4a Trying to download any of the episodes fails. Downloading other podcasts on the same instance of ABS works. Downloading the sample podcast URL via wget on the host also works. ### What did you expect to happen? The podcast to download successfully. ### Steps to reproduce the issue 1. Search for "Self-Directed Research" in the Web UI in the Add menu, and add it 2. Press Find episodes 3. Pick one and press download episode 4. Observe in logs that the download seems to fail 5. The file is not preserved on the file system ### Audiobookshelf version v2.29.0 ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? None ### Logs ```shell audiobookshelf | [2025-09-13 22:14:24.724] DEBUG: [podcastUtils] getPodcastFeed for "https://sdr-podcast.com/podcast-feed-m4a.xml" audiobookshelf | [2025-09-13 22:14:24.756] DEBUG: [podcastUtils] getPodcastFeed for "https://sdr-podcast.com/podcast-feed-m4a.xml" success - parsing xml audiobookshelf | [2025-09-13 22:14:29.983] DEBUG: [Watcher] addIgnoreDir: Ignoring directory "/podcasts/Self-Directed Research" audiobookshelf | [2025-09-13 22:14:30.024] DEBUG: [ffmpegHelpers] Successfully connected with User-Agent: audiobookshelf (+https://audiobookshelf.org; like iTMS) audiobookshelf | [2025-09-13 22:14:30.026] DEBUG: [FfmpegHelpers] downloadPodcastEpisode: Cmd: ffmpeg -i pipe:0 -y -loglevel debug -c:a copy -map 0:a -metadata podcast=1 -metadata album=Self-Directed Research -metadata album-sort=Self-Directed Research -metadata artist=OneVariable GmbH -metadata artist-sort=OneVariable GmbH -metadata comment=<p>James explains a bit about how safety critical industries think about reliability, the work that goes into shipping safety critical software, and how the Rust language and compiler are a good fit these industries.</p> audiobookshelf | audiobookshelf | <p> Visit <a href="https://sdr-podcast.com/episodes/how-is-software-safety-certified/">sdr-podcast.com/how-is-software-safety-certified</a> to see the show notes and transcript! </p> audiobookshelf | audiobookshelf | <p> This episode is sponsored by <a href="https://depot.dev/?utm_source=sdrpodcast&amp;utm_medium=podcast&amp;utm_campaign=sdr_podcast_may2025">Depot</a>: the build acceleration platform that's on a mission to make all builds near instant. If you're tired of watching your builds in GitHub Actions crawl like the modern-day equivalent of paint drying, give Depot's GitHub Actions runners a try. They’re up to 10x faster, with unlimited concurrency, faster caching, support for Linux, macOS, and Windows, and they plug right into other Depot optimizations like accelerated container image builds and remote caching for Bazel, Turborepo, Gradle, and more. audiobookshelf | audiobookshelf | Depot was built by developers who were tired of wasting time waiting on builds instead of shipping. It's made for teams that want to move faster and stay focused on what actually matters. audiobookshelf | audiobookshelf | That’s why companies like PostHog use Depot to cut build times from over 3 hours to just 3 minutes, saving tens of thousands of build hours every week. audiobookshelf | audiobookshelf | Start your free 7-day trial at depot.dev and let them know we sent you.</p> -metadata subtitle=(a crash course) -metadata genre=Technology;Podcasts -metadata language=en-us -metadata MVNM=Self-Directed Research -metadata title=How is software safety certified -metadata title-sort=How is software safety certified -metadata year=2025 -metadata date=Wed, 23 Jul 2025 08:00:00 GMT -metadata releasedate=Wed, 23 Jul 2025 08:00:00 GMT -metadata itunes-id=1761221065 -metadata podcast-type=episodic /podcasts/Self-Directed Research/How is software safety certified.m4a audiobookshelf | [2025-09-13 22:14:31.239] DEBUG: [FfmpegHelpers] downloadPodcastEpisode: Progress estimate 0% (N/A KB) for "https://delivery.jamescdn.com/2025-07-23-how-is-software-safety-certified.m4a" audiobookshelf | [2025-09-13 22:14:31.240] DEBUG: [FfmpegHelpers] downloadPodcastEpisode: Progress estimate 0% (4 KB) for "https://delivery.jamescdn.com/2025-07-23-how-is-software-safety-certified.m4a" audiobookshelf | [2025-09-13 22:14:31.244] DEBUG: [FfmpegHelpers] downloadPodcastEpisode: Complete audiobookshelf | [2025-09-13 22:14:31.285] ERROR: [PodcastManager] Podcast Episode downloaded but failed to probe "/podcasts/Self-Directed Research/How is software safety certified.m4a" Invalid media file: no audio or video streams found audiobookshelf | [2025-09-13 22:14:36.288] DEBUG: [Watcher] removeIgnoreDir: No longer ignoring directory "/podcasts/Self-Directed Research" ``` ### Additional Notes Docker image from `ghcr.io/advplyr/audiobookshelf:latest` docker host is running Ubuntu 24.04
adam added the bug label 2026-04-25 00:12:55 +02:00
Author
Owner

@nichwall commented on GitHub (Sep 13, 2025):

This is already fixed for the next release
https://github.com/advplyr/audiobookshelf/pull/4664

@nichwall commented on GitHub (Sep 13, 2025): This is already fixed for the next release https://github.com/advplyr/audiobookshelf/pull/4664
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#3003