SOLVED: m2ts support - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: SOLVED: m2ts support (/t-solved-m2ts-support) |
m2ts support - Feinting_Goat - 2025-01-23 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? RE: m2ts support - TheDreadPirate - 2025-01-23 Can you share the media info for this file? Is it Dolby Vision or something? RE: m2ts support - Feinting_Goat - 2025-01-23 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 RE: m2ts support - TheDreadPirate - 2025-01-24 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 RE: m2ts support - Feinting_Goat - 2025-01-24 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. RE: m2ts support - Feinting_Goat - 2025-01-26 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. RE: m2ts support - TheDreadPirate - 2025-01-26 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. RE: m2ts support - TheDreadPirate - 2025-01-26 https://github.com/jellyfin/jellyfin-roku/issues/2112 |