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.

  • Resolved

[FAQ] Compiler: TDA2x: Sometime Gstreamer video is not displaying in monitor when I used waylandsink

Genius 10820 points

Replies: 1

Views: 63

Tool/software: TI C/C++ Compiler

Hi,

Case 1 : Getting an SIGSEGV error for the below pipeline

gst-launch-1.0 filesrc location= /usr/share/ti/video/TearOfSteel-Short-1920x800.mov ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! ducatih264dec ! vpe ! 'video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1280' ! waylandsink

Setting pipeline to PAUSED ...
Caught SIGSEGV
#0 0xb6d33c78 in __waitpid (pid=1615, stat_loc=0xbed2c1bc, options=0)
#1 0xb6d64efe in g_on_error_stack_trace () from /usr/lib/libglib-2.0.so.0
#2 0x00013076 in ?? ()
Spinning. Please run 'gdb gst-launch-1.0 1614' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.

Case 2: No error & no video displaying

gst-launch-1.0 filesrc location= /usr/share/ti/video/TearOfSteel-Short-1920x800.mov ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! ducatih264dec ! vpe ! 'video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1280' ! waylandsink

Setting pipeline to PAUSED ...
[ 1400.804254] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

What are the steps to overcome this issue?

Thanks

Gaviraju

  • Hi,

    Case 1: We will get a SIGSEGV error when the Weston application is not running, so we need to run the Weston application before Gstreamer command

    Run the below command to launch the Weston application

    • /etc/init.d/weston start &

    If the above command is not working then run the below command 

    • weston --tty=1 --backend=drm-backend.so --idle-time=0 & 

    Now you can see the Weston background on the display as below.

     

    Case 2: In this case the weston application is running in the background & other application is running in the foreground, so we need to kill the foreground application inorder to view the Gstreamer O/P on the display

    Ex: If the Matrix-GUI application is running in the foreground, run the below command to stop the Matrix-GUI application

    • /etc/init.d/matrix-gui-2.0 stop


    The Matrix-GUI application looks like as below.

    Thanks

    Gaviraju

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.