• 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 SOLVED: m2ts support

     
    • 0 Vote(s) - 0 Average

    SOLVED: m2ts support

    Is m2ts supported on the official Roku client?
    Feinting_Goat
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    Country:United States
    #1
    2025-01-23, 09:04 PM
    I have some m2ts files and they don't appear to play on the Jellyfin app for Roku.  When I check the logs, it just looks like the video stopped at 0 ms. 

    [2025-01-23 15:36:31.254 -05:00] [INF] [17] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "user1". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
    [2025-01-23 15:36:32.266 -05:00] [INF] [8] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Roku" "2.2.5" playing "Edge of Tomorrow". Stopped at "0" ms


    I confirmed the video does play through FireFox.
    I tried switching various client side playback settings within the Jellyfin client but it didn't seem to help. 

    I haven't seen anything in these forums specifically about this other than m2ts files can be problematic but all of mine appear to fail.  Is there an easy way to resolve this or is re-encoding the correct answer?
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-01-23, 09:59 PM
    Can you share the media info for this file?

    Is it Dolby Vision or something?
    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]
    Feinting_Goat
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    Country:United States
    #3
    2025-01-23, 10:44 PM
    Thanks for the response!  This is the audio and video information from the file that I posted earlier.  Most of my m2ts files are similar so the same problem could be affecting them all. There were 4 subtitle tracks that I didn't include so the post wasn't too long.  Let me know if you need anything else that might help.

    Container ts

    Video
    Title: 1080p H264 SDR
    Codec: H264
    Codec tag: HDMV
    AVC: No
    Profile: High
    Level: 40
    Resolution: 1920x1080
    Aspect ratio: 16:9
    Anamorphic: No
    Interlaced: No
    Framerate: 23.976025
    Bitrate: 5392 kbps
    Bit depth: 8 bit
    Video range: SDR
    Video range type: SDR
    Pixel format: yuv420p
    Ref frames: 1
    NAL: 0
    Timestamp: Valid

    Audio
    Title: Dolby Digital - 5.1
    Codec: AC3
    Codec tag: AC-3
    AVC: No
    Layout: 5.1
    Channels: 6 ch
    Bitrate: 640 kbps
    Sample rate: 48000 Hz
    Default: No
    Forced: No
    External: No
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-01-24, 01:42 PM
    My Sony A7 camera outputs to m2ts. When I get home I will put a couple in my test Jellyfin instance and do some testing.

    I'll get back to you tonight or tomorrow (US EST).

    Until then, can you try remuxing the video to MKV?

    Code:
    ffmpeg -fflags +genpts+igndts -i "/path/to/video.m2ts" -map 0 -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled newFile.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]
    Feinting_Goat
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    Country:United States
    #5
    2025-01-24, 10:17 PM
    Just wanted to drop an update. I was able to to remux the video to MKV using the parameters you sent and the movie appears to work after doing that. I'm not sure what the difference is between MKV and m2ts as far as the Roku app is concerned. The mkv file was slightly smaller than the original m2ts file. I think the original files were created with BD Rebuilder many years ago.
    Feinting_Goat
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    Country:United States
    #6
    2025-01-26, 05:05 PM
    I've been doing some research and this might be a recent update that caused this to happen within the last year, maybe less. I found other m2ts files in my library that were marked as watched which I cannot currently play through the Jellyfin app on Roku. If there's a way to pull a timestamp from the watched time, it might narrow down the frame.

    On the server, I was running 10.10.10.0 for months when I originally noticed this issue. I upgraded to 10.10.10.4 with the issue remaining before I made my original post.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2025-01-26, 09:09 PM
    I tested on the m2ts files my camera outputs and it failed to play. No indication of transcoding attempted. It shouldn't need to transcode anyway on my 4802X. H264 1080P SDR video and 2 channel AC3 audio.

    This is likely a client side bug. I will submit a github ticket.
    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]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2025-01-26, 09:17 PM
    https://github.com/jellyfin/jellyfin-roku/issues/2112
    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]
    « 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