Combining FLV videos, with audio

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

Combining FLV videos, with audio

Stef Funaro

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



------------------------------------------------------------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel