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!

取消
显示结果 
搜索替代 
您的意思是: 
Highlighted
Participant sgbreeze
Participant
92 次查看
注册日期: ‎05-11-2018

106开发板vcu编解码出错

在zcu106开发板上进行vcu编解码,使用gst-launch-1.0命令,输入.yuv原始视频文件,但当格式选择i420时会报错,具体log如下:

root@zcu106_vcu_trd:/media/card/video# gst-launch-1.0 filesrc location="ChinaSpeed_1024x768_30.yuv" ! videoparse format=i420  width=1024 height=768 framerate=30/1 ! omh265enc ! filesink location="china.h265"
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstVideoParse:videoparse0/GstRawVideoParse:inner_rawvideoparse: Internal data stream error.
Additional debug info:
../../../../gstreamer-1.12.2/libs/gst/base/gstbaseparse.c(3597): gst_base_parse_loop (): /GstPipeline:pipeline0/GstVideoParse:videoparse0/GstRawVideoParse:inner_rawvideoparse:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

请问该问题的原因是什么,有相关解决方案吗?谢谢!

0 项奖励
1 条回复
Moderator
Moderator
40 次查看
注册日期: ‎08-02-2007

回复: 106开发板vcu编解码出错

这个问题比较大的可能是yuv文件的格式不是i420里定义的格式.

0 项奖励