gstreamer-devel Digest, Vol 25, Issue 26

Gary Thomas gary at mlbassoc.com
Wed Feb 6 15:26:45 PST 2013


On 2013-02-06 16:02, jim hopper wrote:
> I am trying to get a dump of individual pads out of tsdemux.  If I do
>
> gst-launch-0.10 filesrc location=scan_eagle.video ! tsdemux ! Fakesync
> dump=true
>
> It appears to dump the video pes packet data.  Ok so far, now I want to
> control which output pad in tsdemux I dump so I tried this:
>
>
> gst-launch-0.10 filesrc location=scan_eagle.video ! tsdemux name=d
> d.video_%04x ! fakesink dump=true
>
> Where I got the name from gst-inspect which is shown as:
>
>    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
>
>
> But this won't run it prints out
>
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
>
> Then never progresses from there.
>
> Could someone point me to what I am screwing up please?

Your pipeline is stalled because there won't ever be a pad named video_%04x.

The pad name 'video_%04x' will be expanded and a pad number
filled in as needed.  Hence the first pad will be named video_0000,
the second video_0001, etc.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


More information about the gstreamer-devel mailing list