• 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 Why remuxing?

     
    • 0 Vote(s) - 0 Average

    Why remuxing?

    Chromecast is now remuxing/transcode since server version 10.9.2
    Alliyance
    Offline

    Member

    Posts: 76
    Threads: 13
    Joined: 2023 Jun
    Reputation: 0
    #1
    2024-06-28, 11:50 AM (This post was last modified: 2024-06-28, 12:10 PM by Alliyance. Edited 1 time in total.)
    Just wonder why I have a remuxing, transcode when before it was direct playing on Chromecast? Usually the log file says why but since the update, it doesn't say anymore or it's a code that I don't understand. 

    Log:


    Code:
    [2024-06-28 02:13:37.996 +00:00] [INF] [203] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "fred". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: False EnableAudioPlaybackTranscoding: False
    [2024-06-28 02:13:38.124 +00:00] [INF] [156] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "fred". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: False EnableAudioPlaybackTranscoding: False
    [2024-06-28 02:13:38.840 +00:00] [INF] [228] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: "/usr/bin/ffmpeg" "-analyzeduration 200M -probesize 1G -fflags +genpts -f matroska  -i file:\"/home/alliyance/files/Movies/Furiosa.A.Mad.Max.Saga.2024.mkv\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -start_at_zero -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 0 -hls_segment_filename \"/dev/shm/1011/jellyfin/transcodes/b12401affdf65f854659892e1e0f4e93%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/dev/shm/1011/jellyfin/transcodes/b12401affdf65f854659892e1e0f4e93.m3u8\""
    [2024-06-28 02:13:39.586 +00:00] [INF] [228] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for "/dev/shm/1011/jellyfin/transcodes/b12401affdf65f854659892e1e0f4e93.m3u8"
    [2024-06-28 02:13:39.701 +00:00] [INF] [228] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0
    [2024-06-28 02:13:39.702 +00:00] [INF] [228] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: "/usr/bin/ffmpeg" "-analyzeduration 200M -probesize 1G -ss 01:38:49.465 -fflags +genpts -f matroska  -i file:\"/home/alliyance/files/Movies/Furiosa.A.Mad.Max.Saga.2024.mkv\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -start_at_zero -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 988 -hls_segment_filename \"/dev/shm/1011/jellyfin/transcodes/b12401affdf65f854659892e1e0f4e93%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/dev/shm/1011/jellyfin/transcodes/b12401affdf65f854659892e1e0f4e93.m3u8\""
    [2024-06-28 02:13:45.391 +00:00] [INF] [285] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0


    FFmpeg

    Code:
    [out#0/hls @ 0x55aa722d2c40] Codec AVOption threads (set the number of threads) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
    Output #0, hls, to '/dev/shm/1011/jellyfin/transcodes/b12401affdf65f854659892e1e0f4e93.m3u8':
      Metadata:
        encoder        : Lavf60.16.100
      Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x800 [SAR 1:1 DAR 12:5], q=2-31, 23.98 fps, 23.98 tbr, 90k tbn (default)
      Stream #0:1: Audio: aac (LC), 48000 Hz, 5.1, fltp (default)
    Stream mapping:
      Stream #0:0 -> #0:0 (copy)
      Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    size=      0kB time=00:00:00.00 bitrate=N/A speed=N/A   
    [hls @ 0x55aa7226f080] Non-monotonic DTS in output stream 0:0; previous: 533603070, current: 533599316; changing to 533603071. This may result in incorrect timestamps in the output file.
    [hls @ 0x55aa7226f080] Non-monotonic DTS in output stream 0:0; previous: 533603071, current: 533603070; changing to 533603072. This may result in incorrect timestamps in the output file.
    [hls @ 0x55aa7226f080] Opening '/dev/shm/1011/jellyfin/transcodes/b12401affdf65f854659892e1e0f4e93988.ts' for writing
    [hls @ 0x55aa7226f080] Opening '/dev/shm/1011/jellyfin/transcodes/b12401affdf65f854659892e1e0f4e93989.ts' for writing
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,188
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #2
    2024-06-28, 12:10 PM
    Could you share the media info of the affected file? It's a video file inside an mkv container.

    Chromecast can only play some codecs inside an mkv container.

    If for example the mkv file you're trying to play with it is HEVC/H265, then Jellyfin will need to remux it so that chromecast can play the streams directly.
    Alliyance
    Offline

    Member

    Posts: 76
    Threads: 13
    Joined: 2023 Jun
    Reputation: 0
    #3
    2024-06-28, 05:15 PM (This post was last modified: 2024-06-28, 05:44 PM by Alliyance. Edited 7 times in total.)
    Sure

    All my file are the same because I want to avoid the need for transcoding on different devices. Since a year, everything was direct stream until now. He use a soundbar which he hasn't change. My friend is connected to my server. Other family members with Roku, Firetv and one who has Chromecast and all plays direct (No soundbar).

    MKV
    h264 (1080P) SDR
    1920 x 800
    8 bit depth
    AAC 5.1 48000Hz
    Bitrate: 5933kbps
    SRT Subs

    Server version was 10.9.4
    Just updated to the latest version 10.9.7
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-06-28, 05:57 PM (This post was last modified: 2024-06-28, 06:00 PM by TheDreadPirate. Edited 3 times in total.)
    You should submit a github issue to the jellyfin-chromecast git.

    https://github.com/jellyfin/jellyfin-chromecast/issues

    At the end of the day, the Chromecast tells the server what it can and can't do.
    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
    #5
    2024-06-28, 06:02 PM
    FWIW, there was a new release for Jellyfin-Chromecast on May 28. A bit after 10.9.2. May or may not be related.

    https://github.com/jellyfin/jellyfin-chr...tag/v1.2.0
    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]
    Alliyance
    Offline

    Member

    Posts: 76
    Threads: 13
    Joined: 2023 Jun
    Reputation: 0
    #6
    2024-06-28, 06:28 PM
    Ok I'll do that, thanks
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-06-28, 06:34 PM
    This change may be the culprit?

    https://github.com/jellyfin/jellyfin-chr...7ed8a44df5
    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