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"><<a href="mailto:mikko%2Bgstreamer@redinnovation.com">mikko+gstreamer@redinnovation.com</a>></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 <<a href="mailto:kapil.agl@gmail.com">kapil.agl@gmail.com</a>> wrote:<br>
> 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>
><br>
> On Sat, Aug 6, 2011 at 11:52 AM, Mikko Ohtamaa<br>
> <<a href="mailto:mikko%2Bgstreamer@redinnovation.com">mikko+gstreamer@redinnovation.com</a>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> I am planning to generate videos in Python code. I was wondering if<br>
>> GStreamer Python APIs allow one to<br>
>><br>
>> * Set video FPS, dimensions and such properties<br>
>><br>
>> * Set audio source file (MP3)<br>
>><br>
>> * Feed in rendered frames<br>
>><br>
>> * Save the encoded output in MPEG-4 (audio will get mixed in)<br>
>><br>
>> I didn't find any GStreamer Python examples where video was actually<br>
>> generated - thus I wanted to ask whether Python bindings provide<br>
>> necessary bridges and datatype mappings to input raw video data to<br>
>> GStreamer.<br>
>><br>
>> This all would run on headless server software.<br>
>><br>
>> Related <a href="http://stackoverflow.com" target="_blank">stackoverflow.com</a> questions:<br>
>><br>
>><br>
>> <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>
>><br>
>> Thanks for help!<br>
>> -Mikko<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>
><br>
><br>
><br>
> --<br>
> <a href="http://www.mediamagictechnologies.com" target="_blank">www.mediamagictechnologies.com</a> (Gstreamer, ffmpeg, Red5, Streaming)<br>
> twitter handle: @gst_kaps<br>
> <a href="http://www.linkedin.com/in/kapilagrawal" target="_blank">http://www.linkedin.com/in/kapilagrawal</a><br>
><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>
><br>
><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>