Hi,
I am using Udworks DVR RDK 3.0, and the PCB board is also comes from Udworks. And I want to develop Network Video Recorder (NVR) which records rtsp streams from IPNCs.
There are two major apps within the DVR RDK 3.0, i.e. dvr_rdk_demo_mcfw_api.out, the other one is dvrmain.
The dvr_rdk_demo_mcfw_api.out decodes & display 1080P streams well, however, the dvrmain just decode & displayD1 data, it seems not support 1080P stream.
We stored the 1080P stream into the basket file in dvrmain app., when we try to playback the video, following messages are output:
Note: (1) it seems that the dvrmain app. defined a fixed video resolution (D1), could you tell me how can I change dvrmain default resolution to 1080P.
(2) We are sure the 1080P stream was stored into the basket file, since we read the frame data out using the basket functions, and did the data comparison.
[m3vpss ] 436141: SWMS1 : Loading Vertical Co-effs (UPSCALE)x ...
[m3vpss ] 436141: SWMS1 : Loading Horizontal Co-effs (UPSCALE)x ...
[m3vpss ] 436141: SWMS : Co-effs Loading ... DONE !!!
[m3vpss ]
[m3vpss ] *** [SWMS1] Mosaic Parameters ***
[m3vpss ]
[m3vpss ] Output FPS: 30
[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 | 255 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 0, 0 | 960 x 540 | 3840 / 0 | NON-TILED | OFF | 0 | 422I | OFF |
[m3vpss ] 1 | 255 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 960, 0 | 960 x 540 | 3840 / 0 | NON-TILED | OFF | 0 | 422I | OFF |
[m3vpss ] 2 | 255 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 0, 540 | 960 x 540 | 3840 / 0 | NON-TILED | OFF | 0 | 422I | OFF |
[m3vpss ] 3 | 255 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 960, 540 | 960 x 540 | 3840 / 0 | NON-TILED | OFF | 0 | 422I | OFF |
[m3vpss ]
[BKTMD] - close basket decoding. CH:0, BID:5
app_pb: player state ... (2) !!!!!!!!!!!
app_pb: app_playback_stop ... done rv(0)
plughw:0,1: underrun !!!
[host] MCFW_IPCBITS: Callback function:WRITER_videoEncCbFxn
[host] MCFW_IPCBITS:WRITER_videoProcessFullBufs:INFO: periodic print..
[host] APP_WRITER:WRITER_videoRecvFxn:INFO: periodic print..app_pb: app_playback_start() ... start_time:1364807185
app_pb: app_playback_start() ... state PB_CHANGE
[BKTMD] - set multi playback target disk path :/media/sda1
[BKTMD] - close basket decoding. CH:0, BID:0
[BKTMD] - BKTMD_Open(67):Enter 1364807185
[BKTMD] - found start rec time. [09:06], CH:00, BID:5, idx_fpos:185468
[BKTMD] - Read Resolution first CH:00, 704 X 576, withAudio:1, capMode:0
[BKTMD] - open basket decoding -- CH:0, w:704, h:576, BID:5, B-POS:315502094, I-POS:185468, curiframe:4209, totIFrame:4433
app_pb: player state ... (1) !!!!!!!!!!!
app_pb: app_playback_start()... done rv(0)
app_pb: app_playback_ctrl ... cmd(31) value(1)
app_pb: player state ... (1) !!!!!!!!!!!
[m3video] 442800:DECLINK::links_m3video/iva_dec/decLink_h264.c:[376]::INTERNAL ERROR:-1
[m3video] ALGPROCESS FAILED:STATUS
[m3video] outArgs->viddec3OutArgs.extendedError for channel 0 Error: 0x1421
[m3video] Sequence called number 429
[m3video] 442816:DECLINK::links_m3video/iva_dec/decLink_h264.c:[376]::INTERNAL ERROR:-1
[m3video] ALGPROCESS FAILED:STATUS
[m3video] outArgs->viddec3OutArgs.extendedError for channel 0 Error: 0x1421
[m3video] Sequence called number 430
[m3video] 442895:DECLINK::links_m3video/iva_dec/decLink_h264.c:[376]::INTERNAL ERROR:-1
[m3video] ALGPROCESS FAILED:STATUS
[m3video] outArgs->viddec3OutArgs.extendedError for channel 0 Error: 0x208001
[m3video] Sequence called number 431
[m3video] 442895: DECODE: CH0: Decoder flush needed (2129921)!!!
[m3video] 442895: DECODE: CH0: Decoder Flushing !!!
[m3video] 442912:DECLINK::links_m3video/iva_dec/decLink_h264.c:[376]::INTERNAL ERROR:-1
[m3video] ALGPROCESS FAILED:STATUS
[m3video] outArgs->viddec3OutArgs.extendedError for channel 0 Error: 0x1421
[m3video] Sequence called number 432
[m3video] 442944:DECLINK::links_m3video/iva_dec/decLink_h264.c:[376]::INTERNAL ERROR:-1
[m3video] ALGPROCESS FAILED:STATUS
[m3video] outArgs->viddec3OutArgs.extendedError for channel 0 Error: 0x1421
[m3video] Sequence called number 433