How to rip a DVD into a specific video format in Trisquel?

15 risposte [Ultimo contenuto]
oysterboy

I am a member!

I am a translator!

Offline
Iscritto: 02/01/2011

Hello,

I recently purchased a TV set which has a USB port, and it can read videos from an external hard drive plugged into that port.

The formats it can read are summarized in this table (I scanned the user manual): http://benwen.info/public/video.jpg

I have a bunch of region 2 DVDs from Europe which I would love to rip, copy to that external hard drive, and watch on my TV.

Can anyone tell me if there is a Free program which could generate a video file in any of the formats listed in the link above?

I installed libdvdcss and tried to use k9copy, but it seems like whichever output format I pick in k9copy, there are errors.

Is what I want to do feasible with Free Software and with Trisquel?

Thanks a lot!

kokomo_joe

I am a member!

Offline
Iscritto: 07/16/2011

Did you try FFMPEG from the command line?

VLC can also do it but it takes a long time, I think.

There are pretty good tutorials online about how to use each. There are a few unhelpful ones as well, so keep trying.

oysterboy

I am a member!

I am a translator!

Offline
Iscritto: 02/01/2011

Thank you for mentioning Handbrake (in the first version of your post at least, I see that you edited it since then - any reason?) - I added the ppa for it, and it works absolutely fine. I can rip to m4v or mkv, and both formats are recognized by my TV set (m4v extension must be changed to mp4 though). I gather from a quick web search that m4v is a format created by Apple, and mkv a genuine Free format, so mkv it will be!

The only problem left is that ripping a full movie makes heavy demands on the CPU, and I think I have a cooling issue. Well actually I'm almost sure I have. The computer just shuts down in the middle of converting a full movie and I noticed thanks to psensor that the temperature of one of the cores goes up, up, up... and reaches 100C then the computer dies. I'll get some canned air and some thermal paste this week-end and see if I can fix the problem with that... Or maybe it's a fan problem... I'm not too good at diagnosing hardware problems :/.

Thanks again!

aloniv

I am a translator!

Offline
Iscritto: 01/11/2011

Handbrake is partially non-free as it provides the proprietary FAAC encoder. There is a free fork in Ubuntu's backport repositories (for 12.10) but only for 32-bit systems.

kokomo_joe

I am a member!

Offline
Iscritto: 07/16/2011

Yes. That's the reason. I had heard of Handbrake and saw that it was free software, but when I found out that it had a non-free dependency I immediately edited my post.

Just use FFMPEG. It has a learning curve, but it can do a lot.

oysterboy

I am a member!

I am a translator!

Offline
Iscritto: 02/01/2011

Le 2012-12-15 15:38, name at domain a écrit :
> Yes. That's the reason. I had heard of Handbrake and saw that it was
> free software, but when I found out that it had a non-free dependency
> I immediately edited my post.

There's something I don't understand then. The HandBrake ppa only
contains two packages (handbrake-gtk and handbrake-cli), and the
HandBrake website states on its first page that it is a GPL-licensed
program. So I don't understand where the non-free code would be?

> Just use FFMPEG. It has a learning curve, but it can do a lot.

ok...

EDIT: I see that the topic of HandBrake has already been discussed here (https://trisquel.info/en/forum/handbrake-free-software). Looks like the FAAC issue has been fixed upstream too: https://trisquel.info/en/issues/4237

But I still don't understand how using a self-proclaimed GPL program on top of Trisquel can raise Freedom issues...

aloniv

I am a translator!

Offline
Iscritto: 01/11/2011

Compiling HandBrake from source requires running a script which downloads other programmes such as FFmpeg and compiles them. HandBrake does not use local versions of these programmes even if they exist. Some of these programmes have freedom issues such as FFmpeg compiled with AAC support.

oysterboy

I am a member!

I am a translator!

Offline
Iscritto: 02/01/2011

In case anyone has a similar CPU overheating problem one day, let me just tell you that I was amazed that simply cleaning the inside of the computer case with a compressed-gas duster completely solved my problem! The CPU went from 40C when idle down to 20C, and hit a maximum of 35C when encoding. Probably not news to anyone here, but it's amazing how dust can impact hardware performance. I am still learning every day :).

aloniv

I am a translator!

Offline
Iscritto: 01/11/2011

If hard drive space isn't an issue an exact copy of the DVD into VOB format (which is supported by your TV) would be the fastest. Here is the Arch Linux guide:
https://wiki.archlinux.org/index.php/Dvdbackup

oysterboy

I am a member!

I am a translator!

Offline
Iscritto: 02/01/2011

Le 2012-12-15 01:36, name at domain a écrit :
> If hard drive space isn't an issue an exact copy of the DVD into VOB
> format (which is supported by your TV) would be the fastest. Here is
> the Arch Linux guide:
> https://wiki.archlinux.org/index.php/Dvdbackup

Thanks; I'll look into this...

Darksoul71
Offline
Iscritto: 01/04/2012

oysterboy,

good to hear you solved your stability issues. Cleaning your PC components once in a while with compressed air does not hurt. I usually do this once a year or at least if I change something in the system configuration. Sometimes it can be even neccessary to remove the heat sink and put it into hot water so that the "burned in" dust comes off.

Just as a hint: You might consider using my MPlayer bash script which dumps every title of a DVD into an MPEG2 PS:
http://crunchbang.org/forums/viewtopic.php?pid=197126%23p197126#p197126

HTH,
Holger

Darksoul71
Offline
Iscritto: 01/04/2012

Oh yeah..and dvd::rip might also be worth a try:
http://www.exit1.org/dvdrip/

I am not shure if it is part of trisquels repo

You might want to do a quick aptitude search

icarolongo
Offline
Iscritto: 03/26/2011

Arista: http://www.transcoder.org/

You can install easily with Trisquel Add/Remove.

icarolongo
Offline
Iscritto: 03/26/2011

I tried k9copy in Trisquel 5.5 with encrypted DVD* and works beautifully with MP4, MPG, AVI, ASF, FLV.

I tested with "Wizard" with "Rip and encode DVD" and "Rip DVD without encoding".

Unfortunately .MKV doesn't work here.

*You need to install libdvdcss:

sudo /usr/share/doc/libdvdread4/install-css.sh
Horgeon
Offline
Iscritto: 03/29/2011

Arista is probably your safest bet since it doesn't have a leaning curve. x264 is easier than ffmpeg in the cli and probably the most fail-proof encoder to the formats you specified, since its only focus is H264.

oysterboy

I am a member!

I am a translator!

Offline
Iscritto: 02/01/2011

Thanks everyone for the tips and pointers. The sheer quantity of
different video and audio codecs is mind-boggling; it's quite an
education for me ;). I will keep on reading and learning...