DVD Backup

Discuss Applications
X11
guru
guru
Posts: 676
Joined: Sun Jan 19, 2003 11:09 pm
Location: Australia
Contact:

DVD Backup

Post by X11 »

Hey,

I have got DVDrip and used that to rip a movie I own and wanted to burn the VOB files to a blank DVD that will play in my DVD player (in case something happens to the original). I have found various DVD authoring howto's but most of them are related to putting home videos and such on DVD.

How would I simply put the ripped backup onto a DVD?

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main »

I have used lxdvdrip very successfully in the past:
http://voidmain.is-a-geek.net/forums/vi ... php?t=1227

At the time of the above thread there were no RPMs for it and I had created some but I believe Dag is now supplying lxdvdrip RPMs so you can just apt-get it and forget it.

X11
guru
guru
Posts: 676
Joined: Sun Jan 19, 2003 11:09 pm
Location: Australia
Contact:

Post by X11 »

I've already ripped it, I just wanted to author the VOB's to CD.

Or should I rip it again with lxdvdrip?

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main »

If you ripped it to an ISO you can just run lxdvdrip on the ISO. Otherwise just run lxdvdrip on your DVD again. I actually sent in the patch to allow lxdvdrip to be run against an ISO rather than requiring the DVD.

X11
guru
guru
Posts: 676
Joined: Sun Jan 19, 2003 11:09 pm
Location: Australia
Contact:

Post by X11 »

Alright, the readme tells me practically nothing about actually using it though.

Code: Select all

[x11@kintaro Video]$ lxdvdrip
DE: Keine Datei ~/.lxdvdrip.conf vorhanden, verwende /etc/lxdvdrip.conf!

EN: File ~/.lxdvdrip.conf not found, will use /etc/lxdvdrip.conf!

FR: Fichier ~/.lxdvdrip.conf pas trouvé, utilisera /etc/lxdvdrip.conf!

Starting with these settings:

Language       1 (0=german,1=english,2=french)
Streamtool:    1 (1=streamdvd, 2=transcode parallel, 3=mplayer,4=transcode, 5=copy, 6=partcopy)
Multiplexer:   1 (1=tcmplex, 2=mplex)
Tmp-Dir:       /tmp
Title:         0 (0=calculate longest title)
Audio-Track:   2/ (1=german, 2=english, 3=german+english, 4=select other language, 5=input title Nr.)
AudioDefault:  1 (0=first track in chosen language, 1=AC3 with 6 channels preferred to AC3/2, 2=DTS first)
Subpicture:    0 (Subpicture-Track-No, 0=no subpictures, -1=list)
Chapter:       1 (0=no, 1=yes, with lxdvdrip, 2=yes, with tcprobe)
Directory:     /tmp/film-dvd (Directory for film, i. e. /tmp/film-dvd)
Files delete:  0 (0=no, 1=yes)
Factor:        0.000000
DVD-Reader:    /dev/dvd (Device-Name)
DVD-Burner:    /dev/scd0 (Device-Name)
Burn-Prog:     1 (1=growisofs, 2=cdrecord-prodvd, 3=cdrecord-prodvd on the fly, 0=no burning)
RW format:     1 (0=no, 1=yes)
Wait for DVDR: 1 (1=yes, 0=no)
VOB-Player:    mplayer (Name of player for preview, default: mplayer, off=no preview)
DVDSpeed:      4
cdrecord-key:  CDR_SECURITY=insert_key_from_homepage

Checking free disk space: ...
mkdir: cannot create directory `/tmp/film-dvd': File exists
Free in /tmp/film-dvd: 7492653056 Bytes
Test OK
libdvdread: Using libdvdcss version 1.2.8 for DVD access
Disc Title: AU_102900
Segmentation fault
Firstly I need to set the burner to /dev/hdc (which is the DVD drive im reading from, so I will probably have to make an ISO image of the DVD).

X11
guru
guru
Posts: 676
Joined: Sun Jan 19, 2003 11:09 pm
Location: Australia
Contact:

Post by X11 »

running it with --help seems to help

X11
guru
guru
Posts: 676
Joined: Sun Jan 19, 2003 11:09 pm
Location: Australia
Contact:

Post by X11 »

Code: Select all

[x11@kintaro Video]$ sudo lxdvdrip -t=l -hq=0 -dl=TheUntouchables.iso
DE: Keine Datei ~/.lxdvdrip.conf vorhanden, verwende /etc/lxdvdrip.conf!

EN: File ~/.lxdvdrip.conf not found, will use /etc/lxdvdrip.conf!

FR: Fichier ~/.lxdvdrip.conf pas trouvé, utilisera /etc/lxdvdrip.conf!

Starting with these settings:

Language       1 (0=german,1=english,2=french)
Streamtool:    1 (1=streamdvd, 2=transcode parallel, 3=mplayer,4=transcode, 5=copy, 6=partcopy)
Multiplexer:   1 (1=tcmplex, 2=mplex)
Tmp-Dir:       /tmp
Title:         -1 (0=calculate longest title)
Audio-Track:   2/ (1=german, 2=english, 3=german+english, 4=select other language, 5=input title Nr.)
AudioDefault:  1 (0=first track in chosen language, 1=AC3 with 6 channels preferred to AC3/2, 2=DTS first)
Subpicture:    0 (Subpicture-Track-No, 0=no subpictures, -1=list)
Chapter:       1 (0=no, 1=yes, with lxdvdrip, 2=yes, with tcprobe)
Directory:     /tmp/film-dvd (Directory for film, i. e. /tmp/film-dvd)
Files delete:  0 (0=no, 1=yes)
Factor:        0.000000
DVD-Reader:    TheUntouchables.iso (Device-Name)
DVD-Burner:    /dev/scd0 (Device-Name)
Burn-Prog:     1 (1=growisofs, 2=cdrecord-prodvd, 3=cdrecord-prodvd on the fly, 0=no burning)
RW format:     1 (0=no, 1=yes)
Wait for DVDR: 1 (1=yes, 0=no)
VOB-Player:    mplayer (Name of player for preview, default: mplayer, off=no preview)
DVDSpeed:      4
cdrecord-key:  CDR_SECURITY=insert_key_from_homepage

Checking free disk space: ...
mkdir: cannot create directory `/tmp/film-dvd': File exists
Free in /tmp/film-dvd: 11885637632 Bytes
Test OK
libdvdread: Using libdvdcss version 1.2.8 for DVD access
Couldn't open TheUntouchables.iso for title!
Disc Title: unknown
/usr/bin/lxdvdrip: symbol lookup error: /usr/bin/lxdvdrip: undefined symbol: UDFFindFile

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main »

Here is my /etc/lxdvdrip.conf:

http://voidmain.is-a-geek.net/files/con ... vdrip.conf

My DVD device is /dev/dvd and my ISO directory is /dvd. If yours is different you'll have to change things. The error is that it can't find your ISO file. Since you are using sudo you might have to give it the full path since the directory will probably be changed upon execution of sudo. I never run it through sudo.

Code: Select all

$ lxdvdrip --help
lxdvdrip 1.41 Help
==================

Start Program: lxdvdrip [-parameter=value]

You need only to give those parameters with different values as defined in the
config-file (/etc/lxdvdrip.conf).
The default values are printed in brackets () behind the parameters.

-st=Streamtool       : streamdvd, mplayer, transcode, trans_par (Transcode
                       parallel), copy, partcopy (Select Titles) (-st=streamdvd)-mp=mplex            : Multiplexer, only with -st=mplayer, use mplex instead of
                       tcmplex when having problems with tcmplex (-mp=tcmplex)
-tmp=Directory       : Directory for temporary files for ripping with mplayer
                       (-tmp=/tmp)
-t=TitleNr           : Nr of the ripping title, "lsdvd" shows all titles,
                       normally the longest title, 0=longest title will be
                       calculated by lxdvdrip, l=select from list (-t=0)
-hq=x                : High Quality Backup, copy 1 DVD-9 => 2 DVD-5,
                       -hq=1=>1. Part, -hq=2=>2. Part (-hq=0)

Page 2: Please press Enter

-vf=x                : dvdauthor with -v (Video Format) (0=no,1=yes) (-vf=0)
-a=Audio language    : -a=1: german only, -a=2: english only, -a=3: german+
                       english, -a=4,xy in language xy, i. E. -a=4,f for french
                       -a=l for list with free selection of audiotracks (-a=1)
-ad=AudioDefault     : 0=first track in chosen language, 1=AC3 with 6 channels
                       preferred to AC3/2, 2=DTS first (-ad=0)
-lab=VolumeID        : Name of DVD (Volume-ID/Label)
-chap=chapter        : 0=without chapters, 1=with chapters (-chap=1)
-u=Subpicture-Nr.    : Nr of the ripping Subpicture-Track (infos with lsdvd),
                       0=without subtitles, l=lxdvdrip shows list, input,
                       alternative language, i. E. "-u=de" (-u=0)
-fv=Film-Directory   : Directory for the ripping files (-fv=/tmp/film-dvd)
-f=Factor            : Normally factor for requant will be calculated, but you
                       can overwrite the factor with your value, with "-f=-1"
                       lxdvdrip makes a testrip of one chapter to calculate
                       factor, "-f=-2" => streamanalyze (-f=0)
-dl=DVD-Device       : Device-Name of DVD-Reader (-dl=/dev/dvd)
-db=Burner-Device    : Device of the Burner (-db=/dev/scd0)
-bp=Burn-Program     : 1=growisofs, 2=cdrecord-prodvd, 3=cdrecord-prodvd on the
                       fly, 0=no Burning (-bp=1)

Page 3: Please press Enter

-sp=x                : burning Speed (-sp=0)
-wb=Wait for Burn    : Program asks you for DVD-R before burning (1=yes, 0=no)
                       (-wb=1)
-format=             : 1=RW format, 0=no (-format=0)
-vp=VOB-Player       : player for VOB-preview, off=no preview (-vp=mplayer)
-lang=en             : Program in english (Default german)
-d=delete            : Delete VOB-Files after burning (0=no, 1=yes) (-d=1)
-free=check          : Check for free disk space before ripping (0=no, 1=yes)
                       (-free=1)
-file=Outputfile     : Instead of dvdauthor+growisofs write result in a file,
                       i. E. "-file=/tmp/dvd.vob", -file=0=>Option off
-dw=x                : 1=dvdwizard on, 0=dvdwizard off (0)
-h                   : Show this help (--help)
-v                   : Show version (--version)

X11
guru
guru
Posts: 676
Joined: Sun Jan 19, 2003 11:09 pm
Location: Australia
Contact:

Post by X11 »

Ok, I just tried running it with the disk in the drive instead of from an ISO after changing my config, it has one error I think that is the problem...

Code: Select all

[x11@kintaro Video]$ lxdvdrip -wb=1
Starting with these settings:

Language       1 (0=german,1=english,2=french)
Streamtool:    1 (1=streamdvd, 2=transcode parallel, 3=mplayer,4=transcode, 5=copy, 6=partcopy)
Multiplexer:   1 (1=tcmplex, 2=mplex)
Tmp-Dir:       /tmp
Title:         0 (0=calculate longest title)
Audio-Track:   2/ (1=german, 2=english, 3=german+english, 4=select other language, 5=input title Nr.)
AudioDefault:  1 (0=first track in chosen language, 1=AC3 with 6 channels preferred to AC3/2, 2=DTS first)
Subpicture:    0 (Subpicture-Track-No, 0=no subpictures, -1=list)
Chapter:       1 (0=no, 1=yes, with lxdvdrip, 2=yes, with tcprobe)
Directory:     /dvd/film-dvd (Directory for film, i. e. /tmp/film-dvd)
Files delete:  0 (0=no, 1=yes)
Factor:        0.000000
DVD-Reader:    /dev/dvd (Device-Name)
DVD-Burner:    /dev/dvd (Device-Name)
Burn-Prog:     1 (1=growisofs, 2=cdrecord-prodvd, 3=cdrecord-prodvd on the fly, 0=no burning)
RW format:     1 (0=no, 1=yes)
Wait for DVDR: 1 (1=yes, 0=no)
VOB-Player:    mplayer (Name of player for preview, default: mplayer, off=no preview)
DVDSpeed:      4
cdrecord-key:  CDR_SECURITY=insert_key_from_homepage

Checking free disk space: ...
mkdir: cannot create directory `/dvd/film-dvd': File exists
Free in /dvd/film-dvd: 11885228032 Bytes
Test OK
libdvdread: Using libdvdcss version 1.2.8 for DVD access
Disc Title: AU_102900
lxdvdrip: symbol lookup error: lxdvdrip: undefined symbol: UDFFindFile
"lxdvdrip: symbol lookup error: lxdvdrip: undefined symbol: UDFFindFile"
It just exits after that. :?

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main »

Sounds like you have a missing shared library or lxdvdrip is looking for it in thet wrong place. What is the output of the "ldd" command on lxdvdrip?

$ ldd `which lxdvdrip`

X11
guru
guru
Posts: 676
Joined: Sun Jan 19, 2003 11:09 pm
Location: Australia
Contact:

Post by X11 »

Code: Select all

[x11@kintaro ~]$ ldd `which lxdvdrip`
        linux-gate.so.1 =>  (0xffffe000)
        libdvdread.so.3 => /usr/lib/libdvdread.so.3 (0x004b3000)
        libm.so.6 => /lib/tls/libm.so.6 (0x00a13000)
        libc.so.6 => /lib/tls/libc.so.6 (0x008ea000)
        libdl.so.2 => /lib/libdl.so.2 (0x00a38000)
        /lib/ld-linux.so.2 (0x008d1000)

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main »

When I get home I'll get the list of versions of all associated software. I think the problem is actually related to one of the external programs like libdvdread or dvdbackup. I don't remember if I have a customized version of those or not. In the mean time you can browse around the public forums here and probably find the answer:

http://developer.berlios.de/projects/lxdvdrip/

X11
guru
guru
Posts: 676
Joined: Sun Jan 19, 2003 11:09 pm
Location: Australia
Contact:

Post by X11 »

Hrm...

Code: Select all

[x11@kintaro SPECS]$ rpmbuild -ba lxdvdrip.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.19517
+ umask 022
+ cd /home/x11/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf /home/x11/redhat/BUILD/lxdvdrip-buildroot
+ cd /home/x11/redhat/BUILD
+ rm -rf lxdvdrip
+ /usr/bin/gzip -dc /home/x11/redhat/SOURCES/lxdvdrip-1.31.tgz
+ tar -xvvf -
drwxr-xr-x stefan/stefan     0 2004-10-15 10:36:40 lxdvdrip/
-rw-rw-r-- root/root       591 2004-08-12 07:24:17 lxdvdrip/Makefile
drwxr-xr-x root/root         0 2004-09-24 11:07:10 lxdvdrip/mpgtx/
-rwxr-xr-x root/root    511680 2004-09-24 11:06:39 lxdvdrip/mpgtx/mpgtx
-rw------- root/root     70772 2004-09-24 11:06:17 lxdvdrip/mpgtx/mpeg.cxx
-rw-r--r-- stefan/users  17992 2003-06-27 22:11:13 lxdvdrip/COPYING
-rwxr-xr-x stefan/stefan  5364 2004-10-15 03:38:49 lxdvdrip/lxdvdrip.conf
drwxr-xr-x root/root         0 2004-03-15 00:17:44 lxdvdrip/dvdauthor/
-rw-r--r-- stefan/users  57316 2004-09-27 03:55:20 lxdvdrip/dvdauthor/dvdvob.c
drwxr-xr-x root/root         0 2004-09-16 04:55:32 lxdvdrip/vamps/
-rw-r--r-- root/root      1106 2004-09-16 05:21:37 lxdvdrip/vamps/Makefile
-rw-r--r-- root/users     2566 2003-12-13 21:43:37 lxdvdrip/vamps/requant.h
-rw-r--r-- stefan/stefan 46815 2004-01-03 02:52:52 lxdvdrip/vamps/requant.c
-rw-r--r-- root/users     8445 2003-12-13 05:48:19 lxdvdrip/vamps/putvlc.h
-rw-r--r-- root/users    16148 2003-12-13 05:48:37 lxdvdrip/vamps/getvlc.h
-rw-r--r-- stefan/stefan 24576 2004-04-01 05:58:58 lxdvdrip/vamps/vamps.c
-rw-rw-r-- stefan/stefan 276220 2004-10-15 10:31:20 lxdvdrip/lxdvdrip.c
drwxr-xr-x root/root          0 2004-10-06 08:14:47 lxdvdrip/doc-pak/
-rw-r--r-- stefan/stefan  19334 2004-10-05 05:27:52 lxdvdrip/doc-pak/README.de
-rw-r--r-- stefan/users   17992 2003-06-27 22:11:13 lxdvdrip/doc-pak/COPYING
-rw-r--r-- root/root      14565 2004-10-15 10:41:35 lxdvdrip/doc-pak/Changelog.de
-rwxr-xr-x stefan/stefan   5364 2004-10-15 03:39:05 lxdvdrip/doc-pak/lxdvdrip.conf.DE
-rw-r--r-- root/root        798 2004-08-12 07:22:29 lxdvdrip/doc-pak/freebsd.doc
-rw-r--r-- root/root      18471 2004-10-06 08:13:34 lxdvdrip/doc-pak/README.fr
-rw-rw-r-- root/root        640 2004-08-12 07:18:14 lxdvdrip/doc-pak/Makefile.freebsd
-rw-r--r-- root/root      14538 2004-10-13 03:19:06 lxdvdrip/doc-pak/Changelog.fr
-rw-r--r-- root/root      13361 2004-10-15 10:41:46 lxdvdrip/doc-pak/Changelog.en
-rwxr-xr-x root/root       5817 2004-10-15 03:39:35 lxdvdrip/doc-pak/lxdvdrip.conf.FR
-rw-rw-r-- stefan/stefan  15479 2004-10-05 05:32:26 lxdvdrip/doc-pak/README.en
-rwxr-xr-x stefan/stefan   4790 2004-10-15 03:39:18 lxdvdrip/doc-pak/lxdvdrip.conf.EN
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd lxdvdrip
++ /usr/bin/id -u
+ '[' 500 = 0 ']'
++ /usr/bin/id -u
+ '[' 500 = 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #1 (lxdvdrip-voidmain-iso.patch):'
Patch #1 (lxdvdrip-voidmain-iso.patch):
+ patch -p1 -s
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.19517
+ umask 022
+ cd /home/x11/redhat/BUILD
+ cd lxdvdrip
+ LANG=C
+ export LANG
+ unset DISPLAY
+ make 'CPPFLAGS=-O2 -g -pipe -m32 -march=i386 -mtune=pentium4'
gcc -g -ldvdread -lm -o lxdvdrip lxdvdrip.c
lxdvdrip.c:201:32: dvdread/dvd_reader.h: No such file or directory
lxdvdrip.c:202:30: dvdread/ifo_read.h: No such file or directory
lxdvdrip.c:203:31: dvdread/ifo_print.h: No such file or directory
lxdvdrip.c:627: error: syntax error before '*' token
lxdvdrip.c: In function `dvdtime2msec':
lxdvdrip.c:629: error: `dt' undeclared (first use in this function)
lxdvdrip.c:629: error: (Each undeclared identifier is reported only once
lxdvdrip.c:629: error: for each function it appears in.)
lxdvdrip.c: At top level:
lxdvdrip.c:644: error: syntax error before '*' token
lxdvdrip.c: In function `millisekunden':
lxdvdrip.c:646: error: `dt' undeclared (first use in this function)
lxdvdrip.c: At top level:
lxdvdrip.c:738: error: syntax error before '*' token
lxdvdrip.c: In function `DVDGetFileSet':
lxdvdrip.c:752: error: `ifo_handle_t' undeclared (first use in this function)
lxdvdrip.c:752: error: `vmg_ifo' undeclared (first use in this function)
lxdvdrip.c:758: error: `_dvd' undeclared (first use in this function)
lxdvdrip.c: In function `main':
lxdvdrip.c:929: error: `dvd_reader_t' undeclared (first use in this function)
lxdvdrip.c:929: error: `dvd' undeclared (first use in this function)
lxdvdrip.c:930: error: `ifo_handle_t' undeclared (first use in this function)
lxdvdrip.c:930: error: `ifo_zero' undeclared (first use in this function)
lxdvdrip.c:930: error: `ifo' undeclared (first use in this function)
lxdvdrip.c:931: error: `pgcit_t' undeclared (first use in this function)
lxdvdrip.c:931: error: `vts_pgcit' undeclared (first use in this function)
lxdvdrip.c:932: error: `vtsi_mat_t' undeclared (first use in this function)
lxdvdrip.c:932: error: `vtsi_mat' undeclared (first use in this function)
lxdvdrip.c:933: error: `vmgi_mat_t' undeclared (first use in this function)
lxdvdrip.c:933: error: `vmgi_mat' undeclared (first use in this function)
lxdvdrip.c:934: error: `audio_attr_t' undeclared (first use in this function)
lxdvdrip.c:934: error: `audio_attr' undeclared (first use in this function)
lxdvdrip.c:935: error: `video_attr_t' undeclared (first use in this function)
lxdvdrip.c:935: error: `video_attr' undeclared (first use in this function)
lxdvdrip.c:936: error: `subp_attr_t' undeclared (first use in this function)
lxdvdrip.c:936: error: `subp_attr' undeclared (first use in this function)
lxdvdrip.c:937: error: `pgc_t' undeclared (first use in this function)
lxdvdrip.c:937: error: `pgc' undeclared (first use in this function)
lxdvdrip.c:2308: error: syntax error before ')' token
make: *** [all] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.19517 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.19517 (%build)
That was the result of an attempt to build your SRPM.

Looks like attempting to build the source tgz resulted in a similar fate.

Code: Select all

[root@kintaro lxdvdrip]# make
gcc -g -ldvdread -lm -o lxdvdrip lxdvdrip.c
lxdvdrip.c:222:32: dvdread/dvd_reader.h: No such file or directory
lxdvdrip.c:223:30: dvdread/ifo_read.h: No such file or directory
lxdvdrip.c:224:31: dvdread/ifo_print.h: No such file or directory
lxdvdrip.c:705: error: syntax error before '*' token
lxdvdrip.c: In function `dvdtime2msec':
lxdvdrip.c:707: error: `dt' undeclared (first use in this function)
lxdvdrip.c:707: error: (Each undeclared identifier is reported only once
lxdvdrip.c:707: error: for each function it appears in.)
lxdvdrip.c: At top level:
lxdvdrip.c:722: error: syntax error before '*' token
lxdvdrip.c: In function `millisekunden':
lxdvdrip.c:724: error: `dt' undeclared (first use in this function)
lxdvdrip.c: At top level:
lxdvdrip.c:816: error: syntax error before '*' token
lxdvdrip.c: In function `DVDGetFileSet':
lxdvdrip.c:830: error: `ifo_handle_t' undeclared (first use in this function)
lxdvdrip.c:830: error: `vmg_ifo' undeclared (first use in this function)
lxdvdrip.c:836: error: `_dvd' undeclared (first use in this function)
lxdvdrip.c: In function `main':
lxdvdrip.c:1087: error: `dvd_reader_t' undeclared (first use in this function)
lxdvdrip.c:1087: error: `dvd' undeclared (first use in this function)
lxdvdrip.c:1088: error: `ifo_handle_t' undeclared (first use in this function)
lxdvdrip.c:1088: error: `ifo_zero' undeclared (first use in this function)
lxdvdrip.c:1088: error: `ifo' undeclared (first use in this function)
lxdvdrip.c:1089: error: `pgcit_t' undeclared (first use in this function)
lxdvdrip.c:1089: error: `vts_pgcit' undeclared (first use in this function)
lxdvdrip.c:1090: error: `vtsi_mat_t' undeclared (first use in this function)
lxdvdrip.c:1090: error: `vtsi_mat' undeclared (first use in this function)
lxdvdrip.c:1091: error: `vmgi_mat_t' undeclared (first use in this function)
lxdvdrip.c:1091: error: `vmgi_mat' undeclared (first use in this function)
lxdvdrip.c:1092: error: `audio_attr_t' undeclared (first use in this function)
lxdvdrip.c:1092: error: `audio_attr' undeclared (first use in this function)
lxdvdrip.c:1093: error: `video_attr_t' undeclared (first use in this function)
lxdvdrip.c:1093: error: `video_attr' undeclared (first use in this function)
lxdvdrip.c:1094: error: `subp_attr_t' undeclared (first use in this function)
lxdvdrip.c:1094: error: `subp_attr' undeclared (first use in this function)
lxdvdrip.c:1095: error: `pgc_t' undeclared (first use in this function)
lxdvdrip.c:1095: error: `pgc' undeclared (first use in this function)
lxdvdrip.c:2543: error: syntax error before ')' token
make: *** [all] Error 1
I think this might be related, however if I was missing something or another I would think that would show up when installing the RPM, which was sucsessful.

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main »

Ok, I am experiencing the same problem you are and have solved it by what I found here:

http://lists.freshrpms.net/pipermail/fr ... 12708.html

It appears a recent upgrade of libdvdread has broken it. If you install lxdvdrip from Dag's repo:

# apt-get install lxdvdrip

Then you'll need to downgrade libdvdread:

# rpm -Uvh --oldpackage http://dag.wieers.com/packages/libdvdre ... f.i386.rpm

This should fix the problem. Of course now you will have another issue to deal with. If you try and do an "apt-get dist-upgrade" it will repace this old package with the new one so you'll have to add it to your apt.conf so it doesn't get upgraded until the current one is fixed. Add it to your "Hold" tag of your RPM section in your /etc/apt/apt.conf:

Code: Select all

        Hold { "libdvdread" };
P.S. I am now using the stock /etc/lxdvdrip.conf that came with the Dag version. The only change I made to it was changed /dev/scd0 to /dev/dvd. I did a DVD9-DVD5 by just typing "lxdvdrip" with no problems.

P.S.S. I need to break down and write a good GUI for this app. It seems nobody else is stepping up to the plate.

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main »

Forget the above message. I found that the problem with libdvdread is the way it was built. The source hasn't changed, just the spec file. I have created a new libdvdread package and also got the latest 1.43-pre5 release of lxdvdrip and put them in my repository. If you are using Dag's apt package and are pointing to his repository, and also include my voidmain repository you should be able to just:

# apt-get update
# apt-get install lxdvdrip

Or if you already had lxdvdrip installed:

# apt-get update
# apt-get dist-upgrade

Post Reply