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.

DM8168 Netra - dynamic resolution change

Other Parts Discussed in Thread: TVP5158

Hello,

I have some problems with following sequence..

 

1) Receive h.264 stream from network camera. No problem, I can see video on monitor.

2) Stop RTPRX component (stateExecuting -> stateIdle). 

3) Shutdown RTSP session. (Live555)

3) To request stream of different resolution, Init RTSP session.

4) Start RTPRX component (stateIdle -> stateExecuting). 

5) In vdec component, OMX_TI_VIDDEC_Process() detect IH264VDEC_ERR_PICSIZECHANGE error.

    Here is problem. System gets down "sometimes" here.

 

I read the manual but could not understand well.

Do I neet to do "dynamic port reconfiguration"?

Do I have to re-allocate buffers based on the new resolution?

If I have to reconfigurate port for resolution change, which one do I neet to do from following:

a) RTPRX output port

b) VDEC input port

c) VDEC output port

d) VFPC input port

 

Please give me some advice. Thank you.

  • Hi,

    VDEC would give this error, If It detects the resolution has changed compare to previus frame. If the buffers allocated are larger than new resolution, It would work without any issue. If buffers are smaller, than It will not work. Currently we do not have dynamic port reconfiguration, so It will be advisable to allocate buffers for highest possible resolution in a given stream.

    Please mention the SDK version also in posts.

    Thanks

    Regards

    Vimal

  • Hi,

     

    about resolution configuration: currently can I configure at the startup every channel with different resolution? I mean for example:

    Channel 1 at D1

    Channle 2 at CIF

    channel 3 at D1

    and so on.

     

    Is it possible?

     

    Thanks

  • Hello,

    Yes, it is possible to support different configurations including different input picture resolutions for different channels.

    Regards,
    Marc

  • Thanks,

     

    how can I do this with OMX? Can you indicate me some examples in order to study how developing this feature?

     

    Thanks!!!

  • hi,

     

    I'm interested in camera configuration too. I need to understand how can I configure a vs2 application in order to have all cameres at differet resolution and fps.

    So for example:

     

    Camera1 --- D1 25fps

    Camera2 -- cif  12 fps

    ...

    Camera4 -- D1 8 fps

    ...

     

    and so on.

     

    Can someone help me with implementation of this feature with OMX?

     

    Thanks

  • Hi,

     

    I think this can be done by configuring TVP5158 to output either D1 or CIF for each channel. fps can be controlled by drop data feature of the capture driver. For each channel, fields to be dropped can be specified in the 30 bit value and this way, each channel can have different fps.

     

    Current TVP5158 driver does not support setting output resolution for each channel, it supports setting resolution for each TVP5158 instance. Each instance of the TVP5158 can multiplex 4 channels of D1, so current driver sets the output resolution for all multiplexed channels of the given instance.

     

    Thanks,

    Brijesh Jadav