soundrip fra DVD med transcode

Forum for support til grafik og lydkort.
Klaus Rasmussen
Admin
Indlæg: 5605
Tilmeldt: 26. apr 2010, 02:40
IRC nickname: ClaudiuS
Geografisk sted: Nyborg [fyn]

soundrip fra DVD med transcode

Indlæg af Klaus Rasmussen »

Jeg vil gerne rippe lydsporet fra en musik-DVD og til dette formål har jeg installeret transcode. Har så forsøgt at rippe med kommandoen:

Kode: Vælg alt

transcode -i /dev/dvd1 -x dvd -T 1,1,1 -a 0 -y mp3 -m track1.mp3

Det giver denne fejlmelding:

Kode: Vælg alt

klaus@klaus-desktop:~$ transcode -i /dev/dvd1 -x dvd -T 1,1,1 -a 0 -y mp3 -m track1.mp3
transcode v1.1.5 (C) 2001-2003 Thomas Oestreich, 2003-2009 Transcode Team
libdvdread: Encrypted DVD support unavailable.
************************************************
**                                            **
**  No css library available. See             **
**  /usr/share/doc/libdvdread4/README.css     **
**  for more information.                     **
**                                            **
************************************************
libdvdread: Encrypted DVD support unavailable.
************************************************
**                                            **
**  No css library available. See             **
**  /usr/share/doc/libdvdread4/README.css     **
**  for more information.                     **
**                                            **
************************************************
[dvd_reader.c] DVD title 1/1: 10 chapter(s), 1 angle(s), title set 1
[dvd_reader.c] title playback time: 00:45:04.16  2705 sec
libdvdread: Encrypted DVD support unavailable.
************************************************
**                                            **
**  No css library available. See             **
**  /usr/share/doc/libdvdread4/README.css     **
**  for more information.                     **
**                                            **
************************************************
libdvdread: Encrypted DVD support unavailable.
************************************************
**                                            **
**  No css library available. See             **
**  /usr/share/doc/libdvdread4/README.css     **
**  for more information.                     **
**                                            **
************************************************
[dvd_reader.c] DVD title 1/1: 10 chapter(s), 1 angle(s), title set 1
[dvd_reader.c] title playback time: 00:45:04.16  2705 sec
[transcode] V: auto-probing     | /dev/dvd1 (OK)
[transcode] V: import format    | MPEG 2 program stream in DVD PAL (module=dvd)
[transcode] A: auto-probing     | /dev/dvd1 (OK)
[transcode] A: import format    | AC3 in DVD PAL (module=dvd)
[transcode] V: AV demux/sync    | (1) sync AV at initial MPEG sequence
[transcode] V: import frame     | 720x576  1.25:1  encoded @ 4:3
[transcode] V: bits/pixel       | 0.174
[transcode] V: decoding fps,frc | 25.000,3
[transcode] V: video format     | YUV420 (4:2:0) aka I420
[transcode] A: import format    | 0x2000  AC3          [48000,16,2]
[transcode] A: export format    | 0x55    MPEG ES Layer 3 [48000,16,2]  128 kbps
[transcode] V: export format    | unknown (module dependant)
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame  | 7680 (7680.000000)
[transcode] A: adjustment       | 0@1000
[transcode] V: IA32/AMD64 accel | sse3 sse2 sse mmx cmove asm
[transcode] V: video buffer     | 10 @ 720x576 [0x2]
[transcode] A: audio buffer     | 10 @ 48000x2x16
[import_dvd.so] v0.4.1 (2007-07-15) (video) DVD | (audio) MPEG/AC3/PCM
[transcode] warning: /usr/lib/transcode/export_mp3.so: cannot open shared object file: No such file or directory
[transcode] warning: (dl_loader.c) loading "/usr/lib/transcode/export_mp3.so" failed
[encoder.c] warning: loading audio export module failed
[transcode] critical: failed to init export modules
[transcode] critical: plug-in initialization failed
klaus@klaus-desktop:~$

Der mangler så vidt jeg kan se en shared object fil: export_mp3.so.
Hvordan får jeg den installeret? Den findes ikke med Synaptic.
Med Venlig Hilsen
Klaus

Kører Ubuntu 24.04.1 på ASUS All-Series, og Probook 4520s.
Gratis Ubuntumagasin: http://fullcirclemagazine.org/
https://mega.nz/folder/aJsmCYKa#dxMHKTi4Idmz6hiVpsI68Q
Klaus Rasmussen
Admin
Indlæg: 5605
Tilmeldt: 26. apr 2010, 02:40
IRC nickname: ClaudiuS
Geografisk sted: Nyborg [fyn]

Re: soundrip fra DVD med transcode

Indlæg af Klaus Rasmussen »

Efter at have installeret libdvdcss, prøvede jeg igen; denne gang at rippe til ogg (som er installeret):

Kode: Vælg alt

transcode -i /dev/dvd1 -x dvd -T 1,-1 -a 0 -y ogg -m audiotrack.ogg

Det gav dette noget kortere svar:

Kode: Vælg alt

klaus@klaus-desktop:~$ transcode -i /dev/dvd1 -x dvd -T 1,-1 -a 0 -y ogg -m audiotrack.ogg
transcode v1.1.5 (C) 2001-2003 Thomas Oestreich, 2003-2009 Transcode Team
libdvdread: Using libdvdcss version 1.2.13 for DVD access
libdvdread: Using libdvdcss version 1.2.13 for DVD access
[dvd_reader.c] DVD title 1/1: 10 chapter(s), 1 angle(s), title set 1
[dvd_reader.c] title playback time: 00:45:04.16  2705 sec
libdvdread: Using libdvdcss version 1.2.13 for DVD access
libdvdread: Using libdvdcss version 1.2.13 for DVD access
[dvd_reader.c] DVD title 1/1: 10 chapter(s), 1 angle(s), title set 1
[dvd_reader.c] title playback time: 00:45:04.16  2705 sec
[transcode] V: auto-probing     | /dev/dvd1 (OK)
[transcode] V: import format    | MPEG 2 program stream in DVD PAL (module=dvd)
[transcode] A: auto-probing     | /dev/dvd1 (OK)
[transcode] A: import format    | AC3 in DVD PAL (module=dvd)
[transcode] V: AV demux/sync    | (1) sync AV at initial MPEG sequence
[transcode] V: import frame     | 720x576  1.25:1  encoded @ 4:3
[transcode] V: bits/pixel       | 0.174
[transcode] V: decoding fps,frc | 25.000,3
[transcode] V: video format     | YUV420 (4:2:0) aka I420
[transcode] A: import format    | 0x2000  AC3          [48000,16,2]
[transcode] A: export format    | 0x55    MPEG ES Layer 3 [48000,16,2]  128 kbps
[transcode] V: export format    | unknown (module dependant)
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame  | 7680 (7680.000000)
[transcode] A: adjustment       | 0@1000
[transcode] V: IA32/AMD64 accel | sse3 sse2 sse mmx cmove asm
[transcode] V: video buffer     | 10 @ 720x576 [0x2]
[transcode] A: audio buffer     | 10 @ 48000x2x16
[import_dvd.so] v0.4.1 (2007-07-15) (video) DVD | (audio) MPEG/AC3/PCM
[export_ogg.so] v0.0.5 (2003-08-31) (video) null | (audio) ogg
[encoder.c] warning: video codec not supported by export module
[transcode] critical: failed to init export modules
[transcode] critical: plug-in initialization failed
klaus@klaus-desktop:~$

Hvordan kommer jeg nu videre........ zob?
Med Venlig Hilsen
Klaus

Kører Ubuntu 24.04.1 på ASUS All-Series, og Probook 4520s.
Gratis Ubuntumagasin: http://fullcirclemagazine.org/
https://mega.nz/folder/aJsmCYKa#dxMHKTi4Idmz6hiVpsI68Q
Klaus Rasmussen
Admin
Indlæg: 5605
Tilmeldt: 26. apr 2010, 02:40
IRC nickname: ClaudiuS
Geografisk sted: Nyborg [fyn]

Re: soundrip fra DVD med transcode

Indlæg af Klaus Rasmussen »

I forventning om, at det måske var nemmere at rippe i ukomprimeret format prøvede jeg:

Kode: Vælg alt

transcode -i /dev/dvd1 -x dvd -T 1,1 -a 0 -y wav -m track.wav

Hvilket gev dette svar:

Kode: Vælg alt

klaus@klaus-desktop:~$ transcode -i /dev/dvd1 -x dvd -T 1,1 -a 0 -y wav -m track.wav
transcode v1.1.5 (C) 2001-2003 Thomas Oestreich, 2003-2009 Transcode Team
libdvdread: Using libdvdcss version 1.2.13 for DVD access
libdvdread: Using libdvdcss version 1.2.13 for DVD access
[dvd_reader.c] DVD title 1/1: 10 chapter(s), 1 angle(s), title set 1
[dvd_reader.c] title playback time: 00:45:04.16  2705 sec
libdvdread: Using libdvdcss version 1.2.13 for DVD access
libdvdread: Using libdvdcss version 1.2.13 for DVD access
[dvd_reader.c] DVD title 1/1: 10 chapter(s), 1 angle(s), title set 1
[dvd_reader.c] title playback time: 00:45:04.16  2705 sec
[transcode] V: auto-probing     | /dev/dvd1 (OK)
[transcode] V: import format    | MPEG 2 program stream in DVD PAL (module=dvd)
[transcode] A: auto-probing     | /dev/dvd1 (OK)
[transcode] A: import format    | AC3 in DVD PAL (module=dvd)
[transcode] V: AV demux/sync    | (1) sync AV at initial MPEG sequence
[transcode] V: import frame     | 720x576  1.25:1  encoded @ 4:3
[transcode] V: bits/pixel       | 0.174
[transcode] V: decoding fps,frc | 25.000,3
[transcode] V: video format     | YUV420 (4:2:0) aka I420
[transcode] A: import format    | 0x2000  AC3          [48000,16,2]
[transcode] A: export format    | 0x55    MPEG ES Layer 3 [48000,16,2]  128 kbps
[transcode] V: export format    | unknown (module dependant)
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame  | 7680 (7680.000000)
[transcode] A: adjustment       | 0@1000
[transcode] V: IA32/AMD64 accel | sse3 sse2 sse mmx cmove asm
[transcode] V: video buffer     | 10 @ 720x576 [0x2]
[transcode] A: audio buffer     | 10 @ 48000x2x16
[import_dvd.so] v0.4.1 (2007-07-15) (video) DVD | (audio) MPEG/AC3/PCM
[export_wav.so] v0.3.0 (2006-03-16) (audio) WAVE PCM
libdvdread: Using libdvdcss version 1.2.13 for DVD access
[import_dvd.so] tccat -T 1,1,1 -i "/dev/dvd1" -t dvd -d 0 | tcdemux -a 0 -x ac3 -S 0 -M 1 -d 0 | tcextract -t vob -x ac3 -a 0 -d 0 | tcdecode -x ac3 -d 0 -s 1.000000,1.000000,1.000000 -A 0
[import_dvd.so] tccat -T 1,1,1 -i "/dev/dvd1" -t dvd -d 0 | tcdemux -s 0x80 -x mpeg2 -S 0 -M 1 -d 0 | tcextract -t vob -a 0 -x mpeg2 -d 0 | tcdecode -x mpeg2 -d 0 -y yuv420p
[import_dvd.so] delaying DVD access by 3 seconds
[import_dvd.so] waiting...
libdvdread: Using libdvdcss version 1.2.13 for DVD access

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000012f
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
[import_dvd.so] waiting...
[import_dvd.so] waiting...
libdvdread: Using libdvdcss version 1.2.13 for DVD access

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000012f
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
[decode_mpeg2.c] libmpeg2 acceleration: none (plain C)
[decoder.c] cancelling the import threads: 0:04:59,  (17| 0| 3)

[transcode] encoded 7480 frames (0 dropped, 0 cloned), clip length 299.20 s
klaus@klaus-desktop:~$

Det resulterede også i en fil: track.wav på 5 min. Aner ikke hvorfor den cuttede netop her.
Med Venlig Hilsen
Klaus

Kører Ubuntu 24.04.1 på ASUS All-Series, og Probook 4520s.
Gratis Ubuntumagasin: http://fullcirclemagazine.org/
https://mega.nz/folder/aJsmCYKa#dxMHKTi4Idmz6hiVpsI68Q
Klaus Rasmussen
Admin
Indlæg: 5605
Tilmeldt: 26. apr 2010, 02:40
IRC nickname: ClaudiuS
Geografisk sted: Nyborg [fyn]

Re: soundrip fra DVD med transcode

Indlæg af Klaus Rasmussen »

Så lykkedes det. Med denne kommando:

Kode: Vælg alt

transcode -i /dev/dvd1 -x dvd -T 1,-1 -a 0 -y wav -m audiotrack.wav

Det gav følgende svar:

Kode: Vælg alt

klaus@klaus-desktop:~$ transcode -i /dev/dvd1 -x dvd -T 1,-1 -a 0 -y wav -m audiotrack.wav
transcode v1.1.5 (C) 2001-2003 Thomas Oestreich, 2003-2009 Transcode Team
libdvdread: Using libdvdcss version 1.2.13 for DVD access
libdvdread: Using libdvdcss version 1.2.13 for DVD access
[dvd_reader.c] DVD title 1/1: 10 chapter(s), 1 angle(s), title set 1
[dvd_reader.c] title playback time: 00:45:04.16  2705 sec
libdvdread: Using libdvdcss version 1.2.13 for DVD access
libdvdread: Using libdvdcss version 1.2.13 for DVD access
[dvd_reader.c] DVD title 1/1: 10 chapter(s), 1 angle(s), title set 1
[dvd_reader.c] title playback time: 00:45:04.16  2705 sec
[transcode] V: auto-probing     | /dev/dvd1 (OK)
[transcode] V: import format    | MPEG 2 program stream in DVD PAL (module=dvd)
[transcode] A: auto-probing     | /dev/dvd1 (OK)
[transcode] A: import format    | AC3 in DVD PAL (module=dvd)
[transcode] V: AV demux/sync    | (1) sync AV at initial MPEG sequence
[transcode] V: import frame     | 720x576  1.25:1  encoded @ 4:3
[transcode] V: bits/pixel       | 0.174
[transcode] V: decoding fps,frc | 25.000,3
[transcode] V: video format     | YUV420 (4:2:0) aka I420
[transcode] A: import format    | 0x2000  AC3          [48000,16,2]
[transcode] A: export format    | 0x55    MPEG ES Layer 3 [48000,16,2]  128 kbps
[transcode] V: export format    | unknown (module dependant)
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame  | 7680 (7680.000000)
[transcode] A: adjustment       | 0@1000
[transcode] V: IA32/AMD64 accel | sse3 sse2 sse mmx cmove asm
[transcode] V: video buffer     | 10 @ 720x576 [0x2]
[transcode] A: audio buffer     | 10 @ 48000x2x16
[import_dvd.so] v0.4.1 (2007-07-15) (video) DVD | (audio) MPEG/AC3/PCM
[export_wav.so] v0.3.0 (2006-03-16) (audio) WAVE PCM
libdvdread: Using libdvdcss version 1.2.13 for DVD access
[import_dvd.so] tccat -T 1,-1,1 -i "/dev/dvd1" -t dvd -d 0 | tcdemux -a 0 -x ac3 -S 0 -M 1 -d 0 | tcextract -t vob -x ac3 -a 0 -d 0 | tcdecode -x ac3 -d 0 -s 1.000000,1.000000,1.000000 -A 0
[import_dvd.so] tccat -T 1,-1,1 -i "/dev/dvd1" -t dvd -d 0 | tcdemux -s 0x80 -x mpeg2 -S 0 -M 1 -d 0 | tcextract -t vob -a 0 -x mpeg2 -d 0 | tcdecode -x mpeg2 -d 0 -y yuv420p
[import_dvd.so] delaying DVD access by 3 seconds
[import_dvd.so] waiting...
libdvdread: Using libdvdcss version 1.2.13 for DVD access

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000012f
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
[import_dvd.so] waiting...
[import_dvd.so] waiting...
libdvdread: Using libdvdcss version 1.2.13 for DVD access

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000012f
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
[decode_mpeg2.c] libmpeg2 acceleration: none (plain C)
[decoder.c] cancelling the import threadsT: 0:45:04,  (17| 0| 3)

[transcode] encoded 67613 frames (0 dropped, 0 cloned), clip length 2704.52 s
klaus@klaus-desktop:~$

Samt en ½Gb wav fil som output indeholdende hele lydsporet.

Men stadig mgl jeg shared object filen til at lave output direkte i mp3.
Med Venlig Hilsen
Klaus

Kører Ubuntu 24.04.1 på ASUS All-Series, og Probook 4520s.
Gratis Ubuntumagasin: http://fullcirclemagazine.org/
https://mega.nz/folder/aJsmCYKa#dxMHKTi4Idmz6hiVpsI68Q
Ivan
Indlæg: 1133
Tilmeldt: 6. nov 2009, 17:05
Geografisk sted: Rudkøbing

Re: soundrip fra DVD med transcode

Indlæg af Ivan »

Arch på Toshiba Satellite C660-1NT og Acer Aspire One 532h
Manjaro på hjemmerullet pc.
Klaus Rasmussen
Admin
Indlæg: 5605
Tilmeldt: 26. apr 2010, 02:40
IRC nickname: ClaudiuS
Geografisk sted: Nyborg [fyn]

Re: soundrip fra DVD med transcode

Indlæg af Klaus Rasmussen »

Der er ingen oplysninger om den manglende fil: export_mp3.so eller hvorfra jeg får den installeret!
Med Venlig Hilsen
Klaus

Kører Ubuntu 24.04.1 på ASUS All-Series, og Probook 4520s.
Gratis Ubuntumagasin: http://fullcirclemagazine.org/
https://mega.nz/folder/aJsmCYKa#dxMHKTi4Idmz6hiVpsI68Q
Ivan
Indlæg: 1133
Tilmeldt: 6. nov 2009, 17:05
Geografisk sted: Rudkøbing

Re: soundrip fra DVD med transcode

Indlæg af Ivan »

"2. Installation
I have installed the latest transcode package from RPM (or other pre-built package). Whenever I run transcode it dies, saying it cannot find export_mp2enc.so (or similar). What's going on?

Pre-built packages of some distributions are not complete. This is a general problem. If you want to use the mpeg2enc export module, you will have to compile transcode yourself, or try to find a complete rpm on the net. (ems) "

Så jeg mener da det står ret tydeligt
Arch på Toshiba Satellite C660-1NT og Acer Aspire One 532h
Manjaro på hjemmerullet pc.
Klaus Rasmussen
Admin
Indlæg: 5605
Tilmeldt: 26. apr 2010, 02:40
IRC nickname: ClaudiuS
Geografisk sted: Nyborg [fyn]

Re: soundrip fra DVD med transcode

Indlæg af Klaus Rasmussen »

Har prøvet at compilere sourcekoden selv. Der kommer en masse fejlmeldinger og ingen export_mp3.so.
Med Venlig Hilsen
Klaus

Kører Ubuntu 24.04.1 på ASUS All-Series, og Probook 4520s.
Gratis Ubuntumagasin: http://fullcirclemagazine.org/
https://mega.nz/folder/aJsmCYKa#dxMHKTi4Idmz6hiVpsI68Q
Ivan
Indlæg: 1133
Tilmeldt: 6. nov 2009, 17:05
Geografisk sted: Rudkøbing

Re: soundrip fra DVD med transcode

Indlæg af Ivan »

Jeg kan heller ikke se export_mp3.so i "INSTALL" i transcode-1.1.0.tar.bz2

Kan det være at du skal bruge lame i stedet for mp3 i din commando
http://www.transcoding.org/cgi-bin/transcode?Export_Modules
Arch på Toshiba Satellite C660-1NT og Acer Aspire One 532h
Manjaro på hjemmerullet pc.
Klaus Rasmussen
Admin
Indlæg: 5605
Tilmeldt: 26. apr 2010, 02:40
IRC nickname: ClaudiuS
Geografisk sted: Nyborg [fyn]

Re: soundrip fra DVD med transcode

Indlæg af Klaus Rasmussen »

Godt set, det havde jeg ike tænkt på. Der er en shared object-fil der hedder: export_lame.so

Prøvede med:

Kode: Vælg alt

transcode -i /dev/dvd1 -x dvd -T 1,-1 -a 0 -y lame -m audiotrack.mp3


Starten ser normal ud, men:

Kode: Vælg alt

[export_lame.so] v0.0.3 (2003-03-06) (audio) MPEG 1/2
[encoder.c] warning: video codec not supported by export module
[transcode] critical: failed to init export modules
[transcode] critical: plug-in initialization failed
klaus@klaus-desktop:~$
Med Venlig Hilsen
Klaus

Kører Ubuntu 24.04.1 på ASUS All-Series, og Probook 4520s.
Gratis Ubuntumagasin: http://fullcirclemagazine.org/
https://mega.nz/folder/aJsmCYKa#dxMHKTi4Idmz6hiVpsI68Q