[Bug]: Video Podcast episodes fail to download #2418

Closed
opened 2026-04-25 00:06:54 +02:00 by adam · 3 comments
Owner

Originally created by @PhantomPhoton on GitHub (Dec 13, 2024).

What happened?

the memory palace by Nate DiMeo has a video file in the podcast feed that fails to download.

Forgotten Things: A Failed Pilot
A special video episode.

What did you expect to happen?

The episode should be downloaded successfully

Steps to reproduce the issue

  1. Subscribe to the memory palace and attempt to download Forgotten Things: A Failed Pilot

Audiobookshelf version

v2.17.5

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

[2024-12-13 12:20:08.021] ERROR: [FfmpegHelpers] downloadPodcastEpisode: Error Error: ffmpeg exited with code 234:
[2024-12-13 12:20:08.022] ERROR: Full stderr dump for episode url "https://dts.podtrac.com/redirect.mp3/dovetail.prxu.org/_/3/4a8cf0f4-9356-4322-9cf7-7f7b04c00ca4/thememorypalace.mp3": ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 13.2.1 (Alpine 13.2.1_git20240309) 20240309
configuration: --prefix=/usr --disable-librtmp --disable-lzma --disable-static --disable-stripping --enable-avfilter --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libmp3lame --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librav1e --enable-librist --enable-libsoxr --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-lto=auto --enable-lv2 --enable-openssl --enable-pic --enable-postproc --enable-pthreads --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-vulkan --optflags=-O3 --enable-libjxl --enable-libsvtav1 --enable-libvpl
libavutil      58. 29.100 / 58. 29.100
libavcodec     60. 31.102 / 60. 31.102
libavformat    60. 16.100 / 60. 16.100
libavdevice    60.  3.100 / 60.  3.100
libavfilter     9. 12.100 /  9. 12.100
libswscale      7.  5.100 /  7.  5.100
libswresample   4. 12.100 /  4. 12.100
libpostproc    57.  3.100 / 57.  3.100
Splitting the commandline.
Reading option '-i' ... matched as output url with argument 'pipe:0'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:a'.
Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'podcast=1'.
Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'album=the memory palace'.
Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'album-sort=the memory palace'.
Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'artist=Nate DiMeo'.
Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'artist-sort=Nate DiMeo'.
Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'comment=
     <p>Did a pilot for Fox Digital Studios some time ago. Didn't actually go anywhere (except for a film festival or two). </p>
   '.
Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'subtitle=A special video episode.'.
Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'genre=History;Podcasts'.
Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'language=en'.
Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'MVNM=the memory palace'.
Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'title=Forgotten Things: A Failed Pilot'.
Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'title-sort=Forgotten Things: A Failed Pilot'.
Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'year=2015'.
Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'date=Thu, 07 May 2015 18:23:43 -0000'.
Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'releasedate=Thu, 07 May 2015 18:23:43 -0000'.
Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'itunes-id=299436963'.
Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'podcast-type=episodic'.
Reading option '/podcasts/the memory palace/Forgotten Things - A Failed Pilot (56eec6e9-8d3f-473b-88cf-a82824dd4970).mp3' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option y (overwrite output files) with argument 1.
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url pipe:0.
Successfully parsed a group of options.
Opening an input file: pipe:0.
[AVFormatContext @ 0x7c6dd8359600] Opening 'pipe:0' for reading
[pipe @ 0x7c6dd3258ec0] Setting default whitelist 'crypto,data'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7c6dd8359600] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7c6dd8359600] ISO: File Type Major Brand: M4VP
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7c6dd8359600] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7c6dd8359600] Processing st: 0, edit list 0 - media time: 0, duration: 13802402
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7c6dd8359600] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7c6dd8359600] Processing st: 1, edit list 0 - media time: 0, duration: 938000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7c6dd8359600] Before avformat_find_stream_info() pos: 108048 bytes read:131072 seeks:0 nb_streams:2
For transform of length 64, inverse, mdct_float, flags: [aligned, out_of_place], found 3 matches:
 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544
 2: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
 3: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976
For transform of length 32, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 2 matches:
 1: fft32_asm_float_fma3 - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 512
 2: fft32_asm_float_avx - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480
Transform tree:
 mdct_inv_float_avx2 - type: mdct_float, len: 64, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only]
     fft32_asm_float_fma3 - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call]
For transform of length 64, inverse, mdct_float, flags: [aligned, out_of_place], found 3 matches:
 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544
 2: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
 3: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976
For transform of length 32, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 2 matches:
 1: fft32_asm_float_fma3 - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 512
 2: fft32_asm_float_avx - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480
Transform tree:
 mdct_inv_float_avx2 - type: mdct_float, len: 64, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only]
     fft32_asm_float_fma3 - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call]
For transform of length 120, inverse, mdct_float, flags: [aligned, out_of_place], found 6 matches:
 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544
 2: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: [30, ∞], factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only], prio: 304
 3: mdct_pfa_5xM_inv_float_c - type: mdct_float, len: [10, ∞], factors[2]: [5, any], flags: [unaligned, out_of_place, inv_only], prio: 144
 4: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, ∞], factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only], prio: 112
 5: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
 6: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976
For transform of length 60, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 1 matches:
 1: fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: [60, ∞], factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 688
For transform of length 4, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 1 matches:
 1: fft4_fwd_asm_float_sse2 - type: fft_float, len: 4, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 352
Transform tree:
 mdct_inv_float_avx2 - type: mdct_float, len: 120, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only]
     fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: 60, factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call]
         fft4_fwd_asm_float_sse2 - type: fft_float, len: 4, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call]
For transform of length 128, inverse, mdct_float, flags: [aligned, out_of_place], found 3 matches:
 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544
 2: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
 3: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976
For transform of length 64, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 3 matches:
 1: fft_sr_asm_float_avx2 - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480
 2: fft_sr_asm_float_fma3 - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 448
 3: fft_sr_asm_float_avx - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 416
Transform tree:
 mdct_inv_float_avx2 - type: mdct_float, len: 128, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only]
     fft_sr_asm_float_avx2 - type: fft_float, len: 64, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call]
For transform of length 480, inverse, mdct_float, flags: [aligned, out_of_place], found 6 matches:
 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544
 2: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: [30, ∞], factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only], prio: 304
 3: mdct_pfa_5xM_inv_float_c - type: mdct_float, len: [10, ∞], factors[2]: [5, any], flags: [unaligned, out_of_place, inv_only], prio: 144
 4: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, ∞], factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only], prio: 112
 5: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
 6: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976
For transform of length 240, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 1 matches:
 1: fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: [60, ∞], factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 688
For transform of length 16, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 2 matches:
 1: fft16_asm_float_fma3 - type: fft_float, len: 16, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 512
 2: fft16_asm_float_avx - type: fft_float, len: 16, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480
Transform tree:
 mdct_inv_float_avx2 - type: mdct_float, len: 480, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only]
     fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: 240, factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call]
         fft16_asm_float_fma3 - type: fft_float, len: 16, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call]
For transform of length 512, inverse, mdct_float, flags: [aligned, out_of_place], found 3 matches:
 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544
 2: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
 3: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976
For transform of length 256, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 3 matches:
 1: fft_sr_asm_float_avx2 - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480
 2: fft_sr_asm_float_fma3 - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 448
 3: fft_sr_asm_float_avx - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 416
Transform tree:
 mdct_inv_float_avx2 - type: mdct_float, len: 512, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only]
     fft_sr_asm_float_avx2 - type: fft_float, len: 256, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call]
For transform of length 960, inverse, mdct_float, flags: [aligned, out_of_place], found 6 matches:
 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544
 2: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: [30, ∞], factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only], prio: 304
 3: mdct_pfa_5xM_inv_float_c - type: mdct_float, len: [10, ∞], factors[2]: [5, any], flags: [unaligned, out_of_place, inv_only], prio: 144
 4: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, ∞], factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only], prio: 112
 5: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
 6: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976
For transform of length 480, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 1 matches:
 1: fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: [60, ∞], factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 688
For transform of length 32, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 2 matches:
 1: fft32_asm_float_fma3 - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 512
 2: fft32_asm_float_avx - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480
Transform tree:
 mdct_inv_float_avx2 - type: mdct_float, len: 960, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only]
     fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: 480, factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call]
         fft32_asm_float_fma3 - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call]
For transform of length 1024, inverse, mdct_float, flags: [aligned, out_of_place], found 3 matches:
 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544
 2: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
 3: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976
For transform of length 512, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 3 matches:
 1: fft_sr_asm_float_avx2 - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480
 2: fft_sr_asm_float_fma3 - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 448
 3: fft_sr_asm_float_avx - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 416
Transform tree:
 mdct_inv_float_avx2 - type: mdct_float, len: 1024, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only]
     fft_sr_asm_float_avx2 - type: fft_float, len: 512, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call]
For transform of length 1024, forward, mdct_float, flags: [aligned, out_of_place], found 2 matches:
 1: mdct_fwd_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, fwd_only], prio: 96
 2: mdct_naive_fwd_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, fwd_only], prio: -130976
For transform of length 512, forward, fft_float, flags: [aligned, inplace, preshuf], found 5 matches:
 1: fft_sr_ns_float_avx2 - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf], prio: 480
 2: fft_sr_ns_float_fma3 - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf], prio: 448
 3: fft_sr_ns_float_avx - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf], prio: 416
 4: fft_pfa_ns_float_c - type: fft_float, len: [6, ∞], factors[2]: [7, 5, 3, 2, any], flags: [unaligned, inplace, out_of_place, preshuf], prio: 112
 5: fft512_ns_float_c - type: fft_float, len: 512, factor: 2, flags: [unaligned, inplace, out_of_place, preshuf], prio: 96
Transform tree:
 mdct_fwd_float_c - type: mdct_float, len: 1024, factors[2]: [2, any], flags: [unaligned, out_of_place, fwd_only]
     fft_sr_ns_float_avx2 - type: fft_float, len: 512, factor: 2, flags: [aligned, inplace, out_of_place, preshuf]
[h264 @ 0x7c6dd8185b40] nal_unit_type: 7(SPS), nal_ref_idc: 1
[h264 @ 0x7c6dd8185b40] Decoding VUI
[h264 @ 0x7c6dd8185b40] nal_unit_type: 8(PPS), nal_ref_idc: 1
[h264 @ 0x7c6dd8185b40] nal_unit_type: 7(SPS), nal_ref_idc: 1
[h264 @ 0x7c6dd8185b40] Decoding VUI
[h264 @ 0x7c6dd8185b40] nal_unit_type: 8(PPS), nal_ref_idc: 1
[h264 @ 0x7c6dd8185b40] nal_unit_type: 6(SEI), nal_ref_idc: 0
 Last message repeated 1 times
[h264 @ 0x7c6dd8185b40] nal_unit_type: 5(IDR), nal_ref_idc: 1
 Last message repeated 4 times
[h264 @ 0x7c6dd8185b40] Format yuv420p chosen by get_format().
[h264 @ 0x7c6dd8185b40] Reinit context to 480x368, pix_fmt: yuv420p
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7c6dd8359600] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7c6dd8359600] After avformat_find_stream_info() pos: 113875 bytes read:131072 seeks:0 frames:23
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'pipe:0':
Metadata:
 major_brand     : M4VP
 minor_version   : 1
 compatible_brands: M4VPM4A mp42isom
 creation_time   : 2015-05-07T21:18:24.000000Z
 encoder         : CoreMediaAuthoring 706, CoreMedia 484.60, i386
Duration: 00:05:12.98, start: 0.000000, bitrate: N/A
Stream #0:0[0x1](eng), 22, 1/44100: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 131 kb/s (default)
 Metadata:
   creation_time   : 2015-05-07T21:18:24.000000Z
   handler_name    : Core Media Audio
   vendor_id       : [0][0][0][0]
Stream #0:1[0x2](und), 1, 1/2997: Video: h264 (Constrained Baseline), 1 reference frame (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709, progressive, topleft), 480x360 (480x368) [SAR 1:1 DAR 4:3], 0/1, 889 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn (default)
    Metadata:
      creation_time   : 2015-05-07T21:18:24.000000Z
      handler_name    : Core Media Video
      vendor_id       : [0][0][0][0]
Successfully opened the file.
Parsing a group of options: output url /podcasts/the memory palace/Forgotten Things - A Failed Pilot (56eec6e9-8d3f-473b-88cf-a82824dd4970).mp3.
Applying option c:a (codec name) with argument copy.
Applying option map (set input stream mapping) with argument 0:a.
Applying option metadata (add metadata) with argument podcast=1.
Applying option metadata (add metadata) with argument album=the memory palace.
Applying option metadata (add metadata) with argument album-sort=the memory palace.
Applying option metadata (add metadata) with argument artist=Nate DiMeo.
Applying option metadata (add metadata) with argument artist-sort=Nate DiMeo.
Applying option metadata (add metadata) with argument comment=
        <p>Did a pilot for Fox Digital Studios some time ago. Didn't actually go anywhere (except for a film festival or two). </p>
      .
Applying option metadata (add metadata) with argument subtitle=A special video episode..
Applying option metadata (add metadata) with argument genre=History;Podcasts.
Applying option metadata (add metadata) with argument language=en.
Applying option metadata (add metadata) with argument MVNM=the memory palace.
Applying option metadata (add metadata) with argument title=Forgotten Things: A Failed Pilot.
Applying option metadata (add metadata) with argument title-sort=Forgotten Things: A Failed Pilot.
Applying option metadata (add metadata) with argument year=2015.
Applying option metadata (add metadata) with argument date=Thu, 07 May 2015 18:23:43 -0000.
Applying option metadata (add metadata) with argument releasedate=Thu, 07 May 2015 18:23:43 -0000.
Applying option metadata (add metadata) with argument itunes-id=299436963.
Applying option metadata (add metadata) with argument podcast-type=episodic.
Successfully parsed a group of options.
Opening an output file: /podcasts/the memory palace/Forgotten Things - A Failed Pilot (56eec6e9-8d3f-473b-88cf-a82824dd4970).mp3.
[out#0/mp3 @ 0x7c6dd7ee66c0] Adding streams from explicit maps...
[aost#0:0/copy @ 0x7c6dd7ef9680] Created audio stream from input stream 0:0
[file @ 0x7c6dd6fbd640] Setting default whitelist 'file,crypto,data'
[mp3 @ 0x7c6dd7ef93c0] Invalid audio stream. Exactly one MP3 audio stream is required.
[out#0/mp3 @ 0x7c6dd7ee66c0] Could not write header (incorrect codec parameters ?): Invalid argument
Error opening output file /podcasts/the memory palace/Forgotten Things - A Failed Pilot (56eec6e9-8d3f-473b-88cf-a82824dd4970).mp3.
Error opening output files: Invalid argument
[AVIOContext @ 0x7c6dd23cccc0] Statistics: 0 bytes written, 0 seeks, 0 writeouts
[AVIOContext @ 0x7c6dd2a83cc0] Statistics: 131072 bytes read, 0 seeks

Additional Notes

No response

Originally created by @PhantomPhoton on GitHub (Dec 13, 2024). ### What happened? the memory palace by Nate DiMeo has a video file in the podcast feed that fails to download. ``` Forgotten Things: A Failed Pilot A special video episode. ``` ### What did you expect to happen? The episode should be downloaded successfully ### Steps to reproduce the issue 1. Subscribe to the memory palace and attempt to download `Forgotten Things: A Failed Pilot` ### Audiobookshelf version v2.17.5 ### 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 [2024-12-13 12:20:08.021] ERROR: [FfmpegHelpers] downloadPodcastEpisode: Error Error: ffmpeg exited with code 234: [2024-12-13 12:20:08.022] ERROR: Full stderr dump for episode url "https://dts.podtrac.com/redirect.mp3/dovetail.prxu.org/_/3/4a8cf0f4-9356-4322-9cf7-7f7b04c00ca4/thememorypalace.mp3": ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers built with gcc 13.2.1 (Alpine 13.2.1_git20240309) 20240309 configuration: --prefix=/usr --disable-librtmp --disable-lzma --disable-static --disable-stripping --enable-avfilter --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libmp3lame --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librav1e --enable-librist --enable-libsoxr --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-lto=auto --enable-lv2 --enable-openssl --enable-pic --enable-postproc --enable-pthreads --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-vulkan --optflags=-O3 --enable-libjxl --enable-libsvtav1 --enable-libvpl libavutil 58. 29.100 / 58. 29.100 libavcodec 60. 31.102 / 60. 31.102 libavformat 60. 16.100 / 60. 16.100 libavdevice 60. 3.100 / 60. 3.100 libavfilter 9. 12.100 / 9. 12.100 libswscale 7. 5.100 / 7. 5.100 libswresample 4. 12.100 / 4. 12.100 libpostproc 57. 3.100 / 57. 3.100 Splitting the commandline. Reading option '-i' ... matched as output url with argument 'pipe:0'. Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'. Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'. Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'copy'. Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:a'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'podcast=1'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'album=the memory palace'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'album-sort=the memory palace'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'artist=Nate DiMeo'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'artist-sort=Nate DiMeo'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'comment= <p>Did a pilot for Fox Digital Studios some time ago. Didn't actually go anywhere (except for a film festival or two). </p> '. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'subtitle=A special video episode.'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'genre=History;Podcasts'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'language=en'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'MVNM=the memory palace'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'title=Forgotten Things: A Failed Pilot'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'title-sort=Forgotten Things: A Failed Pilot'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'year=2015'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'date=Thu, 07 May 2015 18:23:43 -0000'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'releasedate=Thu, 07 May 2015 18:23:43 -0000'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'itunes-id=299436963'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'podcast-type=episodic'. Reading option '/podcasts/the memory palace/Forgotten Things - A Failed Pilot (56eec6e9-8d3f-473b-88cf-a82824dd4970).mp3' ... matched as output url. Finished splitting the commandline. Parsing a group of options: global . Applying option y (overwrite output files) with argument 1. Applying option loglevel (set logging level) with argument debug. Successfully parsed a group of options. Parsing a group of options: input url pipe:0. Successfully parsed a group of options. Opening an input file: pipe:0. [AVFormatContext @ 0x7c6dd8359600] Opening 'pipe:0' for reading [pipe @ 0x7c6dd3258ec0] Setting default whitelist 'crypto,data' [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7c6dd8359600] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7c6dd8359600] ISO: File Type Major Brand: M4VP [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7c6dd8359600] Unknown dref type 0x206c7275 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7c6dd8359600] Processing st: 0, edit list 0 - media time: 0, duration: 13802402 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7c6dd8359600] Unknown dref type 0x206c7275 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7c6dd8359600] Processing st: 1, edit list 0 - media time: 0, duration: 938000 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7c6dd8359600] Before avformat_find_stream_info() pos: 108048 bytes read:131072 seeks:0 nb_streams:2 For transform of length 64, inverse, mdct_float, flags: [aligned, out_of_place], found 3 matches: 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544 2: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96 3: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976 For transform of length 32, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 2 matches: 1: fft32_asm_float_fma3 - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 512 2: fft32_asm_float_avx - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480 Transform tree: mdct_inv_float_avx2 - type: mdct_float, len: 64, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only] fft32_asm_float_fma3 - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call] For transform of length 64, inverse, mdct_float, flags: [aligned, out_of_place], found 3 matches: 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544 2: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96 3: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976 For transform of length 32, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 2 matches: 1: fft32_asm_float_fma3 - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 512 2: fft32_asm_float_avx - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480 Transform tree: mdct_inv_float_avx2 - type: mdct_float, len: 64, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only] fft32_asm_float_fma3 - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call] For transform of length 120, inverse, mdct_float, flags: [aligned, out_of_place], found 6 matches: 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544 2: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: [30, ∞], factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only], prio: 304 3: mdct_pfa_5xM_inv_float_c - type: mdct_float, len: [10, ∞], factors[2]: [5, any], flags: [unaligned, out_of_place, inv_only], prio: 144 4: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, ∞], factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only], prio: 112 5: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96 6: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976 For transform of length 60, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 1 matches: 1: fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: [60, ∞], factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 688 For transform of length 4, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 1 matches: 1: fft4_fwd_asm_float_sse2 - type: fft_float, len: 4, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 352 Transform tree: mdct_inv_float_avx2 - type: mdct_float, len: 120, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only] fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: 60, factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call] fft4_fwd_asm_float_sse2 - type: fft_float, len: 4, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call] For transform of length 128, inverse, mdct_float, flags: [aligned, out_of_place], found 3 matches: 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544 2: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96 3: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976 For transform of length 64, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 3 matches: 1: fft_sr_asm_float_avx2 - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480 2: fft_sr_asm_float_fma3 - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 448 3: fft_sr_asm_float_avx - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 416 Transform tree: mdct_inv_float_avx2 - type: mdct_float, len: 128, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only] fft_sr_asm_float_avx2 - type: fft_float, len: 64, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call] For transform of length 480, inverse, mdct_float, flags: [aligned, out_of_place], found 6 matches: 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544 2: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: [30, ∞], factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only], prio: 304 3: mdct_pfa_5xM_inv_float_c - type: mdct_float, len: [10, ∞], factors[2]: [5, any], flags: [unaligned, out_of_place, inv_only], prio: 144 4: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, ∞], factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only], prio: 112 5: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96 6: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976 For transform of length 240, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 1 matches: 1: fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: [60, ∞], factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 688 For transform of length 16, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 2 matches: 1: fft16_asm_float_fma3 - type: fft_float, len: 16, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 512 2: fft16_asm_float_avx - type: fft_float, len: 16, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480 Transform tree: mdct_inv_float_avx2 - type: mdct_float, len: 480, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only] fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: 240, factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call] fft16_asm_float_fma3 - type: fft_float, len: 16, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call] For transform of length 512, inverse, mdct_float, flags: [aligned, out_of_place], found 3 matches: 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544 2: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96 3: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976 For transform of length 256, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 3 matches: 1: fft_sr_asm_float_avx2 - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480 2: fft_sr_asm_float_fma3 - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 448 3: fft_sr_asm_float_avx - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 416 Transform tree: mdct_inv_float_avx2 - type: mdct_float, len: 512, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only] fft_sr_asm_float_avx2 - type: fft_float, len: 256, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call] For transform of length 960, inverse, mdct_float, flags: [aligned, out_of_place], found 6 matches: 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544 2: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: [30, ∞], factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only], prio: 304 3: mdct_pfa_5xM_inv_float_c - type: mdct_float, len: [10, ∞], factors[2]: [5, any], flags: [unaligned, out_of_place, inv_only], prio: 144 4: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, ∞], factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only], prio: 112 5: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96 6: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976 For transform of length 480, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 1 matches: 1: fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: [60, ∞], factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 688 For transform of length 32, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 2 matches: 1: fft32_asm_float_fma3 - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 512 2: fft32_asm_float_avx - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480 Transform tree: mdct_inv_float_avx2 - type: mdct_float, len: 960, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only] fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: 480, factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call] fft32_asm_float_fma3 - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call] For transform of length 1024, inverse, mdct_float, flags: [aligned, out_of_place], found 3 matches: 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544 2: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96 3: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976 For transform of length 512, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 3 matches: 1: fft_sr_asm_float_avx2 - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480 2: fft_sr_asm_float_fma3 - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 448 3: fft_sr_asm_float_avx - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 416 Transform tree: mdct_inv_float_avx2 - type: mdct_float, len: 1024, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only] fft_sr_asm_float_avx2 - type: fft_float, len: 512, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call] For transform of length 1024, forward, mdct_float, flags: [aligned, out_of_place], found 2 matches: 1: mdct_fwd_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, fwd_only], prio: 96 2: mdct_naive_fwd_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, fwd_only], prio: -130976 For transform of length 512, forward, fft_float, flags: [aligned, inplace, preshuf], found 5 matches: 1: fft_sr_ns_float_avx2 - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf], prio: 480 2: fft_sr_ns_float_fma3 - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf], prio: 448 3: fft_sr_ns_float_avx - type: fft_float, len: [64, 131072], factor: 2, flags: [aligned, inplace, out_of_place, preshuf], prio: 416 4: fft_pfa_ns_float_c - type: fft_float, len: [6, ∞], factors[2]: [7, 5, 3, 2, any], flags: [unaligned, inplace, out_of_place, preshuf], prio: 112 5: fft512_ns_float_c - type: fft_float, len: 512, factor: 2, flags: [unaligned, inplace, out_of_place, preshuf], prio: 96 Transform tree: mdct_fwd_float_c - type: mdct_float, len: 1024, factors[2]: [2, any], flags: [unaligned, out_of_place, fwd_only] fft_sr_ns_float_avx2 - type: fft_float, len: 512, factor: 2, flags: [aligned, inplace, out_of_place, preshuf] [h264 @ 0x7c6dd8185b40] nal_unit_type: 7(SPS), nal_ref_idc: 1 [h264 @ 0x7c6dd8185b40] Decoding VUI [h264 @ 0x7c6dd8185b40] nal_unit_type: 8(PPS), nal_ref_idc: 1 [h264 @ 0x7c6dd8185b40] nal_unit_type: 7(SPS), nal_ref_idc: 1 [h264 @ 0x7c6dd8185b40] Decoding VUI [h264 @ 0x7c6dd8185b40] nal_unit_type: 8(PPS), nal_ref_idc: 1 [h264 @ 0x7c6dd8185b40] nal_unit_type: 6(SEI), nal_ref_idc: 0 Last message repeated 1 times [h264 @ 0x7c6dd8185b40] nal_unit_type: 5(IDR), nal_ref_idc: 1 Last message repeated 4 times [h264 @ 0x7c6dd8185b40] Format yuv420p chosen by get_format(). [h264 @ 0x7c6dd8185b40] Reinit context to 480x368, pix_fmt: yuv420p [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7c6dd8359600] All info found [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7c6dd8359600] After avformat_find_stream_info() pos: 113875 bytes read:131072 seeks:0 frames:23 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'pipe:0': Metadata: major_brand : M4VP minor_version : 1 compatible_brands: M4VPM4A mp42isom creation_time : 2015-05-07T21:18:24.000000Z encoder : CoreMediaAuthoring 706, CoreMedia 484.60, i386 Duration: 00:05:12.98, start: 0.000000, bitrate: N/A Stream #0:0[0x1](eng), 22, 1/44100: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 131 kb/s (default) Metadata: creation_time : 2015-05-07T21:18:24.000000Z handler_name : Core Media Audio vendor_id : [0][0][0][0] Stream #0:1[0x2](und), 1, 1/2997: Video: h264 (Constrained Baseline), 1 reference frame (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709, progressive, topleft), 480x360 (480x368) [SAR 1:1 DAR 4:3], 0/1, 889 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn (default) Metadata: creation_time : 2015-05-07T21:18:24.000000Z handler_name : Core Media Video vendor_id : [0][0][0][0] Successfully opened the file. Parsing a group of options: output url /podcasts/the memory palace/Forgotten Things - A Failed Pilot (56eec6e9-8d3f-473b-88cf-a82824dd4970).mp3. Applying option c:a (codec name) with argument copy. Applying option map (set input stream mapping) with argument 0:a. Applying option metadata (add metadata) with argument podcast=1. Applying option metadata (add metadata) with argument album=the memory palace. Applying option metadata (add metadata) with argument album-sort=the memory palace. Applying option metadata (add metadata) with argument artist=Nate DiMeo. Applying option metadata (add metadata) with argument artist-sort=Nate DiMeo. Applying option metadata (add metadata) with argument comment= <p>Did a pilot for Fox Digital Studios some time ago. Didn't actually go anywhere (except for a film festival or two). </p> . Applying option metadata (add metadata) with argument subtitle=A special video episode.. Applying option metadata (add metadata) with argument genre=History;Podcasts. Applying option metadata (add metadata) with argument language=en. Applying option metadata (add metadata) with argument MVNM=the memory palace. Applying option metadata (add metadata) with argument title=Forgotten Things: A Failed Pilot. Applying option metadata (add metadata) with argument title-sort=Forgotten Things: A Failed Pilot. Applying option metadata (add metadata) with argument year=2015. Applying option metadata (add metadata) with argument date=Thu, 07 May 2015 18:23:43 -0000. Applying option metadata (add metadata) with argument releasedate=Thu, 07 May 2015 18:23:43 -0000. Applying option metadata (add metadata) with argument itunes-id=299436963. Applying option metadata (add metadata) with argument podcast-type=episodic. Successfully parsed a group of options. Opening an output file: /podcasts/the memory palace/Forgotten Things - A Failed Pilot (56eec6e9-8d3f-473b-88cf-a82824dd4970).mp3. [out#0/mp3 @ 0x7c6dd7ee66c0] Adding streams from explicit maps... [aost#0:0/copy @ 0x7c6dd7ef9680] Created audio stream from input stream 0:0 [file @ 0x7c6dd6fbd640] Setting default whitelist 'file,crypto,data' [mp3 @ 0x7c6dd7ef93c0] Invalid audio stream. Exactly one MP3 audio stream is required. [out#0/mp3 @ 0x7c6dd7ee66c0] Could not write header (incorrect codec parameters ?): Invalid argument Error opening output file /podcasts/the memory palace/Forgotten Things - A Failed Pilot (56eec6e9-8d3f-473b-88cf-a82824dd4970).mp3. Error opening output files: Invalid argument [AVIOContext @ 0x7c6dd23cccc0] Statistics: 0 bytes written, 0 seeks, 0 writeouts [AVIOContext @ 0x7c6dd2a83cc0] Statistics: 131072 bytes read, 0 seeks ``` ### Additional Notes _No response_
adam added the bug label 2026-04-25 00:06:54 +02:00
adam closed this issue 2026-04-25 00:06:54 +02:00
Author
Owner

@advplyr commented on GitHub (Dec 13, 2024):

This is a bug with the RSS feed. The URL to the audio file is for an mp3 file when it is actually an mp4 file.

The reason it fails is because Abs automatically embeds meta tags in mp3 files and since this is not one ffmpeg throws an error.

I ended up adding an additional check for this even though the RSS feed is incorrect so it will be working in the next release.

It will still download as an mp3 since it is labeled as mp3. There is no video player in Abs anyway.

@advplyr commented on GitHub (Dec 13, 2024): This is a bug with the RSS feed. The URL to the audio file is for an mp3 file when it is actually an mp4 file. The reason it fails is because Abs automatically embeds meta tags in mp3 files and since this is not one ffmpeg throws an error. I ended up adding an additional check for this even though the RSS feed is incorrect so it will be working in the next release. It will still download as an mp3 since it is labeled as mp3. There is no video player in Abs anyway.
Author
Owner

@advplyr commented on GitHub (Dec 13, 2024):

image

@advplyr commented on GitHub (Dec 13, 2024): ![image](https://github.com/user-attachments/assets/16173e23-062c-4d53-a08c-67ab1c050834)
Author
Owner

@github-actions[bot] commented on GitHub (Dec 30, 2024):

Fixed in v2.17.6.

@github-actions[bot] commented on GitHub (Dec 30, 2024): Fixed in [v2.17.6](https://github.com/advplyr/audiobookshelf/releases/tag/v2.17.6).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2418