Skip to content

Unable to select audio streams for videos can be directly played on Chrome #6804

Open
@gnattu

Description

@gnattu

This issue respects the following points:

  • This issue is not already reported on GitHub (I've searched it).
  • I agree to follow Jellyfin's Code of Conduct.
  • This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

Describe the bug

When using a file that can be directly played on Chrome and "Experimental Web Platform features" is off, attempt to select audio tracks will always play the first track.

Reproduction Steps

  • Download this file:
    https://github.com/user-attachments/assets/2eb33362-0105-473c-b18c-0c05266dcd2a
  • Play it in Chrome
  • Try to select audio tracks in the OSD
  • Notice that the default track is always being played when "Experimental Web Platform features" is disabled
  • Enable "Experimental Web Platform features" in chrome://flags
  • Try select audio tracks again
  • Notice that the track selection works as intended

Expected/Actual behaviour

Even when "Experimental Web Platform features" is disabled, the track selection should fallback to use server side remux to play the selected stream.

Media info of the file

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/gnattu/Downloads/437153377-b0efea9f-f935-4e38-8b95-75670a587524.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf62.0.100
  Duration: 00:00:10.00, start: 0.000000, bitrate: 403 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1280x720, 8 kb/s, 24 fps, 24 tbr, 12288 tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](und): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 192 kb/s
      Metadata:
        handler_name    : SoundHandler
        vendor_id       : [0][0][0][0]
  Stream #0:2[0x3](und): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 192 kb/s (default)
      Metadata:
        handler_name    : SoundHandler
        vendor_id       : [0][0][0][0]

Logs

N/A

FFmpeg logs

n/A

Server version

10.10.7

Web version

10.10.7

Build version

10.10.7

Platform

All desktop OSes

Browser

Chrome

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingplaybackThis PR or issue mainly concerns playback

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions