All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nikolay Dimitrov <picmaster@mail.bg>
To: meta-freescale@yoctoproject.org
Subject: [dizzy] Choppy gstreamer video (MPEG TS over UDP)
Date: Fri, 14 Nov 2014 20:46:50 +0200	[thread overview]
Message-ID: <54664E1A.50009@mail.bg> (raw)

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


             reply	other threads:[~2014-11-14 18:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-14 18:46 Nikolay Dimitrov [this message]
2014-11-14 20:25 ` [dizzy] Choppy gstreamer video (MPEG TS over UDP) Daiane Angolini
2014-11-15 23:02   ` Nikolay Dimitrov
2014-11-16 18:29     ` Daiane Angolini
2014-11-18 11:01     ` Marco Trillo
2014-11-18 15:06       ` Nikolay Dimitrov
2014-11-19  7:36         ` Marco Trillo
2014-11-19 21:45           ` Nikolay Dimitrov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54664E1A.50009@mail.bg \
    --to=picmaster@mail.bg \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.