AnsweredAssumed Answered

imx6 gstreamer h.264 vpu encoding/decoding quality problem

Question asked by Sumeet Dube on Jul 25, 2015
Latest reply on Sep 20, 2015 by 世浩 李
Branched to a new discussion

Hi,

We are facing a problem with the quality of h.264 encoding using the imx6q vpu. The video is not clear and there are visible blurring lines on horizontal edges .

We have used following pipeline for h.264 rtp streaming.

1. imx6 board (gstreamer version 0.10)

gst-launch tvsrc ! vpuenc codec=6 ! rtph264pay ! udpsink host=192.168.0.135 port=5000

 

2. on PC

gst-launch udpsrc port=5000 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, sprop-parameter-sets=(string)\"Z0JAHqaAtD2QAA\\=\\=\\,aM48gAA\\=\", payload=(int)96, ssrc=(uint)1161490911, clock-base=(uint)2476996736, seqnum-base=(uint)7152" ! rtph264depay ! ffdec_h264 ! xvimagesink

 

Attached is a snapshot of the video saved using the pipeline

gst-launch tvsrc ! vpuenc ! matroskamux ! filesink location=output.mkv sync=false

 

The video is of very low quality(you can see the fan and cupboard borders are not sharp) and exactly same phenomenon is observed while h.264 rtp streaming .

We are stuck here. Has anybody encountered this problem before ? If so,how to solve it ? We need this solved urgently. Thank you.

Outcomes