From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id C04E9E007C2; Fri, 14 Nov 2014 10:47:01 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [193.201.172.117 listed in list.dnswl.org] * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (picmaster[at]mail.bg) * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mx1.mail.bg (mx1.mail.bg [193.201.172.117]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 74323E005B7 for ; Fri, 14 Nov 2014 10:46:52 -0800 (PST) Received: from [192.168.0.41] (unknown [93.152.132.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.mail.bg (Postfix) with ESMTPSA id 2075160008BF for ; Fri, 14 Nov 2014 20:46:51 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mail.bg; s=default; t=1415990811; bh=AoveoOjALz6/2ATDZtvPbjuCijCKnUL6XQ0RGg2CTJs=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=9yk9MFTL1eeIcAC7sEzysigRdx/emW7Zf2vsrvPwxrnfXkhDtHwVjOVGtASA5ywGp mzf8BssVQrQLNVz/xOLdnBnRXGF72VfObfxpdcVY6BsSOsKuIEP+kvO/HA6B8KZZJL JQ2RxGewygVwnAB8ApKhI8mfFSwqFTgh7NmbTQEE= Message-ID: <54664E1A.50009@mail.bg> Date: Fri, 14 Nov 2014 20:46:50 +0200 From: Nikolay Dimitrov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org Subject: [dizzy] Choppy gstreamer video (MPEG TS over UDP) X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Nov 2014 18:47:01 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi guys, I have an issue with gstreamer, running on imx6q sabresd (dizzy). The gstreamer pipeline has to play a live video stream over the network. The video stream is MPEG TS over UDP unicast, carrying h264 video + mp3 audio. Here's the pipeline: gst-launch udpsrc port=5000 ! decodebin2 ! mfw_v4lsink The biggest issue right now with this setup is that the video is very choppy - shortly after the playback starts (<10s) the video becomes choppy, e.g. after decoding 1 frame it pauses for 2-3s before displaying the next frame (all frames in between are skipped, so it looks like a slideshow). Also, gstreamer is giving warnings in the console: WARNING: from element /GstPipeline:pipeline0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0: A lot of buffer s are being dropped. Additional debug info: /home/picmaster/work/yocto-dizzy-sabresd/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.1 0.36-r2/gstreamer-0.10.36/libs/gst/base/gstbasesink.c(2875): gst_base_sink_is_too_late (): /GstPipeline:pipe line0/MFW_GST_V4LSINK_INFO_T:mfw_gst_v4lsink_info_t0: There may be a timestamping problem, or this computer is too slow. As I'm by no means a gstreamer expert, I tried different combinations of queues in all possible places in the pipeline, but with no success. What's interesting to note is that if I make a local file copy of the live stream, it plays without the choppines: gst-launch playbin2 uri=file:///tmp/stream.ts Has someone seen such behavior of gstreamer, or even better - has an idea how to solve it? Thanks in advance for taking your time to read and respond. Kind regards, Nikolay