jmbannon / ytdl-sub

Lightweight tool to automate downloading and metadata generation with yt-dlp
https://ytdl-sub.readthedocs.io
GNU General Public License v3.0
1.6k stars 61 forks source link

FileNotDownloadedException when downloading from a channel #811

Closed Kwbmm closed 8 months ago

Kwbmm commented 8 months ago

Getting a FileNotDownloadedException when attempting to download the last week videos of a channel. out.log

config.yml:

configuration:
  working_directory: '/home/ronald/Download'

presets:  
  tv_show_paths:
    overrides:
      tv_show_directory: "/home/ronald/Plex/Youtube"

  base:
    preset:
      - "Jellyfin TV Show by Date"  # Set intended player
      - "max_1080p"    # prebuilt preset to get 1080 videos max
      - "tv_show_paths"

    # Embed chapters into video files
    chapters:
      embed_chapters: True

  add_subs:
    # Embed English subtitles into video files (supports more)
    subtitles:
      embed_subtitles: True
      languages:
        - "en"
      allow_auto_generated_subtitles: True

  no_shorts:
    match_filters:
      filters:
        - "original_url!*=/shorts/"

  sponsorblock:
    chapters:
      sponsorblock_categories:
        - "selfpromo"
        - "interaction"
        - "sponsor"
      remove_sponsorblock_categories: "all"
      force_key_frames: False

  last_week_videos:
    date_range:
      after: "now-1week"
    output_options:
      keep_files_after: "now-1week"

subscription.yml

breaking_italy:
  preset:
    - "base"
    - "no_shorts"
    - "last_week_videos"
  download:
    url: "https://www.youtube.com/@breakingitaly/videos"

Any idea of what's wrong?

jmbannon commented 8 months ago
[ytdl-sub:yt-dlp] [Merger] Merging formats into "/home/ronald/Download/breaking_italy/JEVtnIq6cdY.mp4"
[ytdl-sub:yt-dlp] ERROR:   Stream #1:0 -> #0:1 (copy)

Seems to be an ffmpeg issue within dlp

Kwbmm commented 8 months ago

Indeed updating ffmpeg version fixes the issue! :pray: