Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-30-2004, 07:48 PM
|
#1
|
Member
Registered: Sep 2003
Location: Littleton, CO
Distribution: Gentoo64 2004.3
Posts: 59
Rep:
|
Transcode and dvdrip
I am currently trying to get dvdrip working. Everything gose fine until I hit the transcode button. It gets to about 1% and then a Video:  VDrip messages comes up. This is the output from dvdrip.
Code:
Thu Sep 30 12:52:12 2004 This task needs about 799 MB, 22701 MB are free.
Thu Sep 30 12:52:12 2004 Starting job (1): Transcoding video - title #1, pass 1
Thu Sep 30 12:52:12 2004 Executing command: mkdir -m 0775 -p '/home/videos/killbillvolii/tmp' && cd /home/videos/killbillvolii/tmp && dr_exec transcode -H 10 -a 0 -x vob -i /home/videos/killbillvolii/vob/001 -w 350 -A -N 0x2000 -V -f 24,1 -Y 42,0,46,0 -B 15,10,8 -R 1 -y xvid4,null --psu_mode --nav_seek /home/videos/killbillvolii/tmp/killbillvolii-001-nav.log --no_split -o /dev/null --print_status 20 && echo DVDRIP_SUCCESS
Thu Sep 30 12:52:12 2004 Job has PID 24086
Thu Sep 30 12:52:15 2004 Aborting command. Sending signal 1 to PID 24086...
Thu Sep 30 12:52:15 2004 Aborting job: Transcoding video - title #1, pass 1
Thu Sep 30 12:52:15 2004 You should analyze the last output of this job to see what's going wrong here:
Thu Sep 30 12:52:15 2004 ---- job output start ----
transcode v0.6.12 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Couldn't find device name.
libdvdread: Can't open file VIDEO_TS.IFO.
[import_vob.so] v0.6.0 (2003-10-02) (video) MPEG-2 | (audio) MPEG/AC3/PCM | (subtitle)
[export_null.so] v0.1.2 (2001-08-17) (video) null | (audio) null
[export_xvid4.so] v0.0.5 (2003-12-05) (video) XviD 1.0.x series (aka API 4.0) | (audio) MPEG/AC3/PCM
[export_xvid4.so] Reading configuration from './xvid4.cfg'
[export_xvid4.so] Reading config section 'features' from './xvid4.cfg'
[export_xvid4.so] Reading config section 'quantizer' from './xvid4.cfg'
[export_xvid4.so] Reading config section 'cbr' from './xvid4.cfg'
[export_xvid4.so] Reading config section 'vbr' from './xvid4.cfg'
(demuxer.c) seeking to sequence 0:0 ...
(ac3scan.c) AC3 frame 1792 (2336) bytes | bitrate 448 kBits/s | depsize 8008 | rbytes 2335.666748
(demuxer.c) seeking to sequence 0:0 ...
[encoder.c] Delaying audio (0)
[encoder.c] Delaying audio (0)
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source /home/videos/killbillvolii/vob/001 (ok)
[transcode] V: import format | MPEG-2 (V=vob|A=vob)
[transcode] V: AV demux/sync | (2) initial MPEG sequence / enforce frame rate
[transcode] V: import frame | 720x480 1.50:1 encoded @ 16:9
[transcode] V: new aspect ratio | 640x360 1.78:1 (-B)
[transcode] V: clip frame (->) | 640x272
[transcode] V: bits/pixel | 0.084 (low)
[transcode] V: decoding fps,frc | 23.976,1
[transcode] V: multi-pass | (mode=1) writing data (pass 1) to divx4.log
[transcode] V: Y'CbCr | YV12/I420
[transcode] A: import format | 0x2001 AC3/A52 [48000,16,2] 448 kbps
[transcode] A: export | disabled
[transcode] V: encoding fps,frc | 23.976,1
[transcode] A: bytes per frame | 8008 (8008.000000)
[transcode] A: adjustment | 0@1000
[transcode] V: video buffer | 10 @ 720x480
(split.c) reading auto-split information from file "/home/videos/killbillvolii/tmp/killbillvolii-001-nav.log"
(split.c) done reading 197017 entries
(split.c) chunk 0/0 PU=0 (-L 0 -c 0-107270) mapped onto (-L 0 -c 0-107270)
[import_vob.so] tccat -i "/home/videos/killbillvolii/vob/001" -t vob -d 0 -S 0 | tcdemux -a 0 -x ac3 -S 0,0-8941 -M 2 -d 0 | tcextract -t vob -a 0 -x ac3 -d 0 | tcextract -t raw -x ac3 -d 0
[import_vob.so] tccat -i "/home/videos/killbillvolii/vob/001" -t vob -d 0 -S 0 | tcdemux -s 0x80 -x mpeg2 -S 0,0-8941 -M 2 -f 23.976024 -P /tmp/fileK8ZnAJ -d 0 | tcextract -t vob -a 0 -x mpeg2 -d 0 | tcdecode -x mpeg2 -d 0 -y yv12
encoding frame [20], 29.15 fps, 0.0%, ETA: 0:00:00, ( 0| 0| 3)
encoding frame [40], 29.21 fps, 0.0%, ETA: 0:44:40, ( 0| 0| 0)
Thu Sep 30 12:52:15 2004 ---- job output end ----
.0%, ETA: 0:00:00, ( 0| 0| 1)
Thu Sep 30 12:50:42 2004 ---- job output end ----
I don't know if it is a permission problem or what. Any help would be great.
Bill
|
|
|
09-30-2004, 08:04 PM
|
#2
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Quote:
Code:
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Couldn't find device name.
libdvdread: Can't open file VIDEO_TS.IFO.
|
Check your settings for dvd-rip ... are you pointing
it at the right device?
If it is, does the user you're running it as have read-write
permissions on the raw-device?
Cheers,
Tink
|
|
|
09-30-2004, 08:44 PM
|
#3
|
Member
Registered: Sep 2003
Location: Littleton, CO
Distribution: Gentoo64 2004.3
Posts: 59
Original Poster
Rep:
|
Dvdrip is pointing to the right device. I can get the the vobs from the dvd to the hdd with no problems.
|
|
|
09-30-2004, 08:51 PM
|
#4
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Via copy or the raw-device?
There's a bit of a difference there ...
E.g. (r on /mnt/cdrom) != (rw on /dev/scd0)
Cheers,
Tink
|
|
|
09-30-2004, 11:26 PM
|
#5
|
LQ Addict
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320
Rep:
|
"libdvdread: Couldn't find device name.
libdvdread: Can't open file VIDEO_TS.IFO."
This is normal. You've already got the VOB ripped, but libdvdread expects an IFO file anyway. You can safely ignore this message.
I can't figure out what the trouble is, but it has something to do with the encoding rather than the ripping.
|
|
|
10-01-2004, 03:38 AM
|
#6
|
Member
Registered: Sep 2003
Location: Littleton, CO
Distribution: Gentoo64 2004.3
Posts: 59
Original Poster
Rep:
|
Quote:
Originally posted by Tinkster
Via copy or the raw-device?
There's a bit of a difference there ...
E.g. (r on /mnt/cdrom) != (rw on /dev/scd0)
|
The vobs are coming from the dvd drive.
Quote:
Orignally posted by mikshaw
I can't figure out what the trouble is, but it has something to do with the encoding rather than the ripping.
|
I was using ver 1.0.2 (of XVID) so I down graded to 1.0.1 and I managed to get first pass, but it failed on the second pass without any indication as to why. I am currently stepping down yet another version and going to give another try. Thnaks for your help guys I will keep you posted.
Last edited by wmartino; 10-01-2004 at 07:50 AM.
|
|
|
10-01-2004, 12:21 PM
|
#7
|
LQ Addict
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320
Rep:
|
Have you tried different encoders, such as ffmpeg? If this succeeds, you may have better idea of exactly where the problem is.
|
|
|
10-01-2004, 12:33 PM
|
#8
|
Member
Registered: Sep 2003
Location: Littleton, CO
Distribution: Gentoo64 2004.3
Posts: 59
Original Poster
Rep:
|
I have not yet tried another codec. I plan on trying that when I get off work. I did however copy the command that dvdrip created and ran in a terminal. Here is the output.
Code:
sh-2.05b$ mkdir -m 0775 -p '/home/william/video/killbill/tmp' && cd
/home/william/video/killbill/tmp && dr_exec transcode -H 10 -a 0 -x vob -i
/home/william/video/killbill/vob/001 -w 958 -c 0-2000 -A -N 0x2000 -V -f 24,1 -Y
42,0,46,0 -B 15,10,8 -R 2 -y xvid4 -o
/home/william/video/killbill/avi/001/killbill-001.avi --print_status 20 && echo
DVDRIP_SUCCESS
DVDRIP_JOB_PID=552
transcode v0.6.12 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Couldn't find device name.
libdvdread: Can't open file VIDEO_TS.IFO.
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source /home/william/video/killbill/vob/001 (ok)
[transcode] V: import format | MPEG-2 (V=vob|A=vob)
[transcode] V: AV demux/sync | (2) initial MPEG sequence / enforce frame rate
[transcode] V: import frame | 720x480 1.50:1 encoded @ 16:9
[transcode] V: new aspect ratio | 640x360 1.78:1 (-B)
[transcode] V: clip frame (->) | 640x272
[transcode] V: bits/pixel | 0.230
[transcode] V: decoding fps,frc | 23.976,1
[transcode] V: multi-pass | (mode=2) reading data (pass2) from divx4.log
[transcode] V: Y'CbCr | YV12/I420
[transcode] A: import format | 0x2001 AC3/A52 [48000,16,2] 448 kbps
[transcode] A: export format | 0x2000 AC3 [48000,16,2] 448 kbps
[transcode] V: encoding fps,frc | 23.976,1
[transcode] A: bytes per frame | 8008 (8008.000000)
[transcode] A: adjustment | 0@1000
[transcode] V: video buffer | 10 @ 720x480
[import_vob.so] v0.6.0 (2003-10-02) (video) MPEG-2 | (audio) MPEG/AC3/PCM | (subtitle)
[export_xvid4.so] v0.0.5 (2003-12-05) (video) XviD 1.0.x series (aka API 4.0) |
(audio) MPEG/AC3/PCM
[import_vob.so] tccat -i "/home/william/video/killbill/vob/001" -t vob -d 0 -S 0 |
tcdemux -a 0 -x ac3 -S 0 -M 2 -d 0 | tcextract -t vob -a 0 -x ac3 -d 0 | tcextract
-t raw -x ac3 -d 0
[import_vob.so] tccat -i "/home/william/video/killbill/vob/001" -t vob -d 0 -S 0 |
tcdemux -s 0x80 -x mpeg2 -S 0 -M 2 -f 23.976024 -P /tmp/fileZV56IZ -d 0 |
tcextract -t vob -a 0 -x mpeg2 -d 0 | tcdecode -x mpeg2 -d 0 -y yv12
[export_xvid4.so] Reading configuration from './xvid4.cfg'
[export_xvid4.so] Reading config section 'features' from './xvid4.cfg'
[export_xvid4.so] Reading config section 'quantizer' from './xvid4.cfg'
[export_xvid4.so] Reading config section 'cbr' from './xvid4.cfg'
[export_xvid4.so] Reading config section 'vbr' from './xvid4.cfg'
(ac3scan.c) AC3 frame 1792 (2336) bytes | bitrate 448 kBits/s | depsize 8008 |
rbytes 2335.666748
[encoder.c] Delaying audio (0)
[encoder.c] Delaying audio (0)
Segmentation fault
sh-2.05b$
I am getting a seg fault from some where. It might be transcode. I have searched all of the mailing lists with no luck. I am going to keep trying.
Thanks Bill
|
|
|
10-01-2004, 09:18 PM
|
#9
|
LQ Addict
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320
Rep:
|
I wonder if DivX has trouble with ac3 audio? Do you have an mp3 encoder to test with?
This is just a guess.
|
|
|
10-02-2004, 09:46 AM
|
#10
|
Member
Registered: Sep 2003
Location: Littleton, CO
Distribution: Gentoo64 2004.3
Posts: 59
Original Poster
Rep:
|
I think I have it norrowed down to XVID. I can encode a movie with ffmpeg just fine. I dont think that XVID is ready for use with my AMD64. I am goning to do dome more research and sumbit a bug report. For now I will just have to use windows  .
Thanks for all your help.
Bill
|
|
|
10-22-2004, 05:47 PM
|
#11
|
Member
Registered: Feb 2003
Location: just outside reality
Distribution: balanced
Posts: 752
Rep:
|
I am having tis problem now. After I rip the dvd, when I hit the grab frame button on the clip and zoom page, it gives me the same error. This is on my hp laptop with fc2. I installed everything through yum except for the dvdrip itself. What is the fix for this? I see the question here and there on the net but no answers.
|
|
|
11-06-2004, 01:33 PM
|
#12
|
Senior Member
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020
Rep:
|
Quote:
Originally posted by wmartino
I think I have it norrowed down to XVID. I can encode a movie with ffmpeg just fine. I dont think that XVID is ready for use with my AMD64. I am goning to do dome more research and sumbit a bug report. For now I will just have to use windows .
Thanks for all your help.
Bill
|
try xvid4. xvid always segfaults in dvdrip for me.
|
|
|
11-06-2004, 02:18 PM
|
#13
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
|
|
|
11-06-2004, 07:16 PM
|
#14
|
Senior Member
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020
Rep:
|
Quote:
[44] sero:~/programs/acidrip-0.14 $ acidrip
Can't locate Gtk2.pm in @INC (@INC contains: /usr/lib/perl5/5.8.5/i686-linux-thread-multi
/usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i686-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4/i686-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3/i686-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1/i686-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0/i686-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/site_perl/5.8.5/AcidRip/interface.pm line 1.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.5/AcidRip/interface.pm line 1.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.5/AcidRip/acidrip.pm line 7.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.5/AcidRip/acidrip.pm line 7.
Compilation failed in require at /usr/bin/acidrip line 14.
BEGIN failed--compilation aborted at /usr/bin/acidrip line 14.
[1] root:/home/sero/programs/acidrip-0.14 # pacman -S mplayer libdvdread gtk-perl lame
:: mplayer-1.0pre5-5: is up to date. Upgrade anyway? [Y/n] n
:: libdvdread-0.9.4-2: is up to date. Upgrade anyway? [Y/n] n
:: gtk-perl-0.7009-6: is up to date. Upgrade anyway? [Y/n] n
:: lame-3.96.1-1: is up to date. Upgrade anyway? [Y/n] n
[2] root:/home/sero/programs/acidrip-0.14 # whereis lsdvd
lsdvd: /usr/local/bin/lsdvd
|
?
> oh, it needs perl modules.
Last edited by synaptical; 11-09-2004 at 02:19 PM.
|
|
|
All times are GMT -5. The time now is 11:38 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|