2023-09-16, 09:36 PM
(This post was last modified: 2023-09-16, 09:39 PM by TheDreadPirate. Edited 2 times in total.)
How do I use ffmpeg to encode with HEVC Main10/10-bit? This parameter is supposed to work, but I know that placement within the command is important and I don't know where that is.
Code:
-profile:v main10
Code:
/usr/lib/jellyfin-ffmpeg/ffmpeg \
-init_hw_device vaapi=va:,driver=iHD,kernel_driver=i915 \
-init_hw_device qsv=qs@va \
-filter_hw_device qs \
-hwaccel qsv \
-hwaccel_output_format qsv \
-i "$inputFile" \
-map 0:v \
-map 0:a \
-map 0:s \
-map_chapters 0 \
-c:v hevc_qsv \
-preset slower \
$hdrProfile \ <------ profile:v main10 goes here if I run my script and specify it is HDR.
-pix_fmt nv12 \
-c:a copy \
-c:s copy \
-ss $startTime \
-to $endTime \
-global_quality:v $quality \
-vf "$filters" \
"$outputFile"
Jellyfin 10.9.11
Ubuntu 24.04 LTS (bare metal)
Intel i3 12100 on Asus Prime H610M-E D4 mATX
32GB DDR4-3600
Intel Arc A380
OS drive - SK Hynix P41 1TB
Storage
WD Green 3TB (Samba shares)
WD Red 3TB CMR (WIP Media, Test libraries)
3x WD Red Pro 6TB CMR in RAIDZ1 (JF Library)
Fractal Meshify 2
Corsair CX430
Ubuntu 24.04 LTS (bare metal)
Intel i3 12100 on Asus Prime H610M-E D4 mATX
32GB DDR4-3600
Intel Arc A380
OS drive - SK Hynix P41 1TB
Storage
WD Green 3TB (Samba shares)
WD Red 3TB CMR (WIP Media, Test libraries)
3x WD Red Pro 6TB CMR in RAIDZ1 (JF Library)
Fractal Meshify 2
Corsair CX430