All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Fertser <fercerpav@gmail.com>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Peter Rabbitson <rabbit@rabbit.us>, linux-media@vger.kernel.org
Subject: Re: [PATCH] uvcvideo: Disable hardware timestamps by default
Date: Thu, 30 Jul 2015 18:25:56 +0300	[thread overview]
Message-ID: <20150730152555.GS18455@home.paul.comp> (raw)
In-Reply-To: <1438006696-30678-1-git-send-email-laurent.pinchart@ideasonboard.com>

Hello Laurent,

I was experimenting with a web-camera integrated in my laptop and was
extremely confused by non-monotonic timestamps coming from the uvc
driver. In fact, the very first timestamp was bigger then the second
every time I tried. This patch helped.

More details:

1. I'm testing with

avconv -f video4linux2 -i /dev/video0 -codec copy test.mkv

2. Prior to applying the patch I was always getting "Non-monotonous
DTS in output stream 0:0" errors

3. I'm using kernel version 3.6.8 (yes, that's old, I'm ready to
upgrade if you really need that for debugging)

4. The camera is 5986:0100 Acer, Inc Orbicam

Anything else I can do to help you with this issue? My real usecase is
having a single-board computer capturing a steady stream from a UVC
webcam (h264 pixel format) while keeping timestamps reasonably
accurate (within 0.1s) for the future processing and spending as
little CPU time as possible.

Thank you in advance.
-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercerpav@gmail.com

  reply	other threads:[~2015-07-30 15:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-27 14:18 [PATCH] uvcvideo: Disable hardware timestamps by default Laurent Pinchart
2015-07-30 15:25 ` Paul Fertser [this message]
2015-08-03 12:57 ` Peter Rabbitson

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=20150730152555.GS18455@home.paul.comp \
    --to=fercerpav@gmail.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=rabbit@rabbit.us \
    /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.