• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Media Scanning & Identification SOLVED: Multitrack Audio Track Names Missing

     
    • 0 Vote(s) - 0 Average

    SOLVED: Multitrack Audio Track Names Missing

    PoizenJam
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    Country:Canada
    #1
    2024-09-27, 03:52 PM (This post was last modified: 2024-09-27, 04:48 PM by PoizenJam. Edited 2 times in total.)
    I have a bunch of multi-track audio files I've created and stored on Jellyfin. ffmpeg code in Python looks like-

    Code:
        # Convert to 1080p60
        subprocess.run(
            ["ffmpeg",
            '-hwaccel', 'cuda',  # Enable CUDA hardware acceleration
            '-i', input_file,
            '-n',
            '-c:v', 'h264_nvenc',
            '-preset', 'slow',
            '-b:v', '4.2M',
            "-c:a", "copy",  # Copy all audio streams
            "-vf", "scale=1920:-2",
            '-map', '0:v:0',

            # Map all audio streams
            '-map', '0:a:0',  # Map the first audio stream
            '-map', '0:a:1',  # Map the second audio stream
            '-map', '0:a:2',  # Map the third audio stream
            '-map', '0:a:3',  # Map the fourth audio stream
           
            # Add metadata for each audio track
            '-metadata:s:a:0', 'title=Clean (Backing + Bass)',  # Title for the first audio track
            '-metadata:s:a:1', 'title=Original (Stream Audio)',  # Title for the second audio track
            '-metadata:s:a:2', 'title=Voice (Muted Music)',  # Title for the third audio track
            '-metadata:s:a:3', 'title=Bass (Dry)',  # Title for the fourth audio track

            # Add global metadata
            '-metadata', 'title='+title,
            '-metadata', 'artist=PoizenJam',
            '-metadata', 'date='+keys[9],
            '-metadata', 'comment='+keys[8],
            '-metadata', 'description='+custom_desc,
            output_file_1080p]
        )

    These metadata for the audio track names displays just fine in VLC and Windows Media Player:

    [Image: Oeo7AC9.png]

    But in Jellyfin the audio track names are completely missing:

    [Image: jIPZ4FX.png]

    Unsure why this would be the case- wondering if the community has any insight?

    If it helps, I am running Jellyfin as a Docker container on Windows.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-09-27, 04:10 PM (This post was last modified: 2024-09-27, 04:12 PM by TheDreadPirate. Edited 1 time in total.)
    What is the output of ffprobe on that file?  Also, did you make these changes after you add the file to your library?  Did you rescan and replace all metadata after changing the titles?  I mirrored your ffmpeg command, added "FOSS Audio" to track 1, rescanned my test file, and it showed up in Jellyfin.

       

    Code:
    chris@rat-trap:/media/storage2/testMovies/Atomic Blonde$ ffprobe Atomic\ Blonde\ -\ \[FOSS\].mkv
    ffprobe version 6.0.1-Jellyfin Copyright (c) 2007-2023 the FFmpeg developers
    ......
    ......
      Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
        Metadata:
          DURATION        : 01:54:44.293000000
      Stream #0:1(eng): Audio: flac, 48000 Hz, 7.1, s32 (24 bit) (default)
        Metadata:
          title          : FOSS Audio
          ENCODER        : Lavc60.3.100 flac
          DURATION        : 01:54:44.298000000
      Stream #0:2(eng): Audio: vorbis, 48000 Hz, 5.1, fltp
        Metadata:
          title          : Surround 5.1
          ENCODER        : Lavc60.3.100 libvorbis
          DURATION        : 01:54:44.303000000
      Stream #0:3(eng): Audio: vorbis, 48000 Hz, stereo, fltp
        Metadata:
          title          : Stereo
          ENCODER        : Lavc60.3.100 libvorbis
          DURATION        : 01:54:44.324000000
      Stream #0:4(eng): Audio: vorbis, 48000 Hz, stereo, fltp
        Metadata:
          title          : Stereo
          ENCODER        : Lavc60.3.100 libvorbis
          DURATION        : 01:54:44.332000000
      Stream #0:5(eng): Subtitle: hdmv_pgs_subtitle
        Metadata:
          DURATION        : 01:48:19.827000000

    Code:
    ffmpeg -i Atomic\ Blonde\ -\ \[FOSS\].mkv -map 0 -codec copy -metadata:s:a:0 title="FOSS Audio" test.mkv
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    PoizenJam
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    Country:Canada
    #3
    2024-09-27, 04:47 PM (This post was last modified: 2024-09-27, 05:34 PM by PoizenJam. Edited 2 times in total.)
    ffprobe wasn't showing the "Title" metatata- so thanks for that tipoff.

    Interesting, after a bit of troubleshooting I resolved the issue by writing some additional metadata (language + handler_name fields). Truly bizarre that title wasn't working on its own, especially since VLC and WMP detected it fine enough.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode