Hello,
I'm working on vdec_vdis use case on DM8168, DVR_RDK_3.0. I'd like to get the resolution (width/height) of H264 video. However, I try to get it via VDEC and VDIS (swMs), but fail. Is there any way to get the correct value?
// Try VDIS function:
WINDOW_S chnlInfo ;
UInt32 WinId = 0 ;
Vdis_getChnlInfoFromWinId( 0, winId, &chnlInfo );
// Try VDEC function:
VIDEO_CHANNEL_LIST_INFO_S channelListInfo ;
Vdec_getChannelInfo( &channelListInfo );
As above code snap, both them return 1920*1080, but the real resolution is 1280*720...
[m3vpss ] *** [SWMS0] Mosaic Parameters ***
[m3vpss ]
[m3vpss ] Output FPS: 28
[m3vpss ]
[m3vpss ] Win | Ch | Input | Input | Input | Input | Output | Output | Output | Output | Low Cost | SWMS | Data | Blank |
[m3vpss ] Num | Num | Start X, Y | Width x Height | Pitch Y / C | Memory Type | Start X, Y | Width x Height | Pitch Y / C | Memory Type | ON / OFF | Inst | Format| Frame |
[m3vpss ] ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
[m3vpss ] 0 | 0 | 0, 0 | 1280 x 720 | 2048 / 2048 | NON-TILED | 780, 270 | 360 x 540 | 3840 / 0 | NON-TILED | OFF | 0 | 420SP | OFF |