我见RDK里面带有10MP 8MP 5MP对应的参数,我将ipnc_rdk_mcfw.out的参数设置成10MP,fSetVideoSize及fSetStreamConfig设置成对应分辨率后,跑lowpower的例子,网页上显示的是黑色的。
请问专家,是什么原因引起的?
还需要改别的地方吗?
steven Lee1:
同问改分辨率的问题
我把tristream lowpower模式的双路1080P-D1(720×480) H264和1080P mjpeg的码流设置改为1080P-D1(720×576) H264+1080P mjpeg
更改了fSetVideoSize及fSetStreamConfig,改了multich_tristream_lowpower.c中的
pCameraOutPrm = &pCameraInstPrm->outParams[1]; pCameraOutPrm->dataFormat = SYSTEM_DF_YUV420SP_UV; pCameraOutPrm->scEnable = FALSE; pCameraOutPrm->scOutWidth = 720; pCameraOutPrm->scOutHeight = 576; pCameraOutPrm->standard = /*SYSTEM_STD_NTSC;*/SYSTEM_STD_PAL; pCameraOutPrm->outQueId = 1;
然后我看了打印信息如下
MultiCh_createTriStreamLowPwr : glbce disabled! res combo = 0 !!!!!!!!!! [m3vpss ] CameraLink_tskMain, 472 [m3vpss ] CameraLink_tskMain, 489 [m3vpss ] 3894: CAMERA: Create in progress !!! [m3vpss ] CameraLink_drvCreate:camera outqueues width=1920,height=1080 [m3vpss ] number output queues = 2 [m3vpss ] CameraLink_drvCreate:camera outqueues width=720,height=576
[m3video] 4371: ENCODE: Create in progress … !!! [m3video] 4435: ENCODE: Creating CH0 of 1920 x 1080, pitch = (1920, 1920) [PROGRESSIVE] [NON-TILED ], bitrate = 8000 Kbps … [m3video] ENCLINK_H264:HEAPID:0 USED:13808 [m3video] 4542: ENCODE: Creating CH1 of 720 x 576, pitch = (720, 720) [PROGRESSIVE] [NON-TILED ], bitrate = 8000 Kbps …
[host] IpcBitsInLink_tskMain:Entered [host] 1096: IPC_BITS_IN : Create in progress !!!
[host] 1096: IPC_BITS_IN : ListMPOpen start !!!
[host] 1096: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_28] …
[host] 1098: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_28] …
[host] 1099: IPC_BITS_IN : ListMPOpen done !!!
[host] 1100: IPC_BITS_IN : System_linkGetInfo done !!!
[host] 1100: IPC_BITS_IN : Create Done !!!
[host] USECASE SETUP DONE
[host] App_runDemo, 393 [m3vpss ] 4567: CAMERA: Start in progress !!! [m3video] ENCLINK_H264:HEAPID:0 USED:11912 [m3vpss ] 4567: CAMERA: Start Done !!! [m3video] 4648: ENCODE: Creating CH2 of 1920 x 1080, pitch = (1920, 1920) [PROGRESSIVE] [NON-TILED ], bitrate = 100 Kbps … [m3video] jpeg link width=1920,height=1080 [m3video] ENCLINK_JPEG:HEAPID:0 USED:4432 [m3video] 4649: ENCODE: All CH Create … DONE !!! [m3video] ENCLINK:HEAPID:0 USED:30472 [m3video] 4652: ENCODE: Create … DONE !!! [m3video] 4599: VSTAB : Alg Create Done !!! [m3video] 4599: VSTAB : Create Done !!! [m3video] 4653: IPC_BITS_OUT : Create in progress !!! [m3video] 4655: IPC_BITS_OUT : Create Done !!!
从打印信息看起来三路的encode参数配置跟我的目标是一致的,即第二路的720×480转换成了720×576 H264编码,但是从网页和vlc看到的第二路h264 D1码流仍然是720×480的,这是为什么呢,是还有什么其他地方需要更改么
请大家指教,谢谢
steven Lee1:
回复 steven Lee1:
顶
没有专家大牛们支持一下啊
Haitao Chen:
请问,你的这个问题解决了没有啊?如果解决了,是怎么解决的?我也遇到这个问题了。请帮个忙,谢谢