cdparanoiasrc and scsi errors
Sebastian Dröge
sebastian at centricular.com
Sat May 10 23:00:37 PDT 2014
On Fr, 2014-05-09 at 17:42 -0600, Jeffrey Barish wrote:
> I have a pipeline that starts with cdparanoiasrc. For most CDs, the pipeline
> works fine. For a few, I get scsi read errors. I know this because the error
> messages appear in the terminal from which I run the program. I would like to
> know about these errors in the program, but I can't figure out how to receive
> them. I tried connecting the cdparanoiasrc element to "transport-error".
> When I do, a few "scsi_read error" messages appear in the terminal and then my
> program crashes. Connecting to "uncorrected-error" doesn't seem to do
> anything. I'm not even sure that either of these two signals has anything to
> do with scsi read errors. Is it possible to catch scsi read errors? Does
> anyone know of sample code?
>
> I am using gstreamer 0.10 (from Python 2.7).
These errors usually happen if the CD can't be read correctly, due to
scratches or other reasons. There's not much you can do about that as
this is mostly handled inside the kernel and userspace does not have
much control over that.
--
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140511/ef495b21/attachment.sig>
More information about the gstreamer-devel
mailing list