Couldn't determine type of stream
Arjen Veenhuizen
arjen at moonlightmedia.nl
Tue Sep 12 06:41:41 UTC 2017
In this case, you need to encode both video and audio stream and multiplex
them to make it playable. SOmething along the lines of (untested):
gst-launch-1.0 compositor name=mixer sink_1::alpha=0.5 sink_1::xpos=50
sink_1::ypos=50 ! queue ! x264enc ! h264parse ! mp4mux name=mux ! queue !
filesink location=out1.mp4 filesrc
location=1.mp4 ! decodebin name=db ! videoscale ! videoconvert ! queue !
mixer. filesrc location=2.mp4 ! decodebin ! videoscale ! videoconvert !
queue ! mixer. db. ! audioconvert ! audioresample ! voaacenc ! aacparse !
mux.
Also, why did you use queue2? i changed it to queue since it should work
just fine in this case.
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list