• 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 Possible to edit/custom Audio name ? (See picture)

     
    • 0 Vote(s) - 0 Average

    Possible to edit/custom Audio name ? (See picture)

    kalemvar
    Offline

    Junior Member

    Posts: 11
    Threads: 4
    Joined: 2023 Sep
    Reputation: 0
    Country:Canada
    #1
    2023-09-28, 04:36 AM
    Hello

    Is it possible to edit or remove these information on the audio name ? they are there by default but I would love to remove them and put my own print

    Thanks

    kalemvar

       
    skribe
    Offline

    Community Moderator

    Posts: 147
    Threads: 0
    Joined: 2023 Jun
    Reputation: 5
    #2
    2023-09-28, 02:41 PM
    Some of this information is read from the headers in the media file, some of it is determined by ffprobe I believe. You can edit anything in the headers, as long as it's mkv, with mkxtoolnix.
    kalemvar
    Offline

    Junior Member

    Posts: 11
    Threads: 4
    Joined: 2023 Sep
    Reputation: 0
    Country:Canada
    #3
    2023-09-28, 04:23 PM
    Thanks for the reply

    all of them are .MKV and are mux with mkvtoolnix

    -for the "default" tag, if I put no to "default track" in mkvtoolenix, it's removed from Jellyfin
    -But for remove "Stereo" and "Dolby Digital+" do you have clue (in mkvtoolnix) ?

    Thanks

    kalemvar
    bitmap
    Offline

    Community Moderator

    Posts: 915
    Threads: 9
    Joined: 2023 Jul
    Reputation: 30
    #4
    2023-09-29, 08:15 AM
    Those are properties of the audio track. You can't remove them.
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    kalemvar
    Offline

    Junior Member

    Posts: 11
    Threads: 4
    Joined: 2023 Sep
    Reputation: 0
    Country:Canada
    #5
    2023-09-29, 03:00 PM
    Thanks,

    it's logical that I can't remove them, is it possible to remove or edit them shorter, like E-AC3 or something ? I guess probably not but I'm asking Smiling-face

    Thanks

    kalemvar
    bitmap
    Offline

    Community Moderator

    Posts: 915
    Threads: 9
    Joined: 2023 Jul
    Reputation: 30
    #6
    2023-09-29, 03:41 PM
    I'm not sure. That might be how Jellyfin parses DD+, E-AC3, E-AC3, EAC-3, etc...

    You can use ffprobe to look at what this information is set as currently on files with

    Code:
    ffprobe -show_streams -select_stream X:a "filename.ext"

    Where "X" is the audio stream index, starting at zero. I'm not at my computer right now, I'm on mobile or I'd run one for you and throw some output here. I'll do that later today once I'm done out in the world.

    You can change the data in a number of ways. I'd say Mkvtoolnix is the right tool since you can just alter the data without doing any encoding. You can alter metadata with ffmpeg as well, though, which is what I'm more familiar with using the metadata flag with the correct specifiers. I don't know what the right field for this is, however, and I also don't know the downstream effects of changing the field to something possibly non-standard. Pulling your file out of spec might make it not play, not work with ffmpeg any longer, cause other metadata issues, etc...

    You're welcome to try, see what happens, and change it back if it breaks. I'd back up your file first. Use ffprobe to figure out where this data is stored and Mkvtoolnix or ffmpeg to alter the metadata field to the desired value, then refresh the file in Jellyfin, confirm whether it worked, check that it functions, see if it works anywhere else you care about, and go about your day...
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    kalemvar
    Offline

    Junior Member

    Posts: 11
    Threads: 4
    Joined: 2023 Sep
    Reputation: 0
    Country:Canada
    #7
    2023-09-30, 05:02 AM
    Big Thanks for the reply

    I would very much like a complete example with details on how you do it.

    It's really appreciate Smiling-face

    Kalemvar
    bitmap
    Offline

    Community Moderator

    Posts: 915
    Threads: 9
    Joined: 2023 Jul
    Reputation: 30
    #8
    2023-10-03, 07:27 PM (This post was last modified: 2023-10-03, 07:27 PM by bitmap.)
    Apologies it took me this long to reply, but here's a sample of ffprobe output.

    Code:
    bitmap@server~: ffprobe -hide_banner -v quiet -show_streams -select_streams a media.mkv
        [STREAM]
        index=1
        codec_name=ac3
        codec_long_name=ATSC A/52A (AC-3)
        profile=unknown
        codec_type=audio
        codec_tag_string=[0][0][0][0]
        codec_tag=0x0000
        sample_fmt=fltp
        sample_rate=48000
        channels=2
        channel_layout=stereo
        bits_per_sample=0
        initial_padding=0
        id=N/A
        r_frame_rate=0/0
        avg_frame_rate=0/0
        time_base=1/1000
        start_pts=0
        start_time=0.000000
        duration_ts=N/A
        duration=N/A
        bit_rate=192000
        max_bit_rate=N/A
        bits_per_raw_sample=N/A
        nb_frames=N/A
        nb_read_frames=N/A
        nb_read_packets=N/A
        DISPOSITION:default=1
        DISPOSITION:dub=0
        DISPOSITION:original=0
        DISPOSITION:comment=0
        DISPOSITION:lyrics=0
        DISPOSITION:karaoke=0
        DISPOSITION:forced=0
        DISPOSITION:hearing_impaired=0
        DISPOSITION:visual_impaired=0
        DISPOSITION:clean_effects=0
        DISPOSITION:attached_pic=0
        DISPOSITION:timed_thumbnails=0
        DISPOSITION:captions=0
        DISPOSITION:descriptions=0
        DISPOSITION:metadata=0
        DISPOSITION:dependent=0
        DISPOSITION:still_image=0
        TAG:language=jpn
        TAG:title=Stereo
        TAG:BPS-eng=192000
        TAG:DURATION-eng=01:36:22.912000000
        TAG:NUMBER_OF_FRAMES-eng=180716
        TAG:NUMBER_OF_BYTES-eng=138789888
        TAG:SOURCE_ID-eng=0180BD
        TAG:_STATISTICS_WRITING_APP-eng=MakeMKV v1.17.5 linux(x64-release)
        TAG:_STATISTICS_WRITING_DATE_UTC-eng=2023-09-30 22:27:21
        TAG:_STATISTICS_TAGS-eng=BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
        [/STREAM]

    I would guess that the TAG fields are what you're editing with metadata calls in ffmpeg...so I gave it a shot. I don't think you can edit metadata fields in bulk, you have to make multiple calls. I tried to edit two at once and it set a single field to both values (using the standard colon-separated syntax that ff* tools like to use). So here's how I edited the metadata using ffmpeg (which originally took about 60 seconds, the second run took about 10 seconds):

    Code:
    bitmap@server:folder$ ffmpeg -y -i media.mkv -c copy -metadata:s:a:0 'language=eng' -metadata:s:a:0 'title=OPUS 5.1' "test.mkv"
    Stream mapping:
      Stream #0:0 -> #0:0 (copy)
      Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [out#0/matroska @ 0x560f44b98280] video:4226494kB audio:135537kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.068291%
    frame=173315 fps=3019 q=-1.0 Lsize= 4365010kB time=01:36:22.88 bitrate=6183.5kbits/s speed= 101x

    The problem here is that ffmpeg muxes the file as it changes the metadata. MKVToolnix doesn't, so it's the better tool for this job. I'm just less familiar with it. Here's the output from ffprobe after this operation:

    Code:
    bitmap@server:folder$ ffprobe -hide_banner -v quiet -show_streams -select_streams a -i test.mkv
    [STREAM]
    index=1
    codec_name=ac3
    codec_long_name=ATSC A/52A (AC-3)
    profile=unknown
    codec_type=audio
    codec_tag_string=[0][0][0][0]
    codec_tag=0x0000
    sample_fmt=fltp
    sample_rate=48000
    channels=2
    channel_layout=stereo
    bits_per_sample=0
    initial_padding=0
    id=N/A
    r_frame_rate=0/0
    avg_frame_rate=0/0
    time_base=1/1000
    start_pts=0
    start_time=0.000000
    duration_ts=N/A
    duration=N/A
    bit_rate=192000
    max_bit_rate=N/A
    bits_per_raw_sample=N/A
    nb_frames=N/A
    nb_read_frames=N/A
    nb_read_packets=N/A
    DISPOSITION:default=1
    DISPOSITION:dub=0
    DISPOSITION:original=0
    DISPOSITION:comment=0
    DISPOSITION:lyrics=0
    DISPOSITION:karaoke=0
    DISPOSITION:forced=0
    DISPOSITION:hearing_impaired=0
    DISPOSITION:visual_impaired=0
    DISPOSITION:clean_effects=0
    DISPOSITION:attached_pic=0
    DISPOSITION:timed_thumbnails=0
    DISPOSITION:captions=0
    DISPOSITION:descriptions=0
    DISPOSITION:metadata=0
    DISPOSITION:dependent=0
    DISPOSITION:still_image=0
    TAG:language=eng
    TAG:title=OPUS 5.1
    TAG:_STATISTICS_TAGS-eng=BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    TAG:BPS-eng=192000
    TAG:DURATION-eng=01:36:22.912000000
    TAG:NUMBER_OF_FRAMES-eng=180716
    TAG:NUMBER_OF_BYTES-eng=138789888
    TAG:SOURCE_ID-eng=0180BD
    TAG:_STATISTICS_WRITING_APP-eng=MakeMKV v1.17.5 linux(x64-release)
    TAG:_STATISTICS_WRITING_DATE_UTC-eng=2023-09-30 22:27:21
    TAG:DURATION=01:36:22.912000000
    [/STREAM]

    I would look at MKVToolnix, specifically mkvpropedit. Brief look seems like there's not a ton on audio track editing with tags, but I didn't do a deep dive. A quick search around might give you more examples to work from. The reason I have the flow above worked out is because it's easy to integrate into my scripting for automated encoding and it's all in the same ecosystem so I know I'm working with the same information (ffprobe will have the same info as ffmpeg to work with). The muxing time is irrelevant when you're already encoding or remuxing a file anyway...
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    kalemvar
    Offline

    Junior Member

    Posts: 11
    Threads: 4
    Joined: 2023 Sep
    Reputation: 0
    Country:Canada
    #9
    2023-10-06, 07:00 AM
    Thanks for your reply and your advance explanation.

    I'm a bit lost with those commands, can you explain a bit more on how this work ?

    maybe MKVToolnix is a better option but I really don't know what flag to change, to make Jellyfin display - EAC-3 instead of "Dolby Digital+" and edit/remove "Stereo". Same goes to subtitle, the "Subrip" isn't really beautiful on the display.

    Thanks for your time and clarification Smiling-face

    kalemvar
    kalemvar
    Offline

    Junior Member

    Posts: 11
    Threads: 4
    Joined: 2023 Sep
    Reputation: 0
    Country:Canada
    #10
    2023-10-07, 06:21 AM (This post was last modified: 2023-10-07, 06:29 AM by kalemvar. Edited 2 times in total.)
    If I follow this guide on the forum : https://forum.jellyfin.org/t-from-disc-t...r-jellyfin

    I can probably achieve this without editing the codec ID

    If I'm looking at those pictures :

    Audio name says : English 5.1 DTS-HD Master Audio ES

       

    and the result on this one with the exact same name without the codec and surround/stereo

       

    That the goal I'm looking right now

    Thanks guys
    « 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