Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Saving Compression Settings?
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
ElliottG
Posted: Jun 19 2011, 11:31 PM


Newbie


Group: Members
Posts: 4
Member No.: 31811
Joined: 19-June 11



Hi

I'm trying to set up a batch file that will automatically compress files using DivX or Xvid after the video has been recorded (this is being used for TV show recording).

The problem I'm having is that I don't know how to set up the command line batch file to have it use the DivX or Xvid settings to compress. It seems that is only possible to do in the actual VirtualDub program itself. Saving a .vcf file does not save the compression settings!

So how do I save the compression settings and put it to use in my batch file?

Secondly, using /p, how can I make it select ALL files in a folder, rather than having to select only one every time?

Thanks,
Elliott
 
     Top
phaeron
Posted: Jun 25 2011, 08:26 PM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



The .vcf file does contain the compression settings. They're encoded in a big string in the SetCompData() call.

To process a directory, use /b instead of /p.
 
    Top
ElliottG
Posted: Jun 26 2011, 01:17 AM


Newbie


Group: Members
Posts: 4
Member No.: 31811
Joined: 19-June 11



Thanks a lot for the reply.

How come my settings are not being saved when I make the vcf file, then? It appears that it is using some other compression settings and not the ones I chose when I saved the file.
 
     Top
dloneranger
Posted: Jun 26 2011, 01:42 AM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



Are you using vista or win7, have uac turned on and are saving the vcf to somewhere different than your documents folder ?

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
ElliottG
Posted: Jun 27 2011, 12:53 AM


Newbie


Group: Members
Posts: 4
Member No.: 31811
Joined: 19-June 11



QUOTE (dloneranger @ Jun 26 2011, 01:42 AM)
Are you using vista or win7, have uac turned on and are saving the vcf to somewhere different than your documents folder ?

I'm on Windows 7. Virtual Dub is in a folder on my desktop and I am saving my vcf files directly to my desktop, not in the same folder. I have UAC turned off.

On a separate note, every time I try to compress a file with Xvid or DivX, the finished file is like always 2x larger than the original file. I don't know what the hell is going on. Audio is set to mp3, and I am setting the video compression at like 400-500 bitrate.

What am I doing wrong?
 
     Top
dloneranger
Posted: Jun 27 2011, 05:22 AM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



Hard to say without more info

What's the file information say in virtualdub about the origional and the finished versions?

If you liked, on win7 you could use it's problem recorded to give a walkthrough of the steps you follow
Type "record" (without quotes) in the start menu's search box, on the list you should find "record steps to reproduce a problem", record what you do, then upload the file to somewhere like multiupload.com, and post the link to the recording here



--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
ElliottG
Posted: Jun 28 2011, 11:13 AM


Newbie


Group: Members
Posts: 4
Member No.: 31811
Joined: 19-June 11



Cool didn't know about that feature. OK I recorded it and on the page you can see the file size of the original and the projected file size of the "compressed".

http://74.52.147.194/~devilthe/uploads/1309264243.zip

Thanks again!
 
     Top
dloneranger
Posted: Jun 28 2011, 01:55 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



QUOTE
Cool didn't know about that feature

Yeah, it's pretty well hidden for being so useful

-

I can see from the recording, that you missed picking a bitrate

After selection the mp3 codec, you MUST pick one of the bitrate items that appear on the right hand side
Otherwise you'll end up with pcm audio (uncompressed) instead which is much larger

You can check with a finished file, by opening it in virtualdub, and then checking the file information on the file menu


You might want to try the lame mp3 encoder (link is in my sig), it's generally considered as a good one

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
ale5000
Posted: Jun 28 2011, 02:31 PM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



QUOTE (ElliottG @ Jun 27 2011, 01:53 AM)
I have UAC turned off.

Working with UAC turned off can cause weird behaviours in some cases.

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
freedomdwarf
  Posted: Jul 28 2011, 01:06 PM


Advanced Member


Group: Members
Posts: 119
Member No.: 30166
Joined: 7-March 11



@ dloneranger -
QUOTE
You might want to try the lame mp3 encoder (link is in my sig), it's generally considered as a good one

I have several audio editing tools (Goldwave, Cooledit pro etc) and they always complain about Lame being installed on my system when I run them (Warning: known to cause errors) and I have to uninstall it or I can't save in MP3 format.

32-Bit Windows XP Pro SP3.

--------------------
Sometimes, intelligence means the obvious flies over your head!
 
       Top
dloneranger
Posted: Jul 28 2011, 01:46 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



Strange - that's another 'freedomdwarf' problem that nobody else seems to have


--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
dloneranger
Posted: Jul 28 2011, 01:50 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



What's weirder is that on the goldwave faq page itself it says
QUOTE
If you need to work with MP3 please note that the LAME MP3 encoder may be required.


--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
freedomdwarf
Posted: Jul 28 2011, 02:03 PM


Advanced Member


Group: Members
Posts: 119
Member No.: 30166
Joined: 7-March 11



Yeah I know - that's what is so puzzling! lol.

--------------------
Sometimes, intelligence means the obvious flies over your head!
 
       Top
dloneranger
Posted: Jul 28 2011, 02:25 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



Um, are you by chance a 'problem power user' ?
No offence meant, but there's a certain type of person that always seems to have strange and bizarre problems
When I go over to fix their pc's you can usually spot the warning signs

Lots and lots of micro-management 'utilities'
Registry cleaners, speedup tools, system optimizers, more defraggers than you can shake a stick at, process monitoring and 'tweaking' tools (like process lasso)

99% of the time the problem is with what they are doing or have done with these tools

(There's a tool on microsoft's site for forcing OS version numbers for apps - it's meant for developers to check backwards/forwards compatibility, but some enthusiastic people have downloaded it and found new and exiting ways to screw up their apps)

What I'm trying to say is, *possibly*, as you seem to be having so many extremely strange problems, *perhaps* you might be doing/have done something that's the cause?
You could try installing xp into a virtual machine, and see if the problems persist - then you'd know if it's just your pc, and time for a re-install, or a more general problem

See, the reason I suspect it's your pc is that the problems are so bizarre, even down to which specific versions of virtualdub work - even when there has been no changes (in the versions) to do with what you're having problems with
eg job control lists

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
13 replies since Jun 19 2011, 11:31 PM Track this topic | Email this topic | Print this topic

<< Back to Advanced Video Processing