<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16430"><LINK rel=stylesheet
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"></HEAD>
<BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT size=2>Hi,</FONT></DIV>
<DIV> </DIV>
<DIV>I can use gstreamer to 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><FONT size=2></FONT></DIV>
<DIV align=left> </DIV><SPAN
style="FONT-FAMILY: 'Times New Roman','serif'; COLOR: #00b050; FONT-SIZE: 10pt; mso-fareast-font-family: 宋体; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-bidi-font-weight: bold">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>
<DIV><FONT size=2></FONT></DIV></FONT><FONT size=2></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>
<DIV align=left><FONT size=2></FONT> </DIV>
<DIV align=left><FONT size=2>How can I change framerate in this
way?</FONT></DIV>
<DIV align=left><FONT size=2>Thanks!</DIV></FONT></BODY></HTML>