public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: David Ward <david.ward@gatech.edu>
To: linux-media@vger.kernel.org
Subject: cx18, s5h1409: chronic bit errors, only under Linux
Date: Mon, 08 Jun 2009 06:31:02 -0400	[thread overview]
Message-ID: <4A2CE866.4010602@gatech.edu> (raw)

I have a Hauppauge WinTV-HVR-1600 that I am using to capture ATSC and 
clear QAM programming from cable television (Comcast of Chattanooga).  
This card uses the cx18 and s5h1409 kernel modules.

There are frequent bursts of bit errors occurring every few seconds in 
the incoming transport stream, when I have the card tuned under Linux.  
This causes artifacts in the received video as well as skipping in the 
received audio, to the point that it is practically unwatchable.  
However, under Windows on the same system/capture card, I can tune to 
the same programs with nearly perfect reception (no bit errors).  Also 
these programs appear on my TV with great quality as well.  The problem 
is happening on all of several different frequencies/programs that I 
have tried, although it is more pronounced on some programs 
(particularly ATSC) than others.

I have tried the latest v4l-dvb development sources under both kernel 
2.6.24 and kernel 2.6.29, and additionally I have tried to use the 
unmodified v4l-dvb from kernel 2.6.29.  Additionally, I have tried both 
the recommended cx23418 firmware from linuxtv.org, as well as the newer 
firmware provided by latest the Hauppauge drivers for Windows (which I 
am using successfully under Windows).  Unfortunately they all produce 
the same results.

I primarily use MythTV to capture the programs to a file, and the 
resulting file exhibits these problems.  However, I can also see the bit 
errors when I simply use the 'azap' application to tune the card 
directly (and also read the dvr0 device into a file).  The BER and UNC 
values reported by 'azap' are non-zero approximately one out of every 
five samples; then they are usually around 0x200, though this varies.  
The BER and UNC values are almost always identical, i.e., no error 
correction is taking place, only error detection.  Additionally I am not 
seeing any TS continuity or TEI flag errors, as detectable in the system 
log with the latest changeset.

I have tried to rule out other possible causes such as a weak input 
signal (by hooking the capture card directly to the household cable 
television input, bypassing all coaxial splitters) and system-specific 
issues (by trying this on three different systems).  However, to me it 
seems that the problem must be originating from an issue in the kernel 
modules for this card.

I understand that having some errors in the transport stream is 
unavoidable, and I have tried postprocessing with an application such as 
Project-X.  However, it does not magically take care of this -- the 
length of the video is reduced by about 20% and the resulting video 
jumps around constantly.

Please let me know how I should proceed in solving this.  I would be 
happy to provide samples of captured video, results from new tests, etc.

Thanks,

David Ward

             reply	other threads:[~2009-06-08 10:31 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-08 10:31 David Ward [this message]
2009-06-08 14:14 ` cx18, s5h1409: chronic bit errors, only under Linux Steven Toth
2009-06-08 14:17   ` Devin Heitmueller
2009-06-08 16:20     ` David Ward
2009-06-08 16:31       ` Steven Toth
2009-06-08 17:16         ` David Ward
2009-06-08 20:20           ` Steven Toth
2009-06-08 20:36             ` Devin Heitmueller
2009-06-08 21:03               ` David Ward
2009-06-08 21:09                 ` Devin Heitmueller
2009-06-09 14:23                 ` Steven Toth
2009-06-09 14:21               ` Steven Toth
2009-06-09 14:23                 ` Devin Heitmueller
2009-06-09 14:24                   ` Steven Toth
2009-06-09 18:52                     ` David Ward
2009-06-09 18:55                       ` Devin Heitmueller
2009-06-09 19:04                         ` Steven Toth
2009-06-09 19:07                           ` Devin Heitmueller
2009-06-09 19:26                             ` Steven Toth
2009-06-10  8:11                               ` David Ward
2009-06-10 14:32                                 ` Steven Toth
2009-06-11 21:27                                   ` David Ward
2009-06-09 19:05                         ` Steven Toth
2009-06-09  2:44             ` Andy Walls

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=4A2CE866.4010602@gatech.edu \
    --to=david.ward@gatech.edu \
    --cc=linux-media@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox