Python: procedural video and audio mix in

Kapil Agrawal kapil.agl at gmail.com
Sat Aug 6 00:12:47 PDT 2011


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 ,

you can write the app in python, and gstreamer will take care of calling
appropriate api.

Best
Kapil

On Sat, Aug 6, 2011 at 12:17 PM, Mikko Ohtamaa <
mikko+gstreamer at redinnovation.com> wrote:

> Hi Kapil,
>
> On Sat, Aug 6, 2011 at 9:40 AM, Kapil Agrawal <kapil.agl at gmail.com> wrote:
> > Yes thats possible.
>
> Thank you for confirming this. Are there any examples how to dump
> video frames from Python to GStreamer?
>
> -Mikko
>
> >
> > On Sat, Aug 6, 2011 at 11:52 AM, Mikko Ohtamaa
> > <mikko+gstreamer at redinnovation.com> wrote:
> >>
> >> Hi,
> >>
> >> I am planning to generate videos in Python code. I was wondering if
> >> GStreamer Python APIs allow one to
> >>
> >> * Set video FPS, dimensions and such properties
> >>
> >> * Set audio source file (MP3)
> >>
> >> * Feed in rendered frames
> >>
> >> * Save the encoded output in MPEG-4 (audio will get mixed in)
> >>
> >> I didn't find any GStreamer Python examples where video was actually
> >> generated - thus I wanted to ask whether Python bindings provide
> >> necessary bridges and datatype mappings to input raw video data to
> >> GStreamer.
> >>
> >> This all would run on headless server software.
> >>
> >> Related stackoverflow.com questions:
> >>
> >>
> >>
> http://stackoverflow.com/questions/6963302/gstreamer-status-of-python-bindings-and-encoding-video-with-mixed-audio
> >>
> >> Thanks for help!
> >> -Mikko
> >> _______________________________________________
> >> gstreamer-devel mailing list
> >> gstreamer-devel at lists.freedesktop.org
> >> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
> >
> >
> > --
> > www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming)
> > twitter handle: @gst_kaps
> > http://www.linkedin.com/in/kapilagrawal
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
> >
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



-- 
www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming)
twitter handle: @gst_kaps
http://www.linkedin.com/in/kapilagrawal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110806/2755fa06/attachment.html>


More information about the gstreamer-devel mailing list