Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Unable to download podcast episode - downloadPodcastEpisode: Error Error: ffmpeg exited with code 234 #3837

Open
freeagentkd35 opened this issue Jan 14, 2025 · 3 comments
Labels
awaiting release Issue is resolved and will be in the next release bug Something isn't working

Comments

@freeagentkd35
Copy link

What happened?

I tried to download episodes from the podcasts "Radioestadio" and "Radioestadio Noche". In fact, this actually seems to happen with any podcast of the radio station "Ondacero" (Spain).

What did you expect to happen?

The episodes are downloaded successfully.

Steps to reproduce the issue

  1. Add the podcast.
  2. Search for any episode and try to download it.

Audiobookshelf version

v2.17.7

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

2025-01-14 21:55:40.468

ERROR

[FfmpegHelpers] downloadPodcastEpisode: Error Error: ffmpeg exited with code 234:

2025-01-14 21:55:40.469

ERROR

Full stderr dump for episode url "https://dpvclip.ondacero.es/mp_audios4//2025/01/13/7A110EE3-7059-484C-AAD2-DEF9A4EF159B/7A110EE3-7059-484C-AAD2-DEF9A4EF159B.mp3": ffmpeg version 6.1.2 Copyright (c) 2000-2024 the FFmpeg developers built with gcc 14.2.0 (Alpine 14.2.0) 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=Radioestadio noche'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'album-sort=Radioestadio noche'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'artist=OndaCero'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'artist-sort=OndaCero'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'comment=Programa completo de Radioestadio Noche, con Rocío Martínez y Edu Pidal.'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'subtitle=Programa completo de Radioestadio Noche, con Rocío Martínez y Edu Pidal.'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'genre=Deportes;Podcasts'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'language=es-es'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'MVNM=Radioestadio noche'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'title=Radioestadio Noche, 13/01/2025'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'title-sort=Radioestadio Noche, 13/01/2025'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'year=2025'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'date=Tue, 14 Jan 2025 01:32:06 +0100'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'releasedate=Tue, 14 Jan 2025 01:32:06 +0100'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'itunes-id=1583794718'. Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'podcast-type=episodic'. Reading option '/podcasts/Radioestadio noche/Radioestadio Noche, 13012025 (ccda746d-1523-4d1d-aad3-b48a8525d439).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 @ 0x7f6c92078600] Opening 'pipe:0' for reading [pipe @ 0x7f6c8efc3e80] Setting default whitelist 'crypto,data' [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f6c92078600] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f6c92078600] ISO: File Type Major Brand: isom [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f6c92078600] Unknown dref type 0x206c7275 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f6c92078600] Processing st: 0, edit list 0 - media time: 0, duration: 311197824 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f6c92078600] Before avformat_find_stream_info() pos: 102823995 bytes read:102823995 seeks:0 nb_streams:1 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] [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f6c92078600] stream 0, offset 0x2c: partial file [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f6c92078600] After avformat_find_stream_info() pos: 102823995 bytes read:102823995 seeks:0 frames:0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'pipe:0': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2mp41 encoder : Lavf57.82.102 Duration: 01:48:03.29, start: 0.000000, bitrate: N/A Stream #0:0[0x1](und), 0, 1/48000: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 125 kb/s (default) Metadata: handler_name : SoundHandler vendor_id : [0][0][0][0] Successfully opened the file. Parsing a group of options: output url /podcasts/Radioestadio noche/Radioestadio Noche, 13012025 (ccda746d-1523-4d1d-aad3-b48a8525d439).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=Radioestadio noche. Applying option metadata (add metadata) with argument album-sort=Radioestadio noche. Applying option metadata (add metadata) with argument artist=OndaCero. Applying option metadata (add metadata) with argument artist-sort=OndaCero. Applying option metadata (add metadata) with argument comment=Programa completo de Radioestadio Noche, con Rocío Martínez y Edu Pidal.. Applying option metadata (add metadata) with argument subtitle=Programa completo de Radioestadio Noche, con Rocío Martínez y Edu Pidal.. Applying option metadata (add metadata) with argument genre=Deportes;Podcasts. Applying option metadata (add metadata) with argument language=es-es. Applying option metadata (add metadata) with argument MVNM=Radioestadio noche. Applying option metadata (add metadata) with argument title=Radioestadio Noche, 13/01/2025. Applying option metadata (add metadata) with argument title-sort=Radioestadio Noche, 13/01/2025. Applying option metadata (add metadata) with argument year=2025. Applying option metadata (add metadata) with argument date=Tue, 14 Jan 2025 01:32:06 +0100. Applying option metadata (add metadata) with argument releasedate=Tue, 14 Jan 2025 01:32:06 +0100. Applying option metadata (add metadata) with argument itunes-id=1583794718. Applying option metadata (add metadata) with argument podcast-type=episodic. Successfully parsed a group of options. Opening an output file: /podcasts/Radioestadio noche/Radioestadio Noche, 13012025 (ccda746d-1523-4d1d-aad3-b48a8525d439).mp3. [out#0/mp3 @ 0x7f6c91eb3200] Adding streams from explicit maps... [aost#0:0/copy @ 0x7f6c91d86380] Created audio stream from input stream 0:0 [file @ 0x7f6c91990680] Setting default whitelist 'file,crypto,data' [mp3 @ 0x7f6c91d86640] Invalid audio stream. Exactly one MP3 audio stream is required. [out#0/mp3 @ 0x7f6c91eb3200] Could not write header (incorrect codec parameters ?): Invalid argument Error opening output file /podcasts/Radioestadio noche/Radioestadio Noche, 13012025 (ccda746d-1523-4d1d-aad3-b48a8525d439).mp3. Error opening output files: Invalid argument [AVIOContext @ 0x7f6c8c23d1c0] Statistics: 0 bytes written, 0 seeks, 0 writeouts [AVIOContext @ 0x7f6c8c731cc0] Statistics: 102823995 bytes read, 0 seeks

Additional Notes

No response

@freeagentkd35 freeagentkd35 added the bug Something isn't working label Jan 14, 2025
@advplyr
Copy link
Owner

advplyr commented Jan 14, 2025

This is a similar issue as #3711 where the RSS feed is not accurate except in this case even the mime type specified is also incorrect so the solution I implemented doesn't work in this case.

You can see by looking at an episode in the feed: https://www.ondacero.es/rss/podcast/8499/podcast.xml
Here is an enclosure they give:

<enclosure type="audio/mpeg" url="https://dpvclip.ondacero.es/mp_audios4//2024/12/28/7C14A66B-57C6-44AF-9F4E-12B28C685F6C/7C14A66B-57C6-44AF-9F4E-12B28C685F6C.mp3" length="456630995"/>

Notice that the file extension is .mp3 and the type is audio/mpeg

If you download that file it is actually an m4a file which should use the type audio/mp4.

I suppose we can add a fallback to regular download without embed if the embed download fails.

advplyr added a commit that referenced this issue Jan 14, 2025
@advplyr advplyr added the awaiting release Issue is resolved and will be in the next release label Jan 14, 2025
@freeagentkd35
Copy link
Author

Thank you very much for your response.

Indeed, I downloaded what is supposed .mp3 but the extension is .mp4 and exiftool says MIME Type: audio/mp4

I commented on that similar issue but since I saw it was closed and fixed but I still had this issue, I thought some extra implementation was needed and that is why I opened a new issue.

@nichwall
Copy link
Contributor

It may be worth reaching out to the podcast provider to see if they can fix their RSS feeds (even though ABS should be able to download it with this fix)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting release Issue is resolved and will be in the next release bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants