public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] burning a dvd+r dl - when trying to play: a52: CRC check failed!
@ 2008-10-02 10:22 KH
  2008-10-02 11:02 ` Joerg Schilling
  2008-10-02 14:32 ` Stroller
  0 siblings, 2 replies; 7+ messages in thread
From: KH @ 2008-10-02 10:22 UTC (permalink / raw
  To: gentoo-user

Hi together,

I am trying to capy a DVD. Somewhere it does not work as I want it. What
I did until now:

#mplayer dvd://
#dd if=/dev/cdrom of=~/folder/moviedvd.iso
#mplayer -dvd-device ~/folder/moviedvd.iso dvd://

I do not have any problem playing the iso file this way.

#du -m moviedvd.iso
8016    moviedvd.iso

This results in the first dvd+r dl I try to burn.

#cdrecord -dao -v -gracetime=3 -dev=/dev/cdrom1 ~/folder/moviedvd.iso

For the output see below. I cannot see any error - is there one?

When trying to play the dvd:

 #mplayer dvd://
a52: error at resampling
xscreensaver-command: not active: idle timer reset.
a52: CRC check failed!  0.279 ct:  0.000   1/  1 ??% ??% ??,?% 0 0 51%
a52: CRC check failed! 
a52: error at resampling
a52: CRC check failed!  0.193 ct:  0.008   7/  7 ??% ??% ??,?% 0 0 78%

What I tried until now:

#regionset /dev/cdrom1
regionset version 0.1 -- reads/sets region code on DVD drives
Current Region Code settings:
RPC Phase: II
type: NONE
vendor resets available: 4
user controlled changes resets available: 5
drive plays discs from region(s):, mask=0xFF

Would you like to change the region setting of your drive? [y/n]:y
Enter the new region number for your drive [1..8]:2
New mask: 0xFFFFFFFD, correct? [y/n]:y
Region code set successfully!


Trying to burn the dvd again has the same error when playing it. Does
anyone have an idea what I can do to go on?

Thanks



Cdrecord-ProDVD-ProBD-Clone 2.01.01a34 (x86_64-unknown-linux-gnu)
Copyright (C) 1995-2007 Jörg Schilling
TOC Type: 1 = CD-ROM
cdrecord: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK
limits.cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using
setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/cdrom1'
devname: '/dev/cdrom1'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.9'.
SCSI buffer size: 64512
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'LITE-ON '
Identifikation : 'DVDRW SOHW-1633S'
Revision       : 'BS0H'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: DVD+R/DL
Profile: DVD+R/DL (current)
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD-R sequential recording
Profile: DVD-ROM
Profile: CD-RW
Profile: CD-R
Profile: CD-ROM
Using generic SCSI-3/mmc-3 DVD+R driver (mmc_dvdplusr).
Driver flags   : NO-CD DVD MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes: PACKET SAO
Drive buf size : 1373184 = 1341 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data  8007 MB       
Total size:     8007 MB = 4099846 sectors
Current Secsize: 2048
Blocks total: 4173824 Blocks current: 4173824 Blocks remaining: 73978
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using
setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
Forcespeed is OFF.
Starting to write CD/DVD/BD at speed 2 in real SAO mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Starting new track at sector: 0
Track 01: 8007 of 8007 MB written (fifo 100%) [buf  99%]   2.5x.
Track 01: Total bytes read/written: 8396484608/8396484608 (4099846 sectors).
Writing  time: 2529.078s
Average write speed   2.4x.
Min drive buffer fill was 35%
Fixating...
Fixating time:   60.082s
cdrecord: fifo had 132254 puts and 132254 gets.
cdrecord: fifo was 0 times empty and 123115 times full, min fill was 43%.








^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] burning a dvd+r dl - when trying to play: a52: CRC check failed!
  2008-10-02 10:22 [gentoo-user] burning a dvd+r dl - when trying to play: a52: CRC check failed! KH
@ 2008-10-02 11:02 ` Joerg Schilling
  2008-10-03 21:07   ` KH
  2008-10-02 14:32 ` Stroller
  1 sibling, 1 reply; 7+ messages in thread
From: Joerg Schilling @ 2008-10-02 11:02 UTC (permalink / raw
  To: gentoo-user

KH <gentoo-user@konstantinhansen.de> wrote:

> Hi together,
>
> I am trying to capy a DVD. Somewhere it does not work as I want it. What
> I did until now:
>
> #mplayer dvd://
> #dd if=/dev/cdrom of=~/folder/moviedvd.iso
> #mplayer -dvd-device ~/folder/moviedvd.iso dvd://
>
> I do not have any problem playing the iso file this way.
>
> #du -m moviedvd.iso
> 8016    moviedvd.iso
>
> This results in the first dvd+r dl I try to burn.
>
> #cdrecord -dao -v -gracetime=3 -dev=/dev/cdrom1 ~/folder/moviedvd.iso
>
> For the output see below. I cannot see any error - is there one?
>
> When trying to play the dvd:
>
>  #mplayer dvd://
> a52: error at resampling
> xscreensaver-command: not active: idle timer reset.
> a52: CRC check failed!  0.279 ct:  0.000   1/  1 ??% ??% ??,?% 0 0 51%
> a52: CRC check failed! 
> a52: error at resampling
> a52: CRC check failed!  0.193 ct:  0.008   7/  7 ??% ??% ??,?% 0 0 78%

Without knowing what a52: means, I cannot comment.

> What I tried until now:
>
> #regionset /dev/cdrom1
> regionset version 0.1 -- reads/sets region code on DVD drives
> Current Region Code settings:
> RPC Phase: II
> type: NONE
> vendor resets available: 4
> user controlled changes resets available: 5
> drive plays discs from region(s):, mask=0xFF
>
> Would you like to change the region setting of your drive? [y/n]:y
> Enter the new region number for your drive [1..8]:2
> New mask: 0xFFFFFFFD, correct? [y/n]:y
> Region code set successfully!

If the original DVD was encoded with CSS, you need to use DeCSS to create a
copy that is not "play protected".

> Cdrecord-ProDVD-ProBD-Clone 2.01.01a34 (x86_64-unknown-linux-gnu)

This is an old version of cdrecord. For correct DVD+R/DL behavior with all 
drives you need at least a48.


> Copyright (C) 1995-2007 Jörg Schilling
> TOC Type: 1 = CD-ROM
> cdrecord: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK
> limits.cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
> cdrecord: WARNING: This causes a high risk for buffer underruns.
> cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
> cdrecord: Permission denied. WARNING: Cannot set priority using
> setpriority().
> cdrecord: WARNING: This causes a high risk for buffer underruns.

You did not install cdrecord correctly. You need to install it suid root.

> scsidev: '/dev/cdrom1'
> devname: '/dev/cdrom1'
> scsibus: -2 target: -2 lun: -2
> Warning: Open by 'devname' is unintentional and not supported.

If you like to get correct behavior, do not use unsupported dev= parameters.

> Linux sg driver version: 3.5.27
> Using libscg version 'schily-0.9'.
> SCSI buffer size: 64512
> atapi: 1
> Device type    : Removable CD-ROM
> Version        : 0
> Response Format: 2
> Capabilities   :
> Vendor_info    : 'LITE-ON '
> Identifikation : 'DVDRW SOHW-1633S'
> Revision       : 'BS0H'
> Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
> Current: DVD+R/DL
> Profile: DVD+R/DL (current)
> Profile: DVD+R
> Profile: DVD+RW
> Profile: DVD-RW sequential recording
> Profile: DVD-RW restricted overwrite
> Profile: DVD-R sequential recording
> Profile: DVD-ROM
> Profile: CD-RW
> Profile: CD-R
> Profile: CD-ROM
> Using generic SCSI-3/mmc-3 DVD+R driver (mmc_dvdplusr).
> Driver flags   : NO-CD DVD MMC-3 SWABAUDIO BURNFREE FORCESPEED
> Supported modes: PACKET SAO
> Drive buf size : 1373184 = 1341 KB
> FIFO size      : 4194304 = 4096 KB
> Track 01: data  8007 MB       
> Total size:     8007 MB = 4099846 sectors
> Current Secsize: 2048
> Blocks total: 4173824 Blocks current: 4173824 Blocks remaining: 73978
> cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
> cdrecord: Permission denied. WARNING: Cannot set priority using
> setpriority().
> cdrecord: WARNING: This causes a high risk for buffer underruns.
> Forcespeed is OFF.
> Starting to write CD/DVD/BD at speed 2 in real SAO mode for single session.
> Last chance to quit, starting real write    0 seconds. Operation starts.
> Waiting for reader process to fill input buffer ... input buffer ready.
> Starting new track at sector: 0
> Track 01: 8007 of 8007 MB written (fifo 100%) [buf  99%]   2.5x.
> Track 01: Total bytes read/written: 8396484608/8396484608 (4099846 sectors).
> Writing  time: 2529.078s
> Average write speed   2.4x.
> Min drive buffer fill was 35%
> Fixating...
> Fixating time:   60.082s
> cdrecord: fifo had 132254 puts and 132254 gets.
> cdrecord: fifo was 0 times empty and 123115 times full, min fill was 43%.

You did not specify the layer break address but you need to do so for movie 
DVDs.

To get the layer brask value from the original disk by calling 

cdrecord -atip

then look for something like:

layer break at:  1768640

Then call cdrecord driveropts=layerbreak=1768640

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       schilling@fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] burning a dvd+r dl - when trying to play: a52: CRC check failed!
  2008-10-02 10:22 [gentoo-user] burning a dvd+r dl - when trying to play: a52: CRC check failed! KH
  2008-10-02 11:02 ` Joerg Schilling
@ 2008-10-02 14:32 ` Stroller
  2008-10-03 18:56   ` [solved] " KH
  1 sibling, 1 reply; 7+ messages in thread
From: Stroller @ 2008-10-02 14:32 UTC (permalink / raw
  To: gentoo-user


On 2 Oct 2008, at 11:22, KH wrote:
> ...
> I am trying to capy a DVD. Somewhere it does not work as I want it.  
> What
> I did until now:
>
> #mplayer dvd://
> #dd if=/dev/cdrom of=~/folder/moviedvd.iso
> #mplayer -dvd-device ~/folder/moviedvd.iso dvd://

I think that mplayer may be running DeCSS on the iso, but you're  
writing a scrambled image to the disk. I'm really sure that you can't  
copy a region-locked disk using `dd` as you describe.

Can you try running something like (from my Bash history):
   $ vobcopy -m
   $ mkisofs -dvd-video -o fargo.iso FARGO_16X9

Stroller.




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [solved] [gentoo-user] burning a dvd+r dl - when trying to play: a52: CRC check failed!
  2008-10-02 14:32 ` Stroller
@ 2008-10-03 18:56   ` KH
  2008-10-03 19:14     ` Joerg Schilling
  0 siblings, 1 reply; 7+ messages in thread
From: KH @ 2008-10-03 18:56 UTC (permalink / raw
  To: gentoo-user

Stroller schrieb:
>
> On 2 Oct 2008, at 11:22, KH wrote:
>> ...
>> I am trying to capy a DVD. Somewhere it does not work as I want it. What
>> I did until now:
>>
>> #mplayer dvd://
>> #dd if=/dev/cdrom of=~/folder/moviedvd.iso
>> #mplayer -dvd-device ~/folder/moviedvd.iso dvd://
>
> I think that mplayer may be running DeCSS on the iso, but you're
> writing a scrambled image to the disk. I'm really sure that you can't
> copy a region-locked disk using `dd` as you describe.
>
> Can you try running something like (from my Bash history):
>   $ vobcopy -m
>   $ mkisofs -dvd-video -o fargo.iso FARGO_16X9
>
> Stroller.
>
>
Thanks for this idea. What I did was the following:

as root:
# mount -t iso9660 -o loop,user /home/me/folderone/themovie.iso
/home/me/scratch/mountpunkt/
# vobcopy -m -i ~/scratch/mountpunkt/
# mkisofs -dvd-video -o themovie_new.iso THEMOVIE/
#  cdrecord -dao -v -gracetime=3 -dev=/dev/cdrom1 scratch/themovie_new.iso

This seems to work. Perfect!



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [solved] [gentoo-user] burning a dvd+r dl - when trying to play: a52: CRC check failed!
  2008-10-03 18:56   ` [solved] " KH
@ 2008-10-03 19:14     ` Joerg Schilling
  2008-10-03 21:09       ` KH
  0 siblings, 1 reply; 7+ messages in thread
From: Joerg Schilling @ 2008-10-03 19:14 UTC (permalink / raw
  To: gentoo-user

KH <gentoo-user@konstantinhansen.de> wrote:

> Thanks for this idea. What I did was the following:
>
> as root:
> # mount -t iso9660 -o loop,user /home/me/folderone/themovie.iso
> /home/me/scratch/mountpunkt/
> # vobcopy -m -i ~/scratch/mountpunkt/
> # mkisofs -dvd-video -o themovie_new.iso THEMOVIE/
> #  cdrecord -dao -v -gracetime=3 -dev=/dev/cdrom1 scratch/themovie_new.iso
>
> This seems to work. Perfect!

Be careful, this disk will most likely not play in stand alone DVD players as 
you did not specify the layer break value.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       schilling@fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] burning a dvd+r dl - when trying to play: a52: CRC check failed!
  2008-10-02 11:02 ` Joerg Schilling
@ 2008-10-03 21:07   ` KH
  0 siblings, 0 replies; 7+ messages in thread
From: KH @ 2008-10-03 21:07 UTC (permalink / raw
  To: gentoo-user

Joerg Schilling schrieb:
> KH <gentoo-user@konstantinhansen.de> wrote:
>
>   
>> Hi together,
>>
>> I am trying to capy a DVD. Somewhere it does not work as I want it. What
>> I did until now:
>>
>> a52: CRC check failed!  0.193 ct:  0.008   7/  7 ??% ??% ??,?% 0 0 78%
>>     
>
> Without knowing what a52: means, I cannot comment.
>
>   
Wikipedia tells its an audio codec for dolby digital. I don't have any
further information on that.

>> What I tried until now:
>>
>> #regionset /dev/cdrom1
>>
>> Region code set successfully!
>>     
>
> If the original DVD was encoded with CSS, you need to use DeCSS to create a
> copy that is not "play protected".
>
>   
How would I do an DeCSS?

>> Cdrecord-ProDVD-ProBD-Clone 2.01.01a34 (x86_64-unknown-linux-gnu)
>>     
>
> This is an old version of cdrecord. For correct DVD+R/DL behavior with all 
> drives you need at least a48.
>   
This is the current stable one in the tree. I will try out the latest
because I did experience some trouble I hope to solve with this.
>> Copyright (C) 1995-2007 Jörg Schilling
>>
>> cdrecord: WARNING: This causes a high risk for buffer underruns.
>>     
>
> You did not install cdrecord correctly. You need to install it suid root.
>   
I just did run #emerge -av cdrtools What else do I have to do? Would it
be something like the following I found with google:

>/ Log in as root.
/>/ cd to the directory where the program file lives.
/>/ chown root:bin file_name
/>/ chmod 4775 file_name  (that will do only the suid and not both suid and
/>/ guid)/

>> Warning: Open by 'devname' is unintentional and not supported.
>>     
>
> If you like to get correct behavior, do not use unsupported dev= parameters.
>   
I will need to read the manual again for this :-)
>   
>> cdrecord: fifo had 132254 puts and 132254 gets.
>> cdrecord: fifo was 0 times empty and 123115 times full, min fill was 43%.
>>     
>
> You did not specify the layer break address but you need to do so for movie 
> DVDs.
>
> To get the layer brask value from the original disk by calling 
>
> cdrecord -atip
>
> then look for something like:
>
> layer break at:  1768640
>
> Then call cdrecord driveropts=layerbreak=1768640
>
> Jörg
>
>   
I will try this during the weekend. Thanks for you fast and excellent
answer.




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [solved] [gentoo-user] burning a dvd+r dl - when trying to play: a52: CRC check failed!
  2008-10-03 19:14     ` Joerg Schilling
@ 2008-10-03 21:09       ` KH
  0 siblings, 0 replies; 7+ messages in thread
From: KH @ 2008-10-03 21:09 UTC (permalink / raw
  To: gentoo-user

Joerg Schilling schrieb:
> KH <gentoo-user@konstantinhansen.de> wrote:
>
>   
>> Thanks for this idea. What I did was the following:
>>
>> as root:
>> # mount -t iso9660 -o loop,user /home/me/folderone/themovie.iso
>> /home/me/scratch/mountpunkt/
>> # vobcopy -m -i ~/scratch/mountpunkt/
>> # mkisofs -dvd-video -o themovie_new.iso THEMOVIE/
>> #  cdrecord -dao -v -gracetime=3 -dev=/dev/cdrom1 scratch/themovie_new.iso
>>
>> This seems to work. Perfect!
>>     
>
> Be careful, this disk will most likely not play in stand alone DVD players as 
> you did not specify the layer break value.
>
> Jörg
You are right. It does not. There seems to be a problem in the middle of
the movie. The stand alone skips like a minute. Also I am missing the
last two chapters.

kh



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-10-03 21:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-02 10:22 [gentoo-user] burning a dvd+r dl - when trying to play: a52: CRC check failed! KH
2008-10-02 11:02 ` Joerg Schilling
2008-10-03 21:07   ` KH
2008-10-02 14:32 ` Stroller
2008-10-03 18:56   ` [solved] " KH
2008-10-03 19:14     ` Joerg Schilling
2008-10-03 21:09       ` KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox