Git Product home page Git Product logo

Comments (5)

rigaya avatar rigaya commented on July 22, 2024

I actually don't have HD graphics 4600, so I tested with HD graphics 4400, as it should be the same generation, but it seems to work out fine.

I installed driver 20.19.15.5107 and run the command line options below.

x64\QSVEncC64.exe -i input.ts -o C:\Users\rigaya\Videos\test.mp4 --interlace tff --vpp-deinterlace normal --log C:\Users\rigaya\Videos\test.log

QSVEncC (x64) 4.12 (r2005) by rigaya, Feb 13 2021 11:33:27 (VC 1928/Win/avx2)
OS             Windows 10 x64 (19042)
CPU Info       Intel Core i3-4170 @ 3.70GHz (2C/4T) <Haswell>
GPU Info       Intel HD Graphics 4400 (12EU) 200-1500MHz [54W] (20.19.15.5107)
Media SDK      QuickSyncVideo (hardware encoder) PG, 1st GPU, API v1.20
Async Depth    6 frames
Buffer Memory  d3d9, 1 input buffer, 42 work buffer
Input Info     avqsv: MPEG2, 1920x1080, 30000/1001 fps
VPP Enabled    Deinterlace (normal)
AVSync         cfr
Output         H.264/AVC High @ Level 4
               1920x1080p 1:1 29.970fps (30000/1001fps)
               avwriter: h264 => mp4
Target usage   4 - balanced
Encode Mode    Constant QP (CQP)
CQP Value      I:24  P:26  B:27
QP Limit       min: none, max: none
Trellis        Auto
Ref frames     3 frames
Bframes        3 frames, B-pyramid: on
Max GOP Length 300 frames
Output #0, mp4, to 'C:\Users\rigaya\Videos\test.mp4':
  Metadata:
    encoding_tool   : QSVEncC (x64) 4.12
    encoder         : Lavf58.49.100
    Stream #0:0: Video: h264 (avc1 / 0x31637661), nv12(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 120k tbn
[mpegts @ 000001cddafd87c0] PES packet size mismatch
[mpegts @ 000001cddafd87c0] Packet corrupt (stream = 2, dts = 4864449098).
                                                                                                                       
encoded 54579 frames, 197.44 fps, 3426.93 kbps, 743.97 MB
encode time 0:04:36, CPU: 26.4%, GPU: 80.9%, VD: 38.3%
frame type IDR   182
frame type I     182,  total size   15.47 MB
frame type P   13645,  total size  354.74 MB
frame type B   40752,  total size  373.75 MB

Would you please provide the full command line so I can check?

Also, please note that QSVEncC currently supports Win10 only, there might be abnormal behaviors in Win8.1 or before.

from qsvenc.

LidoCKT avatar LidoCKT commented on July 22, 2024

--vpp-deinterlace normal
It works fine.

C:\>"C:\Program Files (x86)\NegativeEncoder\Libs\QSVEncC64.exe" -i test.ts -o test.mp4 --interlace tff --vpp-deinterlace normal --log C:\test.log
--------------------------------------------------------------------------------
test.mp4
--------------------------------------------------------------------------------
QSVEncC (x64) 4.12 (r1979) by rigaya, Nov 23 2020 10:32:05 (VC 1928/Win/avx2)
OS             Windows 10 x64 (19042)
CPU Info       Intel Core i7-4710MQ @ 2.50GHz [TB: 3.39GHz] (4C/8T) <Haswell>
GPU Info       Intel HD Graphics 4600 (20EU) 1150MHz (20.19.15.5107)
Media SDK      QuickSyncVideo (hardware encoder) PG, 1st GPU, API v1.20
Async Depth    6 frames
Buffer Memory  d3d9, 1 input buffer, 42 work buffer
Input Info     avqsv: MPEG2, 1440x1080, 30000/1001 fps
VPP Enabled    Deinterlace (normal)
AVSync         cfr
Output         H.264/AVC High @ Level 4
               1440x1080p 4:3 29.970fps (30000/1001fps)
               avwriter: h264 => mp4
Target usage   4 - balanced
Encode Mode    Constant QP (CQP)
CQP Value      I:24  P:26  B:27
QP Limit       min: none, max: none
Trellis        Auto
Ref frames     3 frames
Bframes        3 frames, B-pyramid: on
Max GOP Length 300 frames

encoded 899 frames, 186.82 fps, 3520.85 kbps, 12.59 MB
encode time 0:00:04, CPU: 15.3%, GPU: 89.6%, VD: 43.6%
frame type IDR   3
frame type I     3,  total size  0.48 MB
frame type P   225,  total size  7.18 MB
frame type B   671,  total size  4.93 MB

--vpp-bob
It cannot start.

C:\>"C:\Program Files (x86)\NegativeEncoder\Libs\QSVEncC64.exe" -i test.ts -o test.mp4 --interlace tff --vpp-deinterlace bob --log C:\test.log
--------------------------------------------------------------------------------
test.mp4
--------------------------------------------------------------------------------
QSVEncC (x64) 4.12 (r1979) by rigaya, Nov 23 2020 10:32:05 (VC 1928/Win/avx2)
OS             Windows 10 x64 (19042)
CPU Info       Intel Core i7-4710MQ @ 2.50GHz [TB: 3.39GHz] (4C/8T) <Haswell>
GPU Info       Intel HD Graphics 4600 (20EU) 1150MHz (20.19.15.5107)
Media SDK      QuickSyncVideo (hardware encoder) PG, 1st GPU, API v1.20
Async Depth    6 frames
Buffer Memory  d3d9, 1 input buffer, 46 work buffer
Input Info     avqsv: MPEG2, 1440x1080, 30000/1001 fps
VPP Enabled    Deinterlace (bob)
AVSync         cfr
Output         H.264/AVC High @ Level 4.2
               1440x1080p 4:3 59.940fps (60000/1001fps)
               avwriter: h264 => mp4
Target usage   4 - balanced
Encode Mode    Constant QP (CQP)
CQP Value      I:24  P:26  B:27
QP Limit       min: none, max: none
Trellis        Auto
Ref frames     3 frames
Bframes        3 frames, B-pyramid: on
Max GOP Length 600 frames

↑Stop here and with 20% CPU usage:
QQ截图20210218134010

from qsvenc.

rigaya avatar rigaya commented on July 22, 2024

Thank you, I was able to reproduce the issue with --vpp-deinterlace bob.

I've tested a while and fond out we are able to avoid this problem by switching video memory mode by adding "--d3d11". (The default is "--d3d9").

Please have a try.

from qsvenc.

LidoCKT avatar LidoCKT commented on July 22, 2024

--d3d11 works fine. Without error😀.

from qsvenc.

rigaya avatar rigaya commented on July 22, 2024

Thank you for confirming!

from qsvenc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.