Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jellyfin discovers metadata and strm files but playback never starts. #87

Open
xusiai opened this issue Nov 25, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@xusiai
Copy link

xusiai commented Nov 25, 2024

I can't seem to make streams (Twitch) play. Channels and metadata are discovered but playback never starts; depending on the client, it either loads forever or nothing happens at all when pressing play. This happens regardless of the chosen stream or playback client (tried web,android, and the Linux client).

Jellyfin log:

[2024-11-25 15:59:29.425 +01:00] [INF] [4] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G  -i \"http://127.0.0.1:5000/twitch/direct/faith@39489914884\" -map_metadata -1 -map_chapters -1 -threads 0 -sn   -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_base_url \"hls/924719121a7c0ccda420bc2d52f9c1f5/\" -hls_segment_filename \"/config/cache/transcodes/924719121a7c0ccda420bc2d52f9c1f5%d.ts\" -hls_playlist_type event -hls_list_size 0 -y \"/config/cache/transcodes/924719121a7c0ccda420bc2d52f9c1f5.m3u8\""
[2024-11-25 15:59:29.438 +01:00] [INF] [20] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) "/config/cache/transcodes/d49e9adcc2ebd680c144bb938f690973.m3u8"
[2024-11-25 15:59:29.440 +01:00] [INF] [20] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for "/config/cache/transcodes/924719121a7c0ccda420bc2d52f9c1f5.m3u8"
[2024-11-25 15:59:29.442 +01:00] [ERR] [4] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "A task was canceled". URL "GET" "/videos/f48500ad-bdf1-6ea4-79e5-6c0636944292/live.m3u8".
[2024-11-25 15:59:29.443 +01:00] [ERR] [20] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 1
[2024-11-25 15:59:29.444 +01:00] [INF] [20] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) "/config/cache/transcodes/924719121a7c0ccda420bc2d52f9c1f5.m3u8"
[2024-11-25 15:59:30.947 +01:00] [INF] [23] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Media Player" "1.11.1" playing "!000-live-F a i t h   ( l i v e )   2 0 2 4 - 1 1 - 2 5   0 0  2 1 [39489914884]". Stopped at "0" ms

ytdlp2strm config:

{
    "ytdlp2strm_host" : "127.0.0.1",
    "ytdlp2strm_port" : "5000",
    "ytdlp2strm_keep_old_strm" : "False",
    "ytdlp2strm_temp_file_duration" : "86400"
}

Ytdlp2strm container log show no errors and nothing stand out to me in the Jellyfin logs. Any ideas?

@fe80Grau
Copy link
Owner

Please share your Twitch ID that you are trying to play with.
Is streaming working with VLC or something similar?
Do you have hardware acceleration enabled on the Jellyfin server?

@fe80Grau fe80Grau added the bug Something isn't working label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants