<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 07/04/11 13:12, <a class="moz-txt-link-abbreviated" href="mailto:fb8fb8@gmail.com">fb8fb8@gmail.com</a> wrote:
    <blockquote cite="mid:201107041512198056100@gmail.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <meta name="GENERATOR" content="MSHTML 9.00.8112.16430">
      <link rel="stylesheet"
href="BLOCKQUOTE%7Bmargin-Top:%200px;%20margin-Bottom:%200px;%20margin-Left:%202em%7D">
      <div><font size="2">Hi,</font></div>
      <div>&nbsp;</div>
      <div>I can use gstreamer to&nbsp;stream a mpg video from one Linux PC
        to another. </div>
      <div>The framerate of the video can be changed by this command:</div>
      <div align="left"><font size="2">
          <div align="left">&nbsp;</div>
          <span style="font-family: 'Times New Roman','serif'; color:
            rgb(0, 176, 80); font-size: 10pt;">gst-launch filesrc
            "location= 1.MPG" ! decodebin ! videorate ! video/x-raw-yuv,
            width=640,height=480,framerate=15/1 ! ffmpegcolorspace !
            jpegenc ! multipartmux ! tcpserversink host=192.168.2.1
            port=5000</span>
        </font></div>
      <div align="left"><font size="2">In this command, framerate is set
          to be 15. The video is streamed at framerate 15 from beginning
          to end.</font></div>
      <div align="left"><font size="2">But I want to change framerate
          dynamically, which means during the streaming I can change
          framerate anytime. After changing framerate, the video will
          continue but stream at the new framerate.</font></div>
    </blockquote>
    <br>
    You can change the playback rate using the 'rate' fields on the seek
    event.<br>
    <br>
    Stefan<br>
    <blockquote cite="mid:201107041512198056100@gmail.com" type="cite">
      <div align="left">&nbsp;</div>
      <div align="left"><font size="2">How can I change framerate in
          this way?</font></div>
      <div align="left"><font size="2">Thanks!</font></div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>