2024-08-05, 10:07 PM
I found this https://www.reddit.com/r/jellyfin/commen..._is_being/
so as I run command from there
I got this result
And I saw some stats in radeontop. I don't quite understand that the command does, but it looks like it forces to use hardware accelaration as I see changes in GPU usage https://imgur.com/a/gP8xeQc
So it looks like pushes it transcoding to the specific format, but in my initial case there is no need.
right? I guess it will be the same for Intel iGPU? Just don't like fan noise with CPU usage
so as I run command from there
Code:
/usr/lib/jellyfin-ffmpeg/ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -vaapi_device /dev/dri/renderD128 -i file:"/data/movies/The.Acolyte.S01E03.Destiny.2160p.DSNP.WEB-DL.DDP5.1.HDR.H.265-NTb.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_vaapi -b:v 3616002 -maxrate 3616002 -bufsize 7232004 -profile:v high -level 41 -force_key_frames:0 "expr:gte(t,0+n_forced*3)" -vf "format=nv12|vaapi,hwupload,scale_vaapi=w=1280:h=720" -copyts -vsync -1 -codec:a:0 aac -strict experimental -ac 2 -ab 384000 -af "volume=2" -f hls -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -hls_time 3 -individual_header_trailer 0 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/config/data/transcoding-temp/transcodes/transcodes/transcodes/transcodes/transcodes/transcodes/transcodes/7f8cdaaa269b54748dbe25bfcbbbb8e8%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/data/transcoding-temp/transcodes/transcodes/transcodes/transcodes/transcodes/transcodes/transcodes/7f8cdaaa269b54748dbe25bfcbbbb8e8.m3u8"
I got this result
Code:
ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description.
If they do, bad things may happen!
-vsync is deprecated. Use -fps_mode
Passing a number to -vsync is deprecated, use a string argument as described in the manual.
Input #0, matroska,webm, from 'file:/data/movies/The.Acolyte.S01E03.Destiny.2160p.DSNP.WEB-DL.DDP5.1.HDR.H.265-NTb.mkv':
Metadata:
encoder : libebml v1.4.5 + libmatroska v1.7.1
Duration: 00:42:12.21, start: 0.000000, bitrate: 15685 kb/s
Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 24 fps, 24 tbr, 1k tbn (default)
Metadata:
BPS : 14912974
DURATION : 00:42:12.209000000
NUMBER_OF_FRAMES: 60773
NUMBER_OF_BYTES : 4720346073
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(eng): Audio: eac3 (Dolby Digital Plus + Dolby Atmos), 48000 Hz, 5.1(side), fltp, 768 kb/s (default) (original)
Metadata:
BPS : 768000
DURATION : 00:42:12.192000000
NUMBER_OF_FRAMES: 79131
NUMBER_OF_BYTES : 243090432
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:2(eng): Subtitle: subrip
Metadata:
BPS : 38
DURATION : 00:38:00.458000000
NUMBER_OF_FRAMES: 411
NUMBER_OF_BYTES : 11095
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:3(eng): Subtitle: subrip (hearing impaired)
Metadata:
title : SDH
BPS : 49
DURATION : 00:38:14.375000000
NUMBER_OF_FRAMES: 516
NUMBER_OF_BYTES : 14138
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:4(cze): Subtitle: subrip
Metadata:
BPS : 34
DURATION : 00:41:57.583000000
NUMBER_OF_FRAMES: 411
NUMBER_OF_BYTES : 10751
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:5(dan): Subtitle: subrip
Metadata:
BPS : 34
DURATION : 00:41:56.833000000
NUMBER_OF_FRAMES: 310
NUMBER_OF_BYTES : 10777
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:6(ger): Subtitle: subrip
Metadata:
BPS : 37
DURATION : 00:41:57.583000000
NUMBER_OF_FRAMES: 403
NUMBER_OF_BYTES : 11922
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:7(gre): Subtitle: subrip
Metadata:
BPS : 64
DURATION : 00:41:57.583000000
NUMBER_OF_FRAMES: 412
NUMBER_OF_BYTES : 20209
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:8(spa): Subtitle: subrip
Metadata:
title : Spanish (Latin America)
BPS : 34
DURATION : 00:41:57.583000000
NUMBER_OF_FRAMES: 410
NUMBER_OF_BYTES : 10955
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:9(spa): Subtitle: subrip
Metadata:
title : Spanish (Spain)
BPS : 35
DURATION : 00:41:57.583000000
NUMBER_OF_FRAMES: 410
NUMBER_OF_BYTES : 11156
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:10(fin): Subtitle: subrip
Metadata:
BPS : 36
DURATION : 00:41:57.583000000
NUMBER_OF_FRAMES: 410
NUMBER_OF_BYTES : 11442
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:11(fre): Subtitle: subrip
Metadata:
BPS : 36
DURATION : 00:41:57.583000000
NUMBER_OF_FRAMES: 406
NUMBER_OF_BYTES : 11478
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:12(hun): Subtitle: subrip
Metadata:
BPS : 36
DURATION : 00:41:57.583000000
NUMBER_OF_FRAMES: 411
NUMBER_OF_BYTES : 11594
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:13(ita): Subtitle: subrip
Metadata:
BPS : 35
DURATION : 00:41:57.583000000
NUMBER_OF_FRAMES: 409
NUMBER_OF_BYTES : 11239
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:14(jpn): Subtitle: subrip
Metadata:
BPS : 34
DURATION : 00:41:57.500000000
NUMBER_OF_FRAMES: 417
NUMBER_OF_BYTES : 10824
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:15(kor): Subtitle: subrip
Metadata:
BPS : 40
DURATION : 00:41:57.583000000
NUMBER_OF_FRAMES: 407
NUMBER_OF_BYTES : 12756
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:16(dut): Subtitle: subrip
Metadata:
BPS : 35
DURATION : 00:41:57.583000000
NUMBER_OF_FRAMES: 390
NUMBER_OF_BYTES : 11294
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:17(nor): Subtitle: subrip
Metadata:
BPS : 33
DURATION : 00:41:57.583000000
NUMBER_OF_FRAMES: 409
NUMBER_OF_BYTES : 10470
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:18(pol): Subtitle: subrip
Metadata:
BPS : 37
DURATION : 00:41:57.583000000
NUMBER_OF_FRAMES: 410
NUMBER_OF_BYTES : 11853
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:19(por): Subtitle: subrip
Metadata:
title : Portuguese (Brazil)
BPS : 37
DURATION : 00:41:57.583000000
NUMBER_OF_FRAMES: 411
NUMBER_OF_BYTES : 11796
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:20(por): Subtitle: subrip
Metadata:
title : Portuguese (Portugal)
BPS : 35
DURATION : 00:41:57.583000000
NUMBER_OF_FRAMES: 412
NUMBER_OF_BYTES : 11154
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:21(rum): Subtitle: subrip
Metadata:
BPS : 36
DURATION : 00:41:57.583000000
NUMBER_OF_FRAMES: 410
NUMBER_OF_BYTES : 11330
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:22(slo): Subtitle: subrip
Metadata:
BPS : 34
DURATION : 00:41:57.583000000
NUMBER_OF_FRAMES: 412
NUMBER_OF_BYTES : 10768
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:23(swe): Subtitle: subrip
Metadata:
BPS : 34
DURATION : 00:41:56.792000000
NUMBER_OF_FRAMES: 330
NUMBER_OF_BYTES : 10799
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:24(tur): Subtitle: subrip
Metadata:
BPS : 36
DURATION : 00:41:57.583000000
NUMBER_OF_FRAMES: 412
NUMBER_OF_BYTES : 11506
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:25(chi): Subtitle: subrip
Metadata:
title : Chinese (Hong Kong SAR China)
BPS : 30
DURATION : 00:41:57.583000000
NUMBER_OF_FRAMES: 412
NUMBER_OF_BYTES : 9643
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:26(chi): Subtitle: subrip
Metadata:
title : Chinese (Traditional)
BPS : 29
DURATION : 00:41:57.583000000
NUMBER_OF_FRAMES: 413
NUMBER_OF_BYTES : 9348
_STATISTICS_WRITING_APP: mkvmerge v84.0 ('Sleeper') 64-bit
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_vaapi))
Stream #0:1 -> #0:1 (eac3 (native) -> aac (native))
Press [q] to stop, [?] for help
[h264_vaapi @ 0x5614800e8f40] No usable encoding profile found.
[vost#0:0/h264_vaapi @ 0x5614800e8c40] Error initializing output stream: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[aac @ 0x5614800eafc0] Qavg: 64051.414
[aac @ 0x5614800eafc0] 2 frames left in the queue on closing
Conversion failed!
And I saw some stats in radeontop. I don't quite understand that the command does, but it looks like it forces to use hardware accelaration as I see changes in GPU usage https://imgur.com/a/gP8xeQc
So it looks like pushes it transcoding to the specific format, but in my initial case there is no need.
right? I guess it will be the same for Intel iGPU? Just don't like fan noise with CPU usage
(2024-08-05, 08:23 PM)TheDreadPirate Wrote: There is no VIDEO transcoding so there will be no GPU usage. This is normal. There is only GPU usage when VIDEO is being transcoded. In this log only the audio is being transcoded.
(2024-08-05, 09:52 PM)yannn Wrote: I guess I got you. There was no need to transcode it HW so it wasn't. Thanks. Will try to find a file to check. Maybe you have any suggestions for a test sample?