Tom,<br><br>you could simply write a gstreamer application.<br>In the capsfilter change the farmerate when needed, this will trigger caps renegotiation.<br><br>But had never tried, I think this has to be properly supported by the downstream encoder plugin (not sure if jpegenc supports that or not).<br>
<br>Best Luck,<br>Kapil<br><br><div class="gmail_quote">On Thu, Mar 10, 2011 at 9:12 AM, Tom <span dir="ltr">&lt;<a href="mailto:fb8fb8@gmail.com">fb8fb8@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<font><font face="Verdana" size="2"><div>Hi, <br><br></div>
  <div>I use <br><font color="#009900">gst-launch filesrc &quot;location=video/1.MPG&quot; ! 
  decodebin ! videorate ! video/x-raw-yuv, width=640,height=480,framerate=25/1 ! 
  ffmpegcolorspace ! jpegenc ! multipartmux ! tcpserversink host=192.168.2.1 
  port=$portNumber <br></font>to stream a video and can change the video frame 
  rate in this way.</div>
  <div>But in this way the frame rate is fixed (i.e., framerate=25/1 here). 
  <br><br>I want to change the framerate in REALTIME when video is PLAYING  ---  during the 
  streaming of this video, I can change the framerate anytime I want.</div>
  <div> </div>
  <div>Someone has replied that I can use Python to get dynamically 
  changing.</div>
  <div>
  <div>But I am a new user of Gstreamer and my project is due next week 
  :(<br>I searched those python examples but did not get information that I can use for my problem :(<br><br></div></div>
  <div>Anyone can give me a simple example of this kind of Python 
  script?</div>
  <div>Thanks you in advance!<br><br>Tom<br></div></font></font>
<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></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>