vp8enc : Failed to initialize encoder

Saurabh Sabnis sausab at gmail.com
Sun Feb 24 13:23:47 PST 2013


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.
Just FYI, without the framerate cap, it was giving the same error on 1.0 as
well.

Thanks a lot for helping.


On Sun, Feb 24, 2013 at 8:55 AM, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:

> On Sat, 2013-02-23 at 21:18 -0500, Saurabh Sabnis wrote:
>
> Hi,
>
> > I have a pipeline that reads rtp stream, does some processing on it
> > and sends it back on the network. Currently I have not written code
> > for actual video manipulation, so I am only trying to read it and send
> > it out without any processing.
> >
> >
> > It looks like this:
> > udpsrc -> rtpvp8depay -> vp8dec -> vp8enc -> rtpvp8pay -> udpsink
> >
> >
> > I am getting the following error after launching this pipeline.
> >
> > ERROR: from element /GstPipeline:pipeline0/GstVP8Enc:vp8enc0: Failed
> > to initialize encoder
> > Additional debug info:
> > gstvp8enc.c(795): gst_vp8_enc_set_format
> > (): /GstPipeline:pipeline0/GstVP8Enc:vp8enc0:
> > invalid parameter
> >
> > First of all, is this a valid pipeline? Can I have vp8enc element
> > immediately after vp8dec?
> > If yes, does anyone know what is the cause for this error?
>
> It looks like it should work.
>
> Perhaps you should run it with GST_DEBUG=vp*:5, it might give you some
> clue why it fails.
>
> You could also try with GStreamer 1.x instead of 0.10, it might be
> something that's been fixed (if it was a bug, which we don't know yet).
>
> It could be that vp8dec here outputs a 0/1 framerate and vp8enc doesn't
> like that or just map that properly to how the vp8 encoder wants it?
>
> Cheers
>  -Tim
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



-- 
*Saurabh Sabnis*
*Graduate Student*
*College of Computing*
*Georgia Institute of Technology*
*Atlanta, GA 30332-0280*
*ssabnis3 at gatech.edu*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130224/1e868f54/attachment.html>


More information about the gstreamer-devel mailing list