<div dir="ltr"><div><div>hello Ian Davidson,<br><br></div>I has created  pipeline using videorate as follows and it is working fine.<br><br>gst-launch-0.10 -v -e --gst-debug-level=0 \<br>v4l2src num-buffers=500 ! \<br>tee name="separator1" separator1.src0 ! queue ! \<br>videorate ! video/x-raw-yuv,width=640,height=480,format='(fourcc)'I420,framerate=20/1 ! \<br>x264enc ! h264parse ! mp4mux ! filesink location=./E111_StreamedData.mp4 \<br>separator1.src1 ! queue ! \<br>videorate ! video/x-raw-yuv,width=640,height=480,format='(fourcc)'I420,framerate=5/1 ! \<br>x264enc ! queue ! rtph264pay ! udpsink host=127.0.0.1 port=5001 <br><br><br></div>Thank you.<br><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 3, 2014 at 2:08 PM, Ian Davidson <span dir="ltr"><<a href="mailto:id012c3076@blueyonder.co.uk" target="_blank">id012c3076@blueyonder.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You should be able to take the feed from your video source element (at whatever rate it is working) and split it with a tee.  In each branch of the tee I would put a videorate (and, perhaps, a videoconvert) and then your desired CAPS.  You don't really care what the camera is doing - what you want to control is what comes out of your pipes.<div><div class="h5"><br>
<br>
On 03/12/2014 05:25, Deepak Agasibagil wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I am using single video source to stream and capture the video with the same frame rate.<br>
<br>
pipeline structure:<br>
<br>
gst-launch-0.10 -v -e --gst-debug-level=0 \<br>
v4l2src num-buffers=500 ! \<br>
video/x-raw-yuv,width=640,<u></u>height=480,format='(fourcc)'<u></u>I420,framerate=30/1 ! \<br>
ffmpegcolorspace ! \<br>
tee name="separator1" separator1.src0 ! queue ! \<br>
video/x-raw-yuv,width=640,<u></u>height=480,format='(fourcc)'<u></u>I420,framerate=30/1 ! \<br>
x264enc ! h264parse ! mp4mux ! filesink location=./E111_StreamedData.<u></u>mp4 \<br>
separator1.src1 ! queue ! \<br>
video/x-raw-yuv,width=640,<u></u>height=480,format='(fourcc)'<u></u>I420,framerate=30/1 ! \<br>
x264enc ! queue ! rtph264pay ! udpsink host=127.0.0.1 port=5001<br>
<br>
<br>
If i want stream the same video source with low frame rate and capture with high frame rate.<br>
then the following pipeline which i have created is giving link error.<br>
<br>
gst-launch-0.10 -v -e --gst-debug-level=0 \<br>
v4l2src num-buffers=500 ! \<br>
video/x-raw-yuv,width=640,<u></u>height=480,format='(fourcc)'<u></u>I420,framerate=30/1 ! \<br>
ffmpegcolorspace ! \<br>
tee name="separator1" separator1.src0 ! queue ! \<br>
video/x-raw-yuv,width=640,<u></u>height=480,format='(fourcc)'<u></u>I420,framerate=30/1 ! \<br>
x264enc ! h264parse ! mp4mux ! filesink location=./E111_StreamedData.<u></u>mp4 \<br>
separator1.src1 ! queue ! \<br>
video/x-raw-yuv,width=640,<u></u>height=480,format='(fourcc)'<u></u>I420,framerate=5/1 ! \<br>
x264enc ! queue ! rtph264pay ! udpsink host=127.0.0.1 port=5001<br>
<br>
<br>
I know that i have to use the 'videorate' element, in above pipeline,<br>
I just want confirm that is there any way that i can create two 'src' pads<br>
on the same  video source element with different frame rate.<br>
<br>
Thanks.<br>
<br>
</blockquote>
<br></div></div>
______________________________<u></u>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<u></u>freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/gstreamer-<u></u>devel</a><br>
</blockquote></div><br></div>