[gst-devel] dynamically change video resolution
Andrey Nechypurenko
andreynech at googlemail.com
Sun Dec 5 15:13:13 CET 2010
Hi,
> Now I want to change the resolution from D1->CIF on the fly, currently,
> I do the following:
> 1. get the src pad of queue
> 2. block the pad
> 3. change the properties of resizer and the encoder.
> 4. unblock the pad
In my project I was doing something similar. You can take a look at
the function which adjust caps for the scaler element here:
http://www.gitorious.org/veter/veter/blobs/master/src/vehicle/VideoSenderThread.cpp#line264
It assumes that there are scaler element named "qos-scaler" followed
by caps filter named "qos-caps" .
HTH,
Andrey.
More information about the gstreamer-devel
mailing list