QTGMC DVD Encoding Guide Version 0.2 (2/2018)

Total Page:16

File Type:pdf, Size:1020Kb

QTGMC DVD Encoding Guide Version 0.2 (2/2018) QTGMC DVD Encoding Guide version 0.2 (2/2018) Written by LeoBloom for Empornium. Feel free to share. This work is licensed under a Creative Commons Attribution 4.0 International License. Version history: 0.2, 2/2018: Added detailed software and plugin installation instructions 0.1, 12/2017: Initial release 1 Contents Contents ............................................................................................................................................2 Background .......................................................................................................................................3 Why should I go through all this trouble, it’s just porn ........................................................................3 Required and recommended Software ...............................................................................................4 Required software/scripts: ....................................................................................................................... 4 Recommended software/scripts: ............................................................................................................. 4 Software installation notes ....................................................................................................................... 5 Avisynth plugin installation notes ............................................................................................................. 6 List of installed plugins after correct installation ...................................................................................... 7 Ripping scenes from the DVD image and making them AviSynth readable ...........................................8 Creating and tuning AviSynth scripts ................................................................................................ 15 Encoding and Muxing ....................................................................................................................... 18 Other QTGMC and AviSynth parameters ........................................................................................... 21 Flickering at top/bottom ......................................................................................................................... 21 Keeping original frame rate .................................................................................................................... 21 Sharpening .............................................................................................................................................. 21 Adjusting the color balance .................................................................................................................... 21 Retaining more noise .............................................................................................................................. 22 Removing noise ....................................................................................................................................... 22 Using QTGMC with progressive material ................................................................................................ 22 Detelecining/Inverse telecining .............................................................................................................. 22 Final Checks before Release ............................................................................................................. 24 Summary: Workflow and final words of wisdom ............................................................................... 24 Useful Batch Scripts and Commands ................................................................................................. 25 DGIndex_all ............................................................................................................................................. 25 Create_avs .............................................................................................................................................. 25 Masterbatch (test encodes) .................................................................................................................... 26 Masterbatch ............................................................................................................................................ 26 Make_mono_and_keep_AC3 ................................................................................................................. 26 mkvmerge_all_from_vob ........................................................................................................................ 26 Possible improvements and alternative routes to QTGMC ................................................................. 27 Further reading ................................................................................................................................ 27 Acknowledgements.......................................................................................................................... 28 2 Background Traditional CRT TVs used to display 60 half-images per second (USA/NTSC, 50 per second in Europe/PAL). As DVDs were introduced in the late 1990s, long before affordable LCD TVs were available, the vast majority of DVDs adheres to this standard and encodes its content as half images. 50% of the stored movie frames contain the odd lines, and 50% contain the even lines – the movie is interlaced. Assembling these alternating half images into full images is called deinterlacing and is necessary if the material is to be displayed on a non-CRT display. This deinterlacing process turns out to be surprisingly difficult, and most freely available encoding software like Handbrake gets it wrong. The results are left- over combing artifacts and/or aliasing (jagged diagonal lines) as well as shimmer around moving objects. The aim of this guide is to show how to deinterlace properly with much improved image quality using an algorithm called QTGMC. This algorithm substantially increases image quality through motion compensated temporal averaging of the images and eliminates the above-mentioned artifacts. QTGMC is written in AviSynth, a simple scripting language for video editing. The concept of a scripting language may be intimidating, but it is actually very easy to use, thanks to a great editor called AvsPmod. With it, one can preview in real time the effects of changes in the script. Why should I go through all this trouble, it’s just porn You are going to watch your favorite porn clips many more times than your favorite movies. It is worth putting some effort into making your favorite scenes as good looking as they can possibly get. Of course, all methods described here also work just as well for mainstream movies. 3 Required and recommended Software This guide is for Windows 7-10. QTMGC should be possible on Linux and OS X as well, using alternative software (see page 27) or windows emulation/WINE, but that is beyond my expertise. All software listed here is freeware. Required software/scripts: FFmpeg (for encoding, 32 bit version): https://ffmpeg.org/download.html AviSynth (32 bit version, for running QTGMC): https://sourceforge.net/projects/avisynth2/ QTGMC and required scripts: http://avisynth.nl/index.php/QTGMC DGIndex and DGDecode plugins: http://avisynth.nl/index.php/DGDecode DVD Shrink: https://www.videohelp.com/software/DVD-Shrink MKVToolNix: https://www.fosshub.com/MKVToolNix.html VOB Merge: https://www.videohelp.com/software/VOBMerge (2.55 unofficial is much better than 2.52) AvsPmod: https://github.com/AvsPmod/AvsPmod/releases Recommended software/scripts: DVD Decrypter: https://www.videohelp.com/software/DVD-Decrypter Mediainfo: https://mediaarea.net/en/MediaInfo/Download Avidemux: http://avidemux.sourceforge.net/ Sed: http://gnuwin32.sourceforge.net/packages/sed.htm LSFmod (for AviSynth): http://avisynth.nl/index.php/LSFmod TIVTC/TDecimate: http://avisynth.nl/index.php/TIVTC/TDecimate Decomb: http://avisynth.nl/index.php/Decomb 4 Software installation notes Some software is installed with installers, most is just unzipped from folders. I recommend creating a new directory in C:\ called “Software” or something similar, and extract these zip files there, into a sensible folder name. It is also possible to put these files into the Windows Program Files (x86) directory, but this is less advisable from a security point of view. Installation instructions: Avisynth: Default install, use 32 bit version DVDShrink: Default install VOBmerge: Extract into a folder, e.g. c:\software\vobmerge AvsPmod: Extract into a folder, e.g. c:\software\AvsPmod DGIndex: Extract into a folder, e.g. c:\software\DGIndex. One DLL file needs to be copied to the Avisynth plugin folder, see below. FFmpeg: Use 32 bit version. Extract into a folder, e.g. c:\software\ffmpeg . Put the bin folder with the executables (e.g.c:\software\ffmpeg\bin) into the system environment PATH variable. Guide for setting environment variables: https://www.computerhope.com/issues/ch000549.htm 5 Avisynth plugin installation notes The process of installing these plugins is cumbersome indeed, so here are precise instructions. Make sure you only install the 32 bit (also sometimes called x86 or Win 32) versions of the plugins. Accidentally installing 64 bit versions seems to be the most common mistake. Almost all AviSynth plugins go into this folder: C:\Program Files (x86)\AviSynth\plugins . This includes dll files and text files with the .asvi or .asv ending. All plugins listed on the QTGMC webpage need to be in that
Recommended publications
  • Mpc Downloaded Video Cannot Render the File Mpc Downloaded Video Cannot Render the File
    mpc downloaded video cannot render the file Mpc downloaded video cannot render the file. Theme by Mishar DESIGN, modded by Team Kodi. Copyright © 2017 XBMC Foundation. Quick Links. Sponsors. About Kodi. Kodi is a free and open source media player application developed by the XBMC Foundation, a non-profit technology consortium. Kodi is available for multiple operating-systems and hardware platforms, featuring a 10-foot user interface for use with televisions and remote controls. It allows users to play and view most videos, music, podcasts, and other digital media files from local and network storage media and the internet. MPC Video Renderer 0.5.5.1732. The renderer can potentially work with any DirectShow player, but full support is available only in the MPC-BE (recommended version of MPC- BE is: 1.5.5 or newer). It is also recommended to have an SSE2-capable CPU, with Windows 7 (or newer) installed and at leaser a DirectX 9 video card. Starting with version 0.3.0 of MPC Video Renderer, it has been added support for XySubFilter. Changes to MPC Video Renderer 0.5.4 : - Fixed dithering when outputting 10-bit for DX11 mode. - Improved compatibility with CoreAVC Video Decoder. - Fixed frame rotation when using DXVA2 or D3D11 VP. - Optimization of processing when using only DXVA2 or D3D11 VP. — Full list of changes. Solved: AVI/MP4/MKV Cannot Render the File. Stuck with the "Cannot Render the File" error on your Media Player Classic? You'll find everything from why you're getting this error. And you will also learn to how to fix it in this post.
    [Show full text]
  • Avisynth for Mac
    Avisynth For Mac Avisynth For Mac 1 / 4 2 / 4 [4]AviSynth is built upon filters, which are much like DirectShow filters, but with a different binary interface. 1. avisynth 2. avisynth gui 3. avisynth mac [2] It is free software under GNU GPL license Scripting video editor[edit]AviSynth acts as a non-linear video editor controlled entirely by scripting (without a GUI).. Avisynth ffmpeg free download Universal Media Server Universal Media Server is a DLNA-compliant UPnP Media Server Universal Media Server supports all ma.. Filter capabilities include cropping, deinterlacing, inverse telecine, working with still images, doing basic color grading, reducing video noise, and many other things.. 6 1 Alpha (May 17, 2016; 4 years ago) [±]RepositoryWritten inC++Operating systemWindowsTypeLicenseGNU GPLWebsitewww. avisynth avisynth, avisynth linux, avisynth crop, avisynth plugins, avisynth trim, avisynth gui, avisynth 2.5, avisynth vhs effect, avisynth mac, avisynth 2.6 mt, avisynth deinterlace Free Web Software For Mac Technically, AviSynth constructs a filter graph (like MicrosoftGraphEdit but with added capabilities),[5] controlled by scripts written in the AviSynth scripting language.. More about AviSynth About the download, AviSynth is a program that requires less storage space than the average program in the section Video software.. Its functionality can be extended through the use of third- party filters known as plugins.. It’s also a great tutorial on how to make gifs in general, so if you’re not familiar with how to make gifs at all this is a great walkthrough before you continue on.. The program will play the video file 'myAvi avi' cropped down to its top-left 320 pixels by 240 pixels and blurred by a small amount.
    [Show full text]
  • Super 8 Languages for Making Movies (Functional Pearl)
    Super 8 Languages for Making Movies (Functional Pearl) LEIF ANDERSEN, STEPHEN CHANG, MATTHIAS FELLEISEN, PLT @ Northeastern University, United States of America The Racket doctrine tells developers to create languages (as libraries) to narrow the gap between the terminol- ogy of a problem domain and general programming constructs. This pearl illustrates this doctrine with the creation of a relatively simple domain-specific language for editing videos. To produce the video proceedings of a conference, for example, video professionals traditionally use łnon-linearž GUI editors to manually edit each talk, despite the repetitive nature of the process. As it turns out, the task of video editing naturally splits into a declarative phase and an imperative rendering phase at the end. Hence it is natural to create a functional-declarative language for the first phase, which reduces a lot of manual labor. The implementation of this user-facing DSL, dubbed Video, utilizes a second, internal DSL to implement the second phase, which is an interface to a general, low-level C library. Finally, we inject type checking into our Video language via another DSL that supports programming in the language of type formalisms. In short, the development of the video editing language cleanly demonstrates how the Racket doctrine naturally leads to the creation of language hierarchies, analogous to the hierarchies of modules found in conventional functional languages. CCS Concepts: • Software and its engineering Ñ Functional languages; Preprocessors; Macro lan- guages; Specification languages; Designing software; • Information systems Ñ Multimedia content cre- ation;• Applied computing Ñ Media arts;• Human-centered computing Ñ Graphical user interfaces; Additional Key Words and Phrases: Domain-Specific Language, Declarative Languages, Video Editing, Syntax Elaboration, Language Oriented Design, Movies, Integrated Development Environment ACM Reference Format: Leif Andersen, Stephen Chang, Matthias Felleisen.
    [Show full text]
  • Authentic Video, Subtitle Modification, and Oral Fluency Christopher Mark Rozendaal Iowa State University
    Iowa State University Capstones, Theses and Retrospective Theses and Dissertations Dissertations 2005 Fluency through Friends: authentic video, subtitle modification, and oral fluency Christopher Mark Rozendaal Iowa State University Follow this and additional works at: https://lib.dr.iastate.edu/rtd Part of the Bilingual, Multilingual, and Multicultural Education Commons, English Language and Literature Commons, and the First and Second Language Acquisition Commons Recommended Citation Rozendaal, Christopher Mark, "Fluency through Friends: authentic video, subtitle modification, and oral fluency" (2005). Retrospective Theses and Dissertations. 14405. https://lib.dr.iastate.edu/rtd/14405 This Thesis is brought to you for free and open access by the Iowa State University Capstones, Theses and Dissertations at Iowa State University Digital Repository. It has been accepted for inclusion in Retrospective Theses and Dissertations by an authorized administrator of Iowa State University Digital Repository. For more information, please contact [email protected]. Fluency through Friends: Authentic video, subtitle modification, and oral fluency by Christopher Mark Rozendaal A thesis submitted to the graduate faculty in partial fulfillment of the requirements for the degree of MASTER OF ARTS Major: Teaching English as a Second Language/Applied Linguistics Program ofStudy Committee: Volker Hegelheimer, Major Professor Denise Schmidt Roberta Vann Iowa State University Ames, Iowa 2005 Graduate College Iowa State University This is to certify that the master's thesis of Christopher Mark Rozendaal. has met the requirements of Iowa State University Signatures have been redacted for privacy Ill TABLE OF CONTENTS LIST OF TABLES iv CHAPTER 1. INTRODUCTION i CHAPTER 2. LITERATURE REVIEW 4 CHAPTER 3. THE CURRICULUM UNITS i6 CHAPTER 4.
    [Show full text]
  • Download 8 Mile Avi File PSP Games Collection
    download 8 mile avi file PSP Games Collection. A rap version of "Saturday Night Fever." B-Rabbit, a wannabe rapper from the wrong side of Detroit's 8 Mile, has problems: he dumps his girlfriend when she tells him she's pregnant; to save money to make a demo tape, he moves into his alcoholic mom's trailer; his job's a dead end, and he's just choked at the local head-to-head rap contest. Things improve when he meets Alex - an aspiring model headed for New York - and a fast-talking pal promises to set up the demo. Then new setbacks: Alex isn't faithful, mom rejects him, rifts surface with his friends, and he's mugged by rivals. Everything hinges on the next rap showdown at the club. Can B-Rabbit pull truth out of his cap? A young rapper in Detroit struggles with his anger through music. Can a white kid with a blue vocabulary and lots of hate in his heart transcend his meager beginnings and attain global superdupermegastar success? The people of Detroit know 8 Mile as the city limit, a border, a boundary. It is also a psychological dividing line that separates Jimmy Smith Jr. from where and who he wants to be. 8 Mile examines a critical week in Jimmy's life. Download 8 mile avi file. Movie Title :8 Mile. A rap version of "Saturday Night Fever." BRabbit, a wannabe rapper from the wrong side of Detroit's 8 Mile, has problems: he dumps his girlfriend when she tells him she's pregnant to save money to make a demo tape, he moves into his alcoholic mom's trailer his job's a dead end, and he's just choked at the local headtohead rap contest.
    [Show full text]
  • Learning Virtualdub the Complete Guide to Capturing, Processing, and Encoding Digital Video
    Learning VirtualDub The complete guide to capturing, processing, and encoding digital video Georgios Diamantopoulos Sohail Salehi John Buechler Birmingham - Mumbai Learning VirtualDub The complete guide to capturing, processing, and encoding digital video Copyright © 2005 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, Packt Publishing, nor its dealers or distributors will be held liable for any damages caused or alleged to be caused either directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First edition: April 2005 Published by Packt Publishing Ltd. 32 Lincoln Road Olton Birmingham, B27 6PA, UK. ISBN 1-904811-35-3 www.packtpub.com Cover Design by www.visionwt.com Credits Authors Layout Georgios Diamantopoulos Paramita Chakrabarti Sohail Salehi John Buechler Indexer Ashutosh Pande Commissioning Editor David Barnes Proofreader Chris Smith Technical Editors Ashutosh Pande Cover Designer Paramita Chakrabarti Helen Wood About the Authors Georgios Diamantopoulos was born in February 1984. Born and raised in Corinth, Greece, his scientific inclination towards computers was evident in his teenage years and he pursued his dreams by moving to Birmingham, UK to study Computer Systems Engineering in 2001.
    [Show full text]
  • Virtualdubmod Help
    VirtualDubMod is a project that was born when suddenly a lot of modifications to the original VirtualDub by Avery Lee sprung up, mainly on the Doom9 forums. Some people got tired of needing several diffrent modified VirtualDub executables, so the idea arose to put them all together into a single app, VirtualDubMod. The founders were: VirtualDubOGM - Cyrius VirtualDubMPeg2 - Pulco-Citron VirtualDubAVS - Belgabor Extended features in VirtualDubMod 1.5.x Nb : VirtualDubMod now has a basic Unicode support. However this support is only available in Windows versions that handle it natively (2k/XP handle it). Win9x doesn't handle Unicode natively and so you won't have Unicode support in VirtualDubMod with this OS. This short documentation give you some information on the following subjects in VirtualDubMod 1.5.x : Preferences AVI Information Image formats Streams menu Multiple streams handling Comments and chapters handling Previewing and Saving Batch mode Miscellanea Preferences Since version 1.5.4.x VirtualDubMod also uses an extended tree list thanks to which you can access all its preferences. Depending on which kind of preference it is, clicking on an item in the tree will make appear a combo box or an edit box (optionally an icon to popup a file selector). For enabling / disabling preferences (checkbox / radio button) click on the checkbox or radio button. The default video mode (Direct stream copy, Fast recompress, Normal recompress, Full processing mode) in which VirtualDubMod starts can be changed in the Main preferences. The Display preferences let you choose to enable/disable by default the Display input video and Display output video of the Options menu.
    [Show full text]
  • Vicbond007's Guide to Working with DVD Footage
    VicBond007’s Guide to Working with DVD Footage for Use in Anime Music Videos Copying a DVD Copying a DVD The first step to allow you to use DVD footage as your source, is to copy the DVD to your hard drive. Commercial DVDs are protected by a Content Scrambling System, abbreviated as CSS. CSS is a set of 5, 2-digit hexidecimal keys that are only supposedly readable by set-top DVD players, and DVD player software. The purpose of this scrambling code is to prevent you from directly accessing the contents of the disc on your pc, otherwise you could easily make a perfect digital copy by just dragging and drop- ping the contents of the disk to your computer, or decoding the video stream directly off the Figure 1: DVD decrypter version 3.2.3.0 detecting the presence of my laptop’s DVD drive, as well as the disc to an AVI or some other file format. fact that Wolf’s Rain: Disc 8 is in the drive. If you tried to decode the contents of a DVD directly off the disc, the picture would be unrec- ognizable and scattered with various pink and green boxes. If you try to drag the .vob files off the disc, in most situations, it will transfer, however the data will just be unreadable and appear corrupt. If you want to know all the geeky information about CSS, then you can find out all about it at the following address: http://www.alleged.com/mirrors/DVD-CSS/ The solution is to copy the DVD to our drive, and remove the encryption in the process.
    [Show full text]
  • How to Use Avisynth
    Forumotion Share : Welcome learningfilters Notifications How to use AVISynth Author Message DarkDream787 Subject: How to use AVISynth Sun Aug 02, 2015 3:29 am Needed Software MeGui (The main program you will be using for setting up and preparing your source files for encoding or editing) AVISynth (The program you use to apply filters to your video which make changes and improve the source video as needed) Optional Software None IMPORTANT NOTE: Click on the word "Spoiler" or just above the line when wanting to open and close larger images that are put into spoiler tags. Also, this is not my full tutorial and lacks details and things that are in my full tutorial. This is just the information you will need in order to understand how to use AVISynth and make your encodes look better. Basically an edited cutout from my unfinished full tutorial with new information added as well. You pay attention to this and you will understand how to use avisynth and end up with more properly filtered encodes than blindly guessing. (If you don't care to read how I learned about this program and how to use it, feel free to skip down to the part where I begin to explain how to use it) Back when I always wanted to encode in 2002 or so, most of the people on forums I asked for help in were asses or didn't bother to try and teach you much. Every time I went for help I ended up with a common answer and it was usually just use AVISynth with VirtualDubMod or GordianKnot with no information on how to use it or what it was.
    [Show full text]
  • Thesis Jean-Sebastien Legare
    Extensibility, Modularity, and Quality-Adaptive Streaming towards Collaborative Video Authoring by Jean-Sébastien Légaré B. Sc. Computer Science, McGill University, 2006 A THESIS SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF MASTER OF SCIENCE in THE FACULTY OF GRADUATE STUDIES (Computer Science) The University of British Columbia (Vancouver) March 2010 c Jean-Sébastien Légaré 2010 Abstract Video capture devices and online video viewing sites are proliferating. Content can be produced more easily than ever but the tasks required to compose and produce interesting videos are still very involving. Unfortunately, very little support is given for groups of amateurs to meet and collaborate to creation of new media. Existing video sharing sites do have some support for collaboration, but their best-effort mode of content delivery makes it impossible to support many of the desirable features usually available in local editors, such as advanced navigation support and fast-startup. Quality-adaptive streaming is interesting as it allows content to be distributed, and allows clients of varying capabilities to view the same encoded video source, the so-called “Encode once, stream anywhere”. This becomes even more impor- tant as the gap between low-end and high-end devices widens. In previous work we presented a Quality Adaptive Streaming system called QStream which has none of these limitations, but lacks the editing features. There are several media frame- works on the desktop that can provide the modules and pipelines necessary to build an editor, but they too are non-adaptive, and have multiple incompatibilities with QStream. This thesis presents Qinematic, a content creation framework that is quality-adaptive, and that borrows concepts from popular media frameworks for extensibility and modularity.
    [Show full text]
  • Free and Open Source Software
    Free and open source software Copyleft ·Events and Awards ·Free software ·Free Software Definition ·Gratis versus General Libre ·List of free and open source software packages ·Open-source software Operating system AROS ·BSD ·Darwin ·FreeDOS ·GNU ·Haiku ·Inferno ·Linux ·Mach ·MINIX ·OpenSolaris ·Sym families bian ·Plan 9 ·ReactOS Eclipse ·Free Development Pascal ·GCC ·Java ·LLVM ·Lua ·NetBeans ·Open64 ·Perl ·PHP ·Python ·ROSE ·Ruby ·Tcl History GNU ·Haiku ·Linux ·Mozilla (Application Suite ·Firefox ·Thunderbird ) Apache Software Foundation ·Blender Foundation ·Eclipse Foundation ·freedesktop.org ·Free Software Foundation (Europe ·India ·Latin America ) ·FSMI ·GNOME Foundation ·GNU Project ·Google Code ·KDE e.V. ·Linux Organizations Foundation ·Mozilla Foundation ·Open Source Geospatial Foundation ·Open Source Initiative ·SourceForge ·Symbian Foundation ·Xiph.Org Foundation ·XMPP Standards Foundation ·X.Org Foundation Apache ·Artistic ·BSD ·GNU GPL ·GNU LGPL ·ISC ·MIT ·MPL ·Ms-PL/RL ·zlib ·FSF approved Licences licenses License standards Open Source Definition ·The Free Software Definition ·Debian Free Software Guidelines Binary blob ·Digital rights management ·Graphics hardware compatibility ·License proliferation ·Mozilla software rebranding ·Proprietary software ·SCO-Linux Challenges controversies ·Security ·Software patents ·Hardware restrictions ·Trusted Computing ·Viral license Alternative terms ·Community ·Linux distribution ·Forking ·Movement ·Microsoft Open Other topics Specification Promise ·Revolution OS ·Comparison with closed
    [Show full text]
  • 3D Converter
    3D Converter V 1.03 Overview of features and settings (short description) Table of Contents 1 Requirements for using 3D converter................................................................................. 3 2 Description of 3D Converter ............................................................................................... 7 2.1 Input settings ............................................................................................................... 7 2.2 Output settings ............................................................................................................ 8 2.3 Frame rates ................................................................................................................ 10 2.4 Advanced ................................................................................................................... 11 2.5 FFmpeg ...................................................................................................................... 13 2.6 VirtualDub .................................................................................................................. 14 2.7 Other options ............................................................................................................. 16 2.8 Batch conversion ....................................................................................................... 17 3 Appendix ........................................................................................................................... 17 3.1 Avisynth and VirtualDub
    [Show full text]