Page 1 of 7 123 ... LastLast
Results 1 to 10 of 65

Thread: dvd::rip - encoding VOBs in the highest quality possible.

  1. #1
    Join Date
    Jan 2009
    Location
    PARADISE
    Posts
    929

    Default dvd::rip - encoding VOBs in the highest quality possible.

    Good evening.
    I've been reading extensively through the manual pages of dvd::rip without finding an answer to my question. When viewing the VOBs of a DVD, the quality is great...
    After encoding with high bitrate (BPP 0.45), video size increases rapidly up to more than 3 GB, whilst there are still awful pixels to be seen in the resulting movie - especially when the screen shows black.

    The mentioned video was encoded with the following presets:

    Container format: OGG
    Video codec: xvid4
    Keyframes: 25
    Video frame rate: 25.000 fps
    Deinterlacing mode: none
    BPP value: 0.45
    V-Rate: 2715, Video size: 2529 MB
    Audio settings: AC3, 48 kHz, Samplerate 4800 hz, Quality 10, no filter, max audio: 4.069
    Audio size: 463 MB
    Total size: 2999 MB
    Process nice value: 0
    As I love the program itself, I'd like to know if my settings are correct. Please do NOT tell me to read the manual again - I did so more than 5 times. I'd like to hear your suggestions & hints.

    Although it means to put a lot of effort into this, video encoding actually is a lot of fun. Especially the results.
    I've been using Gordian Knot extensively before, but certainly I don't want to let it run in wine - speed will not come even close to the one I reach with letting dvd::rip run directly on my core.
    CHECK OUT THESE GitHub PROJECTS!

    https://secupwn.github.io/Android-IMSI-Catcher-Detector/
    https://github.com/SecUpwN/Spotify-AdKiller

  2. #2
    Join Date
    Jun 2008
    Location
    /dev/belgium
    Posts
    1,946

    Default Re: dvd::rip - encoding VOBs in the highest quality possible

    BPP is an extremely misleading metric and your should virtually never trust it as a low BPP may look like cr@p when using one codec but when using another one, it may be more than enough. Also a high enough bitrate is not always the most important thing for quality. It's the compression options used what matters the most and also the content itself, eg low-motion VS high-motions content. Also, I don't really know why you choose one of *the* most aweful containers ever invented, the OGG container. Better use MKV which is also open source and hell of a lot better

    Since the above settings code does not tell me much which encoder options were used, no one can really help you with the "problem". If you want high-quality encodes, either learn which options offer that or use a preset (if possible) which is quality optimized. You may also try out my scripts, xvidenc & h264enc, which are built around presets and actually very easy to use

  3. #3
    Join Date
    Jan 2009
    Location
    PARADISE
    Posts
    929

    Default Re: dvd::rip - encoding VOBs in the highest quality possible

    Thanks for replying. In dvd::rip, basically three containers are available: AVI, OGG and MPEG.
    As for my opinion, it seems like MPEG is the best choice here. Certainly I cannot transcode HD - at least I only have the option of choosing either SVCD, VCD, XSVCD, XVCD or CVD.
    Which one to choose for the BEST quality possible?

    If you know of any better program for linux to rip and encode DVDs with, please let me know.
    I don't condone any illegal activities. Ripping those DVDs is solely for the purpose of entertainment on saturday nights in my private cinema.
    CHECK OUT THESE GitHub PROJECTS!

    https://secupwn.github.io/Android-IMSI-Catcher-Detector/
    https://github.com/SecUpwN/Spotify-AdKiller

  4. #4
    Join Date
    Jun 2008
    Location
    /dev/belgium
    Posts
    1,946

    Default Re: dvd::rip - encoding VOBs in the highest quality possible

    why would you want to choose MPEG either as container or as video compressor given that you already have content in MPEG container and video format - the DVDs themself? The purpose of encoding is to compress the content and most of the time a superior compression is used to achieve both smaller size and if possible decent/comparable quality level. If you don't care about that, then there's little point in encoding something as you can easily just copy the main title of DVDs into one big mpeg/vob file and store that somewhere on disk

    Since you are choosing Xvid compression, which honestly is one of the most inefficient compression standards in the MPEG4 family, AVI is the prefered container for it. Some choose OGG due to it being open source and all but it's really a horrible container for video so if you want something else besides AVI, choose MKV or MP4 containers which offer many advantages too

    I only know of one decent GUI, sx264, encoding frontend since I always prefer command line for such stuff due to a GUI doing nothing at all for ~95% of the encoding time and most of them either offer too little or are too cluttered with options. If you still want to stick to the old Xvid, then try my script xvidenc available from my repo, which supports as input files, DVDs, VCDs and directory batch encodings and containers like AVI, MKV, MP4 and OGM. It's very intuitive so don't be afraid of it just because it's a command line tool. There is also acidrip but I haven't used it in a long time so can't say much about it and also Avidemux

  5. #5
    Join Date
    Jan 2009
    Location
    PARADISE
    Posts
    929

    Default Re: dvd::rip - encoding VOBs in the highest quality possible

    Sounds great - I'll definately check out your multimedia goodies. Which container would you recommend for encoding VOBS in the highest quality possible?
    CHECK OUT THESE GitHub PROJECTS!

    https://secupwn.github.io/Android-IMSI-Catcher-Detector/
    https://github.com/SecUpwN/Spotify-AdKiller

  6. #6
    Join Date
    Jan 2009
    Location
    PARADISE
    Posts
    929

    Default Re: dvd::rip - encoding VOBs in the highest quality possible

    Lets just do it. For the purpose of encoding the Test-VOBs, I chose AVI as container format between the other choices OGG and MPEG.
    Furthermore, Ive set video codec to be af6 and ffmpeg/af6 codec as h264. Video bitrate will be 25.000 with 25 kf/s.

    If the video is transcoded with quality level 1.00, the resulting file measures 7964 MB in total. HUGE! When the VOBs are finally transcoded, Ill let you know about the resulting quality.

    Hints on how to reduce filesize without losing quality are much appreciated though.
    CHECK OUT THESE GitHub PROJECTS!

    https://secupwn.github.io/Android-IMSI-Catcher-Detector/
    https://github.com/SecUpwN/Spotify-AdKiller

  7. #7
    Join Date
    Jan 2009
    Location
    PARADISE
    Posts
    929

    Default Re: dvd::rip - encoding VOBs in the highest quality possible

    //update: changed video codec from af6 to ffmepg (otherwise the above setup wont work). Lets see...
    CHECK OUT THESE GitHub PROJECTS!

    https://secupwn.github.io/Android-IMSI-Catcher-Detector/
    https://github.com/SecUpwN/Spotify-AdKiller

  8. #8
    Join Date
    Jun 2008
    Location
    /dev/belgium
    Posts
    1,946

    Default Re: dvd::rip - encoding VOBs in the highest quality possible

    Quote Originally Posted by TheMask View Post
    Lets just do it. For the purpose of encoding the Test-VOBs, I chose AVI as container format between the other choices OGG and MPEG.
    Furthermore, Ive set video codec to be af6 and ffmpeg/af6 codec as h264. Video bitrate will be 25.000 with 25 kf/s.

    If the video is transcoded with quality level 1.00, the resulting file measures 7964 MB in total. HUGE! When the VOBs are finally transcoded, Ill let you know about the resulting quality.

    Hints on how to reduce filesize without losing quality are much appreciated though.
    wait, what? What are you really trying to achieve in here? 25000 kbps for a simple encode of a DVD/VOB??? Are you serious? What do you really expect to gain from such a high bitrate? More detail? More quality? if more detail/quality do you really think that you can reconstruct detail/quality which isn't there in the first place, just by upping the bitrate? And why are you using af6 for this??

    the purpose of encoding a DVD is to reduce its file size and at the same time offer comparable quality I can compress a 2 hour long anamorphic DVD into a H.264 video + AAC audio MKV file where the final size is only 550 MB and you wouldn't notice the difference between it and the original DVD. This is the art of encoding. To squeeze the content as much as possible into smaller file size while at the same time offering comparable quality. It's not really the bitrate you choose here, though it also matters of course, it's the compression options used that matter the most.

    You want high quality & low filesize? How about this?

    Code:
    mencoder inputfile.vob -o /home/username/output.avi -vf softskip,harddup -aid 128 -oac faac -faacopts mpeg=4:br=110:object=2 -ovc x264 -x264encopts crf=21:me=umh:me_range=24:nodct_decimate:nointerlaced:8x8dct:nofast_pskip:trellis=1:partitions=p8x8,b8x8,i8x8,i4x4:mixed_refs:psy_rd=0.8,0.2:frameref=4:bframes=3:b_adapt=2:nob_pyramid:weight_b:direct_pred=auto:subq=7:mbtree:chroma_me:cabac:aq_mode=2:deblock:level_idc=41:threads=auto
    Honestly, I am at a loss as to what you're really trying to do here. You want small filesize and comparable quality, yet you use some weird af6 codec and an absurd high bitrate, which in a lot of cases is even more than enough for HD content, let alone for DVD content

  9. #9
    Join Date
    Jan 2009
    Location
    PARADISE
    Posts
    929

    Default Re: dvd::rip - encoding VOBs in the highest quality possible

    I absolutely agree with you. As you see, Im a true beginner when it comes to encoding.
    Anyhow, the resulting file from the above operation was 2 KB in size - perhaps the output a professional would expect in such case of missing the point of ecoding.

    Lets start over again. microchip8, thanks for mentioning the above command - Id like to do the whole thing with DVD::RIP though.
    If youd provide me with the corresponding settings there, Id be ready to rumble.
    CHECK OUT THESE GitHub PROJECTS!

    https://secupwn.github.io/Android-IMSI-Catcher-Detector/
    https://github.com/SecUpwN/Spotify-AdKiller

  10. #10
    Join Date
    Jun 2008
    Location
    /dev/belgium
    Posts
    1,946

    Default Re: dvd::rip - encoding VOBs in the highest quality possible

    Quote Originally Posted by TheMask View Post
    I absolutely agree with you. As you see, Im a true beginner when it comes to encode DVDs. Anyhow, the resulting file from the above operation was 2 KB in size - perhaps the output a professional would expect in such case of missing the point of ecoding.

    Lets start over again. microchip8, thanks for mentioning the above command - Id like to do the whole thing with DVD::RIP though.
    If youd provide me with the corresponding settings there, Id be ready to rumble.
    2KB can only result due to mencoder exiting because of an option used which may not be present yet in your x264 library due to it being too old. Usually, if an option is used in mencoder but is missing in the x264 library, at the very top mencoder will display something like "Unknown option:" followed by the option name used. The options I gave you require latest x264 from git and I'm suspecting you don't have it, hence mencoder exits due to the "mbtree" option used. Remove mbtree from the options and try again.

    As for helping you with dvdrip, I have no idea what it offers (like options, presets, etc) and how it works, so can't really help you here. As I said before, I use commandline tools for encoding because I can easily script and batch them. My preferred encoders at the moment are mencoder and x264 and from time to time I use ffmpeg

Page 1 of 7 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •