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.

Linux/AM5728: Not able to see video on screen

Part Number: AM5728

Tool/software: Linux

hi

am trying to see video on my host pc from AM5728 evm. AM57xx EVM camera board rev  C, is connected to sitara evm.

procedure:

1.opened minicom

2.login as root

3.executed below command:my host pc ip is 172.16.10.119.

gst-launch-1.0 -e v4l2src device=/dev/video1  io-mode=5 ! 'video/x-raw, \
format=(string)NV12, width=(int)640, height=(int)480, framerate=(fraction)30/1' ! ducatih264enc bitrate=1000 ! queue ! h264parse config-interval=1 ! mpegtsmux  ! udpsink host=172.16.10.119 sync=false port=5000

following output seen:

root@am57xx-evm:~# gst-launch-1.0 -e v4l2src device=/dev/video1  io-mode=5 ! 'video/x-raw, \
rval=1 ! mpegtsmux  ! udpsink host=172.16.10.119 sync=false port=5000action)30/1' ! ducatih264enc bitrate=1000 ! queue ! h264parse config-int
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Cannot identify device '/dev/video1'.
Additional debug info:
../../../gst-plugins-good-1.8.3/sys/v4l2/v4l2_calls.c(606): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: No such file or directory
Setting pipeline to NULL ...
Freeing pipeline ...

4.then

 root@am57xx-evm:~# cd /dev
root@am57xx-evm:/dev# ls
autofs              ptyc4               ptys9               ptyye               tty57               ttyp0               ttyv5              
bc_example          ptyc5               ptysa               ptyyf               tty58               ttyp1               ttyv6              
block               ptyc6               ptysb               ptyz0               tty59               ttyp2               ttyv7              
bus                 ptyc7               ptysc               ptyz1               tty6                ttyp3               ttyv8              
char                ptyc8               ptysd               ptyz2               tty60               ttyp4               ttyv9              
cmem                ptyc9               ptyse               ptyz3               tty61               ttyp5               ttyva              
console             ptyca               ptysf               ptyz4               tty62               ttyp6               ttyvb              
cpu_dma_latency     ptycb               ptyt0               ptyz5               tty63               ttyp7               ttyvc              
crypto              ptycc               ptyt1               ptyz6               tty7                ttyp8               ttyvd              
dce-callback        ptycd               ptyt2               ptyz7               tty8                ttyp9               ttyve              
disk                ptyce               ptyt3               ptyz8               tty9                ttypa               ttyvf              
dri                 ptycf               ptyt4               ptyz9               ttyS0               ttypb               ttyw0              
fb                  ptyd0               ptyt5               ptyza               ttyS1               ttypc               ttyw1              
fb0                 ptyd1               ptyt6               ptyzb               ttyS2               ttypd               ttyw2              
fd                  ptyd2               ptyt7               ptyzc               ttyS3               ttype               ttyw3              
full                ptyd3               ptyt8               ptyzd               ttyS4               ttypf               ttyw4              
gdbtty0             ptyd4               ptyt9               ptyze               ttyS5               ttyq0               ttyw5              
gdbtty1             ptyd5               ptyta               ptyzf               ttyS6               ttyq1               ttyw6              
gpiochip0           ptyd6               ptytb               ram0                ttyS7               ttyq2               ttyw7              
gpiochip1           ptyd7               ptytc               ram1                ttyS8               ttyq3               ttyw8              
gpiochip2           ptyd8               ptytd               ram10               ttyS9               ttyq4               ttyw9              
gpiochip3           ptyd9               ptyte               ram11               ttya0               ttyq5               ttywa              
gpiochip4           ptyda               ptytf               ram12               ttya1               ttyq6               ttywb              
gpiochip5           ptydb               ptyu0               ram13               ttya2               ttyq7               ttywc              
gpiochip6           ptydc               ptyu1               ram14               ttya3               ttyq8               ttywd              
gpiochip7           ptydd               ptyu2               ram15               ttya4               ttyq9               ttywe              
gpiochip8           ptyde               ptyu3               ram2                ttya5               ttyqa               ttywf              
hwrng               ptydf               ptyu4               ram3                ttya6               ttyqb               ttyx0              
i2c-0               ptye0               ptyu5               ram4                ttya7               ttyqc               ttyx1              
i2c-2               ptye1               ptyu6               ram5                ttya8               ttyqd               ttyx2              
i2c-4               ptye2               ptyu7               ram6                ttya9               ttyqe               ttyx3              
initctl             ptye3               ptyu8               ram7                ttyaa               ttyqf               ttyx4              
input               ptye4               ptyu9               ram8                ttyab               ttyr0               ttyx5              
kmem                ptye5               ptyua               ram9                ttyac               ttyr1               ttyx6              
kmsg                ptye6               ptyub               random              ttyad               ttyr2               ttyx7              
log                 ptye7               ptyuc               rfkill              ttyae               ttyr3               ttyx8              
loop-control        ptye8               ptyud               rpc_example_2       ttyaf               ttyr4               ttyx9              
loop0               ptye9               ptyue               rpmsg-dce           ttyb0               ttyr5               ttyxa              
loop1               ptyea               ptyuf               rtc                 ttyb1               ttyr6               ttyxb              
loop2               ptyeb               ptyv0               rtc0                ttyb2               ttyr7               ttyxc              
loop3               ptyec               ptyv1               rtc1                ttyb3               ttyr8               ttyxd              
loop4               ptyed               ptyv2               rtc2                ttyb4               ttyr9               ttyxe              
loop5               ptyee               ptyv3               shm                 ttyb5               ttyra               ttyxf              
loop6               ptyef               ptyv4               snd                 ttyb6               ttyrb               ttyy0              
loop7               ptyp0               ptyv5               stderr              ttyb7               ttyrc               ttyy1              
mem                 ptyp1               ptyv6               stdin               ttyb8               ttyrd               ttyy2              
memory_bandwidth    ptyp2               ptyv7               stdout              ttyb9               ttyre               ttyy3              
mmcblk0             ptyp3               ptyv8               tty                 ttyba               ttyrf               ttyy4              
mmcblk0p1           ptyp4               ptyv9               tty0                ttybb               ttys0               ttyy5              
mmcblk0p2           ptyp5               ptyva               tty1                ttybc               ttys1               ttyy6              
mmcblk1             ptyp6               ptyvb               tty10               ttybd               ttys2               ttyy7              
mmcblk1boot0        ptyp7               ptyvc               tty11               ttybe               ttys3               ttyy8              
mmcblk1boot1        ptyp8               ptyvd               tty12               ttybf               ttys4               ttyy9              
mmcblk1p1           ptyp9               ptyve               tty13               ttyc0               ttys5               ttyya              
mmcblk1p2           ptypa               ptyvf               tty14               ttyc1               ttys6               ttyyb              
mmcblk1p3           ptypb               ptyw0               tty15               ttyc2               ttys7               ttyyc              
mqueue              ptypc               ptyw1               tty16               ttyc3               ttys8               ttyyd              
network_latency     ptypd               ptyw2               tty17               ttyc4               ttys9               ttyye              
network_throughput  ptype               ptyw3               tty18               ttyc5               ttysa               ttyyf              
null                ptypf               ptyw4               tty19               ttyc6               ttysb               ttyz0              
port                ptyq0               ptyw5               tty2                ttyc7               ttysc               ttyz1              
psaux               ptyq1               ptyw6               tty20               ttyc8               ttysd               ttyz2              
ptmx                ptyq2               ptyw7               tty21               ttyc9               ttyse               ttyz3              
ptp0                ptyq3               ptyw8               tty22               ttyca               ttysf               ttyz4              
pts                 ptyq4               ptyw9               tty23               ttycb               ttyt0               ttyz5              
ptya0               ptyq5               ptywa               tty24               ttycc               ttyt1               ttyz6              
ptya1               ptyq6               ptywb               tty25               ttycd               ttyt2               ttyz7              
ptya2               ptyq7               ptywc               tty26               ttyce               ttyt3               ttyz8              
ptya3               ptyq8               ptywd               tty27               ttycf               ttyt4               ttyz9              
ptya4               ptyq9               ptywe               tty28               ttyd0               ttyt5               ttyza              
ptya5               ptyqa               ptywf               tty29               ttyd1               ttyt6               ttyzb              
ptya6               ptyqb               ptyx0               tty3                ttyd2               ttyt7               ttyzc              
ptya7               ptyqc               ptyx1               tty30               ttyd3               ttyt8               ttyzd              
ptya8               ptyqd               ptyx2               tty31               ttyd4               ttyt9               ttyze              
ptya9               ptyqe               ptyx3               tty32               ttyd5               ttyta               ttyzf              
ptyaa               ptyqf               ptyx4               tty33               ttyd6               ttytb               ubi_ctrl           
ptyab               ptyr0               ptyx5               tty34               ttyd7               ttytc               udev_network_queue
ptyac               ptyr1               ptyx6               tty35               ttyd8               ttytd               urandom            
ptyad               ptyr2               ptyx7               tty36               ttyd9               ttyte               v4l                
ptyae               ptyr3               ptyx8               tty37               ttyda               ttytf               vcs                
ptyaf               ptyr4               ptyx9               tty38               ttydb               ttyu0               vcs1               
ptyb0               ptyr5               ptyxa               tty39               ttydc               ttyu1               vcs2               
ptyb1               ptyr6               ptyxb               tty4                ttydd               ttyu2               vcs3               
ptyb2               ptyr7               ptyxc               tty40               ttyde               ttyu3               vcs4               
ptyb3               ptyr8               ptyxd               tty41               ttydf               ttyu4               vcs5               
ptyb4               ptyr9               ptyxe               tty42               ttye0               ttyu5               vcs6               
ptyb5               ptyra               ptyxf               tty43               ttye1               ttyu6               vcsa               
ptyb6               ptyrb               ptyy0               tty44               ttye2               ttyu7               vcsa1              
ptyb7               ptyrc               ptyy1               tty45               ttye3               ttyu8               vcsa2              
ptyb8               ptyrd               ptyy2               tty46               ttye4               ttyu9               vcsa3              
ptyb9               ptyre               ptyy3               tty47               ttye5               ttyua               vcsa4              
ptyba               ptyrf               ptyy4               tty48               ttye6               ttyub               vcsa5              
ptybb               ptys0               ptyy5               tty49               ttye7               ttyuc               vcsa6              
ptybc               ptys1               ptyy6               tty5                ttye8               ttyud               video0             
ptybd               ptys2               ptyy7               tty50               ttye9               ttyue               video10            
ptybe               ptys3               ptyy8               tty51               ttyea               ttyuf               video11            
ptybf               ptys4               ptyy9               tty52               ttyeb               ttyv0               watchdog           
ptyc0               ptys5               ptyya               tty53               ttyec               ttyv1               watchdog0          
ptyc1               ptys6               ptyyb               tty54               ttyed               ttyv2               zero               
ptyc2               ptys7               ptyyc               tty55               ttyee               ttyv3                                  
ptyc3               ptys8               ptyyd               tty56               ttyef               ttyv4

5.changed video1 to video11, output as follows

root@am57xx-evm:/dev# gst-launch-1.0 -e v4l2src device=/dev/video11  io-mode=5 ! 'video/x-raw, \     ttyv4                                 
format=(string)NV12, width=(int)640, height=(int)480, framerate=(fraction)30/1' ! ducatih264enc bitrate=1000 ! queue ! h264parse config-inr
al=1 ! mpegtsmux  ! udpsink host=172.16.10.119 sync=false port=5000action)30/1' ! ducatih264enc bitrate=1000 ! queue ! h264parse config-ina
Setting pipeline to PAUSED ...                                                                                                             
[  797.301320] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1                                                                          
Pipeline is live and does not need PREROLL ...                                                                                             
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.                                                  
Additional debug info:                                                                                                                     
../../../../gstreamer-1.8.3/libs/gst/base/gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:            
streaming task paused, reason not-negotiated (-4)                                                                                          
ERROR: pipeline doesn't want to preroll.                                                                                                   
Setting pipeline to PAUSED ...                                                                                                             
Setting pipeline to READY ...                                                                                                              
Setting pipeline to NULL ...                                                                                                               
Freeing pipeline ...

kindly help me in resolving this issue

thanks in advance

  • Hello,

    Please execute this command : ls /dev/video*
    and post the output please.
    By default /dev/video11 is used for omapwb-cap. Gstreamer does not support WB.

    BR
    Margarita
  • Hello,

    In additional what is your video source ? Is it TI camera module ?
    If it is, please share the output of these commands:
    root@am57xx-evm:~# dmesg | grep ov10
    root@am57xx-evm:~# dmesg | grep mt9t


    BR
    Margarita
  • root@am57xx-evm:~# ls /dev/video*
    /dev/video0 /dev/video10 /dev/video11
  • hi
    yes am using TI camera module(AM57XX EVM CAMERA MODULE written on module).
    no output is coming after executing
    root@am57xx-evm:~# dmesg | grep ov10
    root@am57xx-evm:~# dmesg | grep mt9t
    root@am57xx-evm:~#
  • Hello,

    processors.wiki.ti.com/.../How_to_Change_dtb_File
    Please add this line in uEnv.txt:
    fdtfile=am57xx-evm-reva3-cam-ov10635.dtb
    restart the board
    and post again the ls /dev/video*

    BR
    Margarita
  • hi

    thank you for the reply

    i changed my uenv.text file. now am able to see video on my lcd screen.

    output after changing:

    root@am57xx-evm:~#  ls /dev/video*
    /dev/video0   /dev/video1   /dev/video10  /dev/video11
    root@am57xx-evm:~# dmesg | grep ov10
    [    1.769186] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/clk_ov10635[0]' - status (0)
    [    6.842696] of_get_named_gpiod_flags: can't parse 'mux-gpios' property of node '/ocp/i2c@4807c000/ov10635@30[0]'
    [    6.842721] ov1063x 4-0030: GPIO lookup for consumer reset
    [    6.842725] ov1063x 4-0030: using device tree for GPIO lookup
    [    6.842748] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ocp/i2c@4807c000/ov10635@30[0]' - status (0)                   
    [    6.842758] ov1063x 4-0030: GPIO lookup for consumer powerdown                                                                               
    [    6.842761] ov1063x 4-0030: using device tree for GPIO lookup                                                                                
    [    6.842783] of_get_named_gpiod_flags: parsed 'powerdown-gpios' property of node '/ocp/i2c@4807c000/ov10635@30[0]' - status (0)               
    [    7.246069] ov1063x 4-0030: ov1063x Product ID a6 Manufacturer ID 35                                                                         
    [    7.281274] vip2-s0: Port A: Using subdev ov1063x 4-0030 for capture                                                                         
    [    7.303630] ov1063x 4-0030: ov1063x 4-0030 sensor driver registered !!                                                                       
    root@am57xx-evm:~#

    now same video i wanted to see in my host pc,

  • Hello,

    I am glad that you are seeing /dev/video1 now.
    Since you have working pipeline you could replace videosink element with udpsink.
    Here is example:
    gst-launch-1.0 -e v4l2src device=/dev/video1 io-mode=5 ! 'video/x-raw, format=(string)NV12, width=(int)640, height=(int)480, framerate=(fraction)30/1' ! ducatih264enc ! queue ! h264parse config-interval=1 ! mpegtsmux ! udpsink host=192.168.10.1 sync=false port=5000

    or

    gst-launch-1.0 -e v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(fraction)30/1' ! vpe num-input-buffers=8 ! queue ! ducatih264enc ! queue ! h264parse config-interval=1 ! mpegtsmux ! udpsink host=192.168.10.1 sync=false port=5000

    The main difference between these two pipeline is the input format. In first case is NV12 and vpe is not added since the encoder accept as input the same format. You could obtain more information in here:
    processors.wiki.ti.com/.../Processor_Training:_Multimedia

    You could change the input resolution in the capsfilter, encoder parser and muxer depending of you use case.
    You must change the IP address if there is a need also.


    Hope this helps.

    BR
    Margarita
  • hi
    i executed first link with ip address of my host pc: following is the output:

    gst-launch-1.0 -e v4l2src device=/dev/video1 io-mode=5 ! 'video/x-raw, format=(string)NV12, width=(int)640, height=(int)480, framerate=(fraction)30/1' ! ducatih264enc ! queue ! h264parse config-interval=1 ! mpegtsmux ! udpsink host=172.16.10.119 sync=false port=50000
    Setting pipeline to PAUSED ...
    [ 1169.712511] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    Pipeline is live and does not need PREROLL ...[ 1169.755803] vip2-s0: vip_s_fmt_vid_cap queue busy

    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/video1' is busy
    Additional debug info:
    ../../../gst-plugins-good-1.8.3/sys/v4l2/gstv4l2object.c(3451): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
    Call to S_FMT failed for NV12 @ 640x480: Device or resource busy
    EOS on shutdown enabled -- waiting for EOS after Error
    Waiting for EOS...
    ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.
    Additional debug info:
    ../../../../gstreamer-1.8.3/libs/gst/base/gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
    streaming task paused, reason not-negotiated (-4)
    ERROR: from element /GstPipeline:pipeline0/MpegTsMux:mpegtsmux0: Could not create handler for stream
    Additional debug info:
    ../../../gst-plugins-bad-1.8.3/gst/mpegtsmux/mpegtsmux.c(868): mpegtsmux_create_streams (): /GstPipeline:pipeline0/MpegTsMux:mpegtsmux0


    and i executed second one, following is the output:

    gst-launch-1.0 -e v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(fraction)30/1' ! vpe num-input-buffers=8 ! queue ! ducatih264enc ! queue ! h264parse config-interval=1 ! mpegtsmux ! udpsink host=172.16.10.119 sync=false port=5000 num-input-buffers=8 ! queue ! ducatih264enc ! queue ! h264parse config-interval=1 ! mpegtsm
    Setting pipeline to PAUSED ...
    [ 1316.688839] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    Pipeline is live and does not need PREROLL ...[ 1316.733219] vip2-s0: vip_s_fmt_vid_cap queue busy

    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/video1' is busy
    Additional debug info:
    ../../../gst-plugins-good-1.8.3/sys/v4l2/gstv4l2object.c(3451): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
    Call to S_FMT failed for YUYV @ 1280x720: Device or resource busy
    EOS on shutdown enabled -- waiting for EOS after Error
    Waiting for EOS...
    ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.
    Additional debug info:
    ../../../../gstreamer-1.8.3/libs/gst/base/gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
    streaming task paused, reason not-negotiated (-4)
    ERROR: from element /GstPipeline:pipeline0/MpegTsMux:mpegtsmux0: Could not create handler for stream
    Additional debug info:
    ../../../gst-plugins-bad-1.8.3/gst/mpegtsmux/mpegtsmux.c(868): mpegtsmux_create_streams (): /GstPipeline:pipeline0/MpegTsMux:mpegtsmux0


    output video is not opening in vlc.......
  • Hello,

    Please post the pipeline that was working on your side where you observed the video on display.

    BR
    Margarita

  • hi
    that video i seen in sitara am5728 screen after enabling uenv text file through minicom...
  • Hello,

    No, I mean to share the pipeline, the thing that starts with gst-launch.
    This one that you said is working -"i changed my uenv.text file. now am able to see video on my lcd screen."

    Where you are executing this pipeline:
    gst-launch-1.0 -e v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(fraction)30/1' ! vpe num-input-buffers=8 ! queue ! ducatih264enc ! queue ! h264parse config-interval=1 ! mpegtsmux ! udpsink host=192.168.10.1 sync=false port=5000

    The error that you are seeing says that /dev/video1 is busy please restart the board.

    BR
    Margarita

  • hi
    am executing from my host pc to sitara am5728 evm via minicom.
  • Hello,

    Please share the output of this command:
    gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720' ! vpe num-input-buffers=8 ! queue ! waylandsink

    BR
    Margarita
  • hi

    gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720' ! vpe num-input-buffers=8 ! queue ! waylandsink
    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    [ 141.697311] vip2-s0: vip_s_fmt_vid_cap queue busy
    Got EOS from element "pipeline0".
    Execution ended after 0:00:33.424485415
    Setting pipeline to PAUSED ...
    Setting pipeline to READY ...
    Setting pipeline to NULL ...
    Freeing pipeline ...
    eight=(int)720' ! vpe num-input-buffers=8 ! queue ! waylandsinkm-buffers=1000 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)1280, e
    Setting pipeline to PAUSED ...
    Caught SIGSEGV
    #0 __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:46
    #1 0xb6c52212 in __waitpid (pid=1360, stat_loc=0xbece123c, options=0)
    #2 0xb6cd2b0c in g_on_error_stack_trace () from /usr/lib/libglib-2.0.so.0
    #3 0x000132e0 in ?? ()
    Spinning. Please run 'gdb gst-launch-1.0 1359' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
  • Hello,

    I am using the same fdtfile=am57xx-evm-reva3-cam-ov10635.dtb as you.
    I tried this :
    /etc/init.d/weston stop
    gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720' ! vpe num-input-buffers=8 ! queue ! kmssink
    and I do not see any error.

    root@am57xx-evm:~# /etc/init.d/weston stop
    Stopping Weston
    vpe num-input-buffers=8 ! queue ! kmssink2, width=(int)1280, height=(int)720' !
    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    Got EOS from element "pipeline0".
    Execution ended after 0:00:33.512400807
    Setting pipeline to PAUSED ...
    Setting pipeline to READY ...
    Setting pipeline to NULL ...
    Freeing pipeline ...
    root@am57xx-evm:~#

    Please screws to fix the camera module if you did not.
    Let me know the PSDK version that you are using.

    BR
    Margarita
  • hi

    same output am getting, but display is going off after executing' /etc/init.d/weston stop  '

    root@am57xx-evm:~# /etc/init.d/weston stop                                                                                                     
    Stopping Weston                                                                                                                                
    eight=(int)720' ! vpe num-input-buffers=8 ! queue ! kmssink1 num-buffers=1000 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)1280,  
    Setting pipeline to PAUSED ...                                                                                                                 
    Pipeline is live and does not need PREROLL ...                                                                                                 
    Setting pipeline to PLAYING ...                                                                                                                
    New clock: GstSystemClock                                                                                                                      
    Got EOS from element "pipeline0".                                                                                                              
    Execution ended after 0:00:33.437848213                                                                                                        
    Setting pipeline to PAUSED ...                                                                                                                 
    Setting pipeline to READY ...                                                                                                                  
    Setting pipeline to NULL ...                                                                                                                   
    Freeing pipeline ...                                                                                                                           
    root@am57xx-evm:~#

    camera is mounted with screws, sdk installed on my host and sitara is 'ti-processor-sdk-linux-am57xx-evm-04.03.00.05'

  • Hello,

    Try now with this pipeline for streaming:
    gst-launch-1.0 -e v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(fraction)30/1' ! vpe num-input-buffers=8 ! queue ! ducatih264enc ! queue ! h264parse config-interval=1 ! mpegtsmux ! udpsink host=192.168.10.1 sync=false port=5000

    Please change the IP addr there is a need.

    BR
    Margarita
  • hi
    i executed after changing ip address: output as follows

    root@am57xx-evm:~# gst-launch-1.0 -e v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(fraction)30/1' ! vpe num-input-buffers=8 ! queue ! ducatih264enc ! queue ! h264parse config-interval=1 ! mpegtsmux ! udpsink host=172.16.10.119 sync=false port=5000
    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    Got EOS from element "pipeline0".
    Execution ended after 0:00:33.406558407
    Setting pipeline to PAUSED ...
    Setting pipeline to READY ...
    Setting pipeline to NULL ...
    Freeing pipeline ...
    root@am57xx-evm:~#

    but video is not coming in vlc player., showing error in vlc as:Your input can't be opened:
    VLC is unable to open the MRL '172.16.10.51:11311'. Check the log for details.
  • Hello,

    The pipeline is working from what I see. It seems like VLC setting issue.
    Try to set the VLC setting like udp://@:5000


    BR
    Margarita
  • hi

    finally i can see video in my vlc, but it is not able to display continuously , i think some issue is there. thank u so much in resolving the issue ;-)

  • hi

    root@am57xx-evm:~# gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(fraction)30/1' ! vpe num-input-buffers=8 ! queue ! ducatih264enc ! queue ! h264parse config-interval=1 ! mpegtsmux ! udpsink host=172.16.10.119 sync=false port=5000
    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    Got EOS from element "pipeline0".
    Execution ended after 0:00:33.412926383
    Setting pipeline to PAUSED ...
    Setting pipeline to READY ...
    Setting pipeline to NULL ...
    Freeing pipeline ...
    root@am57xx-evm:~#

    after configuring ip address am able to see video in vlc ,but that video is lasting only for few seconds (i think 33 sec) and terminating the command as pasted above. is it default setting in gstreamer or can we configure that?????????//
  • Hello,

    shann said:
    but it is not able to display continuously

    Please remove this - num-buffers=1000 from the pipeline, This is the reason to see video only for 33seconds in your case.

     Please if this answers your question, verify the answer (click on green button).

    If you have new questions/issues you could open a new topic.

    Thank you!

    Best Regards,

    Margarita

  • hi
    thank you , it resolved.