[gst-devel] How to stop encoding

Mathew Spencer matthew.spencer at eu.sony.com
Wed Feb 11 03:43:21 CET 2004


Thomas Vander Stichele wrote:

>On Wed, 2004-02-11 at 12:03, Mathew Spencer wrote:
>  
>
>>Thats great, thanks!
>>
>>I have one more question now.  I want to be able to control the size of 
>>the rendered png (possibly as a percentage of its original size).
>>    
>>
>
>If you just want to fix the size of the png, I guess the correct way
>would be to insert a videoscale element before pngenc, and use a
>filtered link to set width and height.
>  
>
Two questions here, firstly a newby one.
What do you mean by a 'filtered link'.?
Secondly how will I know the original image size?

>  
>
>>  For 
>>this, I need to know the current src caps of the video scaler and reset 
>>them to my required values.  Is there a signal emitted when the caps 
>>negotiation fixes?
>>    
>>
>
>There will be a notify, but I don't think you should do it this way.  At
>least, I'm not sure what you would do once you know the caps.
>
>Thomas
>
>
>Dave/Dina : future TV today ! - http://www.davedina.org/
><-*- thomas (dot) apestaart (dot) org -*->
>Faded I'm sure
>but love seems to stick in the veins you know
><-*- thomas (at) apestaart (dot) org -*->
>URGent, best radio on the net - 24/7 ! - http://urgent.fm/
>
>
>  
>




*************************************************************************
The information contained in this message or any of its
attachments may be privileged and confidential and intended 
for the exclusive use of the addressee. If you are not the
addressee any disclosure, reproduction, distribution or other
dissemination or use of this communication is strictly prohibited
*************************************************************************




More information about the gstreamer-devel mailing list