How to code to convert a video while it's playing

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to code to convert a video while it's playing

kususe
I play a video, I overlay an image on it and then I wanna encode the result to another video.
How can I perform this?

Thanks in advance,
K.
Reply | Threaded
Open this post in threaded view
|

Re: How to code to convert a video while it's playing

Stefan Sauer
On 04/03/2012 06:39 PM, kususe wrote:
> I play a video, I overlay an image on it and then I wanna encode the result
> to another video.
> How can I perform this?
Huh? Well you need to encode the mixed raw video (and audio), use a
muxer of your choise to combine the streams and write it to disk using
filesink. Take a look at GstEncodebin to encode a video in various
formats from your application.

Stefan

> Thanks in advance,
> K.
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-code-to-convert-a-video-while-it-s-playing-tp4529427p4529427.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel