gnlcomposition question

SteveO oliviers at cisco.com
Tue Nov 8 16:26:09 PST 2011


Greetings-

I wanted to simply concatenate multiple video sources together into a single
file. I saw some examples for gnlcomposition and figured I'd try to do some
command line pipelines that would send the resulting video to ximagesink
first before writing any code. I did a couple of simple camera captures to
get some source video. I can't quite get my gnlcomposition with both camera
captures to work, however. I can run a gnlcomposition pipeline for either
one of the vidos separately and it works. I just can't get both together to
work. I've tried adjusting the start and media start of the video2
gnlfilesource, but I seem to still be doing it wrong.


this works...
gst-launch-0.10 gnlcomposition name=comp gnlfilesource name=video1
location=/home/oliviers/test1.avi start=0 duration=5000000000 media-start=0
media-duration=5000000000   ! ffmpegcolorspace ! ximagesink

this works...
gst-launch-0.10 gnlcomposition name=comp gnlfilesource name=video1
location=/home/oliviers/test2.avi start=0 duration=5000000000 media-start=0
media-duration=5000000000   ! ffmpegcolorspace ! ximagesink

this doesn't work
gst-launch-0.10 gnlcomposition name=comp gnlfilesource name=video1
location=/home/oliviers/test1.avi start=0 duration=5000000000
media-start=0000000000 media-duration=5000000000 gnlfilesource name=video2
location=/home/oliviers/test2.avi start=0 duration=5000000000
media-start=0000000000 media-duration=5000000000  ! ffmpegcolorspace !
ximagesink

The resulting output from the failed attempt is this...
$ gst-launch-0.10 gnlcomposition name=comp gnlfilesource name=video1
location=/home/oliviers/test1.avi start=0 duration=5000000000
media-start=0000000000 media-duration=5000000000 gnlfilesource name=video2
location=/home/oliviers/test2.avi start=0 duration=5000000000
media-start=0000000000 media-duration=5000000000  ! ffmpegcolorspace !
ximagesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element
/GstPipeline:pipeline0/GnlFileSource:video1/GstURIDecodeBin:internal-uridecodebin/GstDecodeBin2:decodebin21/GstAviDemux:avidemux1:
Internal data stream error.
Additional debug info:
gstavidemux.c(5204): gst_avi_demux_loop ():
/GstPipeline:pipeline0/GnlFileSource:video1/GstURIDecodeBin:internal-uridecodebin/GstDecodeBin2:decodebin21/GstAviDemux:avidemux1:
streaming stopped, reason not-linked
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...


--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gnlcomposition-question-tp4018144p4018144.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list