Hello Friends,
I am back to this forum from vcdhelp.com days. Great to see the site grown to this level. I am still a newbie in video formats, so bare with me and direct me if my questions are already answered.
1. I would like to know how we distinguish the video quality? i guess it's with bitrate. Is there any universal standard for video formats associated with bitrate? and tools used to calculate the bitrate for the video files we have?
2. I know DivX and XviD are two latest formats for better compression of DVD. My question is - Is there any image quality loss in these formats compared to DVD standard? All other feautures are supported like subtitle, menus etc? Also could we re-encode back to DVD formats from DivX or Xvid without loosing image quality or features of DVD?
Thanks in advance.
+ Reply to Thread
Results 1 to 7 of 7
-
-
Originally Posted by richbell
Originally Posted by richbell
Originally Posted by richbell
Originally Posted by richbell -
Originally Posted by richbell
Originally Posted by richbell
Download and install the Gspot program and open your videos with it to see their bitrates.
Originally Posted by richbell
When I say "Divx", it means Xvid too. I'm just too lazy to type both. -
You always lose some quality when using lossy codecs like MPEG2, MPEG4 ASP (Divx, Xvid), MPEG4 AVC (h.264, x264). If you start with a pristine source and compress with Divx and MPEG2 at the same bitrate, frame rate, frame size, etc., the Divx file will look better. If you start with a DVD MPEG2 file and compress it to Divx there will be some degradation. Exacly how much depends on what settings you use. The same will be true if you compress it with MPEG2 again.
Normal DVD players don't play Divx at all. Divx Certified players will play Divx/Xvid within certain limitations (not all MPEG4 ASP features are supported). Divx Ultra certified player will play Divx with menus, chapters, multiple audio tracks, and subtitles. These must be created with software specifically designed for that purpose. -
Thanks for the reply guys. I have lot of quality DVD backups from original DVDs and would like to store them on single place to play back on my new RAID box hence the question on what method would help on better compression as well as able to play them back again on normal DVD players.
I have a Sony entry level NS50 player. So i don't think it supports DivX/XviD. So as you seem to suggest i will drop the idea of converting them to any format to save space.
And like jman said, i will participate more in the site activityOnly that i have been on and off with the site to learn some things quickly. Thanks for insisting anyway.
-
Originally Posted by richbell
(my old brick-simple 1.1 litre VW wouldn't be able to charge up Shap approach on the M6 anywhere near as quick fully loaded at 5000rpm (3rd gear), than a lightly loaded, turboed, multi-point, 16 valve version of my current 1.6 GM would be able to at 3600rpm (5th)... just as a 640x304 DivX at 2000kbit will probably look a lot less 'compressed' than a 720x576 DVD at 3000kbit; but both are operating outside of their usual & ideal encoding environments there)
In any case, most video codecs will measure bitrate in kilobits per second, kbit/s, though there can be some dispute over whether this is 1000b/s or 1024b/s; others may use kbyte/s or even mbit/s for DV and HD. An internet video may be between a few tens and a couple hundred kilobits/sec, a reasonable DivX/XviD may run to a little under 1000kbit/s (1mbit/s), standard VCD is 1150, SVCD and DVD variable from ~1000 to ~9000kbit/s (2600 SVCD) depending on quality setting and source material, HD from 5mbit/s upwards, and DV ~25mbit/s
A better but still imperfect measure, for mpeg style codecs, is the average macroblock quantisation value for each frame (essentially a measure of how much the picture is corrupted by lossy compression at any point), which typically stays at a moderate level (potentially noticable but insignificant artefacts) if you use Constant Quantiser VBR, varies wildly between very low (super quality, imperceptable changes) and very high (awful - obvious mashing and blocking) with Constant Bitrate, with 2-pass VBR sitting at a semi-intelligently controlled level in between.
I don't know of any tools to measure / graph this quantity for MPG-4 (divx etc), but one little tool I'm trying to hunt out of my archive for use with MPG1 & 2 (VCD/DVD) is, helpfully, called BRView (BitRateViewer) EDIT! <---aha! Thank you, automatic tool link! *downloads* Used it to analyse XVCDs to great effect before, identifying bitrate pinch points, and whether encoding settings can be changed to improve poor-looking sections (lower overall VBR quality slightly so there's much more slack to spend on the few difficult parts, play with the minimum BR setting if it's evidently too much/too little), or if they're already maxed out bitrate-wise whether they should be pre-smoothed, whether the encoder is doing what it says, etc. There surely must be something similar for MPG4...
To calculate bitrates ahead of time, the simplest route (oddly) is really just to learn the maximum reliable capacity of your chosen media minus typical transport stream overheads, and how to take away the predicted audio size at a chosen rate in order to leave the space available for video, and to divide the length into this to get final video rate... Simpler than it sounds...
(e.g. VCD 800mb, -15mb rough TS size = 785mb... video length 90m (5400 sec), sound quality 192kbit/s (24kbyte/s), sound size = 126mb... 659mb for video, or in other terms, 125kbyte/s = 1000kbit/s... sorted in just a few seconds and a few button-taps, there!)
2. I know DivX and XviD are two latest formats for better compression of DVD.
(god damn, has it been that long already?)
My question is - Is there any image quality loss in these formats compared to DVD standard? All other feautures are supported like subtitle, menus etc? Also could we re-encode back to DVD formats from DivX or Xvid without loosing image quality or features of DVD?
Anyway...
Image quality loss - this debate could rage on, but basically, yes, in typical use - as they are normally seen, and indeed expected to be used in situations where the available bitrate is so much lower. They do a great deal of amazing work in the perceptual domain and other areas of compression to hide it and to minimise the loss, but they do deprecate the image further from the existing compression of DVD. Their strength is in making most of the loss hidden in areas which the eye doesn't notice, as well as simply better (if less robust..) encoding procedures. Similar to how MP3 overall chucks away more of the sound signal than MP2 (with one being at 128k and the other at 224k), but as the encoding is much cleverer, it actually sounds better in all but specialist cases.
MPG4 (in whatever guise; they're not whole new compression standards, simply different codecs with different additional capabilities within the mpg4 overall spec) will allow you to get basically the full length and full-resolution picture data of a super-widescreen (1:1.85, 2.25) movie, or a slightly reduced resolution full-frame (1:1.77 (16:9) or 4:3) title onto a single standard capacity CD, with similarly advanced mp3 sound. Naturally there's only about 1/6th of the storage space, and halving the sound contingent can only do so much, so the video itself has to be squashed down pretty hard. MPG4 does a fantastic job of this, but if you know where to look you can see the tell tales... softer edges in some cases, colour smearing particularly in dark areas (which can be hit pretty bad), background "wibbling", minor playback errors that would persist for a half second on DVD hanging around for upto 30 seconds (making the super-extended GOPs/gaps between index frames very obvious), etc.
DVD is perhaps a little inefficient in comparison, but it still uses the reasonably (compared to MPG1) efficient/powerful MPG2 compression standard, and relies more on the vast amount of storage available to it to keep compression levels low and quality high, rather than working hard to squeeze the video really tight (which is also quite computationally intense; mpg4 shifts a fair amount of the video data generation load from the disc storage space to the CPU... mpg2 needs a far simpler DSP chip, at least for playback), and is quite error resistant and suitable for fast, accurate searching, etc.
You can get subtitles - with the right media player / winamp / etc plugins and the titles either muxed into the AVI file somehow, or supplied as a seperate text file. Haven't really looked into it much; when I did, it was to install the subs as permanent features within the actual video stream itself, rather than overlays that can be turned on and off (as my level of understanding of any particular foreign language isn't likely to be improved to fluency for the sake of one or two films!).. So I can't comment any further on that. It's not simply pre-built into the stream as it is with DVD though, it requires extra bits.
Menus .... again, it's not really part of the DivX - AVI kind of standard. You can add an autoplay menu to the CD it's on (if you've somehow got more than just the one movie on a disc) - or I guess the DVD if you're using it - and as I understand it "DivX Ultra" compatible players and suitably authored discs can offer menus, but when they exist as one, two, maybe six seperate monolithic long-name files rather than something wierd as in the case of DVD file structure, there's not as much point to it all.
The quality is supposed to be quite good going from MPG4 (back) to DVD from everything I've read (all I've done in this field so far is using it for saving disc space during broadcast/VHS captures, which involved an artificially extra-high bitrate higher even than most DVDs, so I can't really comment), but there will be some difference from the original disc that, even if it's not immediately noticable in a solo viewing, will be obvious if you do a side-by-side compare, as - all other things aside - the material has gone through two additional mpg encoding steps, with non-identical encoders. If your title was originally interlaced, then it will likely now seem slightly jerkier and less well defined in the vertical direction due to the generally simple "blurring", field-combining way de-interlacing is applied. More than likely it will also seem a little softer overall anyway, both because of various anti-blocking measures applied in the encoder and decoder, and because most divx videos are downconverted to 640 (or lower) horizontal rez with a corresponding (often more severe, in order to maintain square pixels) reduction in vertical rez. There will also be evidence of the other problems mentioned above (wavering backgrounds, poor dark-scene performance, etc). Finally there will be a temptation to fit more than one video on a DVD, so the available bitrate for the new MPG2 file will be artificially restricted, when it should ideally be as high as possible to prevent any additional compression artefacts.
And of course, your subtitles will probably not appear unless they're either hard-coded to the picture, or you take steps to extract them from the AVI / additional file and add them into the video stream. Most other advanced features ("follow the white rabbit" type extras, trivia pop-ups, forced subs, alternate angles/storyboards, alternate languages and commentary voiceovers, fancy menus, games, featurettes, databanks, chapters, etc etc etc) will simply not exist unless you take pains to track them down and add them in. Basically, it's a return to a very VHS-like format. So long as you're happy with that (and a vaguely SVHS/Digital-8 quality of picture), then it's perfectly fine. But don't expect to download a DivX file, or make your own, and have an exact replica of the original disc in any way.
.... there, is that enough for the wikipedia article you're writing, or whatever this is in aid of?
(The guides to DVD, Divx, etc are up at the top left there, if you care to read thru' em..)-= She sez there's ants in the carpet, dirty little monsters! =-
Back after a long time away, mainly because I now need to start making up vidcapped DVDRs for work and I haven't a clue where to start any more! -
Lovely summary, thanks a lot eddy. I hope i will stick to DVD formats for now, until BD/HD takes over completely.
Similar Threads
-
My DivX DVD Player can't play my avi DivX/xvid video
By Baldrick in forum DVD & Blu-ray PlayersReplies: 32Last Post: 6th Mar 2015, 09:11 -
Would synch mostly occur on DVD to DivX, or XviD to DivX?
By rocky12 in forum Newbie / General discussionsReplies: 3Last Post: 29th Oct 2008, 01:01 -
DVD vs DivX/Xvid
By videohalp in forum Newbie / General discussionsReplies: 3Last Post: 17th Sep 2008, 22:15 -
Weird I don't have XviD or DivX codec installed but I can see Xvid movies
By Talayero in forum Software PlayingReplies: 4Last Post: 5th Jun 2008, 11:47 -
DivX/Xvid/Whatever to DVD
By FallenAngelII in forum Authoring (DVD)Replies: 4Last Post: 12th Dec 2007, 17:04