VideoConcat

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

VideoConcat

Ruben Gonzalez Uvigo
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

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel