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: 
Participant silat14
Participant
256 Views
Registered: ‎05-07-2018

Zynq UltraScale+ MPSoC VCU TRD 2018.3 - GStreamer error: negotiation problem. to pipeline [1]

Jump to solution

Hello,

I have been trying to implement Zynq UltraScale+ MPSoC VCU TRD 2018.3 - SDI Video Capture and SDI Display project for weeks. My goal is to apply H.264 codec to 1080p 60fps video input and display it with 1080p 60fps resolution. I have a zcu106 rev 1.0 zynq ultrascale+ board, Blackmagic Video Assist 4K, Blackmagic HDLink Pro and DELL U2715H Monitor. I use Blackmagic Video assist 4K device as SDI source(1080p 60fps) and Blackmagic HDLink Pro as SDI sink. HDLink pro converts SDI input to HDMI output which is connected to the monitor.

I am currently stucked at 2.2 GStreamer Application (vcu_gst_app) step(I skipped creating dsa file because I couldn't solve it which is in another post : link ). When I tried to run vcu_gst_app /media/card/config/input.cfg command in Appendix B I got an error:

root@zcu106_vcu_trd:~# xmedia-ctl -d /dev/media0 -p
Media controller API version 4.14.0

Media device information
------------------------
driver xilinx-video
model Xilinx Video Composite Device
serial
bus info
hw revision 0x0
driver version 4.14.0

Device topology
- entity 1: vcap_sdi output 0 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: Sink
<- "a0080000.v_proc_ss":1 [ENABLED]

- entity 5: a0030000.v_smpte_uhdsdi_rx_ss (1 pad, 1 link)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev0
pad0: Source
[fmt:UYVY8_1X16/1920x1080@1000/60000 field:none]
-> "a0080000.v_proc_ss":0 [ENABLED]

- entity 7: a0080000.v_proc_ss (2 pads, 2 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev1
pad0: Sink
[fmt:RBG888_1X24/1280x720 field:none colorspace:srgb]
<- "a0030000.v_smpte_uhdsdi_rx_ss":0 [ENABLED]
pad1: Source
[fmt:VYYUYY8_1X24/1920x1080 field:none colorspace:srgb]
-> "vcap_sdi output 0":0 [ENABLED]

root@zcu106_vcu_trd:~# vcu_gst_app /media/card/config/input.cfg
/*************************Pipeline Information Start*************************/
Pipeline Info : On
Fps Info : On
APM Info : On
Output goes on : SDI
Frame rate : 60
Number of Source is : 1
Use case is to : Display
B Frames : 0
Bitrate : 60000
Enable L2Cache : True
Enc Name : AVC
Gop Len : 60
Profile : High
Qp Mode : Auto
Rc Mode : CBR
Num Slice : 8
GoP Mode : Basic
Filler Data : True
Low Bandwidth : False
Latency Mode : Normal
Device Type : SDI
Format : NV12
Width : 1920
Height : 1080
Raw : False
Src Type : Live Src
URI : file:///media/usb/test_1.ts
/*************************Pipeline Information End*************************/
!! The specified Level is too low and will be adjusted !!
!! Warning specified CPBSize is higher than the Max CPBSize allowed for this level and will be adjusted !!
Error!! code "GStreamer error: negotiation problem." to pipeline [1]

Then I tried to run modetest command but I can only see a blue screen, I also tried to run gst-launch commands with different parameters but I got errors again. Log file is attached. Thanks in advance.

 

0 Kudos
1 Solution

Accepted Solutions
Scholar watari
Scholar
218 Views
Registered: ‎06-16-2013

Re: Zynq UltraScale+ MPSoC VCU TRD 2018.3 - GStreamer error: negotiation problem.&quot; to pipeline

Jump to solution

Hi @silat14 

 

You need to set suitable parameter by xmedia-ctl on media bus (might include v4l2 bus).

Would you change them ?

 

- entity 5: a0030000.v_smpte_uhdsdi_rx_ss (1 pad, 1 link)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev0
pad0: Source
[fmt:UYVY8_1X16/1920x1080@1000/60000 field:none]
-> "a0080000.v_proc_ss":0 [ENABLED]

- entity 7: a0080000.v_proc_ss (2 pads, 2 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev1
pad0: Sink
[fmt:RBG888_1X24/1280x720 field:none colorspace:srgb]
<- "a0030000.v_smpte_uhdsdi_rx_ss":0 [ENABLED]
pad1: Source
[fmt:VYYUYY8_1X24/1920x1080 field:none colorspace:srgb]
-> "vcap_sdi output 0":0 [ENABLED]

 

Best regards,

5 Replies
Scholar watari
Scholar
219 Views
Registered: ‎06-16-2013

Re: Zynq UltraScale+ MPSoC VCU TRD 2018.3 - GStreamer error: negotiation problem.&quot; to pipeline

Jump to solution

Hi @silat14 

 

You need to set suitable parameter by xmedia-ctl on media bus (might include v4l2 bus).

Would you change them ?

 

- entity 5: a0030000.v_smpte_uhdsdi_rx_ss (1 pad, 1 link)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev0
pad0: Source
[fmt:UYVY8_1X16/1920x1080@1000/60000 field:none]
-> "a0080000.v_proc_ss":0 [ENABLED]

- entity 7: a0080000.v_proc_ss (2 pads, 2 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev1
pad0: Sink
[fmt:RBG888_1X24/1280x720 field:none colorspace:srgb]
<- "a0030000.v_smpte_uhdsdi_rx_ss":0 [ENABLED]
pad1: Source
[fmt:VYYUYY8_1X24/1920x1080 field:none colorspace:srgb]
-> "vcap_sdi output 0":0 [ENABLED]

 

Best regards,

Moderator
Moderator
134 Views
Registered: ‎11-21-2018

Re: Zynq UltraScale+ MPSoC VCU TRD 2018.3 - GStreamer error: negotiation problem.&quot; to pipeline

Jump to solution

Hi @silat14 

If your question is answered or your issue is solved, please kindly mark the response which helped as solution (click on "Accept as solution" button below the reply).

 

If this is not solved/answered, please reply in the topic giving more information on your current status.

 

Thanks and Regards,

Aoife
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Participant silat14
Participant
110 Views
Registered: ‎05-07-2018

Re: Zynq UltraScale+ MPSoC VCU TRD 2018.3 - GStreamer error: negotiation problem.&quot; to pipeline

Jump to solution

Hello,

First of all I want to thank to you. Sorry for the late answer.
I tried to apply your advice but I might misunderstood something. I changed the format in the input.cfg file in SD Card as UYVY8 (it was NV12 previously) but nothing has changed and it still shows the format as NV12 after entering the "vcu_gst_app /media/card/config/input.cfg" command. There weren't any format option in other cfg files. In where should I change the format?

Thanks in advance.

0 Kudos
Highlighted
Scholar watari
Scholar
103 Views
Registered: ‎06-16-2013

Re: Zynq UltraScale+ MPSoC VCU TRD 2018.3 - GStreamer error: negotiation problem.&quot; to pipeline

Jump to solution

Hi @silat14 

 

I guess you need to execute the following commands.

 

$ xmedia-ctl -d /dev/media0 -V "\"a0030000.v_smpte_uhdsdi_rx_ss\":0 [fmt:VYYUYY8_1X24/1920x1080 field:nome]

$ xmedia-ctl -d /dev/media0 -V "\"a0080000.v_proc_ss\":0 [fmt:VYYUYY8_1X24/1920x1080 field:nome]

$ v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat='NV12'

 

Best regards,

 

Participant silat14
Participant
84 Views
Registered: ‎05-07-2018

Re: Zynq UltraScale+ MPSoC VCU TRD 2018.3 - GStreamer error: negotiation problem.&quot; to pipeline

Jump to solution

Hello,

I executed the commands you wrote, however, I received "Unable to setup formats: Invalid argument (22)" error after both of xmedia-ctl commands. During my research, I found AR# 71798 and applied this patch. When I execute the commands, the error still remains. Any suggestions?

PS: After executing these commands, I tried "modetest -M xlnx -D a0070000.v_mix -s 36:1920x1080-60@YUYV" and nothing happens. When I enter this command first, it gives a blue screen on my monitor.

Thanks in advance.

0 Kudos