04-21-2019 05:32 PM - 编辑日期 04-21-2019 05:47 PM
我有两块zcu106板子,我想用一块板子发送sdi,另一块接受sdi并编码保存到sd卡中,但是失败了。具体实现如下:
两块板子都运行vcu-trd-2018-3的示例镜像,一个是vcu_sdirx,另一个是vcu_sditx。在发送端,将sd卡中的.ts视频文件转换为sdi发送出去;在接收端,接收sdi并经过vcu编码并保存到sd卡中。但最终,两块板子的串口打印都出现错误,错误分别如下:
发送端:
ERROR: vgst_init() failed error code -74 :: "VLIB No media source Available" Get "VLIB No media source Available" error in Tx only design, can be ignored!!! /*************************Pipeline Information Start*************************/ Pipeline Info : On Fps Info : Off APM Info : Off Output goes on : SDI Frame rate : 60 Number of Source is : 1 Use case is to : Display Device Type : TPG Format : NV12 Width : 2048 Height : 1080 Raw : False Src Type : File Src URI : file:///media/card/2048_12.ts /*************************Pipeline Information End*************************/ Error!! code "GStreamer error: negotiation problem." to pipeline [1] Error!! code "GStreamer error: negotiation problem." to pipeline [1] Error!! code "GStreamer error: negotiation problem." to pipeline [1] Error!! code "GStreamer error: negotiation problem." to pipeline [1] ^CHit Ctrl-C Quitting the app now Quitting the loop playback count 1 pipeline stopped successfully
接收端:
/*************************Pipeline Information Start*************************/ Pipeline Info : On Fps Info : Off APM Info : On Output goes on : SDI Frame rate : 60 Number of Source is : 1 Use case is to : Record B Frames : 0 Bitrate : 60000 Enable L2Cache : True Enc Name : HEVC Gop Len : 30 Profile : Main 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 : 2048 Height : 1080 Raw : False Src Type : Live Src Duration : 1 Recording file path : /media/card/test_1.mp4 /*************************Pipeline Information End*************************/ [ 94.409067] xilinx-sdirxss a0030000.v_smpte_uhdsdi_rx_ss: Video not locked! ERROR: vgst_config_options() failed, error code "VLIB unable to get format"
两个.cfg在附件,因为限制,所以2个文件都加了.txt后缀,去掉就行。
我想请教大家哪里有问题,还是说示例本身无法这样做?希望大家能给我一些指导,谢谢了。
修改时间 04-22-2019 02:22 PM
1. install the patches in AR 71798
2. Debug it with "xmedia-ctl" command on https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/32735264/Zynq+UltraScale+MPSoC+VCU+TRD+2018.3+-+SDI+Video+Capture.