What do you mean by dumping video frames from python to gstreamer. So for example if you want to write a gstreamer pipeline for doing gst-launch-0.10 filesrc location=test.mp4 ! decodebin2 ! xvimagesink ,<br><br>you can write the app in python, and gstreamer will take care of calling appropriate api.<br>
<br>Best<br>Kapil<br><br><div class="gmail_quote">On Sat, Aug 6, 2011 at 12:17 PM, Mikko Ohtamaa <span dir="ltr">&lt;<a href="mailto:mikko%2Bgstreamer@redinnovation.com">mikko+gstreamer@redinnovation.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Kapil,<br>
<br>
On Sat, Aug 6, 2011 at 9:40 AM, Kapil Agrawal &lt;<a href="mailto:kapil.agl@gmail.com">kapil.agl@gmail.com</a>&gt; wrote:<br>
&gt; Yes thats possible.<br>
<br>
Thank you for confirming this. Are there any examples how to dump<br>
video frames from Python to GStreamer?<br>
<font color="#888888"><br>
-Mikko<br>
</font><div><div></div><div class="h5"><br>
&gt;<br>
&gt; On Sat, Aug 6, 2011 at 11:52 AM, Mikko Ohtamaa<br>
&gt; &lt;<a href="mailto:mikko%2Bgstreamer@redinnovation.com">mikko+gstreamer@redinnovation.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; I am planning to generate videos in Python code. I was wondering if<br>
&gt;&gt; GStreamer Python APIs allow one to<br>
&gt;&gt;<br>
&gt;&gt; * Set video FPS, dimensions and such properties<br>
&gt;&gt;<br>
&gt;&gt; * Set audio source file (MP3)<br>
&gt;&gt;<br>
&gt;&gt; * Feed in rendered frames<br>
&gt;&gt;<br>
&gt;&gt; * Save the encoded output in MPEG-4 (audio will get mixed in)<br>
&gt;&gt;<br>
&gt;&gt; I didn&#39;t find any GStreamer Python examples where video was actually<br>
&gt;&gt; generated - thus I wanted to ask whether Python bindings provide<br>
&gt;&gt; necessary bridges and datatype mappings to input raw video data to<br>
&gt;&gt; GStreamer.<br>
&gt;&gt;<br>
&gt;&gt; This all would run on headless server software.<br>
&gt;&gt;<br>
&gt;&gt; Related <a href="http://stackoverflow.com" target="_blank">stackoverflow.com</a> questions:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://stackoverflow.com/questions/6963302/gstreamer-status-of-python-bindings-and-encoding-video-with-mixed-audio" target="_blank">http://stackoverflow.com/questions/6963302/gstreamer-status-of-python-bindings-and-encoding-video-with-mixed-audio</a><br>

&gt;&gt;<br>
&gt;&gt; Thanks for help!<br>
&gt;&gt; -Mikko<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; gstreamer-devel mailing list<br>
&gt;&gt; <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
&gt;&gt; <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; <a href="http://www.mediamagictechnologies.com" target="_blank">www.mediamagictechnologies.com</a> (Gstreamer, ffmpeg, Red5, Streaming)<br>
&gt; twitter handle: @gst_kaps<br>
&gt; <a href="http://www.linkedin.com/in/kapilagrawal" target="_blank">http://www.linkedin.com/in/kapilagrawal</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; gstreamer-devel mailing list<br>
&gt; <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
&gt; <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
&gt;<br>
&gt;<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.mediamagictechnologies.com">www.mediamagictechnologies.com</a> (Gstreamer, ffmpeg, Red5, Streaming)<br>twitter handle: @gst_kaps<br><a href="http://www.linkedin.com/in/kapilagrawal">http://www.linkedin.com/in/kapilagrawal</a><br>