• 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 Odroid H4Ultra - hardware transcoding

     
    • 0 Vote(s) - 0 Average

    Odroid H4Ultra - hardware transcoding

    Transcoding randomly not working on specific files?
    erathia65
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:France
    #1
    2024-08-22, 01:16 AM
    So first, my specs:

    Jellyfin 10.9.9 installed via official charts on TrueNAS Scale
    Odroid H4Ultra (intel core i3-n305)
    32G Sabrent DDR5-4800
    4 * Crucial BX500 4to Raidz1

    i've been trying to setup my own lil mediacenter, and now and then i got this message, but on specific files:
    [Image: Capture-d-cran-2024-08-22-025923.png]

    Thing is there is no obvious difference between the two files:
    [Image: Capture-d-cran-2024-08-22-030230.png]

    here are my transcoding settings:
    [Image: Capture-d-cran-2024-08-22-030421.png]

    I tried disabling hardware acceleration, not working, even broke the install once, had to redeploy

    Got a related error on the client (tried chrome and firefox)
    [Image: Capture-d-cran-2024-08-22-031202.png]

    here's the log when i try to play thoses non-working files:
    https://pastebin.com/8ai7rpr8

    Hope i'm clear enough, please ask if you need any other info to help me solve this


    Attached Files Thumbnail(s)
                       
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-08-22, 01:44 AM
    Hardware acceleration is not enabled.

    You can check all the codec boxes except AV1. Check Enable hardware encoding and Allow encoding in HEVC format. Also check both VPP tone mapping and tone mapping.

    Save.

    Try again. If it still fails, find the ffmpeg logs that are generated (in the same directory as the Jellyfin log) and share that via pastebin.
    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]
    erathia65
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:France
    #3
    2024-08-22, 09:09 PM
    here are the ffmpeg logs i think:
    https://pastebin.com/kQx5LdEW

    and the related jellyfin log
    https://pastebin.com/E23hnKFX
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-08-22, 10:06 PM (This post was last modified: 2024-08-22, 10:06 PM by TheDreadPirate.)
    I can't remember if I've ever seen this ffmpeg error before.

    Code:
    file:/smb_data/MEDIA/Series/The Walking Dead/Season 4/The Walking Dead - S04E07 - Dead Weight Bluray-1080p.mkv: Invalid argument

    Can you show me your docker settings for the jellyfin container?
    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]
    erathia65
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:France
    #5
    2024-08-23, 03:49 AM
    Sadly it's not a docker instance, it's helm chart for the integrated k3s inside the Truenas Scale system, but here's the config i have access to:

    if you need anything from inside the pod, i can access it too


    Attached Files Thumbnail(s)
                   
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-08-23, 02:43 PM
    Are you able to open a bash shell for the container and verify that you can access and read the file in the container? You could run "md5sum /path/to/video.mkv" to verify that it can actually read and access the file.
    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]
    erathia65
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:France
    #7
    2024-08-24, 04:16 AM
    it appears to be working alright

    maybe jellyfin doesnt like spaces?


    Attached Files Thumbnail(s)
       
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-08-24, 04:49 AM (This post was last modified: 2024-08-24, 04:50 AM by TheDreadPirate. Edited 1 time in total.)
    The quotes should address that.

    Code:
    /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/smb_data/MEDIA/Series/The Walking Dead/Season 4/The Walking Dead - S04E07 - Dead Weight Bluray-1080p.mkv" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_qsv -preset veryfast -look_ahead 0 -b:v 7060133 -maxrate 7060133 -bufsize 14120266 -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12:extra_hw_frames=24,hwmap=derive_device=qsv,format=qsv" -codec:a:0 libfdk_aac -ac 2 -ab 256000 -ar 48000 -af "volume=2" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "0c01023e8346cf9f3d36ae05fa07b162-1.mp4" -start_number 0 -hls_segment_filename "/cache/transcodes/0c01023e8346cf9f3d36ae05fa07b162%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/cache/transcodes/0c01023e8346cf9f3d36ae05fa07b162.m3u8"

    Code:
    -i file:"/smb_data/MEDIA/Series/The Walking Dead/Season 4/The Walking Dead - S04E07 - Dead Weight Bluray-1080p.mkv"

    On my system it looks the same. I also have spaces in folder names.

    Code:
    -i file:"/media/library/Anime Movies/Ponyo/Ponyo.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]
    erathia65
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:France
    #9
    2024-08-24, 11:16 AM
    welp since this is also a momentary error, sometimes it works (same error code, invalid arguments) sometimes it dont...

    As a roundabout solution,
    i will try to make a docker vm, any recommendations for a good compose?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-08-24, 04:10 PM
    The template we have in ours docs is a good starting point.

    https://jellyfin.org/docs/general/instal...er-compose
    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