How to make nlecomposition/nleurisource work as expected?

Guofeng Zhang guofeng.zhang at
Wed Oct 14 08:45:38 PDT 2015

I tried to use gnonlin to play part of the audio file (start at 5s in the audio file and the duration is 5s), so I use the following command:
gst-launch-1.0 nlecomposition \( nleurisource uri=file://$PWD/ten.ogg start=0 duration=5000000000 inpoint=5000000000 \) ! audioconvert ! alsasink
I got the following output, which had the error messages listed:
Setting pipeline to PAUSED ...Pipeline is PREROLLING ...(gst-launch-1.0:4619): GStreamer-CRITICAL **: gst_pad_push_event: assertion 'GST_IS_PAD (pad)' failed(gst-launch-1.0:4619): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failedPipeline is PREROLLED ...Setting pipeline to PLAYING ...New clock: GstAudioSinkClockGot EOS from element "pipeline0".Execution ended after 0:00:16.289522903Setting pipeline to PAUSED ...Setting pipeline to READY ...Setting pipeline to NULL ...Freeing pipeline ...

and the audio is played from the begin to the end (16s, not 5s, and not start playing at 5s).
I donot know how to fix it. Your help is appreciated.
I use gstreamer 1.6.0 built from the source by myself, ubuntu 15.04.
if I run the following command:

 gst-launch-1.0 uridecodebin uri=file://$PWD/ten.ogg ! audioconvert ! alsasink
No failed messages output, so I think my environment is fine.
Thanks again.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list