Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) :RTX2080TI
• DeepStream Version :5.0
• JetPack Version (valid for Jetson only)
• TensorRT Version :TensorRT-7.0.0.11
• NVIDIA GPU Driver Version (valid for GPU only) :Driver Version: 440.82 CUDA Version: 10.2
• Issue Type( questions, new requirements, bugs) :questions
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
I run the command:
python deepstream_test_2.py /opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264
result a mp4 file like
-rw-r–r-- 1 root root 92288 6月 11 19:35 output1111.mp4
However, the output1111.mp4 is corrupted. Anything wrong?
Here is the modified deepstream_test_2.py:
# print("Creating EGLSink \n")
# sink = Gst.ElementFactory.make("nveglglessink", "nvvideo-renderer")
# if not sink:
# sys.stderr.write(" Unable to create egl sink \n")
print("Creating Filesink \n")
sink = Gst.ElementFactory.make("filesink", "filesink")
if not sink:
sys.stderr.write(" Unable to create file sink \n")
sink.set_property("location", "./output1111.mp4")
sink.set_property("sync", 0)
deepstream_test_2.py (14.8 KB)