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.

settings for displaying output to hdmi

gst-launch filesrc location=sample.mp4 ! qtdemux! h264par
se !omx_h264dec ! omx_scaler ! v4l2sink device=/dev/video2 userpointer=false min
-queued-bufs=2
Setting pipeline to PAUSED ...

** (gst-launch-0.10:1327): CRITICAL **: gst_v4l2sink_sync_rotation: assertion `v4l2_ioctl (fd, VIDIOC_S_CTRL, &control) >= 0' failed

** (gst-launch-0.10:1327): CRITICAL **: gst_v4l2sink_sync_rotation: assertion `v4l2_ioctl (fd, VIDIOC_S_CTRL, &control) >= 0' failed

** (gst-launch-0.10:1327): CRITICAL **: gst_v4l2sink_sync_flip: assertion `v4l2_ioctl (fd, VIDIOC_S_CTRL, &control) >= 0' failed

Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
.Caught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 18220489000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

output on screen is not comming :

echo 1:hdmi > /sys/devices/platform/vpss/graphics0/nodes

echo 1 > /sys/devices/platform/vpss/display1/enabled

  • Getting following notification on insmod of hdmi.ko
    insmod ti81xxhdmi.ko
    HDMI W1 rev 4.0
    I2C Bus Low?


    when redirecting output to hdmi lcd,
    gstreamer script used is :

    gst-launch filesrc location=sample.mp4 ! qtdemux! h264par
    se !omx_h264dec ! omx_scaler ! v4l2sink device=/dev/video2 userpointer=false min
    -queued-bufs=2

  • Hello,
    On LCD :
    gst-launch --verbose filesrc location=/usr/share/ti/data/videos/dm816x_1080p_demo.264 ! 'video/x-h264' ! h264parse access-unit=true ! omx_h264dec ! omx_scaler! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 display-device=LCD ! gstperf ! 'video/x-raw-yuv,width=(int)800,height=(int)480' ! omx_videosink sync=false display-device=LCD

    On HDMI:

    gst-launch --verbose filesrc location=/usr/share/ti/data/videos/dm816x_1080p_demo.264 ! 'video/x-h264' ! h264parse access-unit=true ! omx_h264dec ! omx_scaler! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 ! gstperf ! omx_videosink sync=false

    Both are using omx_videosink element. They decode the h264 elementary stream.

    On HDMI:

    gst-launch -v filesrc location=/usr/share/ti/data/videos/dm816x_1080p_demo.264 ! 'video/x-h264' ! h264parse access-unit=true ! omx_h264dec ! omx_scaler ! 'video/x-raw-yuv, width=(int)1920, height=(int)1080' ! v4l2sink device="/dev/video1" show-preroll-frame=false sync=false min-queued-bufs=2 userpointer=false


    On LCD:

    gst-launch -v filesrc location=/usr/share/ti/data/videos/dm816x_1080p_demo.264 ! 'video/x-h264' ! h264parse access-unit=true ! omx_h264dec ! omx_scaler ! 'video/x-raw-yuv, width=(int)800, height=(int)480' ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 !v4l2sink device="/dev/video2" show-preroll-frame=false sync=false min-queued-bufs=2 userpointer=false

    In this case v4l2sink is used.


    Best Regards,
    Margarita
  • hi ,

    I getting video to a part itself and full screen of lcd .if i use above command
  • Hello,

    karthik reddy2 said:
    I getting video to a part itself and full screen of lcd .if i use above command

    Which one?

    What is your use case?

    If you are set  device=/dev/video2 you will see it on LCD but if you are set /dev/video1 it is HDMI.

    Best Regards,

    Margarita

  • sorry,
    iam getting video only to part of hdmi screen. I used /dev/video1

    i used
  • Hello,
    Pass this caps: 'video/x-raw-yuv, width=(int)1920, height=(int)1080'

    Of course you shall have a omx_scaler element in this case.

    Best Regards,
    Margarita
  • hi,
    Any more settings are their to enable video to hdmi .
  • Hello,

    Refer to the pipeline which I have posted in my previous post. They are working.
    Try them and let me know the result.

    Best Regards,
    Margarita
  • hi,
    gst-launch --verbose filesrc location=/usr/share/ti/data/videos/dm816x_1080p_demo.264 ! 'video/x-h264' ! h264parse access-unit=true ! omx_h264dec ! omx_scaler! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 ! gstperf ! omx_videosink sync=false

    In this video interface is not their , and tried but iam able to get nothing.

    gst-launch -v filesrc location=/usr/share/ti/data/videos/dm816x_1080p_demo.264 ! 'video/x-h264' ! h264parse access-unit=true ! omx_h264dec ! omx_scaler ! 'video/x-raw-yuv, width=(int)1920, height=(int)1080' ! v4l2sink device="/dev/video1" show-preroll-frame=false sync=false min-queued-bufs=2 userpointer=false

    with this iam able to see 1/8 th of video
    In this video interface is not their
  • Hi,

    can you run the decode_display application and see the output on hdmi ?

    Cheers,
    --Prabhakar Lad
  • Hello,

    What is the software release that you are using?

    Are you using EVM or custom board?

    Are yo using the default settings? If you made some changes what are they?

    What you are executing in the console before to start the pipeline?

    Best Regards,
    Margarita
  • hi Margarita Gashova

    i have this app in esdk

    i got video in 1/8 th part of hdmi sc

    Iam using hp LP2465 lcd screen iam getting 1/8 of screen ,for 1920X1080

    ./decode_display_a8host_debug.xv5T -i sample_1280_2.h264
    -w 1920 -h 1080 -f 30 -g 1 -d 0 -c h264
    input file: sample_1280_2.h264
    width: 1920
    height: 1080
    frame_rate: 30
    gfx: fbdev enable
    codec: h264
    display_id: 0
     Decoder-Display example
    ===============================
     OMX_Init completed
     UIAClient is ready to send a UIA configuration command
    UIAClient received UIA_CONFIGURE_ACK
    UIAClient is done sending requests
    UIAClient is ready to send a UIA configuration command
    UIAClient received UIA_CONFIGURE_ACK
    UIAClient is done sending requests
     opening file
     decoder compoenent is created
    PADX: 32 PADY: 24
     level set is 12
     scalar compoenent is created
    set input port params (width = 1920, height = 1080)
    set output port params (width = 1920, height = 1080)
    set number of channels
    set input resolution
    set output resolution
    enable scalar input port
    got eventEnable/Disable Event
    enable scalar output port
    got eventEnable/Disable Event
    found handle 0x130068 for component OMX.TI.VPSSM3.VFDC
     got display handle
    found handle 0x134070 for component OMX.TI.VPSSM3.CTRL.DC
    Buffer Size computed: 4147200
    set input port params (width = 1920, height = 1080)
    setting input and output memory type to default
    enable input port
    got eventEnable/Disable Event
     connect call for decoder-scalar
      connect call for scalar-display
      decoder inport buffers allocated
      decoder outport buffers allocated
     got eventState changed to: OMX_StateIdle
     decoder state IDLE
      Scalar input port use buffer done
      scalar outport buffers allocated
     got eventState changed to: OMX_StateIdle
     scalar state IDLE
     got eventState changed to: OMX_StateIdle
     ctrl-dc state IDLE
     got eventState changed to: OMX_StateIdle
     display state IDLE
     got eventState changed to: OMX_StateExecuting
     display control state execute
     got eventState changed to: OMX_StateExecuting
     display state execute
     got eventState changed to: OMX_StateExecuting
     scalar state execute
     got eventState changed to: OMX_StateExecuting
     decoder state execute
      Graphics thread Created
      file read thread created
      decoder connect thread created
      scalar connect thread created
      display connect thread created
      executing the appliaction now!!!
     
    Fix Screen Info:
    ----------------
    Line Length - 7680
    Physical Address = 8ce00000
    Buffer Length = 41943040

    Var Screen Info:
    ----------------
    Xres - 1920
    Yres - 1080
    Xres Virtual - 1920
    Yres Virtual - 1080
    nonstd       - 0
    Bits Per Pixel - 32
    blue lenth 8 msb 0 offset 0
    red lenth 8 msb 0 offset 16
    green lenth 8 msb 0 offset 8
    trans lenth 8 msb 0 offset 24

    Reg Params Info:  
    ----------------
    region 0 postion 0 x 0 prioirty 1
    first 1 last 1
    sc en 0 sten en 0
    tran en 0, type 0, key 0
    blend 0 alpha 0
    bb en 0 alpha 0

    Var Screen Info:
    ----------------
    Xres - 1280
    Yres - 720
    Xres Virtual - 1280
    Yres Virtual - 1440
    nonstd       - 0
    Bits Per Pixel - 32
    blue lenth 8 msb 0 offset 0
    red lenth 8 msb 0 offset 16
    green lenth 8 msb 0 offset 8
    trans lenth 8 msb 0 offset 24

    Fix Screen Info:
    ----------------
    Line Length - 5120
    Physical Address = 8ce00000
    Buffer Length = 41943040

    Reg Params Info:  
    ----------------
    region 0 postion 0 x 0 prioirty 1
    first 1 last 1
    sc en 0 sten en 0
    tran en 0, type 0, key 0
    blend 0 alpha 0
    bb en 0 alpha 0
    .........

  • i am using HP LP2465 lcd monitor screen , From board am rediresting to hdmi using board ti8148.

    Iam getting 1/8 th of screen for 1920 X1080 .

    regards,

    karthik

  • hi,

    Iam getting HDMI I2C LOW ? getting only 1/8 of screen is getting displayed with iMage.

    karthik
  • hi ,
    iam getting HDMI L2C low ? Iam getting image on 1/8 th of the screen.

    Can you suggest me any fix ?
  • Hello,

    Can you enable the venc to produce color bar test pattern and see the color bar once hdmi module is loaded ? (To enable HDMI pattern you need to enable #define ENABLE_VENC_COLORBAR_TEST  1 in hdmi.c) by default when the module is loaded you need to see color bar pattern on hdmi 1080p60.)

    Regards,

    --Prabhakar Lad