Re: dvd+rw-tools: DVD-RW discs are burned as protected on LG GSA-4163B

2006-11-29 Thread Piotr Pawłow
Joerg Schilling wrote:

 Did you use the latest mkisofs?

Yes, mkisofs 2.01.01a20 (i686-pc-linux-gnu)

 If you use a DVD-R and it works, then you need to send a bug report
 to the libdvdcss people.

Yes it works, I also checked the DVD-RW written using cdrecord, and it works
too on KISS DP-1000 and Samsung HD860 player, so the problem of playing it
on mplayer/vlc/xine seems to be libdvdcss related after all. Sorry for
wasting your time. That disk is scrambled message misled me.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: dvd+rw-tools: DVD-RW discs are burned as protected on LG GSA-4163B

2006-11-19 Thread Bill Davidsen

Piotr Pawłow wrote:

Rob Bogus wrote:

  

Joerg Schilling wrote:


Start with a clean setup:
create the image with  a _recent_ mkisofs
ftp://ftp.berlios.de/pub/cdrecord/alpha/
and use mkisofs -dvd-video to create the image
use cdrecord to write to the medium
If the DVD-RW medium has been written by growisofs before
you need to cleanup the medium with cdrecord -v blank=all before.
  

And let us know how it works.

 
I downloaded cdrtools-2.01.01a20 from the URL above and compiled it. Then

blanked the disc:

# cdrecord -v blank=all dev=ATA:0,1,0
Cdrecord-ProDVD-Clone 2.01.01a20 (i686-pc-linux-gnu) Copyright (C) 1995-2006
Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.16.4-1.6
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
TOC Type: 1 = CD-ROM
scsidev: 'ATA:0,1,0'
devname: 'ATA'
scsibus: 0 target: 1 lun: 0
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
SCSI buffer size: 64512
atapi: -1
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: 'HL-DT-ST'
Identifikation : 'DVDRAM GSA-4163B'
Revision   : 'A106'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: DVD-RW sequential overwrite
Profile: DVD-RAM
Profile: DVD-R sequential recording
Profile: DVD-RW sequential overwrite (current)
Profile: DVD-RW restricted overwrite (current)
Profile: DVD+RW
Profile: DVD+R
Profile: DVD+R/DL
Profile: DVD-ROM (current)
Profile: CD-R
Profile: CD-RW
Profile: CD-ROM
Profile: Removable Disk
resid: 64
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags   : DVD MMC-3 SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1114112 = 1088 KB
Drive pbuf size: 1966080 = 1920 KB
Drive DMA Speed: 14178 kB/s 80x CD 10x DVD
Current Secsize: 2048
Total power on  hours: 0
WARNING: Phys disk size 2286112 differs from rzone size 0! Prerecorded disk?
WARNING: Phys start: 196608 Phys end 2482719
Starting to write CD/DVD at speed 2 in real BLANK mode for single session.
Last chance to quit, starting real write0 seconds. Operation starts.
Blanking entire disk
Blanking time: 1729.819s


I gave up playing with the ATA: and ATAPI: stuff long ago, regardless of 
the whining about support for device names being unintentional there's 
intentional code in there to support it, and I've been using it for so 
long I can't remember what problems I ever had with the pseudo-SCSI methods.


This all seems to have worked, maybe Joerg will have a suggestion, as I 
don't.


--
bill davidsen [EMAIL PROTECTED]
 CTO TMR Associates, Inc
 Doing interesting things with small computers since 1979



dvd+rw-tools: DVD-RW discs are burned as protected on LG GSA-4163B

2006-11-18 Thread Piotr Pawłow
Hello,

I have a problem with burning DVD-Video on a DVD-RW media. Burned discs
won't play on most software and hardware players. While it plays in Windows
Media Player, it won't play in VLC on Windows, neither VLC or Xine or
Mplayer on Linux, and won't play on any standalone player I tried.

I usually burn DVD-R media, which works OK, but this time I am trying to
master a DVD with family videos, which is the reason why I have choosen -RW
media. I started investigating the problem, as the other option would be a
landfill of wasted DVD-Rs :)

When I try to play the -RW disc on mplayer, or xine, or vlc, the following
lines appear in terminal:

libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading

So I tried again with DVDCSS_VERBOSE=2:

libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss debug: disc is scrambled
libdvdcss debug: requesting AGID
libdvdcss debug: ioctl ReportAgid failed, invalidating AGID 0
libdvdcss debug: requesting AGID
libdvdcss debug: ioctl ReportAgid failed, invalidating AGID 1
libdvdcss debug: requesting AGID
libdvdcss debug: ioctl ReportAgid failed, invalidating AGID 2
libdvdcss debug: requesting AGID
libdvdcss debug: ioctl ReportAgid failed, invalidating AGID 3
libdvdcss debug: requesting AGID
libdvdcss error: ioctl ReportAgid failed, fatal
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading

The line libdvdcss debug: disc is scrambled caught my attention. After a
bit of digging in libdvdcss sources, kernel sources, and MMC commands
documentation, it seems to me libcss gets the information that the disc is
protected by sending READ DISC STRUCTURE command to the drive, and the
drive gets it from the disc. Nero Infotool recognizes the protection
as CPRM.

Is it somehow possible to remove this protection? I noticed in MMC
documentation, that there is also SEND DISC STRUCTURE command, and you
can send some Copyright Management Information with it. Couldn't it be
used to mark the disc as not protected?

Best regards


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: dvd+rw-tools: DVD-RW discs are burned as protected on LG GSA-4163B

2006-11-18 Thread Joerg Schilling
Piotr Paw³ow [EMAIL PROTECTED] wrote:

 Hello,

 I have a problem with burning DVD-Video on a DVD-RW media. Burned discs
 won't play on most software and hardware players. While it plays in Windows
 Media Player, it won't play in VLC on Windows, neither VLC or Xine or
 Mplayer on Linux, and won't play on any standalone player I tried.

Start with a clean setup:

create the image with  a _recent_ mkisofs

ftp://ftp.berlios.de/pub/cdrecord/alpha/

and use mkisofs -dvd-video to create the image

use cdrecord to write to the medium

If the DVD-RW medium has been written by growisofs before
you need to cleanup the medium with cdrecord -v blank=all before.


Make sure you use the official and unmodified cdrecord  and not 
a bastardized version from one of the Linux distributors.


Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: dvd+rw-tools: DVD-RW discs are burned as protected on LG GSA-4163B

2006-11-18 Thread Rob Bogus

Joerg Schilling wrote:

Piotr Paw³ow [EMAIL PROTECTED] wrote:

  

Hello,

I have a problem with burning DVD-Video on a DVD-RW media. Burned discs
won't play on most software and hardware players. While it plays in Windows
Media Player, it won't play in VLC on Windows, neither VLC or Xine or
Mplayer on Linux, and won't play on any standalone player I tried.



Start with a clean setup:

create the image with  a _recent_ mkisofs

ftp://ftp.berlios.de/pub/cdrecord/alpha/

and use mkisofs -dvd-video to create the image

use cdrecord to write to the medium

If the DVD-RW medium has been written by growisofs before
you need to cleanup the medium with cdrecord -v blank=all before.


Make sure you use the official and unmodified cdrecord  and not 
a bastardized version from one of the Linux distributors.


And let us know how it works.

--
E. Robert Bogusta
 It seemed like a good idea at the time




Re: dvd+rw-tools: DVD-RW discs are burned as protected on LG GSA-4163B

2006-11-18 Thread Piotr Pawłow
Rob Bogus wrote:

 Joerg Schilling wrote:
 Start with a clean setup:
 create the image with  a _recent_ mkisofs
 ftp://ftp.berlios.de/pub/cdrecord/alpha/
 and use mkisofs -dvd-video to create the image
 use cdrecord to write to the medium
 If the DVD-RW medium has been written by growisofs before
 you need to cleanup the medium with cdrecord -v blank=all before.
 And let us know how it works.
 
I downloaded cdrtools-2.01.01a20 from the URL above and compiled it. Then
blanked the disc:

# cdrecord -v blank=all dev=ATA:0,1,0
Cdrecord-ProDVD-Clone 2.01.01a20 (i686-pc-linux-gnu) Copyright (C) 1995-2006
Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.16.4-1.6
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
TOC Type: 1 = CD-ROM
scsidev: 'ATA:0,1,0'
devname: 'ATA'
scsibus: 0 target: 1 lun: 0
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
SCSI buffer size: 64512
atapi: -1
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: 'HL-DT-ST'
Identifikation : 'DVDRAM GSA-4163B'
Revision   : 'A106'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: DVD-RW sequential overwrite
Profile: DVD-RAM
Profile: DVD-R sequential recording
Profile: DVD-RW sequential overwrite (current)
Profile: DVD-RW restricted overwrite (current)
Profile: DVD+RW
Profile: DVD+R
Profile: DVD+R/DL
Profile: DVD-ROM (current)
Profile: CD-R
Profile: CD-RW
Profile: CD-ROM
Profile: Removable Disk
resid: 64
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags   : DVD MMC-3 SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1114112 = 1088 KB
Drive pbuf size: 1966080 = 1920 KB
Drive DMA Speed: 14178 kB/s 80x CD 10x DVD
Current Secsize: 2048
Total power on  hours: 0
WARNING: Phys disk size 2286112 differs from rzone size 0! Prerecorded disk?
WARNING: Phys start: 196608 Phys end 2482719
Starting to write CD/DVD at speed 2 in real BLANK mode for single session.
Last chance to quit, starting real write0 seconds. Operation starts.
Blanking entire disk
Blanking time: 1729.819s


Then created a new iso image:

$ mkisofs -dvd-video -o dvd.iso ./dvd-files/
  0.22% done, estimate finish Sun Nov 19 07:30:20 2006
  0.44% done, estimate finish Sun Nov 19 07:26:32 2006
  0.66% done, estimate finish Sun Nov 19 07:27:48 2006
[...]
 99.52% done, estimate finish Sun Nov 19 07:28:36 2006
 99.74% done, estimate finish Sun Nov 19 07:28:35 2006
 99.96% done, estimate finish Sun Nov 19 07:28:36 2006
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 4096
Path table size(bytes): 42
Max brk space used 42000
2286003 extents written (4464 MB)


Then wrote the image with cdrecord:

# cdrecord dev=ATA:0,1,0 dvd.iso
cdrecord: No write mode specified.
cdrecord: Asuming -sao mode.
cdrecord: If your drive does not accept -sao, try -tao.
cdrecord: Future versions of cdrecord may have different drive dependent
defaults.
Cdrecord-ProDVD-Clone 2.01.01a20 (i686-pc-linux-gnu) Copyright (C) 1995-2006
Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.16.4-1.6
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATA:0,1,0'
devname: 'ATA'
scsibus: 0 target: 1 lun: 0
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: 'HL-DT-ST'
Identifikation : 'DVDRAM GSA-4163B'
Revision   : 'A106'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
resid: 64
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW/DVD-RAM driver (mmc_dvd).
Driver flags   : DVD MMC-3 SWABAUDIO BURNFREE
Supported modes: PACKET SAO
resid: 64
Starting to write CD/DVD at speed 2 in real SAO mode for single session.
Last chance to quit, starting real write0 seconds. Operation starts.
Turning BURN-Free off
Track 01: Total bytes read/written: 4681734144/4681734144 (2286003 sectors).


Mplayer still doesn't play the disc:

$ DVDCSS_VERBOSE=2 mplayer -v dvd://1
MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
[...]
libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdcss debug: opening target `/dev/dvd'
libdvdcss debug: using libc for access
libdvdcss debug: disc is scrambled
libdvdcss debug: requesting AGID
libdvdcss debug: ioctl ReportAgid failed, invalidating AGID 0
libdvdcss debug: requesting AGID
libdvdcss debug: ioctl ReportAgid failed, invalidating AGID 1
libdvdcss debug: requesting AGID
libdvdcss debug: ioctl ReportAgid failed, invalidating AGID 2
libdvdcss debug: requesting AGID
libdvdcss debug: ioctl ReportAgid failed, invalidating AGID 3
libdvdcss debug: requesting AGID
libdvdcss error: ioctl ReportAgid failed, fatal