PDA

View Full Version : Best Video Codec?



justintime32
May 8th, 2006, 10:42 PM
I was going to archive some of my DVDs on my computer, probably using Handbrake (or possibly AcidRip). Although, I want to know what the best encoder is for file size. I don't really care about general compatibility, as long as I can play it (I can always transcode it later if necessary).

My general opinion is H.264 with AAC audio, but I'm not sure if it's actually better than MPEG-4/XviD. So here's my question... Which video codec has the best compression for the quality? Also, if it is XviD/MPEG-4, should I use the xvid codec or lavc?

kingmonkey
May 8th, 2006, 11:22 PM
hmmm, thats a big qyestion your asking.

My personal fav is xvid with AC3,

It is really down to how much quality you want to sacrafice for space. www.doom9.org I find has lots of usefull info about such matters.

Parkotron
May 9th, 2006, 12:18 AM
I don't think there's reallly to much debate over this at the moment. H.264 is a "next generation" codec that currently blows the likes of DivX and XviD out of the water. From what I understand, it's still quite "cutting edge", so support is limited. Apparently at high definition resolutions, most current video cards aren't even able to handle H.264.

Back in my DVD ripping days I mostly used XviD for video, Ogg Vorbis for audio and the Matroska container format with embedded chapter information and SRT subs. But that was a year ago, so I'm sure a lot has change since then.

Immaculate
May 9th, 2006, 12:29 AM
You will most likly notice better quality with h.264 over XviD. But you will have a hard time accually encoding to it I assume, as its not that simple. Atleast not in windows, but I doubt there is better support in linux for it. Or there is just XviD, basically the standard. Much lower encoding times.

Or for backing up your DVDs, if you have windows installed, you can install AutoGK. Set it to the .IFO file in your DVD video folder and set it to 700MB, wait, and you will have a 700MB XviD.

nalmeth
May 9th, 2006, 07:39 AM
What most ripping apps use now is good for all around quality, and low file size.
I've never used handbrake, so I'll recommend aciprip, which lets you rip to AVI or MPEG.
I'm not sure that AAC will have much advantage, doesn't it have DRM incorporated into it? Will you even be able to encode with AAC?

papangul
May 9th, 2006, 08:09 AM
The video in dvd is already compressed, if you backup by encoding to some other format, then the same video is getting compressed twice, which is not a pretty situation for backup purposes.
Ideally what is needed is a program which will rip the video file in the dvd as-it-is, without any alteration so that it can be restored later on. Dat files in vcd's can be ripped off without altering them but I'm not aware about dvd's.

kingmonkey
May 9th, 2006, 10:30 PM
Papangul is right in this, it is the best way to backup without losing quality but it does require a lot of space. I would still recommend xvid as it is well supported and future proof.

there is bound to be loads of DVD rippers, wont "cat" do it to some degree?

Immaculate
May 10th, 2006, 12:43 AM
doesn't it have DRM incorporated into it?

Only if it is AAC bought from iTunes.


The video in dvd is already compressed, if you backup by encoding to some other format, then the same video is getting compressed twice, which is not a pretty situation for backup purposes.
Ideally what is needed is a program which will rip the video file in the dvd as-it-is, without any alteration so that it can be restored later on. Dat files in vcd's can be ripped off without altering them but I'm not aware about dvd's.

As far as I know, DVD is lossless. XviD is lossy. Compare it to music. DVD/MPEG2 = CD/PCM, XviD/h.264 = MP3/MPC.

You can get really great quality on a 700MB XviD, or even better quality on a 1400MB XviD.

papangul
May 10th, 2006, 02:57 AM
DVD is lossy.

DVD video is usually encoded from digital studio master tapes to MPEG-2 format. The encoding process uses lossy compression that removes redundant information (such as areas of the picture that don't change) and information that's not readily perceptible by the human eye. The resulting video, especially when it is complex or changing quickly, may sometimes contain visual flaws, depending on the processing quality and amount of compression.
http://www.dvddemystified.com/dvdfaq.html#1.3

nalmeth
May 10th, 2006, 03:58 AM
You CAN copy some DVD's directly to your harddrive, and not lose any quality.
The problem is that a lot of DVD's now have copy-protection measures, and will fool you with hidden folders that take away functionality.
Space (and DRM measures) permitting, you can get as great quality as you like.

samir85
May 10th, 2006, 01:22 PM
Video DVDs are endoded in MPEG-2 format, which is lossy format.
So if you convert a video from DVD into another fromat (ie XviD) you will loose quality.

samir85
May 11th, 2006, 12:23 AM
btw:

Does somebody know how to encode a video into an mp4 container with mpeg4 h246 videostream and aac audiostream ?

Of course I'd prefer a GUI solution for this.

Maybe somebody has a howto ?

Immaculate
May 11th, 2006, 12:54 AM
DVD is lossy.

http://www.dvddemystified.com/dvdfaq.html#1.3


I stand corrected ;P

But my point was... DVD -> XviD doesent loose that much quality. Though I highly dont recomend to back up DVDs to XviD you plan to burn back to DVDs later, I do recomend XviD if you just want to watch them on your computer.

Iandefor
May 11th, 2006, 02:54 AM
btw:

Does somebody know how to encode a video into an mp4 container with mpeg4 h246 videostream and aac audiostream ?

Of course I'd prefer a GUI solution for this.

Maybe somebody has a howto ? You can check out vive (http://vive.sourceforge.net/). Works like a charm.

samir85
May 11th, 2006, 07:13 AM
You can check out vive (http://vive.sourceforge.net/). Works like a charm.

Hey, that's the thing i was searching for ! :D