UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor charlie0611
Visitor
1,010 Views
Registered: ‎08-02-2018

VCU TRD vcu_gst_app and /media/sata /media/usb files

Jump to solution

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

  • Execution of the application is shown below:
% 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

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
Visitor charlie0611
Visitor
947 Views
Registered: ‎08-02-2018

Re: VCU TRD vcu_gst_app and /media/sata /media/usb files

Jump to solution

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

0 Kudos
7 Replies
Visitor charlie0611
Visitor
986 Views
Registered: ‎08-02-2018

Re: VCU TRD vcu_gst_app and /media/sata /media/usb files

Jump to solution
I have gotten the HDMI output to work with a similar config file, but when switching to the Display Port output, it doesn't work.
0 Kudos
Moderator
Moderator
948 Views
Registered: ‎11-09-2015

Re: VCU TRD vcu_gst_app and /media/sata /media/usb files

Jump to solution

Hi @charlie0611,

 

  • DP issue:
    Did you try with the pre-built images (full VCU). Can you get the DP output to work?
  • /media/sata /media/usb
    You will mount your device if you have any connected (ex USB stick). This can be used to save the encoder output or as decoder input

Hope that helps,


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Visitor charlie0611
Visitor
939 Views
Registered: ‎08-02-2018

Re: VCU TRD vcu_gst_app and /media/sata /media/usb files

Jump to solution

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

0 Kudos
Moderator
Moderator
912 Views
Registered: ‎11-09-2015

Re: VCU TRD vcu_gst_app and /media/sata /media/usb files

Jump to solution

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...


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Visitor charlie0611
Visitor
904 Views
Registered: ‎08-02-2018

Re: VCU TRD vcu_gst_app and /media/sata /media/usb files

Jump to solution

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

0 Kudos
Moderator
Moderator
902 Views
Registered: ‎11-09-2015

Re: VCU TRD vcu_gst_app and /media/sata /media/usb files

Jump to solution

HI @charlie0611,

 

Could you try to use the vcu_gst_app with output parametrized to Dp but with a HDMI monitor also connected?


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Visitor charlie0611
Visitor
948 Views
Registered: ‎08-02-2018

Re: VCU TRD vcu_gst_app and /media/sata /media/usb files

Jump to solution

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

0 Kudos