aahmyu 9 Posted June 10, 2018 Share Posted June 10, 2018 This only what's being requested. What are the following lines being returned from the transcoder that show what it actually chooses to do? If not sure feel free to post the log file and I'll take a look for you. Feel free to PM as well. My cpu is an Intel i5 7200u so it does support this. I added the full transcode logs for you. logs.zip 1 Link to comment Share on other sites More sharing options...
Guest asrequested Posted June 10, 2018 Share Posted June 10, 2018 In post 48, you still have decoding enabled. Turn it off and post the log for that. Link to comment Share on other sites More sharing options...
aahmyu 9 Posted June 10, 2018 Share Posted June 10, 2018 In post 48, you still have decoding enabled. Turn it off and post the log for that. There you go. no decoding.zip Link to comment Share on other sites More sharing options...
cayars 4145 Posted June 10, 2018 Share Posted June 10, 2018 My cpu is an Intel i5 7200u so it does support this. I added the full transcode logs for you. No help since this isn't the server logs. Goto settings/server/help then click the download logs button which will create a zip file with the needed files. You'll want to do this right after trying to play a file. Before doing any of this make sure "Enable Plex Media Server debug logging" is enabled and "Enable Plex Media Server verbose logging" is NOT enabled. These settings will make sure the correct information is logged. Both of these options are listed under ADVANCED on the /settings/server/general tab. Carlo Link to comment Share on other sites More sharing options...
aahmyu 9 Posted June 10, 2018 Share Posted June 10, 2018 No help since this isn't the server logs. Goto settings/server/help then click the download logs button which will create a zip file with the needed files. You'll want to do this right after trying to play a file. Before doing any of this make sure "Enable Plex Media Server debug logging" is enabled and "Enable Plex Media Server verbose logging" is NOT enabled. These settings will make sure the correct information is logged. Both of these options are listed under ADVANCED on the /settings/server/general tab. Carlo I attached the relevant logs "got modified when i played the movie" Search for the Matrix. more logs.zip Link to comment Share on other sites More sharing options...
Guest asrequested Posted June 10, 2018 Share Posted June 10, 2018 There you go. Decoding is still enabled Stream mapping: Stream #0:0 -> #0:0 (hevc (hevc_qsv) -> h264 (h264_qsv)) Stream #0:1 -> #0:1 (copy) Link to comment Share on other sites More sharing options...
aahmyu 9 Posted June 10, 2018 Share Posted June 10, 2018 Decoding is still enabled Stream mapping: Stream #0:0 -> #0:0 (hevc (hevc_qsv) -> h264 (h264_qsv)) Stream #0:1 -> #0:1 (copy) Sorry. I think I forgot to click Save. Log.zip Link to comment Share on other sites More sharing options...
Guest asrequested Posted June 10, 2018 Share Posted June 10, 2018 I've seen this error, before. But I can't remember where, and if there was a solution. I feel like there was, but I just can't remember. Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_qsv)) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help [h264_qsv @ 0000015197a11480] Current pixel format is unsupported [h264_qsv @ 0000015197a11480] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters. Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height ffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers Conversion failed! Link to comment Share on other sites More sharing options...
Guest asrequested Posted June 10, 2018 Share Posted June 10, 2018 I was thinking about this, but I don't think it's related? https://emby.media/community/index.php?/topic/55876-quicksync-apollo-lake-windows-10-not-working-cpu-fallback/page-2?hl=hevc Link to comment Share on other sites More sharing options...
Luke 32933 Posted June 10, 2018 Share Posted June 10, 2018 Can you try it on the command line? Link to comment Share on other sites More sharing options...
aahmyu 9 Posted June 11, 2018 Share Posted June 11, 2018 Can you try it on the command line? Just a thought. Maybe the issue is happening because you added the command? Because in the other topic it you said it's been added to the beta server. Link to comment Share on other sites More sharing options...
laifisnau 0 Posted June 11, 2018 Share Posted June 11, 2018 Same problem here. Asrock j5005-itx motherboard (Intel Gemini Lake CPU onboard) and Windows 10 (emby server beta 3.4.1.14, lastest intel driver, lasted windows update). I've tried enabling/disabling hardware acceleration for decoding but don't work in any case. Stream mapping: Stream #0:0 -> #0:0 (hevc (hevc_qsv) -> h264 (h264_qsv)) Stream #0:3 -> #0:1 (dts (dca) -> mp3 (libmp3lame)) Press [q] to stop, [?] for help [hevc_qsv @ 0000025fbcfde240] Could not load the requested plugin '15dd936825ad475ea34e35f3f54217a6': specified object was not found (-9) [hevc_qsv @ 0000025fbcfde240] Error loading plugins [hevc_qsv @ 0000025fbcfde240] Error initializing an MFX session Error while decoding stream #0:0: Function not implemented frame= 0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A frame= 0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A frame= 0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A Too many packets buffered for output stream 0:1. [libmp3lame @ 0000025fbcf7cb40] 3 frames left in the queue on closing Conversion failed! Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264)) Stream #0:3 -> #0:1 (dts (dca) -> mp3 (libmp3lame)) Press [q] to stop, [?] for help [libx264 @ 000001a86f8df700] using SAR=1/1 [libx264 @ 000001a86f8df700] frame MB size (240x135) > level limit (8192) [libx264 @ 000001a86f8df700] DPB size (4 frames, 129600 mbs) > level limit (1 frames, 32768 mbs) [libx264 @ 000001a86f8df700] VBV bitrate (92124) > level limit (50000) [libx264 @ 000001a86f8df700] VBV buffer (184248) > level limit (62500) [libx264 @ 000001a86f8df700] MB rate (776823) > level limit (245760) [libx264 @ 000001a86f8df700] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 [libx264 @ 000001a86f8df700] profile Main, level 4.1 [libx264 @ 000001a86f8df700] 264 - core 155 r2901 7d0ff22 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x1:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=4 chroma_me=0 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=92124 vbv_bufsize=184248 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00 [segment @ 000001a86f93ea00] Opening 'C:\transcoding-temp\0f0db96131fa371e71930c44885133a80.ts' for writing Output #0, segment, to 'C:\transcoding-temp\0f0db96131fa371e71930c44885133a8%d.ts': Metadata: encoder : Lavf58.12.100 Stream #0:0: Video: h264 (libx264), yuv420p, 3840x2160 [SAR 1:1 DAR 16:9], q=-1--1, 23.98 fps, 90k tbn, 23.98 tbc Metadata: encoder : Lavc58.18.100 libx264 Side data: cpb: bitrate max/min/avg: 92124000/0/0 buffer size: 184248000 vbv_delay: -1 Stream #0:1: Audio: mp3 (libmp3lame), 48000 Hz, stereo, fltp (24 bit), 384 kb/s (default) Metadata: encoder : Lavc58.18.100 libmp3lame frame= 3 fps=0.0 q=0.0 size=N/A time=00:00:00.33 bitrate=N/A speed=0.67x frame= 11 fps= 11 q=0.0 size=N/A time=00:00:00.76 bitrate=N/A speed=0.761x frame= 18 fps= 12 q=0.0 size=N/A time=00:00:00.93 bitrate=N/A speed=0.606x frame= 26 fps= 13 q=28.0 size=N/A time=00:00:01.34 bitrate=N/A speed=0.652x frame= 33 fps= 13 q=28.0 size=N/A time=00:00:01.72 bitrate=N/A speed=0.674x frame= 42 fps= 14 q=28.0 size=N/A time=00:00:01.92 bitrate=N/A speed=0.624x frame= 50 fps= 14 q=28.0 size=N/A time=00:00:02.35 bitrate=N/A speed=0.637x frame= 57 fps= 14 q=28.0 size=N/A time=00:00:02.64 bitrate=N/A speed=0.63x frame= 62 fps= 13 q=28.0 size=N/A time=00:00:02.78 bitrate=N/A speed=0.593x frame= 70 fps= 13 q=28.0 size=N/A time=00:00:03.19 bitrate=N/A speed=0.61x frame= 78 fps= 14 q=28.0 size=N/A time=00:00:03.52 bitrate=N/A speed=0.615x frame= 83 fps= 13 q=28.0 size=N/A time=00:00:03.67 bitrate=N/A speed=0.583x frame= 89 fps= 13 q=28.0 size=N/A time=00:00:03.93 bitrate=N/A speed=0.567x frame= 94 fps= 13 q=28.0 size=N/A time=00:00:04.17 bitrate=N/A speed=0.56x frame= 97 fps= 12 q=28.0 size=N/A time=00:00:04.22 bitrate=N/A speed=0.529x frame= 102 fps= 12 q=28.0 size=N/A time=00:00:04.48 bitrate=N/A speed=0.52x frame= 107 fps= 11 q=28.0 size=N/A time=00:00:04.63 bitrate=N/A speed=0.486x frame= 113 fps= 11 q=28.0 size=N/A time=00:00:04.89 bitrate=N/A speed=0.486x frame= 113 fps= 11 q=28.0 size=N/A time=00:00:04.89 bitrate=N/A speed=0.459x [segment @ 000001a86f93ea00] Opening 'C:\transcoding-temp\0f0db96131fa371e71930c44885133a8.m3u8.tmp' for writing [segment @ 000001a86f93ea00] Opening 'C:\transcoding-temp\0f0db96131fa371e71930c44885133a81.ts' for writing frame= 119 fps= 10 q=28.0 size=N/A time=00:00:05.20 bitrate=N/A speed=0.456x frame= 124 fps= 10 q=28.0 size=N/A time=00:00:05.35 bitrate=N/A speed=0.446x frame= 127 fps= 10 q=28.0 size=N/A time=00:00:05.59 bitrate=N/A speed=0.446x frame= 131 fps= 10 q=28.0 size=N/A time=00:00:05.75 bitrate=N/A speed=0.438x frame= 134 fps=9.8 q=28.0 size=N/A time=00:00:05.88 bitrate=N/A speed=0.431x frame= 138 fps=9.7 q=28.0 size=N/A time=00:00:05.92 bitrate=N/A speed=0.416x frame= 141 fps=9.6 q=28.0 size=N/A time=00:00:06.19 bitrate=N/A speed=0.42x frame= 146 fps=9.4 q=28.0 size=N/A time=00:00:06.36 bitrate=N/A speed=0.412x frame= 148 fps=9.3 q=28.0 size=N/A time=00:00:06.57 bitrate=N/A speed=0.412x frame= 154 fps=9.4 q=28.0 size=N/A time=00:00:06.84 bitrate=N/A speed=0.416x frame= 157 fps=9.2 q=28.0 size=N/A time=00:00:06.84 bitrate=N/A speed=0.402x frame= 161 fps=9.2 q=28.0 size=N/A time=00:00:06.91 bitrate=N/A speed=0.394x [segment @ 000001a86f93ea00] Opening 'C:\transcoding-temp\0f0db96131fa371e71930c44885133a8.m3u8.tmp' for writing [segment @ 000001a86f93ea00] Opening 'C:\transcoding-temp\0f0db96131fa371e71930c44885133a82.ts' for writing frame= 165 fps=9.1 q=28.0 size=N/A time=00:00:07.17 bitrate=N/A speed=0.397x frame= 167 fps=9.0 q=28.0 size=N/A time=00:00:07.17 bitrate=N/A speed=0.386x frame= 170 fps=8.9 q=28.0 size=N/A time=00:00:07.34 bitrate=N/A speed=0.384x frame= 176 fps=8.8 q=28.0 size=N/A time=00:00:07.60 bitrate=N/A speed=0.382x frame= 181 fps=8.9 q=28.0 size=N/A time=00:00:07.77 bitrate=N/A speed=0.38x frame= 182 fps=8.7 q=28.0 size=N/A time=00:00:07.80 bitrate=N/A speed=0.372x frame= 188 fps=8.7 q=28.0 size=N/A time=00:00:08.18 bitrate=N/A speed=0.38x frame= 191 fps=8.6 q=28.0 size=N/A time=00:00:08.18 bitrate=N/A speed=0.37x frame= 198 fps=8.6 q=28.0 size=N/A time=00:00:08.59 bitrate=N/A speed=0.373x frame= 201 fps=8.5 q=28.0 size=N/A time=00:00:08.71 bitrate=N/A speed=0.37x frame= 205 fps=8.5 q=28.0 size=N/A time=00:00:08.76 bitrate=N/A speed=0.364x frame= 210 fps=8.5 q=28.0 size=N/A time=00:00:08.92 bitrate=N/A speed=0.362x frame= 214 fps=8.4 q=28.0 size=N/A time=00:00:09.19 bitrate=N/A speed=0.362x frame= 220 fps=8.5 q=28.0 size=N/A time=00:00:09.33 bitrate=N/A speed=0.36x frame= 223 fps=8.4 q=28.0 size=N/A time=00:00:09.59 bitrate=N/A speed=0.361x frame= 229 fps=8.4 q=28.0 size=N/A time=00:00:09.79 bitrate=N/A speed=0.359x frame= 230 fps=8.3 q=28.0 size=N/A time=00:00:09.84 bitrate=N/A speed=0.355x frame= 236 fps=8.3 q=28.0 size=N/A time=00:00:10.20 bitrate=N/A speed=0.359x frame= 239 fps=8.3 q=28.0 size=N/A time=00:00:10.29 bitrate=N/A speed=0.356x frame= 243 fps=8.2 q=28.0 size=N/A time=00:00:10.34 bitrate=N/A speed=0.35x frame= 249 fps=8.3 q=28.0 size=N/A time=00:00:10.60 bitrate=N/A speed=0.352x frame= 252 fps=8.2 q=28.0 size=N/A time=00:00:10.77 bitrate=N/A speed=0.352x frame= 257 fps=8.2 q=28.0 size=N/A time=00:00:10.94 bitrate=N/A speed=0.349x [segment @ 000001a86f93ea00] Opening 'C:\transcoding-temp\0f0db96131fa371e71930c44885133a8.m3u8.tmp' for writing [segment @ 000001a86f93ea00] Opening 'C:\transcoding-temp\0f0db96131fa371e71930c44885133a83.ts' for writing frame= 261 fps=8.2 q=28.0 size=N/A time=00:00:11.18 bitrate=N/A speed=0.351x frame= 265 fps=8.2 q=28.0 size=N/A time=00:00:11.35 bitrate=N/A speed=0.35x frame= 266 fps=8.1 q=28.0 size=N/A time=00:00:11.35 bitrate=N/A speed=0.344x frame= 272 fps=8.1 q=28.0 size=N/A time=00:00:11.61 bitrate=N/A speed=0.344x frame= 275 fps=8.0 q=28.0 size=N/A time=00:00:11.78 bitrate=N/A speed=0.344x frame= 278 fps=8.0 q=28.0 size=N/A time=00:00:11.78 bitrate=N/A speed=0.338x frame= 284 fps=8.0 q=28.0 size=N/A time=00:00:12.19 bitrate=N/A speed=0.344x frame= 287 fps=8.0 q=28.0 size=N/A time=00:00:12.19 bitrate=N/A speed=0.339x frame= 291 fps=8.0 q=28.0 size=N/A time=00:00:12.36 bitrate=N/A speed=0.339x frame= 294 fps=7.9 q=28.0 size=N/A time=00:00:12.59 bitrate=N/A speed=0.34x frame= 297 fps=7.9 q=28.0 size=N/A time=00:00:12.62 bitrate=N/A speed=0.334x frame= 302 fps=7.9 q=28.0 size=N/A time=00:00:12.79 bitrate=N/A speed=0.334x frame= 306 fps=7.9 q=28.0 size=N/A time=00:00:12.93 bitrate=N/A speed=0.333x [segment @ 000001a86f93ea00] Opening 'C:\transcoding-temp\0f0db96131fa371e71930c44885133a8.m3u8.tmp' for writing [segment @ 000001a86f93ea00] Opening 'C:\transcoding-temp\0f0db96131fa371e71930c44885133a84.ts' for writing frame= 311 fps=7.9 q=28.0 size=N/A time=00:00:13.19 bitrate=N/A speed=0.334x frame= 316 fps=7.9 q=28.0 size=N/A time=00:00:13.36 bitrate=N/A speed=0.333x frame= 321 fps=7.9 q=28.0 size=N/A time=00:00:13.63 bitrate=N/A speed=0.334x frame= 328 fps=7.9 q=28.0 size=N/A time=00:00:13.94 bitrate=N/A speed=0.336x frame= 330 fps=7.8 q=28.0 size=N/A time=00:00:13.94 bitrate=N/A speed=0.33x frame= 335 fps=7.8 q=28.0 size=N/A time=00:00:14.18 bitrate=N/A speed=0.331x frame= 340 fps=7.8 q=28.0 size=N/A time=00:00:14.35 bitrate=N/A speed=0.33x frame= 345 fps=7.8 q=28.0 size=N/A time=00:00:14.61 bitrate=N/A speed=0.332x frame= 349 fps=7.8 q=28.0 size=N/A time=00:00:14.78 bitrate=N/A speed=0.331x frame= 354 fps=7.8 q=28.0 size=N/A time=00:00:14.92 bitrate=N/A speed=0.33x frame= 359 fps=7.8 q=28.0 size=N/A time=00:00:15.19 bitrate=N/A speed=0.331x frame= 364 fps=7.8 q=28.0 size=N/A time=00:00:15.36 bitrate=N/A speed=0.329x frame= 367 fps=7.7 q=28.0 size=N/A time=00:00:15.60 bitrate=N/A speed=0.329x frame= 372 fps=7.7 q=28.0 size=N/A time=00:00:15.76 bitrate=N/A speed=0.328x frame= 376 fps=7.7 q=28.0 size=N/A time=00:00:15.93 bitrate=N/A speed=0.328x frame= 380 fps=7.7 q=28.0 size=N/A time=00:00:16.19 bitrate=N/A speed=0.33x frame= 383 fps=7.7 q=28.0 size=N/A time=00:00:16.19 bitrate=N/A speed=0.326x frame= 390 fps=7.7 q=28.0 size=N/A time=00:00:16.60 bitrate=N/A speed=0.329x frame= 396 fps=7.7 q=28.0 size=N/A time=00:00:16.77 bitrate=N/A speed=0.328x frame= 398 fps=7.7 q=28.0 size=N/A time=00:00:16.80 bitrate=N/A speed=0.324x [segment @ 000001a86f93ea00] Opening 'C:\transcoding-temp\0f0db96131fa371e71930c44885133a8.m3u8.tmp' for writing [segment @ 000001a86f93ea00] Opening 'C:\transcoding-temp\0f0db96131fa371e71930c44885133a85.ts' for writing frame= 405 fps=7.7 q=28.0 size=N/A time=00:00:17.20 bitrate=N/A speed=0.327x frame= 409 fps=7.7 q=28.0 size=N/A time=00:00:17.35 bitrate=N/A speed=0.327x frame= 414 fps=7.7 q=28.0 size=N/A time=00:00:17.61 bitrate=N/A speed=0.327x frame= 419 fps=7.7 q=28.0 size=N/A time=00:00:17.78 bitrate=N/A speed=0.327x frame= 422 fps=7.7 q=28.0 size=N/A time=00:00:17.78 bitrate=N/A speed=0.323x frame= 426 fps=7.7 q=28.0 size=N/A time=00:00:17.95 bitrate=N/A speed=0.323x frame= 431 fps=7.6 q=28.0 size=N/A time=00:00:18.19 bitrate=N/A speed=0.323x frame= 435 fps=7.6 q=28.0 size=N/A time=00:00:18.36 bitrate=N/A speed=0.323x frame= 439 fps=7.6 q=28.0 size=N/A time=00:00:18.62 bitrate=N/A speed=0.323x frame= 443 fps=7.6 q=28.0 size=N/A time=00:00:18.79 bitrate=N/A speed=0.323x frame= 446 fps=7.6 q=28.0 size=N/A time=00:00:18.79 bitrate=N/A speed=0.319x [segment @ 000001a86f93ea00] Opening 'C:\transcoding-temp\0f0db96131fa371e71930c44885133a8.m3u8.tmp' for writing [segment @ 000001a86f93ea00] Opening 'C:\transcoding-temp\0f0db96131fa371e71930c44885133a86.ts' for writing frame= 453 fps=7.6 q=28.0 size=N/A time=00:00:19.19 bitrate=N/A speed=0.322x frame= 455 fps=7.6 q=28.0 size=N/A time=00:00:19.22 bitrate=N/A speed=0.32x frame= 460 fps=7.6 q=28.0 size=N/A time=00:00:19.36 bitrate=N/A speed=0.319x frame= 465 fps=7.5 q=28.0 size=N/A time=00:00:19.63 bitrate=N/A speed=0.319x frame= 470 fps=7.6 q=28.0 size=N/A time=00:00:19.80 bitrate=N/A speed=0.319x frame= 474 fps=7.5 q=28.0 size=N/A time=00:00:19.94 bitrate=N/A speed=0.317x frame= 479 fps=7.6 q=28.0 size=N/A time=00:00:20.18 bitrate=N/A speed=0.318x [segment @ 000001a86f93ea00] Opening 'C:\transcoding-temp\0f0db96131fa371e71930c44885133a8.m3u8.tmp' for writing frame= 481 fps=7.4 q=-1.0 Lsize=N/A time=00:00:20.44 bitrate=N/A speed=0.316x video:18489kB audio:800kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown [libx264 @ 000001a86f8df700] frame I:11 Avg QP:15.32 size:217992 [libx264 @ 000001a86f8df700] frame P:120 Avg QP:18.67 size: 75602 [libx264 @ 000001a86f8df700] frame B:350 Avg QP:21.25 size: 21320 [libx264 @ 000001a86f8df700] consecutive B-frames: 2.3% 0.0% 6.2% 91.5% [libx264 @ 000001a86f8df700] mb I I16..4: 58.7% 0.0% 41.3% [libx264 @ 000001a86f8df700] mb P I16..4: 18.4% 0.0% 0.0% P16..4: 36.1% 0.0% 0.0% 0.0% 0.0% skip:45.6% [libx264 @ 000001a86f8df700] mb B I16..4: 3.9% 0.0% 0.0% B16..8: 18.5% 0.0% 0.0% direct: 5.6% skip:72.0% L0:39.6% L1:53.6% BI: 6.8% [libx264 @ 000001a86f8df700] coded y,uvDC,uvAC intra: 25.7% 17.3% 0.9% inter: 6.0% 3.1% 0.0% [libx264 @ 000001a86f8df700] i16 v,h,dc,p: 37% 21% 27% 15% [libx264 @ 000001a86f8df700] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 22% 13% 9% 9% 7% 7% 5% 6% [libx264 @ 000001a86f8df700] i8c dc,h,v,p: 62% 17% 16% 4% [libx264 @ 000001a86f8df700] Weighted P-Frames: Y:0.0% UV:0.0% [libx264 @ 000001a86f8df700] kb/s:7549.63 Link to comment Share on other sites More sharing options...
Luke 32933 Posted June 11, 2018 Share Posted June 11, 2018 No it was never added. There was some problem it caused so I reverted it. Link to comment Share on other sites More sharing options...
Waldonnis 148 Posted June 12, 2018 Share Posted June 12, 2018 I've seen this error, before. But I can't remember where, and if there was a solution. I feel like there was, but I just can't remember. Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_qsv)) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help [h264_qsv @ 0000015197a11480] Current pixel format is unsupported [h264_qsv @ 0000015197a11480] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters. Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height ffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers Conversion failed! If it's throwing an error about the current pixel format being unsupported, it's usually because it thinks the hardware/driver can't support the pixel format selected by get_format() with that encoder choice. In the case of yuv420p10le videos, it's probably choosing p010le...and I don't think the h.264 encoder can deal with 10bit input/output like that (ffmpeg seems to think it's okay, but MFX is not happy). You can specify a pix_fmt that (at least it thinks) is supported by the hardware and it should work (you can try nv12 as a test). Even if it's not a 10bit source, pix_fmt autoselection has gone wrong in the past, so this may just be another case of that and you'd still have to specify one. The only way to tell what's going on there is to run ffmpeg manually and increasing the loglevel (debug should be fine). Curious that Plex is using DXVA2. Last I saw, ffmpeg still relied on D3D9 to provide the DXVA2 context and, in the words of Microsoft themselves: Direct3D 9 is not supported in the context of a Windows service. Direct3D 9 is only supported when executed on an interactive desktop. I'm wondering if they're forcing a d3d11 context instead (-hwaccel d3d11va), which doesn't have the same limitation....but it doesn't make sense that it would be logged as dxva2. I guess they could be running the server within a context that includes interactive desktop access. Link to comment Share on other sites More sharing options...
Guest asrequested Posted June 12, 2018 Share Posted June 12, 2018 I was wondering if it was a driver, issue. Not interacting with ffmpeg, correctly? Link to comment Share on other sites More sharing options...
Waldonnis 148 Posted June 12, 2018 Share Posted June 12, 2018 I was wondering if it was a driver, issue. Not interacting with ffmpeg, correctly? It's always possible, but I'm pretty sure the API has been stable for a long while...a bug in ffmpeg *or* the driver itself would be far more likely. ffmpeg implements their hardware en/decoders very generically, meaning they don't query hardware to determine capabilities. Rather, they rely on the driver/libMFX to do the right thing (either work or error out), so it may be that it's trying the logically-appropriate pixel format that *could* work on some hardware and just don't have the smarts to "fall back" to another pix_fmt when libMFX chokes on what it was given. Side note: another QSV maintainer from Intel (Zhong Li) was recently added to the list in the ffmpeg repo, although he's been involved for months now. Link to comment Share on other sites More sharing options...
Guest asrequested Posted June 12, 2018 Share Posted June 12, 2018 Oh, nice! Maybe there'll be some good improvements, in the not too distant future. Link to comment Share on other sites More sharing options...
KarlDag 25 Posted June 12, 2018 Share Posted June 12, 2018 I've yet to find a single HEVC sample that does work with Quick Sync transcoding. If anyone can find a HEVC sample that works - please share! I would like to check the encoding settings. @@Luke - it would be awesome if we could get our hands on a HEVC sample that does work, just for trial and error. Could you share a sample that works with your setup? Intel's HEVC support varies per generation, so you have to compared to similar cpu/GPU... Link to comment Share on other sites More sharing options...
Devdroid 20 Posted June 12, 2018 Author Share Posted June 12, 2018 (edited) Intel's HEVC support varies per generation, so you have to compared to similar cpu/GPU... Yes, but currently it doesn't work independent of what GPU you have. I don't think that's an issue though if you have HD5xx or HD6xx - it should run on both. It does seem to be working in the Plex beta for @@aahmyu, and it does work with FFMPEG for me (I've only tried the daily build so far though, not latest stable). Edited June 12, 2018 by Devdroid Link to comment Share on other sites More sharing options...
Luke 32933 Posted June 12, 2018 Share Posted June 12, 2018 What command line are you testing with? Link to comment Share on other sites More sharing options...
aahmyu 9 Posted June 17, 2018 Share Posted June 17, 2018 What command line are you testing with? Morning. Any update on this. Will we see the fix in next beta? I'd happily test if you give a compiled "pre-beta" version. Link to comment Share on other sites More sharing options...
aahmyu 9 Posted June 24, 2018 Share Posted June 24, 2018 Hello. Will this ever be fixed? I keep checking all the beta versions and the issue is still there. Link to comment Share on other sites More sharing options...
Luke 32933 Posted June 24, 2018 Share Posted June 24, 2018 What command line were you testing it with externally? Link to comment Share on other sites More sharing options...
aahmyu 9 Posted June 24, 2018 Share Posted June 24, 2018 (edited) What command line were you testing it with externally? I never tested with command lines. I only tested with Plex and posted all the logs to help you guys debug the issue. If you give me a command example I can do some testing for you. I really want this to work. Edit: just tried the benchmark command from this page https://trac.ffmpeg.org/wiki/HWAccelIntro#DXVA2 ffmpeg -hwaccel dxva2 -threads 1 -i INPUT -f null - -benchmark And it works fine. So maybe you need to enable dxva2 or something? because maybe the qsv is broken. I think plex is using it as well. Edited June 24, 2018 by aahmyu Link to comment Share on other sites More sharing options...
Waldonnis 148 Posted June 24, 2018 Share Posted June 24, 2018 I never tested with command lines. I only tested with Plex and posted all the logs to help you guys debug the issue. If you give me a command example I can do some testing for you. I really want this to work. Edit: just tried the benchmark command from this page https://trac.ffmpeg.org/wiki/HWAccelIntro#DXVA2 ffmpeg -hwaccel dxva2 -threads 1 -i INPUT -f null - -benchmark And it works fine. So maybe you need to enable dxva2 or something? because maybe the qsv is broken. I think plex is using it as well. Read my post about dxva2 above. I know Luke tried using the dxva2 hwaccel before (at my urging, actually) and it didn't work out well for a few reasons that neither one of us foresaw. Because Plex is implemented differently, it's possible that they could use dxva2 and Emby couldn't, even though Plex's transcoder is basically a stripped-down/modified ffmpeg. Basically, running ffmpeg from a command prompt is different than running it in a service context (the latter being more restricted and not actually "attached" to an interactive desktop). There are other wrinkles in the case of ffmpeg's QuickSync implementation as well that I won't get into, but do cause it to be a bit more temperamental than other hardware wrappers. IMO, hwaccels should be revisited at some point since there has been more work done on them in ffmpeg since the last test...and I think hardware de/encoding is going to be practically required by people without ridiculously powerful CPUs now that HEVC and 2160p sources are becoming more prevalent. I'm not sure, however, if dxva2 is the best hwaccel to use at this point because of the limitation mentioned above (among other things). I do wonder why Plex chose it, but they do a lot of things that puzzle me... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now