[gst-devel] VideoConcat
Ruben Gonzalez Gonzalez
rubenrua at uvigo.es
Tue Feb 24 12:14:57 CET 2009
Hi all,
I am writing an video concat script with nonlin, to merge two videos.
I am currently using the below pipeline :
gst-launch \
gnlcomposition. \( name=myaudiocomp \
gnlsource. \( name=asource1 start=0 duration=2000000000 media-start=0 media-duration=2000000000 \
audiotestsrc wave=3 \
\) \
gnlsource. \( name=asource2 start=2000000000 duration=2000000000 media-start=0 media-duration=2000000000 \
audiotestsrc wave=2 \
\) \
\) \
myaudiocomp. ! queue ! audioconvert ! audioresample ! faac ! mux. \
gnlcomposition. \( name=myvideocomp \
gnlsource. \( name=vsource1 start=0 duration=2000000000 media-start=0 media-duration=2000000000 \
videotestsrc pattern=1 \
\) \
gnlsource. \( name=vsource2 start=2000000000 duration=2000000000 media-start=0 media-duration=2000000000 \
videotestsrc pattern=0 \
\) \
\) \
myvideocomp. ! queue ! videorate ! ffmpegcolorspace ! videoscale ! x264enc ! mux. \
ffmux_mp4 name=mux ! filesink location=outfile.mp4
Mi problem is use a filesrc and not a test source. ¿I need four or two filesrc?, ¿Do I use filesosrc and decodebin in eatch gnlsource?
Sorry for my English, best Regards.
Ruben
More information about the gstreamer-devel
mailing list