Omx decoder quality issue

João Machado joao_m_s_m at hotmail.com
Sun Apr 5 09:13:47 PDT 2015


Hi all, 

I tried to find the answer for my problem in the raspberry pi forum but without success. 

Here is the post

"Hi all,

I am using Rpi and Gstreamer to stream my HD web cam with
 low latency. Currently I am using two different encoders for that 
purpose. With the omx I am getting some video quality issues and with 
x264 i am getting high CPU usage and low frequency. 

The following is the pipe with x264 encoder
gst-launch-1.0 -vv v4l2src ! videoscale !  videorate  ! videoconvert ! \
  video/x-raw,width=1280,height=720,framerate=30/1  ! x264enc bitrate=8000 ! \
h264parse !  rtph264pay pt=96 config-interval=1 ! udpsink host=$1 port=$2

The following are pipelines with low latency but with quality issues, despite the value that is use in the bitrate property.
gst-launch-1.0 -vv v4l2src ! videoscale !  videorate  ! videoconvert ! \
  video/x-raw,width=720,height=480,framerate=30/1  ! omxh264enc inline-header=true periodicty-idr=1 ! \
video/x-h264,width=720,height=480,framerate=30/1,profile=high,target-bitrate=8000000,control-rate=variable,quant-i-frames=250
 ! \
rtph264pay pt=96 ! udpsink host=$1 port=$2

gst-launch-1.0 -vv v4l2src  \
image/jpeg,width=1280,height=720,framerate=30/1  ! jpegdec ! videoconvert  ! \
video/x-raw,width=1280,height=720  ! videorate !  omxh264enc inline-header=true periodicty-idr=1 ! \
video/x-h264,width=1280,height=720,framerate=30/1,profile=high,target-bitrate=5000000 ! \
rtph264pay pt=96 ! udpsink host=$1 port=$2


Would be really cool to have this working with OMX and understand what is needed to have better quality. 

Looking forward to have some clues from this community.

Thanks in advance,
Joao M."

In the nutshell the x264 plugin has good quality but not enough fps and with omx encoder I am having some quality issues. 

Looking forward to find the issue. 

Thanks in advance,
JM.
 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-openmax/attachments/20150405/7a890f2c/attachment.html>


More information about the gstreamer-openmax mailing list