LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-21-2002, 02:18 PM   #16
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975

"gdb /usr/local/bin/lsdvd"
"run"
"bt f"

yes... it still does subtitles....
 
Old 10-21-2002, 02:28 PM   #17
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
Oh i forgot to mention, i do not have udf fs support so i get:
--(Mon Oct 21, 21:22:52)--(nskl@SlackBox:~)$ mount /mnt/dvd
mount: fs type udf not supported by kernel
--(Mon Oct 21, 21:23:07)--(nskl@SlackBox:~)$
Could that be causing lsdvd to segfault?

Here is the debugging info, Hope i did it right...

--(Mon Oct 21, 21:24:55)--(nskl@SlackBox:~)$ gdb /usr/local/bin/lsdvd
GNU gdb 5.2
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-slackware-linux"...
(gdb) run
Starting program: /usr/local/bin/lsdvd

Program received signal SIGSEGV, Segmentation fault.
0x4016312e in dlerror () at dlerror.c:76
76 dlerror.c: No such file or directory.
in dlerror.c
(gdb) bt f
#0 0x4016312e in dlerror () at dlerror.c:76
buf = 0x804afe8 "libdvdcss.so.0: ��\025@��\025@pen shared object file: N
o such file or directory"
result = (struct dl_action_result *) 0x40164ad4
#1 0x4002bd48 in setupCSS () at dvd_reader.c:116
No locals.
#2 0x4002c237 in DVDOpenImageFile (location=0x80493b9 "/dev/dvd")
at dvd_reader.c:241
location = 0x80493b9 "/dev/dvd"
dev = 0xbffff944
fd = -1
#3 0x4002c3c0 in DVDOpen (path=0x80493b9 "/dev/dvd") at dvd_reader.c:357
fileinfo = {st_dev = 836, __pad1 = 0, __st_ino = 681, st_mode = 25087,
st_nlink = 1, st_uid = 0, st_gid = 6, st_rdev = 5632, __pad2 = 0,
st_size = 0, st_blksize = 4096, st_blocks = 0, st_atime = 1028671724,
---Type <return> to continue, or q <return> to quit---
__unused1 = 0, st_mtime = 1023650874, __unused2 = 0, st_ctime = 1031941366,
__unused3 = 0, st_ino = 681}
#4 0x080488bb in main (argc=1, argv=0xbffff944) at lsdvd.c:90
dvd = (dvd_reader_t *) 0xbffff8f8
ifo_zero = (ifo_handle_t *) 0x40009e40
ifo = (ifo_handle_t **) 0x4015ce58
dvd_time = (dvd_time_t *) 0x4006bcab
vts_pgcit = (pgcit_t *) 0xbffff8e8
vtsi_mat = (vtsi_mat_t *) 0x804af24
audio_attr = (audio_attr_t *) 0x804aed4
video_attr = (video_attr_t *) 0x8048759
subp_attr = (subp_attr_t *) 0xbffff8d8
pgc = (pgc_t *) 0x40014938
i = 1075039736
j = 1075175016
---Type <return> to continue, or q <return> to quit---
c = -1
titles = 1073782336
cell = 134524628
lang_code = "\0"
dvd_device = 0x0
#5 0x4005817d in __libc_start_main (main=0x804881c <main>, argc=1,
ubp_av=0xbffff944, init=0x8048578 <_init>, fini=0x80491e0 <_fini>,
rtld_fini=0x4000a534 <_dl_fini>, stack_end=0xbffff93c)
at ../sysdeps/generic/libc-start.c:129
ubp_av = (char **) 0xbffff944
fini = (void (*)()) 0x4001488c <_dl_debug_mask>
rtld_fini = (void (*)()) 0xe
ubp_ev = (char **) 0x0
(gdb)

Hope that helps in any way.
Thanks again
-NSKL
 
Old 10-21-2002, 02:37 PM   #18
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
right, you didn't specify a dvd device did you?

Code:
dvd_device = 0x0
lsdvd /dev/mydvddevice

you can still play dvd's yes? you don't need to be able to mount them for my program.
 
Old 10-21-2002, 03:39 PM   #19
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
--(Mon Oct 21, 22:33:45)--(root@SlackBox:/home/nskl)# lsdvd /dev/dvd
Segmentation fault
--(Mon Oct 21, 22:33:50)--(root@SlackBox:/home/nskl)#
lsdvd segfaults...
Although i can't decrypt much of the debugging info i see theres some mentioning of libdvdcss..
buf = 0x804afe8 "libdvdcss.so.0: ��\025@��\025@pen shared object file: N
o such file or directory"

I have some obscure versions of libdvdread and libdvdcss that if i recall well, i got from ogle site as slackware .tgz's
I will remove them, install newest versions and retry, will let you know tomorrow.
Thanks for all the help so far
-NSKL
 
Old 10-21-2002, 03:41 PM   #20
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
hmm i didn't notice that. yes... that seems quite strange, i would have thought it would work without dvdcss. mind installing that library and trying again? that'd be very handy.
 
Old 10-21-2002, 03:51 PM   #21
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
hmm, no like i thought, it doesn't need it... it's just using dvdcss *if* it exists, that's all. it works on my server first time, which is on redhat 7.1, not mandrake which i wrote it under.
 
Old 10-22-2002, 10:32 AM   #22
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
Ok acid, i went on anyway and removed both libdvdread and libdvdcss and got new versions from freshmeat, this time compiled them from source (first time i installed them as slack .tgz's) and after some minor tweaking of library paths and running ldconfig, i was able to run lsdvd (At first it started but aborted, then i installed libdvdcss as well and it worked fine). Now im using acidrip to rip this japanese DVD (cowboy bebop, it used to go on MTV) with english subtitles, it's at 26% at the moment, when it finishes i'll watch the ripped version and let you know how it works. Thanks again for the great ripper!
And it seems that lsdvd needs both libdvdread and libdvdcss.
Thanks again
-NSKL
 
Old 10-22-2002, 10:54 AM   #23
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
Damn, i'm so close...
So it ripped the dvd fine (in about 15mins) and the file it created is 115mb, fine...
but then when i try to play it:

--(Tue Oct 22, 17:49:44)--(nskl@SlackBox:~)$ mplayer -vo xv cowboy_movie_scn.avi



MPlayer 0.90pre7-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP Multiprocessor/Athlon
XP eXtreme Performance (Family: 6, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Reading /home/nskl/.mplayer/codecs.conf: can't open '/home/nskl/.mplayer/codecs.
conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 38 audio & 107 video codecs
font: can't open file: /home/nskl/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Linux RTC init error: No such device
Using usleep() timing
Can't open input config file /home/nskl/.mplayer/input.conf : No such file or di
rectory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or
directory
Falling back on default (hardcoded) input config

Playing cowboy_movie_scn.avi
Detected AVI file format!
VIDEO: [FrNo] 0x0 24bpp 29.97 fps 120.1 kbps (14.7 kbyte/s)
Clip info:
Software: MEncoder 0.90pre7-2.95.3
==========================================================================
Detected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 14000->192000 (112.0 kbit)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Can't find codec matching selected -vo and video format 0x6F4E7246 !
*** Try to upgrade /home/nskl/.mplayer/codecs.conf from etc/codecs.conf
*** If it's still not OK, then read DOCS/codecs.html!
==========================================================================
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian)
Video: no video!!!
Start playing...
A: 4.0 0.9% 0%


It sais "Video: no video!!!" and im guessing this is because im missing some playing codec. I guess i can fix this by ripping the cd again and changing the optons for ripping in acidrip, but i have no idea which ones i should specify.
Any ideas?
Thanks
-NSKL
 
Old 10-22-2002, 04:10 PM   #24
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
Ok, when ripping i changed the codec to lavc and kept the default options (vcodec=mpeg4:vhq:vqmin=2) and tried to rip (ripped about 5 mins then stopped) and tried to play it with mplayer, and it worked fine. The only problem is that if using lavc codec to encode i get a file of about 700mb and it reports about 120minutes as time needed to rip the whole thing, kinda long, although i cant judge because this is the first time i rip a DVD. But the important thing is that it works, acidrip is great although i had those troubles with the libraries, but that was my fault because i installed some obscure, probably modified libdvdread and libdvdcss libraries from ogle site if i recall well.
Is it further possible to speed up the ripping process or make the filesize smaller without loosing the quality?
Let me know please, then i will rip the whole dvd, since i dont have time to wait 2 hours now.
Thanks
-NSKL

Last edited by NSKL; 10-22-2002 at 04:13 PM.
 
Old 10-22-2002, 05:23 PM   #25
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
you should be damn please at two hours! that's got to be nearly real time.... Toy story took like 2 hours per frame, and you think that's slow? no, that's pretty good, i normally get about 19fps. When i used to attempt to rip dvd's under windows it always took atleast 6 hours, and never finished once...

i've no idea why your video isn't playing, i guess you should jsut follow the advice and update the codecs.conf file. if you're used to using mencoder or mplayer yuo'll realise that my program does *VERY* little complicated stuff, it just sets things up. I don't really know what to suggest, as it's just an mplayer problem really... try removing vqmin=2 maybe... actually that's meant to speed it up a little too... encoding for 15 minutes really shouldn't make a file that big, about 50mb i would think would be better... the bitrate is being recalcuted each time you select a different track though, so that should be fine.
 
Old 10-22-2002, 05:25 PM   #26
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
ahh you do have the divx4linux packge installed...? i thought that mplayer would come with it's own version, but it seems that it doesn't.
 
Old 10-23-2002, 09:43 AM   #27
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
No, we had a missunderstanding. When using frameno codec to encode i get some 300FPS, 15 mins to encode the whole movie, with filesize of about 150mb, but then mplayer reports no video!
When using lavc codec get some 35fps, 2 hours to encode the whole movie and some 700mb filesize, and the ripped movie works fine whne i play it with mplayer.
So you say 2 hours is a good time to rip a whole DVD? Allright, then i'll just use lavc codec and encode with that, if only that filesize could be smaller...
Ok, in any case it works, Thanks again!
-NSKL
 
Old 10-23-2002, 10:33 AM   #28
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
"No, we had a missunderstanding. When using frameno codec to encode i get some 300FPS, 15 mins to encode the whole movie, with filesize of about 150mb, but then mplayer reports no video!"

right, well maybe if you knew what frameno meant you'd be at a better place to understand why there's no video. frameno just records the number of frames, and abandons the video, it's used for multiple pass encoding.
 
Old 10-23-2002, 10:34 AM   #29
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
" So you say 2 hours is a good time to rip a whole DVD? Allright, then i'll just use lavc codec and encode with that, if only that filesize could be smaller... " well change the filesize value in the top left corner, that's what it's there for...
 
Old 10-23-2002, 02:03 PM   #30
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
But if i change the filesize will i loose quality?
Anyway it finished encoding, The movie is 2 hours long, it took it about one and a half hours to rip, and the file size is 650mb, in my opinion that is normal, since i have some other movies my friend got for me, and they are all 500+mb in size.
Again thanks for AcidRip, and one last question.
When i rent DVDs from a video rent store, can i rip those too or do they have some protection/copyright?
-NSKL
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
which DVD player can play DVD from hard drive *and* support DVD Menu ? tho_x_tran Linux - Software 16 11-16-2006 02:00 PM
dvd rippers Rossario Linux - Software 7 05-06-2005 09:50 AM
what cd rippers are included with a full slack 10 install kersten78 Slackware 6 10-13-2004 12:43 AM
CD Rippers - SPEEEEEEED? kersten78 Linux - Software 3 01-10-2004 01:50 PM
rippers, mp3s and mp3s.... (?) bxb32001 Linux - General 0 07-14-2001 12:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration