vp8enc: changing width or height while playing causes error

Nicolas Dufresne nicolas.dufresne at collabora.com
Sun Apr 27 09:12:59 PDT 2014


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).

https://bugzilla.gnome.org/show_bug.cgi?id=726329

cheers,
Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140427/468cb686/attachment.html>


More information about the gstreamer-devel mailing list