Printable Version of Topic
Click here to view this topic in its original format
Unofficial VirtualDub Support Forums > Advanced Video Processing > Batch Processing Question


Posted by: rjisinspired Aug 27 2010, 11:14 PM
This will be the first time ever using virtualdub's batch processor.

Since I can't load a lot of AVC/mpeg4 videos I thought to resave them to huffyuv for working on but I am getting the feeling that the batch processor doesn't accept MP4 directly for saving out to huffyuv.

I just tried Any Video Converter instead of Vdub to process 72 clips to huffyuv and got rapid fail on each file attempt. The dinging sound kind of drove me a little crazy, lol.

I don't know if it is me or my programs. I know Vdub can import my mp4 files but I'm not sure it can through the batch processor?

Posted by: dloneranger Aug 27 2010, 11:24 PM
Just tried, and both methods of adding large batches work with mp4's here
That's
1)the batch wizard
2)the job control dialog. menu->edit->process directory

Posted by: rjisinspired Aug 27 2010, 11:35 PM
Getting errors on each file here. I'll stick to Vegas right now since I'm in it. Have to get this job done.

Posted by: dloneranger Aug 27 2010, 11:49 PM
Maybe this will work
http://rapidshare.com/files/415548570/VDub-KP-Version.zip.html

It's a modified version of virtualdub that I use
It works a bit differently with mp4, mov and directshow files (wmv, asf etc)

Posted by: rjisinspired Aug 27 2010, 11:57 PM
I'm afraid your version didn't work for me. The files just error out really fast.

In your version I saw in the list, the destination of the file ended with .avi. In the Vdub version they were .mp4.

Posted by: dloneranger Aug 28 2010, 12:04 AM
dang!!

there's something abut your system and mp4's..........

do you have graphedit? if you do could you post a screenshot of what happens if you drop a file into it

re: avi extension
one of the thing mine does is to change the save file extension to avi in the batch processes
saves renaming them later on

Posted by: rjisinspired Aug 28 2010, 12:09 AM
user posted image

Posted by: dloneranger Aug 28 2010, 12:13 AM
pdt ipp?????
all i can find out about that is that people have problems with it

try lowering it's merit with gspot or radlight filter manager to 'do not use' or 'unlikely'
mine shows ffdshow video and audio, and they work fine

Posted by: rjisinspired Aug 28 2010, 12:20 AM
I go to use radlight and when selecting "do not use" the rest of the codecs including Xvid shows as "do not use" I'm lost.

Posted by: dloneranger Aug 28 2010, 12:23 AM
You pick the filter you want to adjust in the list
change the merit drop down
click the set merit value button

(the drop down doesn't change automatically to show what each filters metit is - it's a bit crappy)

Posted by: rjisinspired Aug 28 2010, 12:23 AM
Looks likes files from the Flipshare application. They use intel? files.

Posted by: rjisinspired Aug 28 2010, 12:26 AM
What's another directshow filter changer? This one doesn't appear to work.

Posted by: dloneranger Aug 28 2010, 12:27 AM
Yeah, those are the ones
I hate 'our own special filters' and judging by all the 'trouble' posts on google, I guess other people hate them as well ;-)

I'm trying to send you an email at the moment.... but we're on bandwidth cap here till about 3am
meanwhile you might want to look at http://corecodec.com/products/coreavc

Posted by: rjisinspired Aug 28 2010, 12:29 AM
I disabled those filters with Nir Sofers program and now graphedit won't won't load the files. Hey at least I got them disabled :-D

Posted by: dloneranger Aug 28 2010, 12:31 AM
Check your ffdshow vwf configuration and make sure all the h264 etc you need are turned on

Posted by: dloneranger Aug 28 2010, 12:35 AM
If graphedit shows ok,
.....then try loading into my virtualdub

Just drop the mp4 onto my virtualdub, and it should automatically pick the correct plugin to use etc

Posted by: dloneranger Aug 28 2010, 03:04 AM
Just for anyone else reading

Problem's solved

Disabling the "pdt ipp" codecs that come with the flip hd software
Getting haali's media splitter working
Getting ffdshow video and audio codecs set for h264 + aac (or coreavc if you have it, for video)

And bob's the family relative of your choice cool.gif

Posted by: rjisinspired Aug 28 2010, 03:14 AM
Thanks for your help, time and patience Karl. Without Karl's help I would had been very lost. I hope to someday be able to help somebody else like this.


Posted by: bigrig Jan 19 2011, 08:57 PM
QUOTE (dloneranger @ Aug 27 2010, 11:24 PM)
Just tried, and both methods of adding large batches work with mp4's here
That's
1)the batch wizard
2)the job control dialog. menu->edit->process directory

Can I get in on the Karl help desk? cool.gif

I'm trying to batch process MP4s - using Directshow input plugin, to make a AVI with ffdshow Mpeg-4 compression.

#1 If I use the Batch Wizard, it shows the output file as .MP4 - can I just rename the extension to AVI on the output files?

#2 "Process Directory" actually works, thanks for the suggestion. I'm having issues with the compression, though - most of the output files are about 30% smaller than the original - but some are almost double the size of the original! This is with one pass, 85% Quality compression setting. I guess that's a separate issue from the batch processing, though.

Thanks,
Matt

Posted by: dloneranger Jan 19 2011, 09:30 PM
#1
Yes you can just rename the finished files to .avi
As far as I remember, this is in the list of 'things to be fixed' already (but I've re-reported it just in case)

#2
The problem you are seeing is due to using a quality mode
In this mode, the video takes as much size is it needs to reproduce it at (in your example) 85%

Now, you'd think that'd make the file smaller, but as you see, it can be larger
It can be extremely larger, if the source is very bad quality for example
Sounds odd, but if the source is low quality, and the codecs trying to reproduce a similar quality, it actually has to go to some efforts to 'accurately' reproduce the blockiness, and general awfulness cool.gif

For these, you're better off either (in no particular order)
1) Leaving them alone
2) Using filters to clean them up
3) Using a 'size' method for compression instead of 'quality'


Compressing interlaced video as progressive, without deintelacing it first, can also make larger files, as the codec struggles to reproduce all the combed lines
Use the deinterlace filter, or if that doesn't produce the correct results, see if the encoder you choose has an 'encode interlaced' option

Posted by: bigrig Jan 20 2011, 01:08 AM
Cool, thanks for the fast response!

I'm processing 1080P videos - they have an average bitrate of ~17 Mbps.

The max setting for the average bitrate compression is 10 Mbps, I tried it and it made the file about 40% smaller. I feel this might be too much compression... Any suggestions for compression settings? Would 2 pass help? Quantizer? Different encoder?

Thanks,
Matt

Posted by: dloneranger Jan 20 2011, 01:38 AM
Compression settings vary depending on the codec used - you haven't mentioned which you are using wink.gif

Settings will vary depending on the source video
The best way to check the finished quality is still by eye, % differences don't really mean a lot
eg a 40% reduction could mean either a) it's over compressed and bad quality now, or cool.gif the source was under compressed
If the finished video looks ok with the 40% reduction, then there's no reason to make it larger just for the sake of it
(of course, you could encode the same video with a variety of settings and then compare them, to get a feel for the differences)

x264 currently gives greater compression for a given file size
(depending on which version you use you'll have a few settings to play with, or pages and pages of settings)

2 pass generally is used for getting a file to hit an exact size
If you're using a bitrate based encoding type, you'll usually get better quality from 2 passes

Using the filters can change how much bitrate is needed
eg
the smoother filter, with the right setting, can reduce the bitrate needed, without visually compromising the picture (there's 101 smoothing filters... I like 2d cleaner personally)
msu smart deblocking, can work miracles on over compressed sources



In the end though, you'll end up with looking at the finished video to decide if it's over compressed


Powered by Invision Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)