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.

dm368 evm+ tvp5146 +rdk 3.1

Other Parts Discussed in Thread: TVP5146

各位前辈

   小弟在dm368 evm+ tvp5146 +rdk 3.1上面,想实现 PAL一路输入模拟信号,然后进行两路H264编码。看了av_server

照理说./av_server.out D1 736 576 H264 256000 CBR AUTO H264 100000 CBR AUTO DM368 这样应该是可以同时编码两路视频,但是发现例子中有

YUV_MODE_INTERLACED这个宏,在UI_setConfig中的switch(D1)时,有如下代码:

#ifdef YUV_MODE_INTERLACED
config->numCaptureStream = 1;
#else
config->numCaptureStream = 2;
#endif

这样的话,我在把编码后的数据保存成文件,发现只有主码流的视频,没有子码流。后来把这个宏屏蔽了(修改makefile,重编RDK,运行进程hang up )不行。按理说config->numCaptureStream = 2;这样才是我想要的,又不能屏蔽这个宏,该如何做?如何传递参数给av_server,请高手指点一下。

tvp5146外接模拟摄像头PAL的。

主要实现:一路PAL输入,两路H264编码输出。谢谢