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.

Multiple resolution of video encode

Hi TI expert,

In the RDK 01.06.00.11, it can't support multiple resolution of video encode at each capture channel.

I know the deinterlace link own scale function can control the output resolution, but it only can make same resolution output for the output channels of deinterlace link.

It seems not easy to modify code to complete this feature after my understanding.

Anyone can give me some advance to know how to complete this feature? It seems must to modify  fvid2 driver. This will take big effort for me.

Thanks!

Jacson

 

  • Hi,

    Our current release (01.08.00.15) supports configuration of deinterlacer link scalar output on a per channel basis. You can configure the output resolution for each channel separately.

    Regards,

    Anshuman

    PS: Please mark this post as verified, if you think it has answered your question. Thanks.

  • Hi Anshuman,

    Thanks for your response, I will verify that at the new RDK release.

    Jacson

  • Hi Anshuman,

    Thank you for the new feature support, but we find an encode error problem when encode resolution dynamic changed sequence like as D1->QCIF->D1.

    The error log repeat show following,

     [m3video] ENCLINK:ERROR in Enclink_h264EncodeFrame.Status[-1]
     [m3video] 50932223:!ERROR!:ENCLINK::links_m3video/iva_enc/encLink_h264.c:[178]::INTERNAL ERROR:-1
     [m3video] ALGCONTROL FAILED:CMD:1
     [m3video] 50932223:WARN
     [m3video]  ENCLINK: ERROR in Run time parameters changes, Extended Error code:1073790976
     [m3video] 50932224:!ERROR!:ENCLINK::links_m3video/iva_enc/encLink_h264.c:[344]::INTERNAL ERROR:-1
     [m3video] ALGPROCESS FAILED
     [m3video] 50932224:WARN
     [m3video] ENCLINK:ERROR in Enclink_h264EncodeFrame.Status[-1]
     [m3video] 50932255:!ERROR!:ENCLINK::links_m3video/iva_enc/encLink_h264.c:[344]::INTERNAL ERROR:-1
     [m3video] ALGPROCESS FAILED
     [m3video] 50932255:WARN
     [m3video] ENCLINK:ERROR in Enclink_h264EncodeFrame.Status[-1]
     [m3video] 50932287:!ERROR!:ENCLINK::links_m3video/iva_enc/encLink_h264.c:[344]::INTERNAL ERROR:-1
     [m3video] ALGPROCESS FAILED
     [m3video] 50932287:WARN
     [m3video] ENCLINK:ERROR in Enclink_h264EncodeFrame.Status[-1]

    My analog source type is NTSC.

    Could you help us to resolved this problem?

    Thanks.

    Jacson

  • Hi Jacson,

    I think we found an issue in our demo application where we set the resolution wrongly for D1 when we do switching from D1-->CIF-->D1, The D1 resolution that is used the second time is for PAL resolution where as codec was created for NTSC resolution. This is getting fixed in next release. Meanwhile, you can change your application to verify that NTSC resolution of D1 is passed the second time also instead of PAL resolution.

    regards,

    Anshuman

  • Hi Anshuman,

    Thanks your fast reply.

    The problem is as you said. After my modified, the dynamic resolution changed can be work until now.

    Thanks,

    Jacson