Hello,
Sorry for post same issue again. I am working with GStreamer audiomixer, but it not works. I created a audiomixer and connected pad for individual audio sources. There is no bug, but the pipeline says "ready", not playing. Here are some part of source codes. /************************************************/ gst_element_link(audioconvert1, audiomixer); gst_element_link(audioconvert2, audiomixer); gst_element_link_many(audiomixer, audioconvert, avenc_ac3_1, mpegtsmux, sink, nil); GstPad *audioSinkPad, *srcAudioPad; audioSinkPad = gst_element_get_request_pad(audiomixer, "sink_3"); srcAudioPad = gst_element_get_static_pad(audioconvert1, "src"); gst_pad_link(srcAudioPad, audioSinkPad); gst_object_unref(audioSinkPad); gst_object_unref(srcAudioPad); audioSinkPad = gst_element_get_request_pad(audiomixer, "sink_4"); srcAudioPad = gst_element_get_static_pad(audioconvert2, "src"); gst_pad_link(srcAudioPad, audioSinkPad); gst_object_unref(audioSinkPad); gst_object_unref(srcAudioPad); gst_element_set_state(pipeline, GST_STATE_PLAYING); /************************************************/ I can't found out what is wrong. Thanks |
Some stuff to check: 1) any error messages on the bus? Also you seem to try to link the audioconverts twice to different pads in audiomixer. The later linking looks more correct as audiomixer has request pads. > _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Thanks,
But It not works yet. I moved audioconvert after audiomixer. and checked all links, they were linked.Also there is no error via bin. |
On So, 2016-04-24 at 17:29 -0700, Johan Basore wrote:
> Thanks, > But It not works yet. > I moved audioconvert after audiomixer. > and checked all links, they were linked.Also there is no error via > bin. The next thing to do then would be to get a debug log and see where data flow is happening and where/why it stops. You can get a debug log with GST_DEBUG=6 (for enabling all categories). -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
Yes, I got debug log,
but there is nothing strange, all goes well. Just not plays. |
Free forum by Nabble | Edit this page |