08-15-2018 08:11 AM
Hi,
I have been unable to get video to display on my Display Port with the vcu_gst_app. Further, I'm puzzled by the statement in the wiki:
====
1.3.2 GStreamer Application (vcu_gst_app)
The vcu_gst_app is a command line multi-threaded Linux application that uses the vcu_gst_lib interface similar to vcu_qt. The command line application requires an input configuration file (input.cfg) to be provided in the plain text. Refer to the Appendix A - Input Configuration File (input.cfg) for the file format and description.
Before execution of vcu_gst_app, we need to check the HDMI-Rx link status. Refer Appendix B for how to check the HDMI Link Status
% vcu_gst_app < path to *.cfg file>
Note: Required Storage medium SATA and USB are mounted at /media/sata and /media/usb respectively.
====
Where are the files that are mounted as /media/sata and /media/usb? Note that these aren't mounted and I see nowhere in the wiki steps where these files are copied to the SD card.
I try to do a simple config file with the TPG being output to the DP, but I get no video. Am I missing something? Config file below.
====
Common Configuration : START Num Of Input : 1 Output : DP Out Type : Display Display Rate : 60 Exit Input Configuration : START Input Num : 1 Input Type : TPG Uri : file:///media/card/vcu_records/test.mp4 Raw : TRUE Width : 3840 Height : 2160 Exit Encoder Configuration : START Encoder Num : 1 Preset : HEVC_HIGH Exit Record Configuration : START Record Num : 1 Out File Name : /media/usb/test_1.mp4 Duration : 1 Exit Streaming Configuration : START Streaming Num : 1 Host IP : 192.168.25.89 Port : 5004 Exit Trace Configuration : START FPS Info : TRUE APM Info : FALSE Pipeline Info : TRUE
====
Any guidance appreciated.
Thanks,
Charlie Hamilton
08-22-2018 12:56 PM - edited 08-23-2018 11:42 AM
Hi,
This is resolved. Rebooting and running vcu_gst_app without first running vcu_qt was the problem. In order to get display port output with vcu_gst_app, I had to run vcu_qt first. I'm guessing it has something to do with enabling the GPU.
Marking solved.
Thanks,
Charlie
08-15-2018 12:27 PM
08-17-2018 02:42 AM
Hi @charlie0611,
Hope that helps,
08-17-2018 06:41 AM
Hi,
I have tried the prebuilt images and don't get DP output with vcu_gst_app. With the config file I'm using I get HDMI output, and the only thing I am changing is the output port from DP to HDMI.
As for the question about the files, I want to find the actual files that are referenced in the numerous config files that are in the /media/card/config directory on the SD card. I would like to use these files because the ones I've tried don't display. I was hoping to use reference files that you refer to in your config files.
Thanks,
Charlie
08-22-2018 12:55 AM
HI @charlie0611,
Could you try the full VCU TRD pre-build images (rdf0428-zcu106-vcu-trd-2018-2.zip\rdf0428-zcu106-vcu-trd-2018-2\images\vcu_trd\rev-c) and see if you can get the DP working?
I am not sure what configuration files you are referring to...
08-22-2018 07:21 AM
Hi florentw,
I already tried the prebuilt images. The DP works with the gui app, but not with the command line app (vcu_gst_app) with the prebuilt images.
I no longer care about the files referenced in the config files (found on /media/card/config/1-4kp60, /media/card/config/2-4kp30, etc.). These files have names like test_1.mp4, etc., and they point to the /media/usb directory. We can use other files for our scripts.
Thanks,
Charlie
08-22-2018 07:28 AM
HI @charlie0611,
Could you try to use the vcu_gst_app with output parametrized to Dp but with a HDMI monitor also connected?
08-22-2018 12:56 PM - edited 08-23-2018 11:42 AM
Hi,
This is resolved. Rebooting and running vcu_gst_app without first running vcu_qt was the problem. In order to get display port output with vcu_gst_app, I had to run vcu_qt first. I'm guessing it has something to do with enabling the GPU.
Marking solved.
Thanks,
Charlie