Odroid H4Ultra - hardware transcoding - 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: Odroid H4Ultra - hardware transcoding (/t-odroid-h4ultra-hardware-transcoding) |
Odroid H4Ultra - hardware transcoding - erathia65 - 2024-08-22 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: Thing is there is no obvious difference between the two files: here are my transcoding settings: 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) 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 RE: Odroid H4Ultra - hardware transcoding - TheDreadPirate - 2024-08-22 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. RE: Odroid H4Ultra - hardware transcoding - erathia65 - 2024-08-22 here are the ffmpeg logs i think: https://pastebin.com/kQx5LdEW and the related jellyfin log https://pastebin.com/E23hnKFX RE: Odroid H4Ultra - hardware transcoding - TheDreadPirate - 2024-08-22 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? RE: Odroid H4Ultra - hardware transcoding - erathia65 - 2024-08-23 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 RE: Odroid H4Ultra - hardware transcoding - TheDreadPirate - 2024-08-23 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. RE: Odroid H4Ultra - hardware transcoding - erathia65 - 2024-08-24 it appears to be working alright maybe jellyfin doesnt like spaces? RE: Odroid H4Ultra - hardware transcoding - TheDreadPirate - 2024-08-24 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" RE: Odroid H4Ultra - hardware transcoding - erathia65 - 2024-08-24 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? RE: Odroid H4Ultra - hardware transcoding - TheDreadPirate - 2024-08-24 The template we have in ours docs is a good starting point. https://jellyfin.org/docs/general/installation/container/#using-docker-compose |