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.

Running Gstreamer on Vayu EVM

Other Parts Discussed in Thread: TLC59108, DS90UH928Q, DS90UH925Q, TVP5158

Hi,

I have a Vayu EVM xc5777x Rev G board with a LCD Display.
 with rootfs of the GLSDK 6.04. Linux kernel 3.8.

What should I do to run a simple gstreamer application that would read a mpegts file and play it through HDMI. Please guide me!

Thanks and Regards,

Sarah Rajendran

  • Hello,

    Sarah Blessie Rajendran said:
    What should I do to run a simple gstreamer application that would read a mpegts file and play it through HDMI. Please guide m

    Application or pipeline in the console with gst-launch?

    BR

    Margarita

  • Hello,

    If you want to use gst-launch you could try:

    gst-launch -v playbin2 uri=file://<path to TS file>

    If you want to implement it in application let me know.

    BR
    Margarita

  • Hi Margarita,

    Thanks, I need help for both. But mostly for application.

    Regrads,
    Sarah
  • Hi,
    You have to cross compile the gtreamer package for your board.
    Please refer to the following TI wiki page.
    processors.wiki.ti.com/.../GStreamer
    processors.wiki.ti.com/.../ARM_Multimedia_Users_Guide
  • Hello Sarah,

    Could you first verify that the pipeline which I posted you is working?


    BR
    Margarita
  • Hi,
    Thanks, I will try it and let you know.


    Regards,
    Sarah.
  • Hi,
    I have gtsreamer running in the board. I have the following pipeline working
    gst-launch-0.10 filesrc location=input1.wav ! wavparse ! alsasink

    But I cannot play a mpeg audio source
    Inorder to play video I do the following.
    gst-launch-0.10 filesrc location=1332KBps-140S.mpg ! mpegtsdemux ! queue ! ducatimpeg2dec ! kmssinkesrc
    but could not find any display.

    I find the ffmpeg plugin in the link that you have provided, can you tell me how to crosscompile and port it to the board.


    Regards,
    Sarah
  • I give
    gst-launch -v playbin2 uri=file:/opt/opt/1332KBps-140S.mpg

    I gould not get anything in the Displaybut the following error

    .mpg dra7xx-evm:/opt/opt# gst-launch -v playbin2 uri=file:/opt/opt/1332KBps-140S.
    Setting pipeline to PAUSED ...
    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: ring-buffer-max-size = 0
    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-size = -1
    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-duration = -1
    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: use-buffering = FALSE
    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: download = FALSE
    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: uri = "file:/opt/opt/1332KBps-140S.mpg"
    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: connection-speed = 0
    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: source = (GstFileSrc) source
    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps = video/mp8
    Pipeline is PREROLLING ...
    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMpegTSDemux:mpegtsdemux0.GstPad:sink: caps = video/m8
    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMpegTSDemux:mpegtsdemux0: pat-info = ((GValueArray*))
    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMpegTSDemux:mpegtsdemux0: pmt-info = ((MpegTsPmtInfo)
    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:sink0: caps = video/x-l
    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:src0: caps = video/x-hl
    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstH264Parse:h264parse0.GstPad:sink: caps = video/x-h26l
    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h2644
    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-h24
    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-h4
    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:sink1: caps = audio/mp1
    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:src1: caps = audio/mpe1
    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMpegAudioParse:mpegaudioparse0.GstPad:sink: caps = a1
    Assertion 'pthread_mutex_unlock(&m->mutex) == 0' failed at pulsecore/mutex-posix.c:108, function pa_mutex_unlock(). Aborting.
    Aborted

    Regards,
    Sarah
  • Hello,

    Sarah Blessie Rajendran said:
    gst-launch-0.10 filesrc location=input1.wav ! wavparse ! alsasink

    I am not aware with your board but in most of the cases:

    -you shall add the alsa support in the linux kernel (check with menuconfig) and cp the new image;

    -add property to alsasink element : alsasink device="plughw:x,x" (x,x should be check by aplay -l  command for the list of Hardware Devices).

    Sarah Blessie Rajendran said:
    But I cannot play a mpeg audio source
    Inorder to play video I do the following.
    gst-launch-0.10 filesrc location=1332KBps-140S.mpg ! mpegtsdemux ! queue ! ducatimpeg2dec ! kmssinkesrc
    but could not find any display.

    For display element you could check with gst-inspect | grep "sink" or use autovideosink element . I would recommend you to try with playbin2/playbin element not with filesrc. Playbin2 will autoplug and play file.

    Sarah Blessie Rajendran said:
    I find the ffmpeg plugin in the link that you have provided, can you tell me how to crosscompile and port it to the board.

    ./configure --prefix=/path to ffmpeg/ffmpeg-2.6.1/xx  --enable-cross-compile --cross-prefix=/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- --arch=arm  --target-os=linux

    Here is example.

    BR

    Margarita

  • Hello,

    Sarah Blessie Rajendran said:
    /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMpegAudioParse:mpegaudioparse0.GstPad:sink: caps = a1
    Assertion 'pthread_mutex_unlock(&m->mutex) == 0' failed at pulsecore/mutex-posix.c:108, function pa_mutex_unlock(). Aborting.

    Could you provide me this video file?

    BR
    Margarita

  • I have compiled the ffmpeg plugin and have copied the files to the target /usr/lib/ , /usr/include , and /usr/lib/pkgconfig etc but I could not find the plugin in the board with gst-inspect-0.10
    I get the following in the board
    Total count: 197 plugins (25 blacklist entries not shown), 594 features
  • Hi,
    Thanks for your reply,
    I want to run a application programe to play a video file.please tell me what sink & decoder plugin I should use.

    I have compiled the ffmpeg plugin and have copied the files to the target /usr/lib/ , /usr/include , and /usr/lib/pkgconfig etc but I could not find the plugin in the board with gst-inspect-0.10
    I get the following in the board
    Gst-inspect-0.10
    Total count: 197 plugins (25 blacklist entries not shown), 594 features

    Regards,
    Sarah
  • Hello,

    Check this thread it could be in help:

    e2e.ti.com/.../1299733

    BR
    Margarita
  • Hi Margarita,

    Thans for the replay. I have a question when I compile ffmpeg what files I should get.
    I have no .so file generated in the make install path. I have added few other cross compiled so file and it shows the error when I remove the registry file befor the gst-inspect. The following is the error
    (gst-plugin-scanner:1970): GLib-GObject-WARNING **: When installing property: type `GstFreeze' already has a property named `timeout'

    (gst-plugin-scanner:1970): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstsubparse.so': /usr/lib/gstreameri

    (gst-plugin-scanner:1972): GLib-GObject-WARNING **: When installing property: type `GstFreeze' already has a property named `timeout'

    (gst-plugin-scanner:1972): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstsubparse.so': /usr/lib/gstreameri

    sorry for asking such question.since this is the first time i am using gstreamer on board, I culd not understand things.

    Thanks & Regards,
    Sarah.
  • Hello Sarah,

    I haven't seen this warnings before but could you check what is the path of this so libgstreamer-0.10.so and let me know?
    I am wondering where is placed : /usr/lib/gstreamer-0.10 or in /usr/lib ?

    Regarding the ffmpeg are you execute "make install" command? This should be the files:
    libgstffmpeg.a
    libgstffmpeg.so
    libgstpostproc.a
    libgstpostproc.so


    BR
    Margarita
  • I get the following in my install path

    root@sarahblessie:/usr/local/ffmpeg# la
    bin include lib share

    root@sarahblessie:/usr/local/ffmpeg/bin# ls
    ffmpeg ffprobe ffserver

    root@sarahblessie:/usr/local/ffmpeg/lib# ls
    libavcodec.a libavdevice.a libavfilter.a libavformat.a libavutil.a libswresample.a libswscale.a pkgconfig

    root@sarahblessie:/usr/local/ffmpeg/include# ls
    libavcodec libavdevice libavfilter libavformat libavutil libswresample libswscale

    Is this what expected.
  • Hello,

    These libs it seems to me for ffmpeg. Please notice that the libs which I linked starts with gst (the name).
    What you want to build ffmpeg which could be start by executing ./ffmpeg ... or gst-ffmpeg plugin?

    BR
    Margarita
  • A gst-ffmpeg plugin, Sorry I have the wrong source, I will try to compile the gst-ffmpeg plugin

    Soory and Thanks

    Regards,
    Sarah
  • Can you tell me how to set the configuration for the compile.

    Thanks!.
  • I have done the following and have a error

    ./configure --disable-logging --prefix=/usr/local/ffmpegall CC=/home/sarahblessie/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf-gcc --host=arm GST_LIBS=-L/home/sarahblessie/lib/gstreamer-0.10/


    checking whether to build gtk-doc documentation... no
    checking for gtkdoc-check... no
    configure: Looking for Python version >= 2.1
    checking for python... /usr/bin/python
    checking "/usr/bin/python":... okay
    checking local Python configuration... looks good
    checking whether to build plugin documentation... no (gtk-doc disabled or not available)
    checking for cos in -lm... yes
    checking for ANSI C header files... (cached) yes
    checking for GST... yes
    configure: using GStreamer tools in /usr/bin
    configure: using GStreamer plug-ins in /usr/lib/i386-linux-gnu/gstreamer-0.10
    checking for GST_BASE... yes
    checking for GST_PLUGINS_BASE... yes
    configure: using GStreamer Base Plug-ins in /usr/lib/i386-linux-gnu/gstreamer-0.10
    checking for GST_CHECK... yes
    configure: Using GStreamer Core Plugins in /usr/lib/i386-linux-gnu/gstreamer-0.10
    configure: Using GStreamer Base Plugins in /usr/lib/i386-linux-gnu/gstreamer-0.10
    checking for LIBOIL... no
    configure: error: liboil-0.3.6 or later is required


    Ple tell me what to do?

    Thanks and regards,
    Sarah
  • I ahve compiled the gst-ffmpeg plugin but only got

    root@sarahblessie:/usr/local/ffmpegall/lib/gstreamer-0.10# ls -lrt
    total 13916
    -rwxr-xr-x 1 root root 868 May 20 15:21 libgstffmpeg.la
    -rw-r--r-- 1 root root 14241938 May 20 15:21 libgstffmpeg.a


    What is the mistake

    Regards,
    Sarah
  • Hello,

    Sarah Blessie Rajendran said:
    libgstffmpeg.a

    Is a static library, you could try :

       --disable-static --enable-shared

    BR

    Margarita

  • Even Now I get the same

    Regards,
    Sarah
  • Finally got it compiled

    root@sarahblessie:/usr/local/ffdec/lib/gstreamer-0.10# ls
    libgstffmpeg.la libgstffmpeg.so

    I copied these two file to the board and tried gst-inspect

    gst-inspect-0.10 libgstffmpeg.so
    Plugin Details:
    Name: libgstffmpeg.so
    Description: Plugin for blacklisted file
    Filename: /usr/lib/gstreamer-0.10/libgstffmpeg.so
    Version: 0.0.0
    License: BLACKLIST
    Source module: BLACKLIST
    Binary package: BLACKLIST
    Origin URL: BLACKLIST


    0 features:

    After the removal of the registry file I get

    root@dra7xx-evm:/usr/lib# gst-inspect-0.10

    (gst-plugin-scanner:1942): GLib-GObject-WARNING **: When installing property: type `GstFreeze' already has a property named `timeout'

    (gst-plugin-scanner:1946): GLib-GObject-WARNING **: When installing property: type `GstFreeze' already has a property named `timeout'
  • Hello,

    Could you search for ".gstreamer-0.10" it shall be hidden folder?

    BR
    Margarita
  • Yes It is in /home/root/.gstreamer-0.10


    Regards,
    Sarah
  • I have looked for the libgstreamer-0.10.so.0 and it is in /usr/lib/ folder

    I have removed the registry file from the path /home/root/.gstreamer-0.10/registry.arm.bin

    regards,
    Sarah
  • Are you still seeing the warning?

    BR
    Margarita
  • Yes as I said as earlyer. I was doing this from the bigining
  • Hello,

    Sarah Blessie Rajendran said:
    (gst-plugin-scanner:1942): GLib-GObject-WARNING **: When installing property: type `GstFreeze' already has a property named `timeout'

    In fact the timeout property is added with a patch in the bad plugin :

    0001-freeze-Add-timeout-property.patch

    file: gstfreeze.c

    You could try to trace this.

    BR

    Margarita

  • Hi,

     What that means. Is that the patch added causing the problem.

    How to revert this.

    Regards

    Sarah

  • Hello,

    I am not sure what causing the problem. I have not seen this error before but you could try investigate this.

    BR
    Margarita
  • Hi,

    I have gone back to the old default root filesystem og GLSDK 6.04 . When I do the gst-inspect I could see
    root@dra7xx-evm:/usr/lib# gst-inspect-0.10

    (gst-plugin-scanner:4122): GLib-GObject-WARNING **: When installing property: type `GstFreeze' already has a property named `timeout'

    (gst-plugin-scanner:4122): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstsubparse.so': /usr/lib/gstreameri

    (gst-plugin-scanner:4122): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstsubparse.so': /usr/lib/gstreameri

    It was in the default rootfs

    Regards,
    Sarah.
  • Hi,

    I have cross compiled the gst-plugin-bad.0.10.23 to the board and now there is no warning but still get

    (gst-plugin-scanner:4614): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstdecklink.so': /usr/lib/gstreamery

    (gst-plugin-scanner:4614): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstsubparse.so': /usr/lib/gstreameri

    (gst-plugin-scanner:4774): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstdecklink.so': /usr/lib/gstreamery

    (gst-plugin-scanner:4774): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstsubparse.so': /usr/lib/gstreameri


    Total count: 173 plugins (83 blacklist entries not shown), 424 features


    Regards,
    Sarah.
  • Hi,


    I an cross compiling gstreamer-0.10.25 for the board I give the following

    ./configure --prefix=/home/sarahblessie/gstlib/ CC=arm-linux-gnueabi-gcc CXX=arm-linux-gnueabi-g++ --host=arm-linux LDFLAGS=-L/home/sarahblessie/gstlib/lib CFLAGS=-I/home/sarahblessie/gstlib/include --build=i686-linux

    when I give make I get following error

    Making all in pkgconfig
    Making all in gst
    Making all in parse
      CC    lex._gst_parse_yy.o
      CC    grammar.tab.o
      LINK  libgstparse.la
      CC    gst.o
      CC    gstobject.o
      CC    gstbin.o
      CC    gstbuffer.o
      CC    gstbufferlist.o
      CC    gstbus.o
      CC    gstcaps.o
      CC    gstchildproxy.o
      CC    gstclock.o
      CC    gstdebugutils.o
      CC    gstelement.o
    gstelement.c: In function ‘gst_element_get_request_pad’:
    gstelement.c:1017:8: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
      CC    gstelementfactory.o
    gstelementfactory.c: In function ‘gst_element_factory_create’:
    gstelementfactory.c:419:1: error: size of array ‘_GStaticAssertCompileTimeAssertion_3’ is negative
    gstelementfactory.c:418:3: error: invalid use of void expression
    gstelementfactory.c:418:3: error: incompatible type for argument 1 of ‘__sync_bool_compare_and_swap’
    make[4]: *** [libgstreamer_0.10_la-gstelementfactory.lo] Error 1
    make[3]: *** [all-recursive] Error 1
    make[2]: *** [all] Error 2
    make[1]: *** [all-recursive] Error 1
    make: *** [all] Error 2

    Please give me some solution

    Regards,

    Sarah

  • Hello Sarah,

    I would recommend you to check again which gst plugins you download. Refer to Titusrathinaraj Stalin's post.
    Check for read me files.

    BR
    Margarita
  • Hi Margarita,

    The post contain alink to documentation on gstreamer on TI. I have few Questions regarding the gstreamer on my Vayu evm board.

    Pardon me If I am wrong.

    I have flashed the default file system as in the GLSDK 6.04 on my board VAYU EVM Rev G1. I could see the gstreamer already present. Whwn I do the gst-inspect. I get the warning of timeout which I have posted.But all other plugins are listed.


    >>I play audio using waveparse and alsasink and it works fine.I don't find any mpeg decoder plugin for audio.

    >>When I try to play video from mpegts file I don't find any thing in the HDMi screen.

    Is that I cannot cross compile and place the ffmpeg plugin into the board?

    I refereed the document that you have pointed, Does that mean That "I have to compile the ti-plugin available to the board or else it won't work".

    If I have to build the ti-plugin? to get the gstreamer working. Which dvsdk to install? and How to install and compile.?

    ALready tried to compile dvsdk but failed. The gstreamar also do blacklisting of the .so files that i compile to the board.

    please guide me

    Regards,

    Sarah

  • Dear Margarita,

    Thanks for the replay, May I know what you mean?
    I have GLSDK 6.04 and the gstreamer0.10. I don't want gst-launch-1.0 .
    All I wanted to do is to Play a mpegts file using gst-launch-0.10.
    Please tell me what I would need to do that.

    Regards,
    Sarah
  • Hello,

    In the GLSDK package you should have a user guide and in it how to run a gstreamer pipline(examples).

    The user guide which I linked you is for version 7.0. The example pipelines start with gst-launch-1.0 since in there the 1.2 version is supported.

    In your case 0.10 the command should be gst-launch-0.10 since you are using 0.10 version.
    You could check with gst-inspect "playbin2" is it supported and to replace it in the example pipelines in the user guide for 1.0 version.
    When you use playbin/playbin2 element it will autoplug and play media from an uri.

    I would recommend you to check these guides and to run the pipeline with the default GLSDK. But if you are planning to make some changes in the base, bad, ugly etc gstreamer plugins then you shouls rebuild them.

    BR
    Margarita
  • Hi,

    Thanks for your kind replay.
    I have tried it befor but nothing seems to work for me. When I was using playbin it gives me error

    ** Message: don't know how to handle video/mpegts, systemstream=(boolean)true, packetsize=(int)188
    Pipeline is PREROLLING ...
    Missing element: MPEG-2 Transport Stream demuxer
    ERROR: from element /GstPlayBin:playbin0/GstDecodeBin:decodebin0: A MPEG-2 Transport Stream demuxer plugin is required to play this st.
    Additional debug info:
    gstdecodebin.c(1003): close_pad_link (): /GstPlayBin:playbin0/GstDecodeBin:decodebin0:
    No decoder to handle media type 'video/mpegts'
    ERROR: pipeline doesn't want to preroll.
    Setting pipeline to NULL ...
    Freeing pipeline ...


    I tried creating pipeline using gst-launch but could not get anything working. since I am new to this gstreamer cross compiling . I don't understand what is causing the problem.

    I haven't faced such error in PC as well as in the freescale board.
    Please tell How to proceed.

    Regards,
    Sarah.
  • Hello,

    Coudl you try :

    gst-inspect "mpegtsdemux"
    Let me know the result

    BR
    Margarita
  • Hi,
    Please find the details
    Factory Details:
    Long name: The Fluendo MPEG Transport stream demuxer
    Class: Codec/Demuxer
    Description: Demultiplexes MPEG2 Transport Streams
    Author(s): Wim Taymans <wim@fluendo.com>
    Rank: primary (256)

    Plugin Details:
    Name: mpegdemux2
    Description: MPEG demuxers
    Filename: /usr/lib/gstreamer-0.10/libgstmpegdemux.so
    Version: 0.10.23
    License: unknown
    Source module: gst-plugins-bad
    Source release date: 2012-02-20
    Binary package: GStreamer Bad Plug-ins source release
    Origin URL: Unknown package origin

    GObject
    +----GstObject
    +----GstElement
    +----GstMpegTSDemux

    Pad Templates:
    SRC template: 'video_%04x'
    Availability: Sometimes
    Capabilities:
    video/mpeg
    mpegversion: { 1, 2, 4 }
    systemstream: false
    video/x-h264
    stream-format: byte-stream
    alignment: nal
    video/x-dirac
    video/x-wmv
    wmvversion: 3
    format: WVC1

    SRC template: 'audio_%04x'
    Availability: Sometimes
    Capabilities:
    audio/mpeg
    mpegversion: 1
    audio/mpeg
    mpegversion: 4
    stream-format: { adts, loas }
    audio/x-lpcm
    width: { 16, 20, 24 }
    rate: { 48000, 96000 }
    channels: [ 1, 8 ]
    dynamic_range: [ 0, 255 ]
    emphasis: { false, true }
    mute: { false, true }
    audio/x-ac3
    audio/x-eac3
    audio/x-dts
    audio/x-private-ts-lpcm

    SRC template: 'subpicture_%04x'
    Availability: Sometimes
    Capabilities:
    subpicture/x-pgs
    video/x-dvd-subpicture

    SRC template: 'private_%04x'
    Availability: Sometimes
    Capabilities:
    ANY

    SINK template: 'sink'
    Availability: Always
    Capabilities:
    video/mpegts


    Element Flags:
    no flags set

    Element Implementation:
    Has change_state() function: 0xb6a18438
    Has custom save_thyself() function: gst_element_save_thyself
    Has custom restore_thyself() function: gst_element_restore_thyself

    Element has no clocking capabilities.
    Element has no indexing capabilities.
    Element has no URI handling capabilities.

    Pads:
    SINK: 'sink'
    Implementation:
    Has chainfunc(): 0xb6a184f0
    Has custom eventfunc(): 0xb6a163ec
    Has custom queryfunc(): gst_pad_query_default
    Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
    Has setcapsfunc(): 0xb6a160f8
    Has acceptcapsfunc(): gst_pad_acceptcaps_default
    Pad Template: 'sink'

    Element Properties:
    name : The name of the object
    flags: readable, writable
    String. Default: "mpegtsdemux0"
    es-pids : PIDs to treat as Elementary Streams in the absence of a PMT, eg 0x10:0x11:0x20
    flags: readable, writable
    String. Default: ""
    check-crc : Enable CRC checking
    flags: readable, writable
    Boolean. Default: true
    program-number : Program number to demux for (-1 to ignore)
    flags: readable, writable
    Integer. Range: -1 - 2147483647 Default: -1
    pat-info : Array of GObjects containing information from the TS PAT about all programs listed in the current Program Asso)
    flags: readable
    Array of GValues of type "MpegTsPatInfo"
    pmt-info : GObject with properties containing information from the TS PMT about the currently selected program and its sts
    flags: readable
    Object of type "MpegTsPmtInfo"

    Element Signals:
    "pad-added" : void user_function (GstElement* object,
    GstPad* arg0,
    gpointer user_data);
    "pad-removed" : void user_function (GstElement* object,
    GstPad* arg0,
    gpointer user_data);
    "no-more-pads" : void user_function (GstElement* object,
    gpointer user_data);

    Regards,
    Sarah
  • Hello,
    Could you try now :

    gst-launch filesrc location=<path to TS file> typefind=true ! mpegtsdemux name=demux demux.video_00 ! queue ! mpegvideoparse ! decodebin ! kmssink demux.audio_00 ! queue ! faad ! alsasink

    Let me know the result again.

    The video was MPEG2, right or it was H264?


    BR
    Margarita
  • Hi

    gst-launch filesrc location=/opt/opt/1332KBps-140S.mpg typefind=true ! mpegtsdemux name=demux demux.video_00 ! queue ! mpegvideoparse ! decodebin ! kmssink demux.audio_00 ! queue ! faad ! alsasink
    Setting pipeline to PAUSED ...
    [ 3735.879394] omap-dma-engine 4a056000.dma-controller: allocating channel for 79
    Pipeline is PREROLLING ...

    There is no audio or video out on the HDMI


    Regards,
    Sarah.
  • Hello,

    add -v to the pipeline. It seems that the pipeline does not move to playing state.
    It would be better to provide me the video stream, as well.

    BR
    Margarita
  • Hi,
    Please find the result

    Setting pipeline to PAUSED ...
    [ 4571.098358] omap-dma-engine 4a056000.dma-controller: allocating channel for 79
    /GstPipeline:pipeline0/GstFileSrc:filesrc0.GstPad:src: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
    Pipeline is PREROLLING ...
    /GstPipeline:pipeline0/GstMpegTSDemux:demux.GstPad:sink: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
    /GstPipeline:pipeline0/GstMpegTSDemux:demux: pat-info = ((GValueArray*) 0x11f380)
    /GstPipeline:pipeline0/GstMpegTSDemux:demux: pmt-info = ((MpegTsPmtInfo*) 0x12d180)

    The stream file is too big to attach