<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Il 04/07/2011 22:12, <a class="moz-txt-link-abbreviated" href="mailto:fb8fb8@gmail.com">fb8fb8@gmail.com</a> ha scritto:
<blockquote cite="mid:201107041512198056100@gmail.com" type="cite">
<meta content="text/html; charset=UTF-8" 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> </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 align="left"> </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>
<div align="left"> </div>
<div align="left"><font size="2">How can I change framerate in
this way?</font></div>
</blockquote>
<br>
you could try to change the caps for the capsfilter element after
the videorate element, however this doesn't work for me:<br>
<br>
<a class="moz-txt-link-freetext" href="https://bugzilla.gnome.org/show_bug.cgi?id=647648">https://bugzilla.gnome.org/show_bug.cgi?id=647648</a><br>
<br>
let us know if you find a solution,<br>
<br>
Nicola<br>
<br>
<br>
<blockquote cite="mid:201107041512198056100@gmail.com" type="cite">
<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>