Best tool for Inverse Telecining and deinterlacing ?

I have very limited experience in encoding videos before.
Recently I'm trying to transcode a DVD into H.264 with x264. All the VOB files are dumped already.
As for the video part, I've decided to do it this way :
mkfifo TEMP.y4m
x264 OPTIONS -o OUTPUT.mkv TEMP.y4m & mplayer -vo yuv4mpeg:file=TEMP.y4m OPTIONS INPUT.VOB
I believe this method to be clean and efficient.
The problem is: This VOB file is in NTSC format, and I'm pretty convinced that it's telecined, after reading this:
http://www.doom9.org/ivtc-tut.htm wrote:TELECINE is a process where the FILM first is slowed down to 23.976 frames/second. Then for every 4 frames, an extra frame is created from fields of adjacent frames. If a frame consists of two fields, top (t) and bottom (b) and the original sequence is 1t1b 2t2b 3t3b 4t4b, then the telecined sequence would be 1t1b 2t2b 2t3b 3t4b 4t4b (commonly called 2:3 pull down because of the alternating 2 field, 3 field progression). This also means that the frame rate increases to 29.97 frames/second.
I viewed the video frame by frame, and found out that there're 2 sequential interlaced frames out of every 5 in a non-static scene. These are 2t3b 3t4b frames I think.
mplayer comes with some video filters that might help: With "-vf pp=" the result isn't that satisfying, but "-vf pullup" do the job nicely, that is, I can almost see no interlacing at all with this command:
mplayer -vf pullup VTS_01_1.VOB -noconfig all
On the other hand, I also noticed that there're 2 sequential repeated frames out of every 5 in a non-static scene. The frame-rate is 29.970 fps. This is bad because repeating means inefficiency in terms of compression. The better result is using only one of these 2 repeated frames at a frame-rate of 23.976 fps, which means dropping 20% extra frames.
But I don't know how to achieve this.
I want to achieve this at the mplayer decoding stage, so that x264 is fed with a yuv4mpeg source stream with no interlacing or extra frames.
------------------------------------------------------------------------------------------+
I'm not familiar with mencoder's options, though it seems to be able to drop the extra frame with "-vf pullup,softskip -ofs 24000/1001", but I can't find a way to let mencoder output as yuv4mpeg. Also there is a reason why I tend to avoid using mencoder:
mencoder -ss 209 -endpos 20 -ovc copy -oac copy -o _short_.vob VTS_01_1.VOB
This is supposed to cut a 20-second short clip from the VOB using copy. But even task as this simple could be wrong...which is really disappoiting. Look at these 2 screen shots.
By using mencoder -ovc copy::
http://omploader.org/vMjE3Zw
The original (mplayer VTS_01_1.VOB)::
http://omploader.org/vMjE3aA
Maybe it's just my build of mencoder(compiled at home)... But with this I really can't say mencoder is to be trusted.
...Or, is it something wrong in my command?
-------------------------------------------------------------------------------------------+
By the way, for this specific DVD, I believe mplayer plus x264 together can achieve the best result; on the other hand, just as the title suggests, I'd like to find some decent tool to do IVTC and Deinterlacing. CLI preferred but good GUI apps are also welcome
Thanks in advance!
Last edited by lolilolicon (2009-07-25 03:31:59)

skottish wrote:You should be able to use the -vf pullup,softskip stuff still.
man mplayer wrote:Softskip
Only  useful  with MEncoder.  Softskip moves the frame skipping (dropping) step of encoding from before the filter chain to some point during the filter chain.  This allows filters which need to see all frames (inverse  telecine,  temporal  denoising,  etc.)
Actually, when I tried::
mplayer -vf pullup,softskip VTS_01_1.VOB -noconfig all
The result is the same as just using "-vf pullup". The extra frame can't be dropped by mplayer this way......
Too bad many "convenient" tools like h264enc all use mencoder. I don't know whether handbrake does too. Haven't tried it out.
Avisynth is a great tool but works only for windows. x264's built in deinterlaced mode does no good in my case. ffmpeg's filters are still too limited by far. What can I do? Is there anything that does nothing but good IVTC?
-------------------------------------------------------------------------------------+
Klepper wrote:It says to always use the softskip filter together with pullup
man mplayer wrote:Always  follow  pullup  with the softskip filter when encoding to ensure that pullup is able to see each frame.
In my case, pullup seems to work better than filmdint: I've just tried the h264enc script which is almost totally a frontend to mencoder. Look at the mencoder filters it used:
mencoder VTS_01_1.VOB -o 01.avi -fps 30000/1001 -ofps 24000/1001 -vf filmdint=fast=0/io=30:24/dint_thres=256,softskip,harddup -oac pcm -ovc x264 -x264encopts <x264OPTIONS>
See, it also used filmdint as you suggust. The result is not too bad: removed the extra frame and plays at 24fps. But I can still notice interlacing occasionally. Maybe it's because the video isn't constant pattern "PPPII" but with some shifting (say, PPPIIPPPII...PPPIIPIIPPPIIPPPII, I found some pattern like this in the source VOB)
Man page says "io=<ifps>:<ofps>" must match "-fps/-ofps" ("-fps 30000/1001" and "-ofps 24000/1001" in my case.)
Since -ofps is an option ONLY for mencoder, but not for mplayer, filmdint can't make mplayer drop the extra frame like mencoder.
I played the VOB with "mplayer -vf filmdint=fast=0/io=30:24 VTS_01_1.VOB -noconfig all" and there're lots of "@@@@@@@@ Bottom-first field??? @@@@@@@@" spitted out in the console. I read about this in the man page but don't understand....
If the source is MPEG-2, [u]this must be the first filter to allow access to the field-flags set by the MPEG-2 decoder[/u]. Depending on the source MPEG, you may be fine ignoring this advice, as long as you do not see lots of "Bottom-first field" warnings.
I don't have any other filters in the command line, so... why?
The occasional interlacing is the same as the video encoded with h264enc. Also, it did not drop the extra frame anyway.
-------------------------------------------------------------------------------------+
Also I have a doubt:
In my first post, I wrote:
The original (mplayer VTS_01_1.VOB)::
http://omploader.org/vMjE3aA
But I think even this is not "original" -- not as good as the original video before it was telecined into NTSC format. I think it's mplayer not doing it good enough. The real original frame should have no blocking......
I've compared it to one fansub rip, the same frame looks better than in the image above, very little blocking, also the bass string isn't blurred like in the image above:
http://omploader.org/vMjE5aw
I don't know how they did it. And I actually want to do it better
Last edited by lolilolicon (2009-07-25 09:32:30)

Similar Messages

  • Best tool for cloning drive and regular back-ups

    A 500gb 7200.4 seagate drive just arrived, and I'm intending on cloning the 500gb 5400rpm stock drive in my 15" 2.8ghz unibody MBP to the 7200.4 (attached in a 2.5 SATA USB enclosure), and then using the 7200.4 as the main drive, once I've found time time to install it internally. Once I've done that, the 5400rpm stock drive will be used for regular back-ups via completely cloning the upgraded internal disk.
    I have CCC installed, but I've rarely used it, and I've noticed that the OS X disk services appears to have a 'create image' option. And then there's Time Machine, which I know very little about. The most important thing is that I need a bootable disk which, in theory, could simply be installed in a new machine and I'll be right where I left off. Which is the best back-up tool for this?

    Hi Neil,
    I have CCC installed, but I've rarely used it, and I've noticed that the OS X disk services appears to have a 'create image' option. And then there's Time Machine, which I know very little about. The most important thing is that I need a bootable disk which, in theory, could simply be installed in a new machine and I'll be right where I left off. Which is the best back-up tool for this?
    CCC is a very good tool for what you gave in mind. SuperDuper http://www.shirt-pocket.com/SuperDuper/SuperDuperDescription.html is another one in the same league.
    Time Machine is a good backup tool, since it backups once the complete content of your OSX harddisk and further on only the changed files.
    It can also be used the restore the OSX but for this you have to boot from the OSX DVD.
    To me using CCC or SuperDuper would be exactly what you are looking for:
    Making a bootable clone onto your external HD, from which you can either boot-up your Mac or simply reinstall the external HD in your Mac.
    Regards
    Stefan

  • Suggestions about the best tool for quality check for an ADF application

    Hi All,
    I need a few suggestions about the best tool for quality check in our ADF applicaiton.
    ours is a small size WebCenter Portal application which neither uses any task flows nor consumes any portlets.
    It has many jspx pages that use ADF components like table etc, consume web services using web service clients, and has some java classes.
    We have come across below option to implement the code quality tools.
    1. Jdeveloper inbuilt Staus option in View tab
    2. PMD extension for Jdeveloper
    3. Red Samurai
    Few more suggestions or best practices would be really helpful.
    Thanks,
    Usha

    Some general ADF / Webcenter coding standards -
    http://umeshagarwal24.blogspot.com/2012/06/adf-coding-standards-check-points.html
    You can use JAudit as well as mentioned in the blog.

  • The Best Tool For Multiple Animated Objects

    Hi,
    I am expirimenting with Flash Web Sites, and I would like suggestions as to a starting point for my project, and I am assuming a Flash website is where I would start.
    Basically, If I were to open up a web page, I would like to see multiple animated objects.  For example, if I were to simulate an Emergency Room, I would have an EKG displaying a heart rate, then perhaps see a breathing maching apparatus moving up and down, a Drip bag (sorry, don't know the real term), dripping into a patient's tube.  And of course, if I were to roll over an object it would animate, and if clicked on more animation or on to another page.
    I tried creating the animated objects in Fireworks, and I thought I could combine various Firworks files into one, but it didn't work (too many frames), either becasue I lack the knowlege of how to do this or simply it cannot be done that way in Fireworks.  I had a background with one animated flashing object (that was easy), but combining multiple independent objects, I could not figure it out.
    Someone suggested that I would have to use Action Scripts, which made me realize, I don't know the best way to accomplish my example above, and although I know I may be over my head, I would just like to get direction as to where I should begin.
    Should it all be in Flash in the first place?  To continue on with the example above, after a user clicks on the rollover image, a girney comes rolling in and we are giving choices on a monitor with what our next actions should be, which would take us into another page.  (this is just to give you perpective of what I am trying to accomplish).
    Should I create independent animated objects (files) in Fireworks, then somehow import them into their specified location in Flash.
    I hope this makes sense and I am hoping someone is kind enough to provide a starting point.
    Best.

    Flash is the best tool for what you want and most of it can be done once you get a handle on the basics.
    For you interactivity (rollOvers / triggering more animations with mouse) you will need some actionscript but don't get hung up on that now.
    There is a world of info out there. Google "animation basics in flash) you may have to weed through some garbage but you will find what you are looking for somewhere.

  • Is Business Manager the best tool for our company?

    I have a number of quesitons to answer to figure out if Busienss Manager is the best tool for our company. The ONLY reason we are pursuing changing from individual accounts is that Share Screen has been removed from some of our accounts with the latest Skype update.
    Can we port existing Skype account names to Business Manager?
    Will Skype contacts be kept?
    Is 'Share Screen' part of Business Man.?
    Is it east to add and delete user accounts in Business Manager?
    What are the admin issues?
    Can more than one person be the administrator? Is it easily transfered?
    The Business Manager literature refers to credit allocation, tracking and reporting as a benefit of Business manager. Credit is not a concern for our company as we seldom use Skype to call phones. What are the other benefits of Skype business Manager?
    Thank you for your time and help.

    Up until a few weeks ago I would certainly reccomend Skype, but my advice is for youy to look for another company.
    Skype doesn't care about it's business customers, I and others have been trying to buy credits for week but the system is broken with no fix in sight, I was told it would be fixed by the end of the week, it hasn't been!!
    Read for yourself then go look for another phone provider, Skype is not responsive to business customers!
    http://community.skype.com/t5/Skype-for-business/As-a-manager-I-am-unable-to-purchase-skype-credit/t...

  • Is Dreamweaver the best tool for building HTML?

    Just wondering if Is Dreamweaver the best tool for building HTML? What are your thoughts?

    DW is an industry standard, pro-level software.  It can do as little or as much as your coding skills allow for. It supports modern X/HTML, CSS, JavaScript, XML, PHP, ASP & ColdFusion.
    Unlike plain text editors (NotePad), DW has powerful site management tools to assist you.  And it is very well supported by 3rd party extensions to enhance your productivity.  If you're serious about web development, you won't go wrong with DW .
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • What is the best tools for analyzer VoIP

    I need ur help, i looking the tool helps analyzer VoIP in WAN/TDM. What is the best tool for Cisco System or wich recommends.
    Thxs!

    Hey turbot,
    Thanks for contacting National Instruments support.  Each set of the vis you mention are the latest, and some use similar methods to do the FFT than the other.  The SMT is usually the best in most applications.  There is also another option in the case of scope, you can fetch FFT data from the driver.  The FFT is not actually implemented in hardware, but in the driver, and this is transparent to the user.  It's simpler to use, but not as efficient as the SMT.
    I hop this answers your questions.  Let me know if I can be of further help.
    Regards,
    Kenn North
    Senior Product Manager - Search, Product Data
    http://ni.com/search

  • What are the best tools for converting .shg files to HTML image maps?

    After trying several different ways to import our WinHelp
    project into RH HTML, I'm left with recreating the project in HTML.
    There are over 200 .shg files. What's the best tool for converting
    them? Is there a free program that converts them? Or is there a
    better way?
    Lacona

    Yes, I have not been able to import the .hlp file, which was
    my last posted question/issue. I have tried creating a Microsoft
    HTML layout in RH4 Word; it begins to compile and, somewhere in the
    process, just freezes. I've tried importing the .hlp file into RH
    HTML; same result. I've tried creating a new HTML project with the
    .hlp file; same result. If I could import the file, it'd be great.
    Otherwise, I'll need to recreate the entire project, which brings
    me to converting the .shg files. Any ideas?

  • Database - Best tool for making report

    Hi everybody,
    We're developping an application with HTML-DB. Our users want to extract some reports.Those users are used to work MS-Excel to make reports.
    My question is what is the best tool for producing this kind of reports ?
    Is it with HTML DB (report), Discoverer or Oracle Reports ?
    Thank you. Bye.

    The answer, as with all of ORacle's products, is "It depends".
    Oracle Discoverer, once set up, is very easy to use as a 'developer' and as a 'report recipient' across the web. Looks and feels like Excel. Personally my first choice for a medium user to power user level from a 'create reports' perspective. Prepare to have a Disco Administrator, but that is usually a 'power user' rather than an IT guru.
    Oracle Reports is much more powerful, useful for high-end reporting and control of reporting such as multi-bursting to individual printers, caching, PDF and CSS generation - but it requires a person who is interested in becoming competent at reports. It's also a bit of a bear to set up.
    A lot of reports can be accomplished using SQLPlus or iSQLPlus. Too many people are not aware of the power of the environment and end up going for high-end tools when SQLPlus will do.
    HTMLDB is OK and designed to be simple. I haven't used it much, so I'm the wrong person to comment.

  • I've only had my iphone 5s for a week. I keep getting an error message of "Server has stopped responding."  I need the server to work. Does anyone know if there is a "fix" for the problem? Other wise, I probably best return for a refund and get a Samsung.

    I've only had my iphone 5s for a week. I keep getting an error message of "Server has stopped responding."  I need the server to work. Does anyone know if there is a "fix" for the problem? Other wise, I probably best return for a refund and get a Samsung.  Thanks

    sandyzotz wrote:
    Other wise, I probably best return for a refund and get a Samsung.
    Unlikely.  Based on the complete lack of detail of the issue provided it is entirely possible the same issue would occur.
    Unless and until the user provides some actual details of the problem, there is nothing the indicate that the issue is with the iPhone.

  • Best tool for reports generating..

    Hi, i want to know which one is the best tool for generating Reports, pls tell me any for help me sir...
    that cani access through browser...?
    Thank you.

    For dealing with duplicates in iPhoto check out iPhoto Library Manager Duplicate Annihilator Decloner or iPhoto Duplicate Cleaner 

  • Best tool for removal of duplicate photos

    What is the best tool for removing duplicates from iPhoto?

    For dealing with duplicates in iPhoto check out iPhoto Library Manager Duplicate Annihilator Decloner or iPhoto Duplicate Cleaner 

  • Whats the best software for photo editing and creating product catalogues that can be saved as PDF's

    Whats the best software for photo editing and creating product catalogues that can be saved as PDF's

    You are asking two different questiions:
    1. What's a good photo editor? Answer to that here is probably obvious.
    2. What's a good desktop publishing/page layout program for creating PDF files for production? Answer, not PSE. It's a photo editor, not a page layout program.

  • What's the best App for downloading, editing and saving Microsoft Excel spreadsheets please?

    What's the best App for downloading, editing and saving Microsoft Excel spreadsheets please?

    You can have a look at Quickoffice
    http://i1224.photobucket.com/albums/ee374/Diavonex/74fb0e85.jpg

  • Best tools for profiling flex 3 application?

    What are the best tools for profiling flex 3 applications?

    What are the best tools for profiling flex 3 applications?

Maybe you are looking for

  • Any ideas on how to speed up iTunes downloads??

    I've been attempting to purchase episodes of TV shows and have noticed that the download times are often quite a bit longer than the actual shows. A 44 minute TV episode recently took nearly 2 hours to download. The problem is not due to my ISP or mo

  • Taiwan bank key missing

    Hello, For Taiwan vendor i dont have any bank key communicated, as it doesn't exist for Taiwanese banks (is this assumption correct?). If so,  what's would be the best solutions among the 2 options mentioned below and the impacts. 1. can i use the sw

  • There was an error in the itunes store.

    We could not complete your iTunes Store request. The requested resource was not found. There was an error in the iTunes Store. Please try again later.

  • Program no longer editable after task manager close

    Gurus of Labview, I recently started messing around with event structures and I created a program where I inadvertently created an infinite loop condition so the program had to be stopped using abort execution. Unfortunately, abort execution did not

  • Ipad 2 unable to update or restore 1671 error

    I have an IPAD2 32 GB with 4/5 GB of free space. Have had a very slow keyboard and had done a reset a few days ago with no problem/ Software was up to date as of this morning 8.3. Did a reboot because of the continuing slow and delay issues with the