Advertisement
enctac

QSVEnc 3.04で--avs/--y4mがクラッシュ

Jun 2nd, 2018
402
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.43 KB | None | 0 0
  1. ■問題内容
  2.  ・QSVEncC 3.04で、--y4m および --avs でのエンコードがクラッシュする。
  3.   (--y4mがダメなのでAviUtlからの出力(AuoLinkを除く)もエラーになる)
  4.  ・--avqsv および --avsw は問題ない。(h264.mkvで確認)
  5.  ・QSVEncC 3.03では問題ない。
  6.  
  7. ■環境
  8.  OS等は下記のQSVEncのログ参照
  9.  Avisynth+ r2508
  10.  
  11. ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
  12.  ソースのavs
  13. ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
  14. ColorBars(1280,720,pixel_type="RGB32").Trim(0,100)
  15. ConvertToYV12(matrix="Rec709")
  16.  
  17. ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
  18.  --avsエンコード時のQSVEncCのコマンドとログ
  19. ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
  20.  
  21. QSVEncC64.exe --log-level debug --avs -i "D:\ColorBars720p_rec709.avs" --codec h264 --la-icq 36 -o "D:\ColorBars720p_rec709-avs-LAICQ36.mp4"
  22.  
  23. subscribed com.intel.media.eu_usage metric
  24. subscribed com.intel.media.mfx_usage metric
  25. Performace Monitor: none
  26. Performace Plot : none
  27. Input: avs reader selected.
  28. avs: opened avs file: "D:\ColorBars720p_rec709.avs"
  29. avs: found video from avs file, pixel type 0xa0000008.
  30. avs: Avisynth+ 2.60(yv12)->nv12 [AVX2], 1280x720, 30000/1001 fps
  31. Input: reader initialization successful.
  32. CheckParam: 1280x720p, 0:0, 30000/1001, 101 frames
  33. InitSession: Start initilaizing... memType: d3d11+d3d9
  34. InitSession: d3d11 memory mode not required, switching to d3d9 memory mode.
  35. InitSession: initialized using d3d9 memory.
  36. InitSession: mfx lib version: 1.20
  37. CreateAllocator: MemType: d3d9
  38. HWDevice: d3d9 - initializing...
  39. D3D9Device: Init...
  40. D3D9Device: Direct3DCreate9Ex Success.
  41. D3D9Device: Set Init() m_D3DPresentPrm.BackBuffer.
  42. D3D9Device: CreateDeviceEx Success.
  43. D3D9Device: DXVA2CreateDirect3DDeviceManager9 Success.
  44. D3D9Device: ResetDevice Success.
  45. HWDevice: initializing success.
  46. CreateAllocator: CreateHWDevice success.
  47. CreateAllocator: HW device GetHandle success.
  48. CreateAllocator: set HW device handle to encode session.
  49. CreateAllocator: Create d3d9 allocator.
  50. CreateAllocator: d3d9...
  51. CreateAllocator: frame allocator set to session.
  52. CreateAllocator: frame allocator initialized.
  53. Detected avaliable features for hw API v1.20, H.264/AVC, LA-ICQ (Intelligent Const. Quality with Lookahead)
  54. RC mode o
  55. 10bit depth x
  56. Fixed Func x
  57. Interlace o
  58. VUI info o
  59. Trellis o
  60. Adaptive_I x
  61. Adaptive_B x
  62. WeightP o
  63. WeightB o
  64. FadeDetect x
  65. B_Pyramid o
  66. +ManyBframes x
  67. PyramQPOffset x
  68. MBBRC x
  69. LA Quality o
  70. QP Min/Max o
  71. IntraRefresh x
  72. No Deblock x
  73. No GPB x
  74. Windowed BRC x
  75. PerMBQP(CQP) x
  76. DirectBiasAdj x
  77. MVCostScaling x
  78. SAO x
  79. Max CTU Size x
  80. TSkip x
  81.  
  82.  
  83. InitMfxEncParams: Output FPS 30000/1001
  84. InitMfxEncParams: Auto GOP Length: 300
  85. InitMfxEncParams: set ext param CDO2.
  86. InitMfxEncParams: set ext param CDO3.
  87. InitMfxEncParams: set ext param CDOP.
  88. InitMfxEncParams: enc input frame 1280x720 (0,0,1280,720)
  89. InitMfxEncParams: enc input color format nv12, chroma 1, bitdepth 0, shift 0
  90. InitMfxEncParams: set all enc params.
  91. InitMfxVppParams: vpp input frame 1280x720 (0,0,1280,720)
  92. InitMfxVppParams: vpp input color format nv12, chroma 1, bitdepth 0, shift 0
  93. InitMfxVppParams: vpp output frame 1280x720 (0,0,1280,720)
  94. InitMfxVppParams: vpp output color format nv12, chroma 1, bitdepth 0, shift 0
  95. InitMfxVppParams: set all vpp params.
  96. Output: Using avformat writer.
  97. avout: output filename: "D:\ColorBars720p_rec709-avs-LAICQ36.mp4"
  98. avout: allocated internal buffer 8 MB.
  99. avout: set external output buffer 8 MB.
  100. avout: output video stream fps: 30000/1001
  101. avout: opened video avcodec
  102. avout: output video stream timebase: 1001/30000
  103. avout: bDtsUnavailable: off
  104. avout: Initialized video output.
  105. avout: avwriter: h264 => mp4
  106. avout: starting output thread...
  107. Output: Initialized avformat writer.
  108. pipeline element count: 1
  109. async depth automatically set to 4
  110. timeBeginPeriod(1)
  111. ResetMFXComponents: Start...
  112. ResetMFXComponents: Enc closed.
  113. QSVAllocator: FrameFree...
  114. QSVAllocator: FrameFree external success.
  115. QSVAllocator: FrameFree internal success.
  116. QSVAllocator: FrameFree...
  117. QSVAllocator: FrameFree external success.
  118. QSVAllocator: FrameFree internal success.
  119. QSVAllocator: FrameFree...
  120. QSVAllocator: FrameFree external success.
  121. QSVAllocator: FrameFree internal success.
  122. ResetMFXComponents: Frames deleted.
  123. AllocFrames: m_nAsyncDepth - 4 frames
  124. AllocFrames: Enc query - 17 frames
  125. AllocFrames: nInputSurfAdd 3 frames
  126. AllocFrames: nDecSurfAdd 0 frames
  127. AllocFrames: Enc type: external,dxvadec,enc, 1280x720 [0,0,1280,720], request 22 frames
  128. QSVAllocator: FrameAlloc: external,dxvadec,enc, 22 frames.
  129. QSVAllocator: Allocate type internal.
  130. QSVAllocatorD3D9::AllocImpl select DXVA2_VideoDecoderRenderTarget.
  131. QSVAllocatorD3D9::AllocImpl GetVideoService Success.
  132. QSVAllocatorD3D9::AllocImpl allocate surface...
  133. QSVAllocatorD3D9::AllocImpl Success.
  134. QSVAllocator: FrameAlloc success.
  135. AllocFrames: Allocated EncRequest 22
  136. ResetMFXComponents: Frames allocated.
  137. ResetMFXComponents: there might be error below, but it might be internal error which could be ignored.
  138. QSVAllocator: FrameAlloc: internal,dxvadec,enc, 5 frames.
  139. QSVAllocator: Allocate type internal.
  140. QSVAllocatorD3D9::AllocImpl select DXVA2_VideoDecoderRenderTarget.
  141. QSVAllocatorD3D9::AllocImpl GetVideoService Success.
  142. QSVAllocatorD3D9::AllocImpl allocate surface...
  143. QSVAllocatorD3D9::AllocImpl Success.
  144. QSVAllocator: FrameAlloc success.
  145. QSVAllocator: FrameAlloc: internal,dxvadec,enc, 2 frames.
  146. QSVAllocator: Allocate type internal.
  147. QSVAllocatorD3D9::AllocImpl select DXVA2_VideoDecoderRenderTarget.
  148. QSVAllocatorD3D9::AllocImpl GetVideoService Success.
  149. QSVAllocatorD3D9::AllocImpl allocate surface...
  150. QSVAllocatorD3D9::AllocImpl Success.
  151. QSVAllocator: FrameAlloc success.
  152. ResetMFXComponents: Enc initialized.
  153. ResetMFXComponents: Creating task pool, poolSize 4, bufsize 3600 KB.
  154. ResetMFXComponents: Created task pool.
  155. vidprm.AsyncDepth value changed 0 -> 3 by driver
  156. vidprm.mfx.BRCParamMultiplier value changed 0 -> 1 by driver
  157. vidprm.mfx.CodecProfile value changed auto -> High by driver
  158. vidprm.mfx.CodecLevel value changed auto -> 3.1 by driver
  159. cop2.LookAheadDepth value changed 0 -> 10 by driver
  160. cop2.LookAheadDS value changed auto -> medium by driver
  161. cop3.WinBRCSize value changed 30 -> 0 by driver
  162. cop3.WinBRCMaxAvgKbps value changed 15000 -> 0 by driver
  163. vidprm.mfx.NumSlice value changed 0 -> 1 by driver
  164. vidprm.mfx.NumRefFrame value changed 0 -> 3 by driver
  165. cop.RateDistortionOpt value changed auto -> off by driver
  166. cop.EndOfSequence value changed auto -> off by driver
  167. cop.CAVLC value changed auto -> off by driver
  168. cop.ViewOutput value changed auto -> off by driver
  169. cop.VuiVclHrdParameters value changed auto -> off by driver
  170. cop.RefPicListReordering value changed auto -> off by driver
  171. cop.ResetRefList value changed auto -> off by driver
  172. cop.MaxDecFrameBuffering value changed 0 -> 3 by driver
  173. cop.EndOfStream value changed auto -> off by driver
  174. cop.RefPicMarkRep value changed auto -> off by driver
  175. cop.FieldOutput value changed auto -> off by driver
  176. cop.NalHrdConformance value changed auto -> off by driver
  177. cop.SingleSeiNalUnit value changed auto -> on by driver
  178. cop.VuiNalHrdParameters value changed auto -> off by driver
  179. cop.RecoveryPointSEI value changed auto -> off by driver
  180. cop2.MaxFrameSize value changed 0 -> 345600 by driver
  181. cop2.BitrateLimit value changed auto -> on by driver
  182. cop2.MBBRC value changed auto -> off by driver
  183. cop2.RepeatPPS value changed auto -> on by driver
  184. cop2.FixedFrameRate value changed 0 -> 16 by driver
  185. cop2.DisableVUI value changed 0 -> 32 by driver
  186. cop2.UseRawRef value changed auto -> off by driver
  187. cop3.NumSliceI value changed 0 -> 1 by driver
  188. cop3.NumSliceP value changed 0 -> 1 by driver
  189. cop3.NumSliceB value changed 0 -> 1 by driver
  190. cop3.WinBRCMaxAvgKbps value changed 15000 -> 0 by driver
  191. cop3.WinBRCSize value changed 30 -> 0 by driver
  192. cop3.EnableMBQP value changed auto -> off by driver
  193. cop3.MBDisableSkipMap value changed auto -> off by driver
  194. cop3.AspectRatioInfoPresent value changed auto -> on by driver
  195. cop3.OverscanInfoPresent value changed auto -> off by driver
  196. cop3.TimingInfoPresent value changed auto -> on by driver
  197. cop3.BitstreamRestriction value changed auto -> on by driver
  198. cop3.LowDelayHrd value changed auto -> off by driver
  199. QSVEncC (x64) 3.04 (r1458) by rigaya, Jun 2 2018 07:45:14 (VC 1900/Win/avx2)
  200. OS Windows 10 x64 (16299)
  201. CPU Info Intel Core i7-4702MQ @ 2.20GHz [TB: 2.90GHz] (4C/8T) <Haswell>
  202. GPU Info Intel HD Graphics 4600 (20EU) 200-1150MHz [37W] (20.19.15.4963)
  203. Media SDK QuickSyncVideo (hardware encoder) PG, 1st GPU, API v1.20
  204. Async Depth 4 frames
  205. Buffer Memory d3d9, 3 input buffer, 22 work buffer
  206. Input Info Avisynth+ 2.60(yv12)->nv12 [AVX2], 1280x720, 30000/1001 fps
  207. AVSync cfr
  208. Output H.264/AVC High @ Level 3.1
  209. 1280x720p 1:1 29.970fps (30000/1001fps)
  210. avwriter: h264 => mp4
  211. Target usage 4 - balanced
  212. Encode Mode LA-ICQ (Intelligent Const. Quality with Lookahead)
  213. Lookahead depth 10 frames, quality medium
  214. Windowed RC off
  215. ICQ Quality 36
  216. QP Limit min: none, max: none
  217. Trellis Auto
  218. Ref frames 3 frames
  219. Bframes 3 frames, B-pyramid: on
  220. Max GOP Length 300 frames
  221. Main Thread: Lauching encode thread...
  222. Encode Thread: Starting Encode...
  223. Main Thread: Starting Encode...
  224.  
  225. →クラッシュ
  226.  
  227. ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
  228.  イベントログ
  229. ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
  230.  
  231. ↓古い順
  232.  
  233. ---------------------------------------------------------------------------------------------
  234. ログの名前: Microsoft-Windows-Kernel-EventTracing/Admin
  235. ソース: Microsoft-Windows-Kernel-EventTracing
  236. イベント ID: 2
  237. 次のエラーのため、セッション "GrandMesa Frame Rate Session" を開始できませんでした: 0xC0000035
  238. ---------------------------------------------------------------------------------------------
  239.  
  240. ---------------------------------------------------------------------------------------------
  241. ログの名前: Microsoft-Windows-Kernel-EventTracing/Admin
  242. ソース: Microsoft-Windows-Kernel-EventTracing
  243. イベント ID: 2
  244. 次のエラーのため、セッション "GrandMesa Media Performance Session" を開始できませんでした: 0xC0000035
  245. ---------------------------------------------------------------------------------------------
  246.  
  247. ---------------------------------------------------------------------------------------------
  248. ログの名前: Application
  249. ソース: Application Error
  250. イベント ID: 1000
  251. 障害が発生しているアプリケーション名: QSVEncC64.exe、バージョン: 0.3.4.0、タイム スタンプ: 0x5b11cca7
  252. 障害が発生しているモジュール名: QSVEncC64.exe、バージョン: 0.3.4.0、タイム スタンプ: 0x5b11cca7
  253. 例外コード: 0xc0000005
  254. 障害オフセット: 0x000000000005eae4
  255. ---------------------------------------------------------------------------------------------
  256.  
  257. ↓エンコ失敗後、しばらくすると出る
  258. ---------------------------------------------------------------------------------------------
  259. ログの名前: Microsoft-Windows-Kernel-EventTracing/Admin
  260. ソース: Microsoft-Windows-Kernel-EventTracing
  261. イベント ID: 1
  262. リアルタイム セッション "GrandMesa Media Performance Session" のバッキング ファイルが最大サイズに達しました。このため、空き領域ができるまで、このセッションに新しいイベントは記録されません。このエラーは、多くの場合、リアルタイム コンシューマーがない状態でトレース セッションをリアルタイム モードで開始した場合に発生します。
  263. ---------------------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement