My Env)
$ nvidia-smi
Wed Mar 25 12:29:23 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.64.00 Driver Version: 440.64.00 CUDA Version: 10.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Tesla T4 On | 00000000:01:00.0 Off | 0 |
| N/A 27C P8 9W / 70W | 0MiB / 15109MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
$ deepstream-app --version
deepstream-app version 4.0.2
DeepStreamSDK 4.0.2
I noticed VP8 and VP9 encoders won’t work as follows.
$ gst-launch-1.0 videotestsrc ! queue ! nvvideoconvert ! nvv4l2vp8enc ! matroskamux ! filesink location=nv_vp8.mkv
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
ERROR: from element /GstPipeline:pipeline0/nvv4l2vp8enc:nvv4l2vp8enc0: Device '/dev/nvhost-msenc' failed during initialization
Additional debug info:
gstv4l2object.c(4050): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline0/nvv4l2vp8enc:nvv4l2vp8enc0:
Call to S_FMT failed for YM12 @ 320x240: Unknown error -1
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
$ gst-launch-1.0 videotestsrc ! queue ! nvvideoconvert ! nvv4l2vp9enc ! matroskamux ! filesink location=nv_vp9.mkv
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/nvv4l2vp9enc:nvv4l2vp9enc0: Encoder on device /dev/nvhost-msenc has no supported output format
Additional debug info:
gstv4l2videoenc.c(448): gst_v4l2_video_enc_open (): /GstPipeline:pipeline0/nvv4l2vp9enc:nvv4l2vp9enc0
Setting pipeline to NULL ...
Freeing pipeline ...
Both of h264 and h265 work fine.
$ gst-launch-1.0 videotestsrc ! queue ! nvvideoconvert ! nvv4l2h264enc ! h264parse ! matroskamux ! filesink location=nv_h264.mkv
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:02.204977393
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
$ gst-launch-1.0 videotestsrc ! queue ! nvvideoconvert ! nvv4l2h265enc ! h265parse ! matroskamux ! filesink location=nv_h265.mkv
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:02.885758715
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
I can not find which encoders on nvenc are supported by T4.
So, can you clarify?