Guest User

QSVEncCのavqsvでは24fpsになる

a guest
Sep 9th, 2016
191
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Performace Monitor: none
  2. Performace Plot : none
  3. Input: avqsv reader selected.
  4. avqsv/avsw: Closing...
  5. avqsv/avsw: Cleared Stream Packet Buffer.
  6. avqsv/avsw: Closed video.
  7. avqsv/avsw: Closed.
  8. avqsv: opened file "D:\test_24000_1001.mp4".
  9. avqsv: got stream information.
  10. avqsv: found video stream, stream idx 0
  11. avqsv: can be decoded by qsv.
  12. avqsv: initialized h264_mp4toannexb filter.
  13. avqsv: start predecode.
  14. avqsv: fps decoder invalid: false
  15. avqsv: read 48 packets.
  16. avqsv: checking 31 frame samples.
  17. avqsv: stream timebase 1001/24000
  18. avqsv: decoder fps 24000/1001
  19. avqsv: duration histgram of 1 frames
  20. avqsv: 1001 [ 31 frames]
  21. avqsv: using popular duration...
  22. avqsv: fps mul: 1001
  23. avqsv: raw avgDuration: 1001.000000
  24. avqsv: estimatedAvgFps: 24000/1001
  25. avqsv: use decoder fps...
  26. avqsv: final AvgFps (raw64): 24000/1001
  27. avqsv: final AvgFps (gcd): 24000/1001
  28. avqsv: final AvgFps (round): 24000/1001
  29. avqsv: avqsv video: H.264/AVC, 640x360, 24000/1001 fps, sar 0:0, bitdepth 8, shift 0
  30. Input: reader initialization successful.
  31. CheckParam: 640x360p, 0:0, 24000/1001, 0 frames
  32. InitSession: Start initilaizing... memType: d3d11+d3d9
  33. InitSession: d3d11 memory mode not required, switching to d3d9 memory mode.
  34. InitSession: initialized using d3d9 memory.
  35. InitSession: mfx lib version: 1.17
  36. CreateAllocator: MemType: d3d9
  37. HWDevice: d3d9 - initializing...
  38. D3D9Device: Init...
  39. D3D9Device: Direct3DCreate9Ex Success.
  40. D3D9Device: Set Init() m_D3DPresentPrm.BackBuffer.
  41. D3D9Device: CreateDeviceEx Success.
  42. D3D9Device: DXVA2CreateDirect3DDeviceManager9 Success.
  43. D3D9Device: ResetDevice Success.
  44. HWDevice: initializing success.
  45. CreateAllocator: CreateHWDevice success.
  46. CreateAllocator: HW device GetHandle success.
  47. CreateAllocator: set HW device handle to encode session.
  48. CreateAllocator: Create d3d9 allocator.
  49. CreateAllocator: d3d9...
  50. CreateAllocator: frame allocator set to session.
  51. CreateAllocator: frame allocator initialized.
  52. InitMfxDecParams: QSVDec prm: H.264/AVC, Level 30, Profile 100
  53. InitMfxDecParams: Frame: nv12, 640x368p [0,0,640,360] 0:0, bitdepth 8, shift 0
  54. QSVAllocator: FrameAlloc: external,dxvadec,dec, 10 frames.
  55. QSVAllocator: Allocate type external.
  56. QSVAllocatorD3D9::AllocImpl select DXVA2_VideoDecoderRenderTarget.
  57. QSVAllocatorD3D9::AllocImpl GetVideoService Success.
  58. QSVAllocatorD3D9::AllocImpl allocate surface...
  59. QSVAllocatorD3D9::AllocImpl Success.
  60. QSVAllocator: FrameAlloc success.
  61. InitMfxDecParams: Initialized QSVDec.
  62. Detected avaliable features for hw API v1.17, H.264/AVC, Constant QP (CQP)
  63. RC mode o
  64. Fixed Func x
  65. Interlace o
  66. SceneChange o
  67. VUI info o
  68. Trellis o
  69. Adaptive_I x
  70. Adaptive_B x
  71. WeightP x
  72. WeightB x
  73. FadeDetect o
  74. B_Pyramid o
  75. +Scenechange x
  76. +ManyBframes o
  77. PyramQPOffset x
  78. Ext_BRC x
  79. MBBRC x
  80. LA Quality x
  81. QP Min/Max o
  82. IntraRefresh x
  83. No Debloc x
  84. No GPB x
  85. Windowed BRC x
  86. PerMBQP(CQP) o
  87. DirectBiasAdj x
  88. MVCostScaling x
  89.  
  90.  
  91. InitMfxEncParams: Output FPS 24000/1001
  92. InitMfxEncParams: Auto GOP Length: 240
  93. InitMfxEncParams: set ext param CDO2.
  94. InitMfxEncParams: set ext param CDO3.
  95. InitMfxEncParams: set ext param CDOP.
  96. InitMfxEncParams: enc input frame 640x368 (0,0,640,360)
  97. InitMfxEncParams: enc input color format nv12, chroma 1, bitdepth 0, shift 0
  98. InitMfxEncParams: set all enc params.
  99. InitMfxVppParams: vpp crop enabled.
  100. InitMfxVppParams: vpp input frame 640x368 (0,0,640,360)
  101. InitMfxVppParams: vpp input color format nv12, chroma 1, bitdepth 0, shift 0
  102. InitMfxVppParams: vpp output frame 640x368 (0,0,640,360)
  103. InitMfxVppParams: vpp output color format nv12, chroma 1, bitdepth 0, shift 0
  104. InitMfxVppParams: set all vpp params.
  105. Output: Using avformat writer.
  106. avout: output filename: "test_24000_1001\QSV_avqsv_CQP_2_55.mp4"
  107. avout: allocated internal buffer 8 MB.
  108. avout: set external output buffer 8 MB.
  109. avout: output video stream fps: 24000/1001
  110. avout: opened video avcodec
  111. avout: output video stream timebase: 1001/24000
  112. avout: bDtsUnavailable: off
  113. avout: Initialized video output.
  114. avout: starting output thread...
  115. Output: Initialized avformat writer.
  116. pipeline element count: 2
  117. async depth automatically set to 5
  118. timeBeginPeriod(1)
  119. ResetMFXComponents: Start...
  120. ResetMFXComponents: Enc closed.
  121. QSVAllocator: FrameFree...
  122. QSVAllocatorD3D9::ReleaseResponse Success.
  123. ResetMFXComponents: Dec closed.
  124. QSVAllocator: FrameFree...
  125. QSVAllocator: FrameFree external success.
  126. QSVAllocator: FrameFree internal success.
  127. QSVAllocator: FrameFree...
  128. QSVAllocator: FrameFree external success.
  129. QSVAllocator: FrameFree internal success.
  130. QSVAllocator: FrameFree...
  131. QSVAllocator: FrameFree external success.
  132. QSVAllocator: FrameFree internal success.
  133. ResetMFXComponents: Frames deleted.
  134. AllocFrames: m_nAsyncDepth - 5 frames
  135. AllocFrames: Enc query - 12 frames
  136. AllocFrames: Dec query - 10 frames
  137. AllocFrames: nInputSurfAdd 1 frames
  138. AllocFrames: nDecSurfAdd 10 frames
  139. AllocFrames: Enc type: external,dxvadec,enc,dec, 640x368 [0,0,640,360], request 24 frames
  140. QSVAllocator: FrameAlloc: external,dxvadec,enc,dec, 24 frames.
  141. QSVAllocator: Allocate type external.
  142. QSVAllocatorD3D9::AllocImpl select DXVA2_VideoDecoderRenderTarget.
  143. QSVAllocatorD3D9::AllocImpl GetVideoService Success.
  144. QSVAllocatorD3D9::AllocImpl allocate surface...
  145. QSVAllocatorD3D9::AllocImpl Success.
  146. QSVAllocator: FrameAlloc success.
  147. AllocFrames: Allocated EncRequest 24
  148. ResetMFXComponents: Frames allocated.
  149. ResetMFXComponents: there might be error below, but it might be internal error which could be ignored.
  150. QSVAllocator: FrameAlloc: internal,dxvadec,enc, 8 frames.
  151. QSVAllocator: Allocate type internal.
  152. QSVAllocatorD3D9::AllocImpl select DXVA2_VideoDecoderRenderTarget.
  153. QSVAllocatorD3D9::AllocImpl GetVideoService Success.
  154. QSVAllocatorD3D9::AllocImpl allocate surface...
  155. QSVAllocatorD3D9::AllocImpl Success.
  156. QSVAllocator: FrameAlloc success.
  157. QSVAllocator: FrameAlloc: internal,dxvadec,enc, 4 frames.
  158. QSVAllocator: Allocate type internal.
  159. QSVAllocatorD3D9::AllocImpl select DXVA2_VideoDecoderRenderTarget.
  160. QSVAllocatorD3D9::AllocImpl GetVideoService Success.
  161. QSVAllocatorD3D9::AllocImpl allocate surface...
  162. QSVAllocatorD3D9::AllocImpl Success.
  163. QSVAllocator: FrameAlloc success.
  164. ResetMFXComponents: Enc initialized.
  165. ResetMFXComponents: there might be error below, but it might be internal error which could be ignored.
  166. QSVAllocator: FrameAlloc: external,dxvadec,dec, 10 frames.
  167. QSVAllocator: Allocate type external.
  168. QSVAllocator: FrameAlloc success.
  169. ResetMFXComponents: Dec initialized.
  170. ResetMFXComponents: Creating task pool, poolSize 5, bufsize 920 KB.
  171. ResetMFXComponents: Created task pool.
  172. vidprm.AsyncDepth value changed 0 -> 5 by driver
  173. vidprm.mfx.BRCParamMultiplier value changed 0 -> 1 by driver
  174. vidprm.mfx.CodecProfile value changed auto -> High by driver
  175. vidprm.mfx.CodecLevel value changed auto -> 3 by driver
  176. vidprm.mfx.NumSlice value changed 0 -> 1 by driver
  177. vidprm.mfx.NumRefFrame value changed 0 -> 3 by driver
  178. cop.RateDistortionOpt value changed auto -> off by driver
  179. cop.EndOfSequence value changed auto -> off by driver
  180. cop.CAVLC value changed auto -> off by driver
  181. cop.ViewOutput value changed auto -> off by driver
  182. cop.VuiVclHrdParameters value changed auto -> off by driver
  183. cop.RefPicListReordering value changed auto -> off by driver
  184. cop.ResetRefList value changed auto -> off by driver
  185. cop.MaxDecFrameBuffering value changed 0 -> 3 by driver
  186. cop.EndOfStream value changed auto -> off by driver
  187. cop.RefPicMarkRep value changed auto -> off by driver
  188. cop.FieldOutput value changed auto -> off by driver
  189. cop.NalHrdConformance value changed auto -> off by driver
  190. cop.SingleSeiNalUnit value changed auto -> on by driver
  191. cop.VuiNalHrdParameters value changed auto -> off by driver
  192. cop.RecoveryPointSEI value changed auto -> off by driver
  193. cop2.MaxFrameSize value changed 0 -> 176640 by driver
  194. cop2.BitrateLimit value changed auto -> on by driver
  195. cop2.MBBRC value changed auto -> off by driver
  196. cop2.RepeatPPS value changed auto -> on by driver
  197. cop2.FixedFrameRate value changed 0 -> 16 by driver
  198. cop2.DisableVUI value changed 0 -> 32 by driver
  199. cop2.UseRawRef value changed auto -> off by driver
  200. cop3.NumSliceI value changed 0 -> 1 by driver
  201. cop3.NumSliceP value changed 0 -> 1 by driver
  202. cop3.NumSliceB value changed 0 -> 1 by driver
  203. cop3.EnableMBQP value changed auto -> off by driver
  204. cop3.MBDisableSkipMap value changed auto -> off by driver
  205. cop3.AspectRatioInfoPresent value changed auto -> on by driver
  206. cop3.OverscanInfoPresent value changed auto -> off by driver
  207. cop3.TimingInfoPresent value changed auto -> on by driver
  208. cop3.BitstreamRestriction value changed auto -> on by driver
  209. avout: copied video header from QSV encoder.
  210. avout: set format brand "mp42".
  211. avout: avwriter: h264 => mp4
  212. CheckCurrentVideoParam: SetVideoParam to video file writer.
  213. QSVEncC (x86) 2.55 (r1159) by rigaya, Sep 3 2016 21:20:36 (VC 1900/Win/avx2)
  214. OS Windows 10 (x64)
  215. CPU Info Intel Core i7-4702MQ @ 2.20GHz [TB: 2.90GHz] (4C/8T) <Haswell>
  216. GPU Info Intel HD Graphics 4600 (20EU) 200-1150MHz [37W] (20.19.15.4444)
  217. Media SDK QuickSyncVideo (hardware encoder) PG, 1st GPU, API v1.17
  218. Async Depth 5 frames
  219. Buffer Memory d3d9, 1 input buffer, 24 work buffer
  220. Input Info avqsv video: H.264/AVC, 640x360, 24000/1001 fps
  221. Output H.264/AVC High @ Level 3
  222. 640x360p 1:1 23.976fps (24000/1001fps)
  223. avwriter: h264 => mp4
  224. Target usage 4 - balanced
  225. Encode Mode Constant QP (CQP)
  226. CQP Value I:24 P:26 B:27
  227. QP Limit min: none, max: none
  228. Trellis Auto
  229. Ref frames 3 frames
  230. Bframes 3 frames, B-pyramid: on
  231. Max GOP Length 240 frames
  232. Scene Change off
  233. Main Thread: Lauching encode thread...
  234. Main Thread: Starting Encode...
  235. Encode Thread: Starting Encode...
  236. Encode Thread: Set surface to input buffer...
  237. Encode Thread: finished main loop.
  238. Encode Thread: finished getting buffered frames from decoder.
  239. Encode Thread: finished getting buffered frames from encoder.
  240. Encode Thread: finished.
  241. WaitToFinish: Encode thread shut down.
  242. Main Thread: Finished Main Loop...
  243. avout: closed output thread...
  244. avout: closed queues...
  245.  
  246. encoded 300 frames, 864.55 fps, 93.17 kbps, 0.14 MB
  247. encode time 0:00:00, CPULoad: 6.17
  248. frame type IDR 2
  249. frame type I 2, total size 0.00 MB
  250. frame type P 75, total size 0.05 MB
  251. frame type B 223, total size 0.09 MB
  252. Main Thread: finished.
  253. Closing pipeline...
  254. Closing enc status...
  255. Closing m_EncThread...
  256. Closing Plugins...
  257. Closing m_pmfxDEC/ENC/VPP...
  258. QSVAllocator: FrameFree...
  259. QSVAllocator: FrameFree...
  260. QSVAllocator: FrameFree external success.
  261. QSVAllocatorD3D9::ReleaseResponse Success.
  262. QSVAllocator: FrameFree...
  263. QSVAllocator: FrameFree external success.
  264. QSVAllocatorD3D9::ReleaseResponse Success.
  265. Closing TaskPool...
  266. Closing mfxSession...
  267. DeleteFrames...
  268. QSVAllocator: FrameFree...
  269. QSVAllocatorD3D9::ReleaseResponse Success.
  270. QSVAllocator: FrameFree...
  271. QSVAllocator: FrameFree external success.
  272. QSVAllocator: FrameFree internal success.
  273. QSVAllocator: FrameFree...
  274. QSVAllocator: FrameFree external success.
  275. QSVAllocator: FrameFree internal success.
  276. DeleteAllocator...
  277. QSVAllocator: Closed.
  278. D3D9Device: Closed.
  279. Closing audio readers (if used)...
  280. Closing writer...
  281. avout: Closing...
  282. avout: closed queues...
  283. avout: Closed avformat context.
  284. avout: Closed File Pointer.
  285. avout: Closed format.
  286. avout: Closed video.
  287. avout: Closed.
  288. avout: Closing...
  289. avout: closed queues...
  290. avout: Closed format.
  291. avout: Closed video.
  292. avout: Closed.
  293. avout: Closing...
  294. avout: Closed.
  295. Closing reader...
  296. avqsv: Closing...
  297. avqsv: Cleared Stream Packet Buffer.
  298. avqsv: Closed avformat context.
  299. avqsv: Closed video.
  300. avqsv: Closed.
  301. avqsv: Closing...
  302. avqsv: Cleared Stream Packet Buffer.
  303. avqsv: Closed video.
  304. avqsv: Closed.
  305. avqsv: Closing...
  306. avqsv: Close...
  307. timeEndPeriod(1)
  308. Closing perf monitor...
  309. Closed pipeline.
  310.  
  311.  
  312. [file @ 0312dc00] Setting default whitelist 'file,crypto'
  313. [mov,mp4,m4a,3gp,3g2,mj2 @ 0312d640] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
  314. [mov,mp4,m4a,3gp,3g2,mj2 @ 0312d640] ISO: File Type Major Brand: M4V
  315. [mov,mp4,m4a,3gp,3g2,mj2 @ 0312d640] Unknown dref type 0x08206c7275 size 12
  316. [mov,mp4,m4a,3gp,3g2,mj2 @ 0312d640] Unknown dref type 0x08206c7275 size 12
  317. [mov,mp4,m4a,3gp,3g2,mj2 @ 0312d640] Before avformat_find_stream_info() pos: 7101 bytes read:32768 seeks:0 nb_streams:2
  318. [h264 @ 031415e0] nal_unit_type: 7, nal_ref_idc: 3
  319. [h264 @ 031415e0] nal_unit_type: 8, nal_ref_idc: 3
  320. [h264 @ 031415e0] nal_unit_type: 6, nal_ref_idc: 0
  321. [h264 @ 031415e0] nal_unit_type: 5, nal_ref_idc: 3
  322. [h264 @ 031415e0] user data:"x264 - core 148 r2705kMod 3f5ed56 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 fade_compensate=0.00 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=11 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 fgo=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0000 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00"
  323. [h264 @ 031415e0] Reinit context to 640x368, pix_fmt: yuv420p
  324. [h264 @ 031415e0] no picture
  325. [mov,mp4,m4a,3gp,3g2,mj2 @ 0312d640] All info found
  326. [mov,mp4,m4a,3gp,3g2,mj2 @ 0312d640] After avformat_find_stream_info() pos: 11246 bytes read:32768 seeks:0 frames:13
  327. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\test_24000_1001.mp4':
  328. Metadata:
  329. major_brand : M4V
  330. minor_version : 0
  331. compatible_brands: M4V M4A mp42mp41isomavc1
  332. creation_time : 2016-09-09T14:09:27.000000Z
  333. encoder : L-SMASH
  334. Duration: 00:00:12.59, start: 0.000000, bitrate: 69 kb/s
  335. Stream #0:0(und), 12, 1/24000: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(tv, left), 640x360 (640x368), 0/1, 61 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
  336. Metadata:
  337. creation_time : 2016-09-09T14:09:27.000000Z
  338. handler_name : L-SMASH Video Handler
  339. encoder : AVC Coding
  340. Stream #0:1(und), 1, 1/44100: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 3 kb/s (default)
  341. Metadata:
  342. creation_time : 2016-09-09T14:09:27.000000Z
  343. handler_name : L-SMASH Audio Handler
  344. [NULL @ 031410c0] nal_unit_type: 7, nal_ref_idc: 3
  345. [NULL @ 031410c0] nal_unit_type: 8, nal_ref_idc: 3
  346. [NULL @ 031410c0] nal_unit_type: 5, nal_ref_idc: 3
  347. [NULL @ 031410c0] Ignoring NAL type 5 in extradata
  348. [NULL @ 031410c0] user data:"x264 - core 148 r2705kMod 3f5ed56 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 fade_compensate=0.00 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=11 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 fgo=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0000 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00"
  349. Output #0, mp4, to 'test_24000_1001\QSV_avqsv_CQP_2_55.mp4':
  350. Metadata:
  351. encoding_tool : QSVEncC (x86) 2.55
  352. encoder : Lavf57.48.101
  353. Stream #0:0, 0, 1/24000: Video: h264, 1 reference frame ([33][0][0][0] / 0x0021), yuv420p(left), 640x360 (0x0), 0/1, q=2-31, 24k tbn
  354. [AVIOContext @ 0312eee0] Statistics: 109025 bytes read, 0 seeks
RAW Paste Data