<div dir="ltr">Yes, it was problem with the framerate. I added "videorate ! video/x-raw, framerate=30/1" after the vp8dec in the pipeline and it worked.<div>Just FYI, without the framerate cap, it was giving the same error on 1.0 as well.</div>
<div><br></div><div>Thanks a lot for helping.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Feb 24, 2013 at 8:55 AM, Tim-Philipp Müller <span dir="ltr"><<a href="mailto:t.i.m@zen.co.uk" target="_blank">t.i.m@zen.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sat, 2013-02-23 at 21:18 -0500, Saurabh Sabnis wrote:<br>
<br>
Hi,<br>
<br>
> I have a pipeline that reads rtp stream, does some processing on it<br>
> and sends it back on the network. Currently I have not written code<br>
> for actual video manipulation, so I am only trying to read it and send<br>
> it out without any processing.<br>
><br>
><br>
> It looks like this:<br>
> udpsrc -> rtpvp8depay -> vp8dec -> vp8enc -> rtpvp8pay -> udpsink<br>
><br>
><br>
> I am getting the following error after launching this pipeline.<br>
><br>
> ERROR: from element /GstPipeline:pipeline0/GstVP8Enc:vp8enc0: Failed<br>
> to initialize encoder<br>
> Additional debug info:<br>
> gstvp8enc.c(795): gst_vp8_enc_set_format<br>
> (): /GstPipeline:pipeline0/GstVP8Enc:vp8enc0:<br>
> invalid parameter<br>
><br>
> First of all, is this a valid pipeline? Can I have vp8enc element<br>
> immediately after vp8dec?<br>
> If yes, does anyone know what is the cause for this error?<br>
<br>
</div>It looks like it should work.<br>
<br>
Perhaps you should run it with GST_DEBUG=vp*:5, it might give you some<br>
clue why it fails.<br>
<br>
You could also try with GStreamer 1.x instead of 0.10, it might be<br>
something that's been fixed (if it was a bug, which we don't know yet).<br>
<br>
It could be that vp8dec here outputs a 0/1 framerate and vp8enc doesn't<br>
like that or just map that properly to how the vp8 encoder wants it?<br>
<br>
Cheers<br>
 -Tim<br>
<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><b><i>Saurabh Sabnis</i></b></div><b><i>Graduate Student</i></b><div><b><i>College of Computing</i></b></div><div><b><i>Georgia Institute of Technology</i></b></div>
<div><b><i>Atlanta, GA 30332-0280</i></b></div><div><b><i><a href="mailto:ssabnis3@gatech.edu" target="_blank">ssabnis3@gatech.edu</a></i></b></div>
</div>