Gstreamer omx change resolution while playing

Andrea Capirchio andrea.capirchio at gmail.com
Thu Jun 29 13:27:11 UTC 2017


Hello,
I am using the omxh264enc element to encode a video and stream it from a
Raspberry Pi to a PC.
Is it possible to change framerate/resolution of the video while playing?

I did it already with an x264enc element from PC to PC and everything is
working, but with the omx comes out the following:

0:00:35.819364464  9791  0x194ec90 FIXME           videoencoder
gstvideoencoder.c:630:gst_video_encoder_setcaps:<video_enc>
GstVideoEncoder::reset() is deprecated

My reference pipeline is:

v4l2src ! videoscale ! videorate !
video/x-raw,width=640,height=480,framerate=60/1 ! omxh264enc
control-rate=3, target-bitrate=1280000 ! h264parse ! rtph264pay ! appsink

Any help would be greatly appriciated.
Thanks,
Andrea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170629/7ac1d7c3/attachment.html>


More information about the gstreamer-devel mailing list