Hi,
What is the max input resolution supported in scalar component of dvrrdk3.50 for DM8168 CPU rev1.1 ?
What should I do to resize 720p and 1080p resolution in DM8168 with CPU rev1.1 ?
Thanks in advance,
Shabbir Limdiwala
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.
Hi,
What is the max input resolution supported in scalar component of dvrrdk3.50 for DM8168 CPU rev1.1 ?
What should I do to resize 720p and 1080p resolution in DM8168 with CPU rev1.1 ?
Thanks in advance,
Shabbir Limdiwala
Hi Badri,
I want to ask one more thing regarding to this post,
Does scalar supports 1920x1440@30 input resolution in DVR-RDK3.50 for DM8168 ?
If it doesn't then, are there any other component for scaling which can support above mentioned resolution ?
Shabbir Limdiwala
There is a mpSclr link to support scaling of resolution greater than 1920 x 1080.MpSclr link is used in Decoder->Display demo and multich_vdec_vdis.c file can be used as reference for MpSclr configuration.
Hi,
Thanks badri for the quick reply.
Can MpScalar supports more than one instance ?
Thanks,
Shabbir Limdiwala
Hi,
I saw decode_display demo application to get reference of MpScalar. But here I don't see any parameter for setting scaling factor or width and height of the output video.
So What would be the output of MpScalar if the input is greater then 1920x1080 ? (let say in my case 1920x1440)
Thanks,
Shabbir Limdiwala
Hi Shabbir,
MpSclr output resolution is fixed to 1080p 422I. Input can be any MP resolution, but output is always 1080p, so that it can be displayed using display driver.
Regards,
Brijesh Jadav
Mpsclr output is always fixed to 1920x1080. If you want to scale it further you need to add an additional scaler after MpSclr link.
Hi,
I am still confused regarding this.
I have 1920x1440@30 420SP input and i want to scale it down to let say 1920x1200@30 420SP. Is this use case possible in DVR-RDK3.50 ?
Thanks,
Shabbir Limdiwala
Hello,
As per the comment in this post, MP SCLR will output 1920x1080 YUV422I. But my requirement is to encode the data after scaling it. Below is my exact requirement:
- Capture 1920x1440P@30fps, YUV422 data at port 0
- Scale the output of capture module (which is 1920x1440 YUV420SP) to any resolution <= 1920x1440
- Encode the scalled data (which is of resolution <= 1920x1440) to H264 format
- Dump the H264 data in memory
So as per this requirement, how do I create the Link? what are the components that will be used in this Link?
Thanks,
Shabbir
hi Shabbir,
As discussed in earlier post, you will have to use two links, mpsclr link and scalar link. MpSclr link will output in 1080pYUV422I format, which you could down scale to any resolution and get in YUV420 format using next scalar link.
Regards,
Brijesh Jadav
Hello Brijesh,
I am not sure you understand me correct or not. Let me clarify my requirement again.
Below is my exact requirement:
- Capture 1920x1440P@30fps, YUV422 data at port 0
- Scale the output of capture module (which is 1920x1440 YUV420SP) to any resolution <= 1920x1440
- Encode the scalled data (which is of resolution <= 1920x1440) to H264 format
- Dump the H264 data in memory
Here, "<=1920x1440" means I want to scale 1920x1440 to any resolution between "96x80 to 1920x1440". For example, how to create a Link for below use case?
Capture 1920x1440P@30fps YUV422 -> Scale to 1800x1350 -> Encode to H264-> Dump in memory
Regards,
Shabbir
Hi Shabbir,
I can help for down scaling, but not for encoding.
There is one more option, you could down scale using capture inline scaler, so you will not require MpSclr. Each VIP has scalar, which can be used for down scaling to almost any resolution. You could store this output in YUV420 format and then you directly encoder this output. The restriction, well it is not restriction, Scalar output must be even. Otherwise it could create overflow or hang in the capture.
Also there is only one scalar in the VIP, so if you have ,multiple input streams per VIP, you could down scale only one VIP streams. Also there could be overflows, when your input signal is weak.
Regards,
Brijesh Jadav
Hi Brijesh,
Brijesh Jadav said:Each VIP has scalar, which can be used for down scaling to almost any resolution. You could store this output in YUV420 format and then you directly encoder this output. The restriction, well it is not restriction, Scalar output must be even. Otherwise it could create overflow or hang in the capture.
Also there is only one scalar in the VIP, so if you have ,multiple input streams per VIP, you could down scale only one VIP streams. Also there could be overflows, when your input signal is weak.
This is to confirm that, Let say I have 1920x1440@30 YUV422 at VIP0 (Port A) and 1920x1440@30 YUV422 at VIP1 (Port A). Then on both video port, can I able to use inline scalar ?
Thanks,
Shabbir Limdiwala
Yes, your understanding is correct. In each VIP, there is a scalar, which can be used for inline down scaling.
Rgds,
Brijesh
Hi Brijesh,
Yes That is correct but I want to confirm that on both VIP port, inline scalar will able to down scale 1920x1440@30 resolution simultaneously ?
Thanks,
Shabbir Limdiwala
Hi Shabbir,
only thing, each VIp port can support at max 165MHz,
Rgds,
Brijesh