it seems the real pro filters always use avisynth, but it's just too much for me. avisynth is not noob friendly, even the gui only does limited things, so the avisynth exclusive tools have been unavailable to noobs like me.
are there any TempGaussMC implementation/port for other video editors?
my main tool is still virtualdub, I haven't looked into this software category in a long time, so I don't know if there are new video editing tools that offer a user interface with the same capability and are more updated than virtualdub. if there is, let me know thx
right now I want to deinterlace video game footages from standard AV cable USB capture card
sample video here
http://www19.zippyshare.com/v/68046660/file.html
the builtin deinterlace filters in virtualdub are not bad, but they are not great either. I really want to try the more advanced filters and compare the results side by side. what do I do?
+ Reply to Thread
Results 1 to 30 of 39
-
muffinman123Guest
-
muffinman123Guest
any other software? by looking at the name of the software, I assume it's xvid specific, but I want to use x264 encoders. are there any virtualdub replacements?
-
-
-
I don't use AviDemux. Maybe jagabo or someone else knows.
I think it's kind of an apples to oranges comparison with AviDemux having more pure editing capabilities and XviD4PSP being able to convert to more different formats for more different devices. Some prefer one, some the other, some use both, and some use neither.
You originally asked about a 'noob-friendly deinterlace filter' and I suggested an easy-to-use program that makes available the best deinterlacers. Maybe the time has come for you to try out some of these programs and see which you prefer.
-
For easing yourself into learning AVISynth I think MeGUI is one of the best programs to use. It indexes the video and extracts the audio, then creates an AVIsynth script for you which it uses to encode the video. Or once MeGUI has created the script you can even open it with VirtualDub and work with it as you would if VirtualDub had opened the video directly.
MeGUI has a preview function which easily allows you to see the changes you make to a script. It can add basic filtering such as cropping, resizing and de-interlacing for you. It also has an AVS cutter with a preview to allow you to add cuts to a script before encoding, effectively editing the video in a similar way to the way you'd edit with VirtualDub before encoding.
Admittedly MeGUI might have a bit more of a learning curve than other encoder GUIs (no doubt more so than a program such as the one manono suggested), but once you have your head around it, you can modify scripts yourself and learn more about using AVISynth as you go.
When I'm encoding video (mainly DVD and Bluray) I often create several scripts (different resizing and noise filtering etc), open each with a separate instance of MPC-HC, and run them full screen on my TV while switching between them for comparison before encoding. The script which gives me the result I'm most happy with is then loaded into MeGUI for encoding.
Anyway.... just a suggestion if you're interested in playing around with AVISynth more. These days if video needs de-interlacing I pretty much always use QTGMC to de-interlace it to the full frame rate (ie deinterlacing PAL to 50fps progressive or NTSC to 60fps progressive etc). The result is much smoother playback than 25 or 30fps progressive. MeGUI can also add a couple of de-interlacing filters to a script to de-interlace the same way, but while it's still much better than de-interlacing to 25 or 30fps progressive, QTGMC does a better job. Unfortunately though, MeGUI doesn't come bundled with QTGMC and can't add it to a script for you as xvid4psp can.Last edited by hello_hello; 27th Jul 2013 at 02:15.
-
muffinman123Guest
holy crap xvid4psp looks impossible to use. is there a tutorial somewhere on using the scripts and basic stuff?
my videos are in huffyuv right now, I guess what I will do is apply the qtgmc filter, and save the files in huffyuv again? eventually I want to save everything in x264, but I am not used to the xvid4psp interface. -
I count six at the bottom of the XviD4PSP page, just above where the comments begin. You don't have to use any scripts. Just open your AVI directly.
eventually I want to save everything in x264... -
If you want to try MeGUI.....
Install AVISynth. I just use the standard version which is 2.5.8, but if you want to use the multithreaded version you can.
Download the required QTGMC files from here: http://avisynth.org/mediawiki/QTGMC
You want to download the file from the link labelled "Download 3.3.2 with English instructions". You also need to download the "plugins package with all requirements". Inside the plugins package there's an AVISynth 32 bit plugins folder. There's instructions too but basically most of the files need to be copied to the AVISynth plugins folder. If you're using AVISynth 2.5.8, also copy the file in the 2.5x Plugins folder. If you're using AVISynth 2.6 MT, copy the file in the 2.6x Plugins folder instead.
There's a couple of files in the "32 bit system dlls" folder along with a text file telling you where to put them.
In the QTGMC-3.32.zip file there's a file called QTGMC-3.32.avsi. That also needs to be copied to the AVISynth plugins folder. That's AVISynth and QTGMC installed.
To create a script with MeGUI use the File/Open menu to open the video. MeGUI should offer to index it and/or extract the audio. Add the indexing job the queue, switch to the Queue tab and run it. If it's a large uncompressed file it'll probably take several minutes. When it's done the AVS Script Creator window will open with a preview. Use it to set up any desired cropping and resizing etc (optional). When you're done, switch to the Script tab.
(The following runs QTGMC in single threaded mode. I've never run it in MT mode so I won't try to post instructions as I can't check them. Maybe someone else can)
In the script tab you'll see lines like this:
#deinterlace
#crop
#denoise
#resize
If you enabled cropping the #crop line will have be replaced with the actual cropping and the #resize line will have been replaced with the resizing etc. You need to manually replace the de-interlacing line with QTGMC. To use it with it's default settings you simply replace the de-interlacing line with this:
QTGMC()
The video will be de-interlaced to either 50 or 60 fps progressive.
If you want to de-interlace to 25 or 30 fps progressive, add this instead (two lines):
QTGMC()
SelectEven()
Finally, use the Preview AVS Script button at the bottom of the Script Creator window. If everything's been done correctly, you'll see the video change to reflect any cropping and resizing and it'll be de-interlaced. If MeGUI gives you an AVISynth error, most likely you'll need to go back and work out what you did wrong when installing QTGMC. You can use the preview window to play the video but with QTGMC de-interlacing it'll probably be slower than real time. That wouldn't be unusual. QTGMC is slow. Especially in single threaded mode.
Save the script and the Script Creator window will close and it'll be loaded into MeGUI's video section for encoding. Not that you need to encode with MeGUI if you don't want to. You could just as easily open the saved script with VirtualDub and use it to encode the video instead. You could even add any extracted audio using VirtualDub, edit the video as you normally would, then encode it.
PS If you manually add something to an MeGUI script in the Script Creator window (ie QTGMC) and then change something using the GUI such as resizing or cropping etc, MeGUI will completely re-write the script and you'll have to re-do any manual changes.
MeGUI itself can take a bit of time to get to know fully, but the above instructions should hopefully get you started.
If your original video happens to be AVI and MeGUI has trouble opening it or indexing it, use MKVMergeGUI to remux the AVI as an MKV and open the MKV for re-encoding instead.Last edited by hello_hello; 28th Jul 2013 at 05:29.
-
muffinman123Guest
just wondering, is a 30fps video smaller than a 60fps video? I mean it has half the amount of frames right? so naturally the video should be smaller?
-
Not 'naturally' at all. The size is determined entirely by the length of the video (unchanged) and the bitrate. The number of frames has absolutely nothing to do with it. So, half the framecount of the same video of the same length at the same bitrate gets you the same file size. Now, if you're asking something like, "If the framecount is halved, would I get the same quality by also halving the bitrate?", then maybe, if the source is interlaced, that might be closer to the mark.
-
muffinman123Guest
but say we have 640 x 360 wide screen progressive videos, each frame takes at least that many pixels, and then you have like 60 frames per second and stuff.
if you remove half the frames, you will only have 30 frames of 640 x 360 pixels left.
of course there's also bitrate which is measured by bits per second, so same bit rate for 30 fps and 60 fps video, the video with 30 fps should look better, right? or is this completely different? -
Yes. But high compression video codecs get most of their bitrate savings by not repeating parts of the picture that don't change from frame to frame. With higher frame rates there's less difference between successive frames. So you normally don't see a 2:1 difference in bitrate (quality based encoding) or quality (bitrate based encoding) between 60 fps and 30 fps. When I've run comparisons it's more like 10 to 25 percent.
-
The x264 encoder is also frame rate aware, so if you use CRF encoding, de-interlacing to 60fps as opposed to 30fps makes much less difference to the file size than you might expect (same encoder settings and CRF value each time). Often, it only changes the file size by a few percent.
As a quick experiment I took a 2 minute section from an interlaced 4:3 DVD, cropped and resized it to 640x480 while de-interlacing with QTGMC. It de-interlaces the same way regardless of the output frame rate. If you de-interlace to full frame rate all the frames are kept. De-interlacing to half frame rate requires telling AVISynth to only frameserve every second frame after the de-interlacing is done. The resulting file sizes (default x264 settings, CRF18):
QTGMC
25fps = 29.1MB
50fps = 32.5MB
Same thing again, using Yadif instead:
25fps = 32.9MB
50fps = 33.8MB
Of the above encodes, QTGMC at 50fps easily looked the best. I opened the 25fps and the 50fps versions side by side and even when stopping each on identical frames I'm not seeing a huge difference between them.
You can also try taking a video... say 25fps.... and re-encoding it, then re-encoding it a second time.... say at 23.976 fps (same number of frames). If you use CRF encoding, you'll find the file sizes will be slightly different even though each encode has exactly the same number of frames.
I re-encoded the above video using Yadif at 25fps, then a second time while adding AssumeFPS(23.976) to the end of the script. The output file size changed from 32.9MB at 25fps to 33.8MB at 23.976fps.Last edited by hello_hello; 29th Jul 2013 at 23:03.
-
muffinman123Guest
have some questions for the preset qtgmc options in xvid4psp
qtgmc
qtgmc baddeint
qtgmc derainbow
qtgmc derainbow dither
what are the differences between each of them? I know I could open each script and view them, but it's unlikely I will understand what's in there. google and xvid4psp sites don't explain any of the difference between them either.
I tried the default qtgmc script, and surprisingly the result video size was bigger than the interlaced video, I mean it's still huffyuv lossless video encoding, with same coding for everything, but it still god bigger than before.
hello_hello said qtgmc doubles the frame rate, but I checked it with mediainfo and the result video has the same 29.97 fps. why did it get bigger than before? -
You sure about that? I'm using a different version of XviD4PSP (older, I think) and I have fewer QTGMC choices, but the default one gives me twice the framerate. Some of the others do return the same framerate. However, if the 'FPSdivisor=2' line was added in your version, then you get back the original framerate. You can check the script.
Do you have, at the top, AviSynth->Edit Filtering Script? If so, can you copy and paste the script it generates?
Anyway, I thought the end result was to be an MP4 or MKV with x264 video and maybe AAC audio? Why make another HuffYUV AVI if you're just going to turn around and encode again?
The baddeint does additional smoothing to improve the look of a progressive source that's been poorly deinterlaced (or has aliasing). Derainbow tries to control rainbows (moire) by adding in a MergeChroma and Awarpsharp line, and with dither added adds back some grain (I think, don't have the dither one in mine).Last edited by manono; 31st Jul 2013 at 16:03.
-
muffinman123Guest
[QUOTE=manono;2257479] because I my videos are 16:9 recorded with a 3:2 capture device. I want to resize the video back to a 16:9 ratio, but I have to enter the script for xvid2psp.
https://forum.videohelp.com/threads/357793-batch-processing-in-xvid4psp -
You can easily resize in the same script. For example:
LanczosResize(624,352)
Just add this or a different resizer or resolution into the script. You can also crop, if necessary. Still no reason to save out another HuffYUV AVI.
http://avisynth.nl/index.php/Resize
http://avisynth.nl/index.php/Crop -
muffinman123Guest
so I saved the video in huff because I want to keep the deinterlaced but high quality original video in my storage. I saved it with huff codec in yuv space in avi container.
now the problem is I can't load this video in virtualdub at all. all I see is green screen (right video dimension, but that doesn't mean much). medicplayer classic can use the right decoder to watch the video, but I remember someone mentioned I need the right setting on the vfw for virtualdub. how do I do that? -
muffinman123Guest
not sure what you meant. I simply chose save in avi container in xvid4psp, default options, then open it with virtualdub, and I can only see green screen.
-
muffinman123Guest
if I open it with avisynth script, can virtualdub process it like are a regular video?
but I want to batch process the things, not one by one. avisynth scripts for 200 videos will be a pain.
what I did not understand was the part about avi source, I didn't get why resolution affect the green screen problem. it's only 720x480, shouldn't be a big problem
as I already mentioned, I want to keep lossless copy, and then keep a h264 copy at the same time. it's a preference thing. I do not want to explain my personal preference. -
Yes. That's why I suggested it. You could have tried by now. I don't know for sure, but my thought was that although opening the AVI directly gives you the green screen for some reason, frameserving via an AviSynth script might not.
as I already mentioned, I want to keep lossless copy, and then keep a h264 copy at the same time. it's a preference thing. I do not want to explain my personal preference. -
Often when people ask questions here they say they have a preference for doing something in a particular way. Maybe because they don't know there's an easier, quicker or better method etc, or maybe they don't provide enough information without playing 20 questions, and occasionally they don't know they've asked the wrong question in the first place.
It's true not everyone wants to explain their personal preferences to those offering help. Often questions are ignored, yet ironically the process of offering good advice often involves asking questions, repeating them, and then having to justify asking. -
muffinman123Guest
I think it's subjective on which kind of preference questions are asked. if it's about why I prefer 1 program over another, it's probably because I am more familiar with one than the other, so switching to the "quick and better method" may actually be the "longer and harder method" for me.
everything in xvid4psp just feels so sluggish. even opening a small video takes 5 seconds because of it does some pre-calculation to reflect approximate encoding information on the screen or something.
Similar Threads
-
Why/when to use codec friendly sizing in the VDub resize filter?
By brassplyer in forum EditingReplies: 2Last Post: 25th Oct 2012, 10:07 -
MPC-HC Transform Filter deinterlace question, searched form
By gOdiSOnyOuRsIDe in forum Software PlayingReplies: 3Last Post: 5th Mar 2012, 23:58 -
VirtualDub Deinterlace Filter yadif vs blend
By kreg in forum Capturing and VCRReplies: 1Last Post: 22nd Jul 2011, 12:42 -
Deinterlace filter for mencoder pp=lb not giving me what I need
By M3mbr4n3 in forum Video ConversionReplies: 3Last Post: 12th Apr 2011, 14:44 -
Weird problem when using deinterlace filter from VirtualdubMod...
By artyjeffrey in forum RestorationReplies: 12Last Post: 22nd Apr 2010, 10:11