Gstreamer omx change resolution while playing

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Gstreamer omx change resolution while playing

Andrea Capirchio
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.

gstreamer-devel mailing list
[hidden email]