Hi,
I’m changing the parameters of the omxh264enc element in my gstreamer 1.0 pipeline but the image is always of the same bad quality at reception.
To build the pipeline, I link an appsrc element to videoconvert after calling gst_parse_launch with the following string:
“videoconvert name=ffmpeg ! capsfilter caps=video/x-raw,format=I420,width=640,height=480,framerate=30/1,pixel-aspect-ratio=1/1 ! omxh264enc control-rate=1 bitrate=800000000 quant-i-frames=100 quant-p-frames=100 quant-b-frames=100 iframeinterval=32 quality-level=1 low-latency=true no-B-Frames=true profile=1 ! h264parse ! rtph264pay config-interval=1 pt=96 ! udpsink host=”“x.x.x.x”" port=5200 sync=false"
If I replace the omxh264enc with x264enc, I get a comparatively good image quality:
x264enc bframes=0 b-adapt=false speed-preset=1 tune=0x00000004
Is anyone able to configure the omxh264enc ?
The pipeline for stream reception:
gst-launch-1.0 udpsrc port=5200 ! “application/x-rtp, encoding-name=H264, payload=96” ! rtph264depay ! h264parse ! avdec_h264 ! xvimagesink sync=false
Thanks,