LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   Ripping DVDs, for my iPod (http://www.linuxquestions.org/questions/debian-26/ripping-dvds-for-my-ipod-398280/)

microsoft/linux 12-31-2005 10:34 PM

Ripping DVDs, for my iPod
 
Ok, So I'm trying to figure out how to rip DVDs for my iPod(5G). I've got the 0.6 version of Handbrake installed(the .deb), but it gave me a segmentation fault, and I can't get the 0.7 version to compile. I tried to get Acidrip, but the hosting site is not up anymore. The repository at ftp.nerim.net is down, so I can't find a binary of dvd::rip, and I'd rather not compile it, because it has a bunch of dependencies. Does anyone have any ideas? I've heard about people using Mencoder, but I don't know enough as to how DVDs work, so I don't want to mess w/ that too much(unless someone wanted to be kind, and tell me how to do it:D)

The requirements, from the Apple Website
Quote:

H.264 video: up to 768 Kbps, 320 x 240, 30 frames per sec., Baseline Profile up to Level 1.3 with AAC-LC up to 160 Kbps, 48 Khz, stereo audio in .m4v, .mp4 and .mov file formats
MPEG-4 video: up to 2.5 mbps, 480 x 480, 30 frames per sec., Simple Profile with AAC-LC up to 160 Kbps, 48 Khz, stereo audio in .m4v, .mp4 and .mov file formats
Thanks in advance

saman007uk 01-01-2006 08:39 AM

You might want to try OGMRip:

http://ogmrip.sourceforge.net/

microsoft/linux 01-01-2006 10:29 PM

are there .debs for it somewhere? How would I use Menconder? Does anyone have suggestions as to other ideas?

microsoft/linux 01-02-2006 10:35 PM

I got handbrake installed, using nasm(netwide assembler) from the sourceforge site using the .rpm. I converted it to a .deb using alien.

rocksniffer 01-12-2006 09:35 PM

I am looking for something too. I looks like linux looses on this one. There is a free product for windows called vidora ipod converter, but it won't do wmv or vob I don't think. It will convert all others,though, and you can easily cat vobs together and convert to mpeg2 in linux.

microsoft/linux 01-12-2006 09:40 PM

did you see the post above about handbrake? I've got a more comprehensive explanation on my blog(see below). Hope this helps.

rocksniffer 01-14-2006 03:36 PM

I saw it and will look into it, but is that it? Rather than installing a new piece of software is there a transcode or ffmpeg or mencoder expert out there that can put together a quick command that can do it? I know I'm leaching but have you looked at the those man pages? I need a hero. All I want to do is convert a mpeg2 to a ipod compatable mpeg4.

Installing from source? All you have to do is ./configure, make and make install. Oh, if it were just that easy.

Now I have to install jam whatever that is. fortunately jam is in the urpmi database. Now, jam is downloading and installing god knows what on my PC, but it has been downloading and installing stuff for about 15 min. from a place called download.m0k.org. God, its still downloading stuff!

ultimately it ended with, what else, an error. Jam couldn't find some needed files from somewhere on the web I guess.

Resolving download.m0k.org... 195.140.141.204
Connecting to download.m0k.org[195.140.141.204]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
10:47:40 ERROR 404: Not Found.


rm -rf contrib/xvidcore.tar.gz &&
wget -O contrib/xvidcore.tar.gz `cat contrib/version_xvidcore.txt` &&
( touch contrib/xvidcore.tar.gz || true )

...failed Wget contrib/xvidcore.tar.gz ...
...removing contrib/xvidcore.tar.gz
...skipped contrib/lib/libxvidcore.a for lack of contrib/xvidcore.tar.gz...
Cc libhb/common.o
Cc libhb/hb.o
Cc libhb/ports.o
Cc libhb/scan.o
Cc libhb/work.o
Cc libhb/decmpeg2.o
Cc libhb/encavcodec.o
Cc libhb/update.o
Cc libhb/demuxmpeg.o
Cc libhb/fifo.o
Cc libhb/render.o
Cc libhb/reader.o
Cc libhb/muxcommon.o
Cc libhb/muxmp4.o
libhb/muxmp4.c: In function `MP4End':
libhb/muxmp4.c:135: warning: unused variable `job'
Cc libhb/sync.o
Cc libhb/decsub.o
Cc libhb/deca52.o
Cc libhb/encfaac.o
Cc libhb/declpcm.o
Cc libhb/encx264.o
Cc libhb/decavcodec.o
Cc libhb/encxvid.o
libhb/encxvid.c:9:18: xvid.h: No such file or directory
libhb/encxvid.c: In function `hb_work_encxvid_init':
libhb/encxvid.c:35: error: `xvid_gbl_init_t' undeclared (first use in this function)
libhb/encxvid.c:35: error: (Each undeclared identifier is reported only once
libhb/encxvid.c:35: error: for each function it appears in.)
libhb/encxvid.c:35: error: syntax error before "xvid_gbl_init"
libhb/encxvid.c:36: error: `xvid_enc_create_t' undeclared (first use in this function)
libhb/encxvid.c:37: error: `xvid_plugin_single_t' undeclared (first use in this function)
libhb/encxvid.c:38: error: `xvid_plugin_2pass1_t' undeclared (first use in this function)
libhb/encxvid.c:39: error: `xvid_plugin_2pass2_t' undeclared (first use in this function)
libhb/encxvid.c:40: error: `xvid_enc_plugin_t' undeclared (first use in this function)
libhb/encxvid.c:52: error: `xvid_gbl_init' undeclared (first use in this function)
libhb/encxvid.c:53: error: `XVID_VERSION' undeclared (first use in this function)
libhb/encxvid.c:54: warning: implicit declaration of function `xvid_global'
libhb/encxvid.c:54: error: `XVID_GBL_INIT' undeclared (first use in this function)
libhb/encxvid.c:56: error: `create' undeclared (first use in this function)
libhb/encxvid.c:66: error: `single' undeclared (first use in this function)
libhb/encxvid.c:81: error: `plugins' undeclared (first use in this function)
libhb/encxvid.c:81: error: `xvid_plugin_single' undeclared (first use in this function)
libhb/encxvid.c:86: error: `rc2pass1' undeclared (first use in this function)
libhb/encxvid.c:89: error: `xvid_plugin_2pass1' undeclared (first use in this function)
libhb/encxvid.c:94: error: `rc2pass2' undeclared (first use in this function)
libhb/encxvid.c:98: error: `xvid_plugin_2pass2' undeclared (first use in this function)
libhb/encxvid.c:116: warning: implicit declaration of function `xvid_encore'
libhb/encxvid.c:116: error: `XVID_ENC_CREATE' undeclared (first use in this function)
libhb/encxvid.c: In function `Close':
libhb/encxvid.c:134: error: `XVID_ENC_DESTROY' undeclared (first use in this function)
libhb/encxvid.c: In function `Work':
libhb/encxvid.c:151: error: `xvid_enc_frame_t' undeclared (first use in this function)
libhb/encxvid.c:151: error: syntax error before "frame"
libhb/encxvid.c:159: error: `frame' undeclared (first use in this function)
libhb/encxvid.c:161: error: `XVID_VERSION' undeclared (first use in this function)
libhb/encxvid.c:165: error: `XVID_CSP_I420' undeclared (first use in this function)
libhb/encxvid.c:168: error: `XVID_VOP_HALFPEL' undeclared (first use in this function)
libhb/encxvid.c:168: error: `XVID_VOP_INTER4V' undeclared (first use in this function)
libhb/encxvid.c:169: error: `XVID_VOP_TRELLISQUANT' undeclared (first use in this function)
libhb/encxvid.c:169: error: `XVID_VOP_HQACPRED' undeclared (first use in this function)
libhb/encxvid.c:172: error: `XVID_VOP_GREYSCALE' undeclared (first use in this function)
libhb/encxvid.c:174: error: `XVID_TYPE_AUTO' undeclared (first use in this function)
libhb/encxvid.c:176: error: `XVID_ME_ADVANCEDDIAMOND16' undeclared (first use in this function)
libhb/encxvid.c:176: error: `XVID_ME_HALFPELREFINE16' undeclared (first use in this function)
libhb/encxvid.c:177: error: `XVID_ME_EXTSEARCH16' undeclared (first use in this function)
libhb/encxvid.c:177: error: `XVID_ME_ADVANCEDDIAMOND8' undeclared (first use in this function)
libhb/encxvid.c:178: error: `XVID_ME_HALFPELREFINE8' undeclared (first use in this function)
libhb/encxvid.c:178: error: `XVID_ME_EXTSEARCH8' undeclared (first use in this function)
libhb/encxvid.c:179: error: `XVID_ME_CHROMA_PVOP' undeclared (first use in this function)
libhb/encxvid.c:179: error: `XVID_ME_CHROMA_BVOP' undeclared (first use in this function)
libhb/encxvid.c:183: error: `XVID_ENC_ENCODE' undeclared (first use in this function)
libhb/encxvid.c:184: error: `XVID_KEYFRAME' undeclared (first use in this function)

gcc -c -o libhb/encxvid.o -Wall -g -O3 -funroll-loops -I./contrib/include -DSYS_LINUX -DHB_VERSION=\"0.7.0\" -DHB_BUILD=2005110400 -D__LIBHB__ -Ilibhb libhb/encxvid.c

...failed Cc libhb/encxvid.o ...
Cc libhb/muxavi.o
Cc libhb/enclame.o
Cc libhb/muxogm.o
Cc libhb/encvorbis.o
Cc libhb/dvd.o
...skipped libhb.a for lack of libhb.a(encxvid.o)...
Cc test/test.o
...skipped HBTest for lack of libhb.a...
...failed updating 3 target(s)...
...skipped 4 target(s)...
...updated 51 target(s)...
[root@localhost HandBrake-0.7.0]# handbrake
bash: handbrake: command not found

The install apparently couldn't find an mpeg2dec.tar and an xvid library. Xvid is alreeady installed. Now what do I do?

rock

saman007uk 01-14-2006 04:12 PM

Quote:

Originally Posted by rocksniffer
There is a free product for windows called vidora ipod converter, but it won't do wmv or vob I don't think. It will convert all others,though, and you can easily cat vobs together and convert to mpeg2 in linux.

Why don't you use Wine to run this on Linux?

microsoft/linux 01-14-2006 04:53 PM

in an answer to the handbrake question, I had the same problem. I believe you need nasm(netwide assembler). You can get it as the sourceforge site. Install nasm, and this will fix your errors. The stuff handbrake is installing is it's dependencies, I think. This way the user doesn't have to worry about having all that installed, handbrake does that for you. download.m0k.org is the website for handbrake

rocksniffer 01-14-2006 10:22 PM

I appreciate the response, ML. I wish it were that simple. I have nasm .98.39 installed. I went to the HandBrake site and asked at their forum. I was surprized to see they have only had a total of 73 articles posted. Is this software that new? Sadly, no one else has posted any such problem. All my problems seem to be unique to me.

saman007uk, I saw your suggestion too. I will try that, but I have never used wine (I can see that going smoothly). I was wrong before. Vidora does fo vob's and wmv's.

Thanks, guys

rocksniffer 01-16-2006 03:54 PM

Handbrake told me to install the svn sources; whatever those are.

microsoft/linux 01-16-2006 04:22 PM

the handbrake program istelf did? Or the forums at handbrake? What version of handbrake are you using? I did the cvs sources, and it's been working fine....

rocksniffer 01-16-2006 11:28 PM

Sorry, the forum response was simply that, "Build HandBrake from the SVN sources". I used HandBrake-0.7.0.tar.gz from their download page. It was a "sources" button. It was the only choice. I didn't think about cvs. I'll try that.

zoroaster 01-17-2006 10:43 AM

I looked into a similar problem in december 2005.

My solution was to rip each stream using mplayer, multiplex them using mplex, then use tovid to transcode to whatever you want. Requires considerable hard drive space. tovid takes a long time to run - I start it in the evening and let it run overnight.

tovid is not available as a deb - you must install the source.

The ripping technique is demonstrated here:

http://radagast.bglug.ca/linux/dvd_m...anscoding.html

later,
andrew.

microsoft/linux 01-18-2006 09:00 AM

SVN is similar to CVS, it stands for subversion, and is just another versioning system. I believe however, that Handbrake uses CVS, so I would try those.


All times are GMT -5. The time now is 03:45 AM.