• 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 General Questions audio routing issue with opus 5.1 or 7.1 content

     
    • 0 Vote(s) - 0 Average

    audio routing issue with opus 5.1 or 7.1 content

    audio routing issue with opus 5.1 or 7.1 content
    djamps
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    Country:United States
    #1
    2024-11-18, 10:54 PM (This post was last modified: 2024-11-19, 07:59 AM by djamps. Edited 3 times in total.)
    I'm using a firestick 4k max thru an Arcam AVR10 (directly connected to the AVR).  I'm using the Jellyfin client.   All my AAC 5.1 and Atmos content works perfectly. For the handful of Opus 7.1 titles, the channels are mixed up. Most notably, center audio comes out the front right and nothing comes out of the left back surround.  This is the same no matter which title I choose.   Anyone experienced this behavior before?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-11-18, 11:04 PM
    Can you run this command and share the output?

    Code:
    /usr/lib/jellyfin-ffmpeg/ffprobe -loglevel error -i "/path/to/your/vide.mkv" -select_streams a -show_entries stream -v quiet -of json
    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]
    djamps
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    Country:United States
    #3
    2024-11-18, 11:20 PM
    No problem, here it is:

    {
        "programs": [
        ],
        "stream_groups": [
        ],
        "streams": [
            {
                "index": 1,
                "codec_name": "opus",
                "codec_long_name": "Opus (Opus Interactive Audio Codec)",
                "codec_type": "audio",
                "codec_tag_string": "[0][0][0][0]",
                "codec_tag": "0x0000",
                "sample_fmt": "fltp",
                "sample_rate": "48000",
                "channels": 8,
                "channel_layout": "7.1",
                "bits_per_sample": 0,
                "initial_padding": 312,
                "r_frame_rate": "0/0",
                "avg_frame_rate": "0/0",
                "time_base": "1/1000",
                "start_pts": -7,
                "start_time": "-0.007000",
                "extradata_size": 29,
                "disposition": {
                    "default": 1,
                    "dub": 0,
                    "original": 0,
                    "comment": 0,
                    "lyrics": 0,
                    "karaoke": 0,
                    "forced": 0,
                    "hearing_impaired": 0,
                    "visual_impaired": 0,
                    "clean_effects": 0,
                    "attached_pic": 0,
                    "timed_thumbnails": 0,
                    "non_diegetic": 0,
                    "captions": 0,
                    "descriptions": 0,
                    "metadata": 0,
                    "dependent": 0,
                    "still_image": 0
                },
                "tags": {
                    "language": "eng",
                    "title": "[EN] Opus 320kbit/s 7.1 Surround",
                    "BPS": "254360",
                    "DURATION": "03:01:58.915000000",
                    "NUMBER_OF_FRAMES": "545946",
                    "NUMBER_OF_BYTES": "347167699",
                    "_STATISTICS_WRITING_APP": "mkvmerge v83.0 ('Circle Of Friends') 64-bit",
                    "_STATISTICS_WRITING_DATE_UTC": "2024-03-19 13:41:40",
                    "_STATISTICS_TAGS": "BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES",
                    "ENCODER": "opusenc from opus-tools 0.2-29-gecd50e5",
                    "ENCODER_OPTIONS": "--bitrate 320"
                }
            }
        ]
    }
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-11-19, 01:01 AM
    Ok. The audio layout looks right. But this appears to be an exoplayer problem.

    https://github.com/google/ExoPlayer/issues/8396
    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]
    djamps
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    Country:United States
    #5
    2024-11-19, 02:15 AM (This post was last modified: 2024-11-19, 02:33 AM by djamps. Edited 1 time in total.)
    Interesting, it seems the issue was fixed in exoplayer last december. Is jellyfin using an old version still?
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,066
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #6
    2024-11-19, 02:42 AM
    This commit resolves the issue in ExoPlayer(Androidx Media3) version 1.21 and later. It was considered fixed when the ATV client upgraded to ExoPlayer version 1.21. Currently, the ATV client is using version 1.4.1.

    I did some testing, and it seems that the fix is no longer needed, and actually causes the issue now. Correct channel mapping works with earlier versions of ExoPlayer that don't include this patch. For example, if you use Just Player version .154, which is based on ExoPlayer 1.20, you'll see that the channels are mapped correctly.
    djamps
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    Country:United States
    #7
    2024-11-19, 04:18 AM
    Excellent, thank you for your efforts. Should this be reported on exoplayer github?
    « 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