This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM57xx gstreamer C 编码问题



Hi:

最近在尝试使用C代码替代gst-launch-1.0 

测试命令行如下,是正常的

gst-launch-1.0 filesrc location=/opt/dgp/web/video/jpeg3.nv12 ! videoparse width=1280 height=640 format=nv12 framerate=12/1 ! video/x-raw, width=1280, height=640 ! ducatih264enc  inter-interval = 1 level=51 profile=100 bitrate=16000 ! filesink location=/opt/dgp/web/video/test.h264

但是在代码上碰到了些问题:

拿到的输出文件是0字节大小。求助。

Thank