[gst-devel] Combining FLV videos, with audio

Stef Funaro stef at stefetmarie.com
Sun May 16 17:19:30 CEST 2010


Hi!

I'm trying to combine two FLV videos into one with one beside the other. The FLVs comes from webcams recorded with Flash/Red5.

I got something that works for the image but can't figure out how to add the sound to it!

Here's is the command I use to test:

gst-launch-0.10  -v \
 input1. ! queue ! decodebin2 !  videoscale ! video/x-raw-yuv,width=320,height=240 ! videobox right=-340 ! ffmpegcolorspace ! vmix.sink_0 \
 input2. ! queue ! decodebin2 ! videoscale ! video/x-raw-yuv,width=320,height=240 ! vmix.sink_1 vmix. ! ffenc_flv ! ffmux_flv ! filesink location='testOutput.flv' \
 filesrc name='input1'  location=test1.flv \
 filesrc name='input2'  location=test2.flv \
 videomixer name=vmix background=black sink_0::xpos=0 sink_0::ypos=0 sink_0::zorder=0 sink_1::xpos=340 sink_1::ypos=0 sink_1::zorder=1

Can someone help me ? 
Or maybe give a link to a good tutorial ? I couldn't find any and did this mostly by guessing... 

Thank in advance!

stef






More information about the gstreamer-devel mailing list