My Pipe line is<div><br></div><div>[src] ! { 800x600x30fps } ! timeoverlay ! </div><div> ffmpegcolorspace ! output-selector ! </div><div> jpegenc ! avimux ! filesink</div><div><div><br></div><div>
g_object_set (G_OBJECT (sink), "sync", FALSE, "async", FALSE, NULL);</div><div>g_object_set (G_OBJECT (src), "do-timestamp", TRUE, NULL);</div></div><div><br></div><div>---</div><div><br></div>
<div>I have this code to select which source I use</div><div><div> if( TRUE )</div><div><span class="Apple-tab-span" style="white-space:pre">        </span> src = gst_element_factory_make ("v4l2src", "src");</div>
<div> else</div><div> src = gst_element_factory_make ("videotestsrc", "src");</div></div><div><br></div><div><br></div><div>videotestsource works perfectly. Playback with movieplayer is in real time.</div>
<div><br></div><div>v4l2testsrc save to the file sink just fine. Out put says it is 30fps.</div><div><br></div><div><br></div><div>PROBLEM: the file saved by v4l2src pipe played back with movieplayer (or MPLAYER) is almost double speed.. takes about 6 seconds to play a 10 second clip.</div>
<div><br></div><div>Any Ideas what I am missing?</div><div><br></div><div>Thanks</div><div><br></div><div>Garth</div><div><br></div><div><br></div><div><br></div><div><br clear="all">Garth Tissington<br>
</div>