how to play two mp4 videos through gstreamer pipeline? -
i create gstreamer pipeline play 2 mp4 videos back. possible play using gst-launch? can use multifilesrc purpose ?
please show me path play 2 videos back.
thanks in advance !
there isn't way using single gst-launch command. video decoder sends end of stream event after first video ends when use multifilesrc.
if dead set on using gst-launch, can wrap 2 gst-launch commands in shell script:
#!/bin/sh file1=$1 file2=$2 gst-launch filesrc location="$file1" ! decodebin2 ! autovideosink gst-launch filesrc location="$file2" ! decodebin2 ! autovideosink
another way write simple gstreamer application in c create pipeline first video, play it, create new pipeline second application, , play that.
see gstreamer application developers guide: http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/
the section hello world contains functional example pipeline think make starting point you.
Comments
Post a Comment