[gst-devel] distorted video encoded with x264
Timothy Braun
braunsquared at gmail.com
Wed Dec 15 21:42:01 CET 2010
I'm no expert on this, but ran into similar issues when making a local file. It ultimately ended up being the parameters I was passing to the x264enc element. I would take a look at those with gst-inspect and see if you can tune the output. Most notably the pass and quantizer parameters.
Tim
Sent from my iPhone
On Dec 15, 2010, at 3:02 PM, Rafael Sousa <rafael.lmsousa at gmail.com> wrote:
> Hi all,
>
> I'm using the versions of gstreamer installed from ubuntu 10.10 apt-get. I've installed the gstreamer, gst-plugins-bad, gst-plugins-good, gst-plugins-ugly, gst-ffmpeg and I've installed the x264.
>
> The problem is that my pipeline gives as result a blurring video. My pipeline works to read a YUV file at the sender, encodes it in H.264, and sends it to receiver using RTP in encoding time. At the receiver, it receives the stream and stores it in YUV format again for posterior process. The pipeline is as follows:
>
> Sender:
>
> "gstrtpbin name=rtpbin filesrc location=paris_cif.yuv blocksize=152064 ! video/x-raw-yuv, width=352, height=288, framerate=(fraction)15/1, format=(fourcc)I420 ! x264enc, key-int-max=30, key-int-min=15, intra-refresh=true ! rtph264pay ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink host=127.0.0.1 port=5000 rtpbin.send_rtcp_src_0 ! udpsink host=5003 port=5001 sync=false async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0 "
>
> Receiver:
>
> "gstrtpbin name=rtpbin udpsrc caps=\"application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264" port=5000 ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtph264depay ! ffdec_h264 ! filesink location=example.yuv udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0 rtpbin.send_rtcp_src_0 ! udpsink port=5005 sync=false async=false"
>
> I don't know why the video is blurring since I've tested it localhost, without loss rates. The command that I'm using to watch the result is:
>
> mplayer example.yuv -demuxer rawvideo -rawvideo cif
>
> I took a screenshot of the video, it is in annex. Please, anyone can help?
>
> thanks in advance
> <Captura_de_tela.png>
> ------------------------------------------------------------------------------
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> http://p.sf.net/sfu/lotusphere-d2d
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20101215/fbf38063/attachment.htm>
More information about the gstreamer-devel
mailing list