Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ■問題内容
- ・QSVEncC 3.04で、--y4m および --avs でのエンコードがクラッシュする。
- (--y4mがダメなのでAviUtlからの出力(AuoLinkを除く)もエラーになる)
- ・--avqsv および --avsw は問題ない。(h264.mkvで確認)
- ・QSVEncC 3.03では問題ない。
- ■環境
- OS等は下記のQSVEncのログ参照
- Avisynth+ r2508
- ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
- ソースのavs
- ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
- ColorBars(1280,720,pixel_type="RGB32").Trim(0,100)
- ConvertToYV12(matrix="Rec709")
- ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
- --avsエンコード時のQSVEncCのコマンドとログ
- ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
- QSVEncC64.exe --log-level debug --avs -i "D:\ColorBars720p_rec709.avs" --codec h264 --la-icq 36 -o "D:\ColorBars720p_rec709-avs-LAICQ36.mp4"
- subscribed com.intel.media.eu_usage metric
- subscribed com.intel.media.mfx_usage metric
- Performace Monitor: none
- Performace Plot : none
- Input: avs reader selected.
- avs: opened avs file: "D:\ColorBars720p_rec709.avs"
- avs: found video from avs file, pixel type 0xa0000008.
- avs: Avisynth+ 2.60(yv12)->nv12 [AVX2], 1280x720, 30000/1001 fps
- Input: reader initialization successful.
- CheckParam: 1280x720p, 0:0, 30000/1001, 101 frames
- InitSession: Start initilaizing... memType: d3d11+d3d9
- InitSession: d3d11 memory mode not required, switching to d3d9 memory mode.
- InitSession: initialized using d3d9 memory.
- InitSession: mfx lib version: 1.20
- CreateAllocator: MemType: d3d9
- HWDevice: d3d9 - initializing...
- D3D9Device: Init...
- D3D9Device: Direct3DCreate9Ex Success.
- D3D9Device: Set Init() m_D3DPresentPrm.BackBuffer.
- D3D9Device: CreateDeviceEx Success.
- D3D9Device: DXVA2CreateDirect3DDeviceManager9 Success.
- D3D9Device: ResetDevice Success.
- HWDevice: initializing success.
- CreateAllocator: CreateHWDevice success.
- CreateAllocator: HW device GetHandle success.
- CreateAllocator: set HW device handle to encode session.
- CreateAllocator: Create d3d9 allocator.
- CreateAllocator: d3d9...
- CreateAllocator: frame allocator set to session.
- CreateAllocator: frame allocator initialized.
- Detected avaliable features for hw API v1.20, H.264/AVC, LA-ICQ (Intelligent Const. Quality with Lookahead)
- RC mode o
- 10bit depth x
- Fixed Func x
- Interlace o
- VUI info o
- Trellis o
- Adaptive_I x
- Adaptive_B x
- WeightP o
- WeightB o
- FadeDetect x
- B_Pyramid o
- +ManyBframes x
- PyramQPOffset x
- MBBRC x
- LA Quality o
- QP Min/Max o
- IntraRefresh x
- No Deblock x
- No GPB x
- Windowed BRC x
- PerMBQP(CQP) x
- DirectBiasAdj x
- MVCostScaling x
- SAO x
- Max CTU Size x
- TSkip x
- InitMfxEncParams: Output FPS 30000/1001
- InitMfxEncParams: Auto GOP Length: 300
- InitMfxEncParams: set ext param CDO2.
- InitMfxEncParams: set ext param CDO3.
- InitMfxEncParams: set ext param CDOP.
- InitMfxEncParams: enc input frame 1280x720 (0,0,1280,720)
- InitMfxEncParams: enc input color format nv12, chroma 1, bitdepth 0, shift 0
- InitMfxEncParams: set all enc params.
- InitMfxVppParams: vpp input frame 1280x720 (0,0,1280,720)
- InitMfxVppParams: vpp input color format nv12, chroma 1, bitdepth 0, shift 0
- InitMfxVppParams: vpp output frame 1280x720 (0,0,1280,720)
- InitMfxVppParams: vpp output color format nv12, chroma 1, bitdepth 0, shift 0
- InitMfxVppParams: set all vpp params.
- Output: Using avformat writer.
- avout: output filename: "D:\ColorBars720p_rec709-avs-LAICQ36.mp4"
- avout: allocated internal buffer 8 MB.
- avout: set external output buffer 8 MB.
- avout: output video stream fps: 30000/1001
- avout: opened video avcodec
- avout: output video stream timebase: 1001/30000
- avout: bDtsUnavailable: off
- avout: Initialized video output.
- avout: avwriter: h264 => mp4
- avout: starting output thread...
- Output: Initialized avformat writer.
- pipeline element count: 1
- async depth automatically set to 4
- timeBeginPeriod(1)
- ResetMFXComponents: Start...
- ResetMFXComponents: Enc closed.
- QSVAllocator: FrameFree...
- QSVAllocator: FrameFree external success.
- QSVAllocator: FrameFree internal success.
- QSVAllocator: FrameFree...
- QSVAllocator: FrameFree external success.
- QSVAllocator: FrameFree internal success.
- QSVAllocator: FrameFree...
- QSVAllocator: FrameFree external success.
- QSVAllocator: FrameFree internal success.
- ResetMFXComponents: Frames deleted.
- AllocFrames: m_nAsyncDepth - 4 frames
- AllocFrames: Enc query - 17 frames
- AllocFrames: nInputSurfAdd 3 frames
- AllocFrames: nDecSurfAdd 0 frames
- AllocFrames: Enc type: external,dxvadec,enc, 1280x720 [0,0,1280,720], request 22 frames
- QSVAllocator: FrameAlloc: external,dxvadec,enc, 22 frames.
- QSVAllocator: Allocate type internal.
- QSVAllocatorD3D9::AllocImpl select DXVA2_VideoDecoderRenderTarget.
- QSVAllocatorD3D9::AllocImpl GetVideoService Success.
- QSVAllocatorD3D9::AllocImpl allocate surface...
- QSVAllocatorD3D9::AllocImpl Success.
- QSVAllocator: FrameAlloc success.
- AllocFrames: Allocated EncRequest 22
- ResetMFXComponents: Frames allocated.
- ResetMFXComponents: there might be error below, but it might be internal error which could be ignored.
- QSVAllocator: FrameAlloc: internal,dxvadec,enc, 5 frames.
- QSVAllocator: Allocate type internal.
- QSVAllocatorD3D9::AllocImpl select DXVA2_VideoDecoderRenderTarget.
- QSVAllocatorD3D9::AllocImpl GetVideoService Success.
- QSVAllocatorD3D9::AllocImpl allocate surface...
- QSVAllocatorD3D9::AllocImpl Success.
- QSVAllocator: FrameAlloc success.
- QSVAllocator: FrameAlloc: internal,dxvadec,enc, 2 frames.
- QSVAllocator: Allocate type internal.
- QSVAllocatorD3D9::AllocImpl select DXVA2_VideoDecoderRenderTarget.
- QSVAllocatorD3D9::AllocImpl GetVideoService Success.
- QSVAllocatorD3D9::AllocImpl allocate surface...
- QSVAllocatorD3D9::AllocImpl Success.
- QSVAllocator: FrameAlloc success.
- ResetMFXComponents: Enc initialized.
- ResetMFXComponents: Creating task pool, poolSize 4, bufsize 3600 KB.
- ResetMFXComponents: Created task pool.
- vidprm.AsyncDepth value changed 0 -> 3 by driver
- vidprm.mfx.BRCParamMultiplier value changed 0 -> 1 by driver
- vidprm.mfx.CodecProfile value changed auto -> High by driver
- vidprm.mfx.CodecLevel value changed auto -> 3.1 by driver
- cop2.LookAheadDepth value changed 0 -> 10 by driver
- cop2.LookAheadDS value changed auto -> medium by driver
- cop3.WinBRCSize value changed 30 -> 0 by driver
- cop3.WinBRCMaxAvgKbps value changed 15000 -> 0 by driver
- vidprm.mfx.NumSlice value changed 0 -> 1 by driver
- vidprm.mfx.NumRefFrame value changed 0 -> 3 by driver
- cop.RateDistortionOpt value changed auto -> off by driver
- cop.EndOfSequence value changed auto -> off by driver
- cop.CAVLC value changed auto -> off by driver
- cop.ViewOutput value changed auto -> off by driver
- cop.VuiVclHrdParameters value changed auto -> off by driver
- cop.RefPicListReordering value changed auto -> off by driver
- cop.ResetRefList value changed auto -> off by driver
- cop.MaxDecFrameBuffering value changed 0 -> 3 by driver
- cop.EndOfStream value changed auto -> off by driver
- cop.RefPicMarkRep value changed auto -> off by driver
- cop.FieldOutput value changed auto -> off by driver
- cop.NalHrdConformance value changed auto -> off by driver
- cop.SingleSeiNalUnit value changed auto -> on by driver
- cop.VuiNalHrdParameters value changed auto -> off by driver
- cop.RecoveryPointSEI value changed auto -> off by driver
- cop2.MaxFrameSize value changed 0 -> 345600 by driver
- cop2.BitrateLimit value changed auto -> on by driver
- cop2.MBBRC value changed auto -> off by driver
- cop2.RepeatPPS value changed auto -> on by driver
- cop2.FixedFrameRate value changed 0 -> 16 by driver
- cop2.DisableVUI value changed 0 -> 32 by driver
- cop2.UseRawRef value changed auto -> off by driver
- cop3.NumSliceI value changed 0 -> 1 by driver
- cop3.NumSliceP value changed 0 -> 1 by driver
- cop3.NumSliceB value changed 0 -> 1 by driver
- cop3.WinBRCMaxAvgKbps value changed 15000 -> 0 by driver
- cop3.WinBRCSize value changed 30 -> 0 by driver
- cop3.EnableMBQP value changed auto -> off by driver
- cop3.MBDisableSkipMap value changed auto -> off by driver
- cop3.AspectRatioInfoPresent value changed auto -> on by driver
- cop3.OverscanInfoPresent value changed auto -> off by driver
- cop3.TimingInfoPresent value changed auto -> on by driver
- cop3.BitstreamRestriction value changed auto -> on by driver
- cop3.LowDelayHrd value changed auto -> off by driver
- QSVEncC (x64) 3.04 (r1458) by rigaya, Jun 2 2018 07:45:14 (VC 1900/Win/avx2)
- OS Windows 10 x64 (16299)
- CPU Info Intel Core i7-4702MQ @ 2.20GHz [TB: 2.90GHz] (4C/8T) <Haswell>
- GPU Info Intel HD Graphics 4600 (20EU) 200-1150MHz [37W] (20.19.15.4963)
- Media SDK QuickSyncVideo (hardware encoder) PG, 1st GPU, API v1.20
- Async Depth 4 frames
- Buffer Memory d3d9, 3 input buffer, 22 work buffer
- Input Info Avisynth+ 2.60(yv12)->nv12 [AVX2], 1280x720, 30000/1001 fps
- AVSync cfr
- Output H.264/AVC High @ Level 3.1
- 1280x720p 1:1 29.970fps (30000/1001fps)
- avwriter: h264 => mp4
- Target usage 4 - balanced
- Encode Mode LA-ICQ (Intelligent Const. Quality with Lookahead)
- Lookahead depth 10 frames, quality medium
- Windowed RC off
- ICQ Quality 36
- QP Limit min: none, max: none
- Trellis Auto
- Ref frames 3 frames
- Bframes 3 frames, B-pyramid: on
- Max GOP Length 300 frames
- Main Thread: Lauching encode thread...
- Encode Thread: Starting Encode...
- Main Thread: Starting Encode...
- →クラッシュ
- ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
- イベントログ
- ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
- ↓古い順
- ---------------------------------------------------------------------------------------------
- ログの名前: Microsoft-Windows-Kernel-EventTracing/Admin
- ソース: Microsoft-Windows-Kernel-EventTracing
- イベント ID: 2
- 次のエラーのため、セッション "GrandMesa Frame Rate Session" を開始できませんでした: 0xC0000035
- ---------------------------------------------------------------------------------------------
- ---------------------------------------------------------------------------------------------
- ログの名前: Microsoft-Windows-Kernel-EventTracing/Admin
- ソース: Microsoft-Windows-Kernel-EventTracing
- イベント ID: 2
- 次のエラーのため、セッション "GrandMesa Media Performance Session" を開始できませんでした: 0xC0000035
- ---------------------------------------------------------------------------------------------
- ---------------------------------------------------------------------------------------------
- ログの名前: Application
- ソース: Application Error
- イベント ID: 1000
- 障害が発生しているアプリケーション名: QSVEncC64.exe、バージョン: 0.3.4.0、タイム スタンプ: 0x5b11cca7
- 障害が発生しているモジュール名: QSVEncC64.exe、バージョン: 0.3.4.0、タイム スタンプ: 0x5b11cca7
- 例外コード: 0xc0000005
- 障害オフセット: 0x000000000005eae4
- ---------------------------------------------------------------------------------------------
- ↓エンコ失敗後、しばらくすると出る
- ---------------------------------------------------------------------------------------------
- ログの名前: Microsoft-Windows-Kernel-EventTracing/Admin
- ソース: Microsoft-Windows-Kernel-EventTracing
- イベント ID: 1
- リアルタイム セッション "GrandMesa Media Performance Session" のバッキング ファイルが最大サイズに達しました。このため、空き領域ができるまで、このセッションに新しいイベントは記録されません。このエラーは、多くの場合、リアルタイム コンシューマーがない状態でトレース セッションをリアルタイム モードで開始した場合に発生します。
- ---------------------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement