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.

HDMI scaling support

Hi,


Is it possible I a capture 1080p60 since I dont have a 1080tv the hdmi driver scale it to 720p60 or 640x480 NTSC/PAL.

Cheers,

Steve

  • Hello Steve,

    What is the software release that you are using?

    You could capture 1080p and display it on HDMI with 720p or 640x480 resolution by using the scaler component for example.

    Best Regards,
    Margarita

  • Hi Margarita,

    I a m using th ezsdk release. Is there any specific configuration structure to change so that I can test the same with capture encode application on the evm which captures 1080p60 and displays NTSC ?

    Cheers,
    Steve
  • Hello,

    You should change the resolution to 720x480 on Linux and OMX side.
    You could check here:
    processors.wiki.ti.com/.../TI81XX_PSP_VPSS_Video_Driver_User_Guide
    You could check the omx decode_display demo and the OMX user guide.

    Best Regards,
    Margarita
  • Hi Margarita,

    Not sure if I have put my question right, I want to have this while capture_enode application, I want the capture encode to run and it should be 1080p60 itself and I want to display NTSC.

    Cheers,
    Steve
  • Hello,

    You want to display it on HDMI with 720x480p/640x480p resolution or you want to display it on SD display?

    Best Regards,
    Margarita

  • Hello,

    On HDMI display.

    Cheers,
    Steve
  • Hi Margarita,

    May be I misread you, here is what I exactly want
    a: Display 720p60 while it is encoding 1080p60 (and mp4 is 1080p60 itself) on HDMI connector.
    b: Display NTSC/PAL while its encoding 1080p60 (and mp4 is 1080p60 itself) on SD connector.

    Cheers,
    Steve
  • Hello,

    If I remember right I have made the changes for OMX decode_display demo to decode 1080p elementary stream and to display it with 720x480p resolution on LCD. I would recommend you to check the platform_utils.h where the timings for custom mode (LCD display as secondary display )are defined and how the DEI is used for scaling to display size. It should be similar for the HDMI, I have not try it.

    As I said in my previous post the resolution 480p shall be changed on linux side as well.

    Example :

    echo 0 > /sys/devices/platform/vpss/display1/enabled
    echo 27027,720/16/60/62,480/9/30/6,1 > /sys/devices/platform/vpss/display1/timings
    echo 1 > /sys/devices/platform/vpss/display1/enabled
    fbset -xres 720 -yres 480 -vxres 720 -vyres 480

    Best Regards,
    Margarita
  • Hello,

    Then ignore my previous post!

    Steve Hooper said:
    a: Display 720p60 while it is encoding 1080p60 (and mp4 is 1080p60 itself) on HDMI connector

    The Display timings should be set for 720p60. Check the VFPC component (DEI )in the OMX user guide for scaling.

    If you not change these two defines :

    #define IL_CLIENT_ENC_WIDTH           (1920)
    #define IL_CLIENT_ENC_HEIGHT          (1080)

    The encoder will encode it with 1080p resolution.

    Regarding the mp4, you will need a muxer to mux it in this container. In OMX we do not have such element.

    You could use gstreamer. In gstreamer we have a mux elements.

    Steve Hooper said:
    b: Display NTSC/PAL while its encoding 1080p60 (and mp4 is 1080p60 itself) on SD connector.

    What you mean by SD connector, the composite output on the EVM?

    Regarding