Gstreamer: Link a bin with two sinks to playbin2
问题 I want to read in an SDP file and encode the video stream into h.264 and the audio stream into aac. Then I want to multiplex those streams into an avi stream and then to a file. I don't know the contents of the SDP file ahead of time, so it seems easiest to use playbin2. So, I thought I could do something like this: RawToAviMux Bin ______________________________________ ----- |ghostpad----x264enc / | \ playbin2------ | avimux--filesink \ | / -------| ghostpad----ffenc_aac |___________________