vp8enc: changing width or height while playing causes error

stic at free.fr stic at free.fr
Sun Apr 27 13:01:23 PDT 2014

thank you Nicolas, i just tried it and it works perfectly for me.
I will report my results on the bug.

Thanks again.

----- Mail original -----
De: "Nicolas Dufresne" <nicolas.dufresne at collabora.com>
À: "Discussion of the development of and with GStreamer" <gstreamer-devel at lists.freedesktop.org>
Envoyé: Dimanche 27 Avril 2014 18:12:59
Objet: Re: vp8enc: changing width or height while playing causes error

Le dimanche 27 avril 2014 à 16:56 +0200, stic at free.fr a écrit : 

Hello gstreamer friends,

I would like to be able to change resolution (width or height) in caps given to vp8enc while the pipeline is playing, but it fails with error:
gstvideoencoder.c:608:gst_video_encoder_setcaps:<encoder> rejected caps video/x-raw, width=(int)640, height=(int)400, framerate=(fraction)20/1, format=(string)I420
gstvideoencoder.c:1368:gst_video_encoder_chain:<encoder> error: encoder not initialized

I don't have such error with other encoders, they support resolution change while it is playing.
Is it possible with vp8enc ? 
This issue has been filed, and patch has been proposed already. Would it possible to test this patch and report your results on the bug. That's basically all that is left before merging this (or maybe a unit test should be written, I need to recheck this). 


gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org

More information about the gstreamer-devel mailing list