4 Replies Latest reply on Apr 15, 2015 4:43 PM by rising

    No video recorded with screenCapture example

    dtian

      I am trying out the DEM screenCapture example with Media SDK 1.0. I built the example and ran it with the provided example configuration, it ran successfully (screen went back for a sec and came back at the beginning and at the end). I played back the recorded H.264 file and expected to see my desktop captured, but I saw nothing but black screen. I tried to changed encUsage in the configuration but it was the same. Did I miss anything?

       

      My system is an Acer Aspire V5 with A10-5757M and running Win 8.1. The driver package version is 13.152.1.1.

        • Re: No video recorded with screenCapture example
          amit.agarwal

          Hi,

           

          Sorry for the delayed response.

           

          To help us debug the issue, can you provide the following information?:

          1. Execute 'clinfo' from command prompt and share the output.

          2. Share the generated log file using "-l 2" while executing the sample. The log file is generated in the sample folder.

           

          In addition, can you try using the 13.12 driver available on the AMD website and report the results with this use-case?

           

          Thanks,

           

          Kind regards,

          Amit Agarwal

            • Re: No video recorded with screenCapture example
              rising

              Hi,

               

              I've just tried the sample and am getting the same experience. There is no error, a file is created but when I open with VLC nothing shows...

              I have a Radeon 7800 series with up to date Catalyst driver (14.12) and I'm merely trying to capture my single display. I've run the suggested command above and the capabilitymanager sample. Both look goo to me, but I'm no expert.

              I find it curious that on the log some frame sizes are 0.

              I've tried several things and no success...could you please advise?

               

              Many thanks in advance!

               

              Bellow you can find 3 outputs: part of the generated log, the clinfo command output and the capability manager output

               

              clinfo

                Platform Profile:                              FULL_PROFILE

                Platform Version:                              OpenCL 2.0 AMD-APP (1642.5)

                Platform Name:                                 AMD Accelerated Parallel Proces

              sing

                Platform Vendor:                               Advanced Micro Devices, Inc.

                Platform Extensions:                           cl_khr_icd cl_khr_d3d10_sharing

              cl_khr_d3d11_sharing cl_khr_dx9_media_sharing cl_amd_event_callback cl_amd_offl

              ine_devices

               

                Platform Name:                                 Intel(R) OpenCL

              Number of devices:                               1

                Device Type:                                   CL_DEVICE_TYPE_CPU

                Vendor ID:                                     8086h

                Max compute units:                             4

                Max work items dimensions:                     3

                  Max work items[0]:                           1024

                  Max work items[1]:                           1024

                  Max work items[2]:                           1024

                Max work group size:                           1024

                Preferred vector width char:                   1

                Preferred vector width short:                  1

                Preferred vector width int:                    1

                Preferred vector width long:                   1

                Preferred vector width float:                  1

                Preferred vector width double:                 1

                Native vector width char:                      16

                Native vector width short:                     8

                Native vector width int:                       4

                Native vector width long:                      2

                Native vector width float:                     8

                Native vector width double:                    4

                Max clock frequency:                           3300Mhz

                Address bits:                                  64

                Max memory allocation:                         2119700480

                Image support:                                 Yes

                Max number of images read arguments:           480

                Max number of images write arguments:          480

                Max image 2D width:                            16384

                Max image 2D height:                           16384

                Max image 3D width:                            2048

                Max image 3D height:                           2048

                Max image 3D depth:                            2048

                Max samplers within kernel:                    480

                Max size of kernel argument:                   3840

                Alignment (bits) of base address:              1024

                Minimum alignment (bytes) for any datatype:    128

                Single precision floating point capability

                  Denorms:                                     Yes

                  Quiet NaNs:                                  Yes

                  Round to nearest even:                       Yes

                  Round to zero:                               No

                  Round to +ve and infinity:                   No

                  IEEE754-2008 fused multiply-add:             No

                Cache type:                                    Read/Write

                Cache line size:                               64

                Cache size:                                    262144

                Global memory size:                            8478801920

                Constant buffer size:                          131072

                Max number of constant args:                   480

                Local memory type:                             Global

                Local memory size:                             32768

                Kernel Preferred work group size multiple:     128

                Error correction support:                      0

                Unified memory for Host and Device:            1

                Profiling timer resolution:                    310

                Device endianess:                              Little

                Available:                                     Yes

                Compiler available:                            Yes

                Execution capabilities:

                  Execute OpenCL kernels:                      Yes

                  Execute native function:                     Yes

                Queue on Host properties:

                  Out-of-Order:                                Yes

                  Profiling :                                  Yes

                Platform ID:                                   00000037CA9612E0

                Name:                                                  Intel(R) Core(TM) i3-32

              20 CPU @ 3.30GHz

                Vendor:                                        Intel(R) Corporation

                Device OpenCL C version:                       OpenCL C 1.2

                Driver version:                                3.0.1.10878

                Profile:                                       FULL_PROFILE

                Version:                                       OpenCL 1.2 (Build 76413)

                Extensions:                                    cl_khr_fp64 cl_khr_icd cl_khr_g

              lobal_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32

              _base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store

              cl_intel_printf cl_ext_device_fission cl_intel_exec_by_local_thread cl_khr_gl_sh

              aring cl_intel_dx9_media_sharing cl_khr_dx9_media_sharing cl_khr_d3d11_sharing

               

                Platform Name:                                 AMD Accelerated Parallel Proces

              sing

              Number of devices:                               2

                Device Type:                                   CL_DEVICE_TYPE_GPU

                Vendor ID:                                     1002h

                Board name:                                    AMD Radeon HD 7800 Series

                Device Topology:                               PCI[ B#1, D#0, F#0 ]

                Max compute units:                             20

                Max work items dimensions:                     3

                  Max work items[0]:                           256

                  Max work items[1]:                           256

                  Max work items[2]:                           256

                Max work group size:                           256

                Preferred vector width char:                   4

                Preferred vector width short:                  2

                Preferred vector width int:                    1

                Preferred vector width long:                   1

                Preferred vector width float:                  1

                Preferred vector width double:                 1

                Native vector width char:                      4

                Native vector width short:                     2

                Native vector width int:                       1

                Native vector width long:                      1

                Native vector width float:                     1

                Native vector width double:                    1

                Max clock frequency:                           1050Mhz

                Address bits:                                  32

                Max memory allocation:                         1408499712

                Image support:                                 Yes

                Max number of images read arguments:           128

                Max number of images write arguments:          8

                Max image 2D width:                            16384

                Max image 2D height:                           16384

                Max image 3D width:                            2048

                Max image 3D height:                           2048

                Max image 3D depth:                            2048

                Max samplers within kernel:                    16

                Max size of kernel argument:                   1024

                Alignment (bits) of base address:              2048

                Minimum alignment (bytes) for any datatype:    128

                Single precision floating point capability

                  Denorms:                                     No

                  Quiet NaNs:                                  Yes

                  Round to nearest even:                       Yes

                  Round to zero:                               Yes

                  Round to +ve and infinity:                   Yes

                  IEEE754-2008 fused multiply-add:             Yes

                Cache type:                                    Read/Write

                Cache line size:                               64

                Cache size:                                    16384

                Global memory size:                            2147483648

                Constant buffer size:                          65536

                Max number of constant args:                   8

                Local memory type:                             Scratchpad

                Local memory size:                             32768

                Max pipe arguments:                            0

                Max pipe active reservations:                  0

                Max pipe packet size:                          0

                Max global variable size:                      0

                Max global variable preferred total size:      0

                Max read/write image args:                     0

                Max on device events:                          0

                Queue on device max size:                      0

                Max on device queues:                          0

                Queue on device preferred size:                0

                SVM capabilities:

                  Coarse grain buffer:                         No

                  Fine grain buffer:                           No

                  Fine grain system:                           No

                  Atomics:                                     No

                Preferred platform atomic alignment:           0

                Preferred global atomic alignment:             0

                Preferred local atomic alignment:              0

                Kernel Preferred work group size multiple:     64

                Error correction support:                      0

                Unified memory for Host and Device:            0

                Profiling timer resolution:                    1

                Device endianess:                              Little

                Available:                                     Yes

                Compiler available:                            Yes

                Execution capabilities:

                  Execute OpenCL kernels:                      Yes

                  Execute native function:                     No

                Queue on Host properties:

                  Out-of-Order:                                No

                  Profiling :                                  Yes

                Queue on Device properties:

                  Out-of-Order:                                No

                  Profiling :                                  No

                Platform ID:                                   00007FF8CA776B60

                Name:                                          Pitcairn

                Vendor:                                        Advanced Micro Devices, Inc.

                Device OpenCL C version:                       OpenCL C 1.2

                Driver version:                                1642.5 (VM)

                Profile:                                       FULL_PROFILE

                Version:                                       OpenCL 1.2 AMD-APP (1642.5)

                Extensions:                                    cl_khr_fp64 cl_amd_fp64 cl_khr_

              global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int3

              2_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_

              khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store

              cl_khr_gl_sharing cl_ext_atomic_counters_32 cl_amd_device_attribute_query cl_amd

              _vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_d3d1

              0_sharing cl_khr_d3d11_sharing cl_khr_dx9_media_sharing cl_khr_image2d_from_buff

              er cl_khr_spir cl_khr_gl_event

               

               

                Device Type:                                   CL_DEVICE_TYPE_CPU

                Vendor ID:                                     1002h

                Board name:

                Max compute units:                             4

                Max work items dimensions:                     3

                  Max work items[0]:                           1024

                  Max work items[1]:                           1024

                  Max work items[2]:                           1024

                Max work group size:                           1024

                Preferred vector width char:                   16

                Preferred vector width short:                  8

                Preferred vector width int:                    4

                Preferred vector width long:                   2

                Preferred vector width float:                  8

                Preferred vector width double:                 4

                Native vector width char:                      16

                Native vector width short:                     8

                Native vector width int:                       4

                Native vector width long:                      2

                Native vector width float:                     8

                Native vector width double:                    4

                Max clock frequency:                           3300Mhz

                Address bits:                                  64

                Max memory allocation:                         2147483648

                Image support:                                 Yes

                Max number of images read arguments:           128

                Max number of images write arguments:          64

                Max image 2D width:                            8192

                Max image 2D height:                           8192

                Max image 3D width:                            2048

                Max image 3D height:                           2048

                Max image 3D depth:                            2048

                Max samplers within kernel:                    16

                Max size of kernel argument:                   4096

                Alignment (bits) of base address:              1024

                Minimum alignment (bytes) for any datatype:    128

                Single precision floating point capability

                  Denorms:                                     Yes

                  Quiet NaNs:                                  Yes

                  Round to nearest even:                       Yes

                  Round to zero:                               Yes

                  Round to +ve and infinity:                   Yes

                  IEEE754-2008 fused multiply-add:             Yes

                Cache type:                                    Read/Write

                Cache line size:                               64

                Cache size:                                    32768

                Global memory size:                            8478801920

                Constant buffer size:                          65536

                Max number of constant args:                   8

                Local memory type:                             Global

                Local memory size:                             32768

                Max pipe arguments:                            16

                Max pipe active reservations:                  16

                Max pipe packet size:                          2147483648

                Max global variable size:                      1879048192

                Max global variable preferred total size:      1879048192

                Max read/write image args:                     64

                Max on device events:                          0

                Queue on device max size:                      0

                Max on device queues:                          0

                Queue on device preferred size:                0

                SVM capabilities:

                  Coarse grain buffer:                         Yes

                  Fine grain buffer:                           Yes

                  Fine grain system:                           Yes

                  Atomics:                                     Yes

                Preferred platform atomic alignment:           0

                Preferred global atomic alignment:             0

                Preferred local atomic alignment:              0

                Kernel Preferred work group size multiple:     1

                Error correction support:                      0

                Unified memory for Host and Device:            1

                Profiling timer resolution:                    310

                Device endianess:                              Little

                Available:                                     Yes

                Compiler available:                            Yes

                Execution capabilities:

                  Execute OpenCL kernels:                      Yes

                  Execute native function:                     Yes

                Queue on Host properties:

                  Out-of-Order:                                No

                  Profiling :                                  Yes

                Queue on Device properties:

                  Out-of-Order:                                No

                  Profiling :                                  No

                Platform ID:                                   00007FF8CA776B60

                Name:                                                  Intel(R) Core(TM) i3-32

              20 CPU @ 3.30GHz

                Vendor:                                        GenuineIntel

                Device OpenCL C version:                       OpenCL C 1.2

                Driver version:                                1642.5 (sse2,avx)

                Profile:                                       FULL_PROFILE

                Version:                                       OpenCL 1.2 AMD-APP (1642.5)

                Extensions:                                    cl_khr_fp64 cl_amd_fp64 cl_khr_

              global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int3

              2_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_

              khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store

              cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec

              3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_d3d10_sh

              aring cl_khr_spir cl_khr_gl_event

               

              -------------------------------------------------------------------------------------------------------------

              part of the generated log

               

              22:49:04.267, frame received, type: V_ES, size: 40591

              22:49:04.271, frame received, type: A_ES, size: 0

              22:49:04.286, frame received, type: V_ES, size: 258, timestamp: 1500

              22:49:04.287, frame received, type: A_ES, size: 0, timestamp: 1500

              22:49:04.303, frame received, type: V_ES, size: 186, timestamp: 3000

              22:49:04.305, frame received, type: A_ES, size: 0, timestamp: 3000

              22:49:04.318, frame received, type: V_ES, size: 453, timestamp: 4500

              22:49:04.319, frame received, type: A_ES, size: 0, timestamp: 4500

              22:49:04.334, frame received, type: V_ES, size: 513, timestamp: 6000

              22:49:04.334, frame received, type: A_ES, size: 0, timestamp: 6000

              22:49:04.351, frame received, type: V_ES, size: 1662, timestamp: 7500

              22:49:04.352, frame received, type: A_ES, size: 0, timestamp: 7500

              22:49:04.366, frame received, type: V_ES, size: 2461, timestamp: 9000

              22:49:04.367, frame received, type: A_ES, size: 0, timestamp: 9000

              22:49:04.370, frame received, type: V_ES, size: 278, timestamp: 10500

              22:49:04.370, frame received, type: A_ES, size: 0, timestamp: 10500

              22:49:04.386, frame received, type: V_ES, size: 185, timestamp: 12000

              22:49:04.387, frame received, type: A_ES, size: 0, timestamp: 12000

              22:49:04.416, frame received, type: V_ES, size: 26677, timestamp: 13500

              22:49:04.417, frame received, type: A_ES, size: 0, timestamp: 13500

              22:49:04.424, frame received, type: V_ES, size: 575, timestamp: 15000

              22:49:04.425, frame received, type: A_ES, size: 0, timestamp: 15000

              22:49:04.450, frame received, type: V_ES, size: 13913, timestamp: 16500

              22:49:04.451, frame received, type: A_ES, size: 0, timestamp: 16500

              22:49:04.455, frame received, type: V_ES, size: 302, timestamp: 18000

              22:49:04.456, frame received, type: A_ES, size: 0, timestamp: 18000

              22:49:04.483, frame received, type: V_ES, size: 13536, timestamp: 19500

              22:49:04.484, frame received, type: A_ES, size: 0, timestamp: 19500

              22:49:04.501, frame received, type: V_ES, size: 1895, timestamp: 21000

              22:49:04.502, frame received, type: A_ES, size: 0, timestamp: 21000

              22:49:04.518, frame received, type: V_ES, size: 2055, timestamp: 22500

              22:49:04.519, frame received, type: A_ES, size: 0, timestamp: 22500

              22:49:04.536, frame received, type: V_ES, size: 191, timestamp: 24000

              22:49:04.536, frame received, type: A_ES, size: 0, timestamp: 24000

              22:49:04.552, frame received, type: V_ES, size: 190, timestamp: 25500

              22:49:04.553, frame received, type: A_ES, size: 0, timestamp: 25500

              22:49:04.567, frame received, type: V_ES, size: 2214, timestamp: 27000

              22:49:04.568, frame received, type: A_ES, size: 0, timestamp: 27000

              22:49:04.583, frame received, type: V_ES, size: 2655, timestamp: 28500

              22:49:04.583, frame received, type: A_ES, size: 0, timestamp: 28500

              22:49:04.601, frame received, type: V_ES, size: 2373, timestamp: 30000

              22:49:04.602, frame received, type: A_ES, size: 0, timestamp: 30000

              22:49:04.617, frame received, type: V_ES, size: 2058, timestamp: 31500

              22:49:04.618, frame received, type: A_ES, size: 0, timestamp: 31500

              22:49:04.620, frame received, type: V_ES, size: 399, timestamp: 33000

              22:49:04.621, frame received, type: A_ES, size: 0, timestamp: 33000

              22:49:04.651, frame received, type: V_ES, size: 15311, timestamp: 34500

              22:49:04.652, frame received, type: A_ES, size: 0, timestamp: 34500

              22:49:04.667, frame received, type: V_ES, size: 1669, timestamp: 36000

              22:49:04.668, frame received, type: A_ES, size: 0, timestamp: 36000

              22:49:04.684, frame received, type: V_ES, size: 1763, timestamp: 37500

              22:49:04.684, frame received, type: A_ES, size: 0, timestamp: 37500

              22:49:04.702, frame received, type: V_ES, size: 2096, timestamp: 39000

              22:49:04.703, frame received, type: A_ES, size: 0, timestamp: 39000

              22:49:04.717, frame received, type: V_ES, size: 1965, timestamp: 40500

              22:49:04.718, frame received, type: A_ES, size: 0, timestamp: 40500

              22:49:04.735, frame received, type: V_ES, size: 2085, timestamp: 42000

              22:49:04.735, frame received, type: A_ES, size: 0, timestamp: 42000

              22:49:04.752, frame received, type: V_ES, size: 2483, timestamp: 43500

              22:49:04.753, frame received, type: A_ES, size: 0, timestamp: 43500

              22:49:04.755, frame received, type: V_ES, size: 1165, timestamp: 45000

              22:49:04.756, frame received, type: A_ES, size: 0, timestamp: 45000

              22:49:04.784, frame received, type: V_ES, size: 19167, timestamp: 46500

              22:49:04.785, frame received, type: A_ES, size: 0, timestamp: 46500

              22:49:04.801, frame received, type: V_ES, size: 1418, timestamp: 48000

              22:49:04.802, frame received, type: A_ES, size: 0, timestamp: 48000

              22:49:04.818, frame received, type: V_ES, size: 1569, timestamp: 49500

              22:49:04.819, frame received, type: A_ES, size: 0, timestamp: 49500

              22:49:04.835, frame received, type: V_ES, size: 1142, timestamp: 51000

              22:49:04.835, frame received, type: A_ES, size: 0, timestamp: 51000

              22:49:04.850, frame received, type: V_ES, size: 2084, timestamp: 52500

              22:49:04.850, frame received, type: A_ES, size: 0, timestamp: 52500

              22:49:04.867, frame received, type: V_ES, size: 2393, timestamp: 54000

              22:49:04.868, frame received, type: A_ES, size: 0, timestamp: 54000

              22:49:04.883, frame received, type: V_ES, size: 2172, timestamp: 55500

              22:49:04.883, frame received, type: A_ES, size: 0, timestamp: 55500

              22:49:04.901, frame received, type: V_ES, size: 2083, timestamp: 57000

              22:49:04.901, frame received, type: A_ES, size: 0, timestamp: 57000

              22:49:04.917, frame received, type: V_ES, size: 2062, timestamp: 58500

              22:49:04.917, frame received, type: A_ES, size: 0, timestamp: 58500

              22:49:04.934, frame received, type: V_ES, size: 2408, timestamp: 60000

              22:49:04.934, frame received, type: A_ES, size: 0, timestamp: 60000

              22:49:04.952, frame received, type: V_ES, size: 2572, timestamp: 61500

              22:49:04.953, frame received, type: A_ES, size: 0, timestamp: 61500

              22:49:04.967, frame received, type: V_ES, size: 2482, timestamp: 63000

              22:49:04.967, frame received, type: A_ES, size: 0, timestamp: 63000

              22:49:04.984, frame received, type: V_ES, size: 2501, timestamp: 64500

              22:49:04.984, frame received, type: A_ES, size: 0, timestamp: 64500

              22:49:05.000, frame received, type: V_ES, size: 2460, timestamp: 66000

              22:49:05.000, frame received, type: A_ES, size: 0, timestamp: 66000

              22:49:05.018, frame received, type: V_ES, size: 2105, timestamp: 67500

              22:49:05.018, frame received, type: A_ES, size: 0, timestamp: 67500

              22:49:05.033, frame received, type: V_ES, size: 2076, timestamp: 69000

              22:49:05.033, frame received, type: A_ES, size: 0, timestamp: 69000

              22:49:05.051, frame received, type: V_ES, size: 2476, timestamp: 70500

              22:49:05.051, frame received, type: A_ES, size: 0, timestamp: 70500

              22:49:05.067, frame received, type: V_ES, size: 2475, timestamp: 72000

              22:49:05.067, frame received, type: A_ES, size: 0, timestamp: 72000

              22:49:05.084, frame received, type: V_ES, size: 2442, timestamp: 73500

              22:49:05.086, frame received, type: A_ES, size: 0, timestamp: 73500

              22:49:05.102, frame received, type: V_ES, size: 2075, timestamp: 75000

              22:49:05.103, frame received, type: A_ES, size: 0, timestamp: 75000

              22:49:05.117, frame received, type: V_ES, size: 2493, timestamp: 76500

              22:49:05.117, frame received, type: A_ES, size: 0, timestamp: 76500

              22:49:05.133, frame received, type: V_ES, size: 2476, timestamp: 78000

              22:49:05.133, frame received, type: A_ES, size: 0, timestamp: 78000

              22:49:05.150, frame received, type: V_ES, size: 2140, timestamp: 79500

              22:49:05.150, frame received, type: A_ES, size: 0, timestamp: 79500

              22:49:05.167, frame received, type: V_ES, size: 2087, timestamp: 81000

              22:49:05.168, frame received, type: A_ES, size: 0, timestamp: 81000

              22:49:05.184, frame received, type: V_ES, size: 2070, timestamp: 82500

              22:49:05.184, frame received, type: A_ES, size: 0, timestamp: 82500

              22:49:05.201, frame received, type: V_ES, size: 2061, timestamp: 84000

              22:49:05.201, frame received, type: A_ES, size: 0, timestamp: 84000

              22:49:05.219, frame received, type: V_ES, size: 2080, timestamp: 85500

              22:49:05.219, frame received, type: A_ES, size: 0, timestamp: 85500

              22:49:05.234, frame received, type: V_ES, size: 2312, timestamp: 87000

              22:49:05.234, frame received, type: A_ES, size: 0, timestamp: 87000

              22:49:05.251, frame received, type: V_ES, size: 2074,

               

              ------------------------------------------------------------------------------------------------------------

              capabilityManager.exe

              DX11: List of adapters:

                        0: Device ID: 6818 [AMD Radeon HD 7800 Series]

              DX11 : Choosen Device 0: Device ID: 6818 [AMD Radeon HD 7800 Series]

              InitDX11() created HW DX11.1 device

              InitDX11() created HW DX11 device

              Querying video decoder capabilities...

                      Codec AMFVideoDecoderUVD_MJPEG is Not supported

                      Codec AMFVideoDecoderUVD_MPEG4 is Hardware-accelerated

                              Decoder input:

                                      Width: [32-2048]

                                      Height: [32-2048]

                                      Vertical alignment: 32 lines.

                                      Interlaced support: YES

                                      Total of 0 pixel format(s) supported:

                                      Total of 1 memory type(s) supported:

                                              0: HOST (native)

                              Decoder output:

                                      Width: [32-2048]

                                      Height: [32-2048]

                                      Vertical alignment: 32 lines.

                                      Interlaced support: YES

                                      Total of 3 pixel format(s) supported:

                                              0: NV12 (native)

                                              1: BGRA

                                              2: RGBA

                                      Total of 1 memory type(s) supported:

                                              0: DX11 (native)

                      Codec AMFVideoDecoderUVD_H264_AVC is Hardware-accelerated

                              Decoder input:

                                      Width: [32-2048]

                                      Height: [32-2048]

                                      Vertical alignment: 32 lines.

                                      Interlaced support: YES

                                      Total of 0 pixel format(s) supported:

                                      Total of 1 memory type(s) supported:

                                              0: HOST (native)

                              Decoder output:

                                      Width: [32-2048]

                                      Height: [32-2048]

                                      Vertical alignment: 32 lines.

                                      Interlaced support: YES

                                      Total of 3 pixel format(s) supported:

                                              0: NV12 (native)

                                              1: BGRA

                                              2: RGBA

                                      Total of 1 memory type(s) supported:

                                              0: DX11 (native)

                      Codec AMFVideoDecoderUVD_MPEG2 is Hardware-accelerated

                              Decoder input:

                                      Width: [32-2048]

                                      Height: [32-2048]

                                      Vertical alignment: 32 lines.

                                      Interlaced support: YES

                                      Total of 0 pixel format(s) supported:

                                      Total of 1 memory type(s) supported:

                                              0: HOST (native)

                              Decoder output:

                                      Width: [32-2048]

                                      Height: [32-2048]

                                      Vertical alignment: 32 lines.

                                      Interlaced support: YES

                                      Total of 3 pixel format(s) supported:

                                              0: NV12 (native)

                                              1: BGRA

                                              2: RGBA

                                      Total of 1 memory type(s) supported:

                                              0: DX11 (native)

              Querying video encoder capabilities...

                      Codec AMFVideoEncoderVCE_AVC

                              Acceleration Type:Hardware-accelerated

                              number of supported profiles:3

                                      66

                                      77

                                      100

                              number of supported levels:15

                                      10

                                      11

                                      12

                                      13

                                      20

                                      21

                                      22

                                      30

                                      31

                                      32

                                      40

                                      41

                                      42

                                      50

                                      51

                              number of supported Rate Control Metheds:4

                                      0

                                      1

                                      2

                                      3

                              Number of temporal Layers:1

                              Max Supported Job Priority:2

                              IsBPictureSupported:0

               

               

                              Max Number of streams supported:16

                              Encoder input:

                                      Width: [64-1920]

                                      Height: [64-1920]

                                      Vertical alignment: 32 lines.

                                      Interlaced support: NO

                                      Total of 6 pixel format(s) supported:

                                              0: NV12 (native)

                                              1: YUV420P

                                              2: YV12

                                              3: BGRA

                                              4: RGBA

                                              5: ARGB

                                      Total of 4 memory type(s) supported:

                                              0: DX11 (native)

                                              1: OPENCL

                                              2: OPENGL

                                              3: HOST

                              Encoder output:

                                      Width: [64-1920]

                                      Height: [64-1920]

                                      Vertical alignment: 32 lines.

                                      Interlaced support: NO

                                      Total of 1 pixel format(s) supported:

                                              0: NV12 (native)

                                      Total of 4 memory type(s) supported:

                                              0: DX11 (native)

                                              1: OPENCL

                                              2: OPENGL

                                              3: HOST

                      Codec AMFVideoEncoderVCE_SVC

                              Acceleration Type:Hardware-accelerated

                              number of supported profiles:3

                                      66

                                      77

                                      100

                              number of supported levels:15

                                      10

                                      11

                                      12

                                      13

                                      20

                                      21

                                      22

                                      30

                                      31

                                      32

                                      40

                                      41

                                      42

                                      50

                                      51

                              number of supported Rate Control Metheds:4

                                      0

                                      1

                                      2

                                      3

                              Number of temporal Layers:3

                              Max Supported Job Priority:2

                              IsBPictureSupported:0

               

               

                              Max Number of streams supported:16

                              Encoder input:

                                      Width: [64-1920]

                                      Height: [64-1920]

                                      Vertical alignment: 32 lines.

                                      Interlaced support: NO

                                      Total of 6 pixel format(s) supported:

                                              0: NV12 (native)

                                              1: YUV420P

                                              2: YV12

                                              3: BGRA

                                              4: RGBA

                                              5: ARGB

                                      Total of 4 memory type(s) supported:

                                              0: DX11 (native)

                                              1: OPENCL

                                              2: OPENGL

                                              3: HOST

                              Encoder output:

                                      Width: [64-1920]

                                      Height: [64-1920]

                                      Vertical alignment: 32 lines.

                                      Interlaced support: NO

                                      Total of 1 pixel format(s) supported:

                                              0: NV12 (native)

                                      Total of 4 memory type(s) supported:

                                              0: DX11 (native)

                                              1: OPENCL

                                              2: OPENGL

                                              3: HOST

              Querying video converter capabilities...

                              Converter input:

                                      Width: [32-4096]

                                      Height: [32-4096]

                                      Vertical alignment: 2 lines.

                                      Interlaced support: NO

                                      Total of 6 pixel format(s) supported:

                                              0: NV12 (native)

                                              1: YV12 (native)

                                              2: BGRA (native)

                                              3: ARGB (native)

                                              4: RGBA (native)

                                              5: YUV420P (native)

                                      Total of 4 memory type(s) supported:

                                              0: DX11 (native)

                                              1: OPENCL (native)

                                              2: OPENGL (native)

                                              3: HOST

                              Converter output:

                                      Width: [32-4096]

                                      Height: [32-4096]

                                      Vertical alignment: 2 lines.

                                      Interlaced support: NO

                                      Total of 6 pixel format(s) supported:

                                              0: NV12 (native)

                                              1: YV12 (native)

                                              2: BGRA (native)

                                              3: ARGB (native)

                                              4: RGBA (native)

                                              5: YUV420P (native)

                                      Total of 4 memory type(s) supported:

                                              0: DX11 (native)

                                              1: OPENCL (native)

                                              2: OPENGL (native)

                                              3: HOST

              PASS

            • Re: No video recorded with screenCapture example
              5yntax

              Hi dtian,

               

              what player do you use to play the file ?

               

              After i formatted and reinstalled my PC 2 weeks ago videos created with the SDK Sample did not longer play correct, got a black Screen in VLC. I could be a problem with the player you use, as i found out my file that showed black screen in VLC plays normal in Power DVD. Well kinda odd since it worked with VLC also before i reinstalled my PC.

               

              I am not new to DEM, i am working on it since it was released with the first beta of the SDK's ( now 12 months or more ) , i already have a complete product ready which will come to market soon. One big problem with the DEM is that you either get an audio-video-transport or a video-elementary stream. You need to remux the elementary stream into an MPEG4 or WMV container, then it will play nicely on all players out there. The video elementary stream alone is useless as its only playable with very very few players, and as i found out VLC for example sometimes cant play them because VLC makes use of external installed codecs. The only program i know which will always play h264 ( ".h264" ) elementary streams correct is Power DVD.

               

              If your video seems to be black but has a normal size in Bytes/MB then its propably more a problem of the player you use. There is one exception for black screen results, and that is you cant record Direct3D ( DirectX ) accelerated programs ( like games or media players with DX acceleration ) when they are in full screen. Well you could, with an insane amount of work...i managed it after 5 months of investigating,into the Microsoft API's, now i can record from any game or D3D full screen app, but you cant with your simple SDK sample. The SDK sample is only capable of recording from Direct3D 9 ( DirectX 9 ) but only when 2 conditions are met, the game/D3D-full-screen-app must have the same resolution and frequency as your desktop.

               

              Do a simple record of your desktop with no D3D apps involved and if the size is correct then try out a few different players ( maybe Power DVD Trial/Demo Version ) and see if it helps.

               

              With friendly regards

               

              5yntax

                • Re: No video recorded with screenCapture example
                  rising

                  Hi 5yntax,

                   

                  It's great to finally have someone replying back! Cheers for that

                   

                  I actually found that it was the player's issue just yesterday - yes I was using the latest VLC. Debugged the whole sample, everything looked ok, so I tried the FFPlay finally got the screen capture showing.

                  I appreciate the time taken to tell what you've been through. Will surely speed me up and save lots of hours. I'm trying to to capture the desktop and stream to a thin client such as a Raspberry Pi, so everything should go, including gaming.


                  Did not know about the audio having to be remuxed. I'm actually trying now to capture the audio, which is showing to be a challenge. I'm very rookie with the audio/video handling code, but assume the audio is somehow also stored in the file? So I need to remux on the fly as I capture both audio and video, remux it and only then stream through the network?


                  If I'm saying rubbish, please let me know


                  tnks again,