LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-31-2005, 10:34 PM   #1
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
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)

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
 
Old 01-01-2006, 08:39 AM   #2
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 364

Rep: Reputation: 33
You might want to try OGMRip:

http://ogmrip.sourceforge.net/
 
Old 01-01-2006, 10:29 PM   #3
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
are there .debs for it somewhere? How would I use Menconder? Does anyone have suggestions as to other ideas?
 
Old 01-02-2006, 10:35 PM   #4
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
I got handbrake installed, using nasm(netwide assembler) from the sourceforge site using the .rpm. I converted it to a .deb using alien.
 
Old 01-12-2006, 09:35 PM   #5
rocksniffer
Member
 
Registered: Apr 2005
Location: Houston
Distribution: mandrake
Posts: 79

Rep: Reputation: 15
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.
 
Old 01-12-2006, 09:40 PM   #6
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
did you see the post above about handbrake? I've got a more comprehensive explanation on my blog(see below). Hope this helps.
 
Old 01-14-2006, 03:36 PM   #7
rocksniffer
Member
 
Registered: Apr 2005
Location: Houston
Distribution: mandrake
Posts: 79

Rep: Reputation: 15
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
 
Old 01-14-2006, 04:12 PM   #8
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 364

Rep: Reputation: 33
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?
 
Old 01-14-2006, 04:53 PM   #9
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
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
 
Old 01-14-2006, 10:22 PM   #10
rocksniffer
Member
 
Registered: Apr 2005
Location: Houston
Distribution: mandrake
Posts: 79

Rep: Reputation: 15
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
 
Old 01-16-2006, 03:54 PM   #11
rocksniffer
Member
 
Registered: Apr 2005
Location: Houston
Distribution: mandrake
Posts: 79

Rep: Reputation: 15
Handbrake told me to install the svn sources; whatever those are.
 
Old 01-16-2006, 04:22 PM   #12
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
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....
 
Old 01-16-2006, 11:28 PM   #13
rocksniffer
Member
 
Registered: Apr 2005
Location: Houston
Distribution: mandrake
Posts: 79

Rep: Reputation: 15
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.
 
Old 01-17-2006, 10:43 AM   #14
zoroaster
LQ Newbie
 
Registered: Mar 2003
Location: Owen Sound, Canada
Distribution: debian
Posts: 9

Rep: Reputation: 0
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.
 
Old 01-18-2006, 09:00 AM   #15
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
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.
 
  


Reply



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
ipod/ipod shuffle woes (lack of permissions to edit files) Lechium Linux - Software 1 04-13-2005 03:14 PM
Install Suse on Ipod and boot from Ipod??? lemuel Linux - Newbie 4 12-27-2004 07:04 AM
ipod detected and added by kudzu but no files in /mnt/ipod gtan Linux - Hardware 5 08-31-2004 09:19 AM
ripping audio from dvds catzmiyow Linux - Software 2 05-10-2004 11:27 AM
Problem ripping dvds using K3b in mdk 9.2 hari_seldon99 Linux - Software 0 01-19-2004 06:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:14 PM.

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
Open Source Consulting | Domain Registration