batch render 300x195 How to batch render and stretch in Sony Vegas 11 Pro

Selecting batch render in Sony Vegas Pro

If you have prepared regions in a video which you wish to output as individual files Sony Vegas Pro has a simple script called “Batch Render” that will do the dirty work for you. However it won’t stretch to fill video for you and if this is a requirement then you need to change the script.

Research reveals Vegas Pro versions before 9 would handle stretching to avoid letterboxing too. However the default installation no longer does. This is how you do it:-

  1. Locate the script directory (usually C:\Program Files\Sony\Vegas Pro 11.0\Script Menu)
  2. Make a copy of “Batch Render.cs” and call it “Batch Render Stretch.cs”
  3. Open the new file in a text editor and find the two lines that begin “args.OutputFile =”. You will find them around line 97 and 106.
  4. Create a new line below them and add “args.StretchToFill = true;” (without the quotes (see below)
  5. Save your changes, refresh the script listing in Vegas and use the new script to render files as before but use this new script instead
  6. After your changes the code should look something like this:-

    if (RenderMode.Regions == renderMode) {
    	int regionIndex = 0;
    	foreach (Sony.Vegas.Region region in myVegas.Project.Regions) {
    		String regionFilename = String.Format("{0}[{1}]{2}",
    				filename,
    				regionIndex.ToString(),
    				renderItem.Extension);
    		RenderArgs args = new RenderArgs();
    		args.OutputFile = regionFilename;
    		args.StretchToFill = true;  // <------------ Add this line
    		args.RenderTemplate = renderItem.Template;
    		args.Start = region.Position;
    		args.Length = region.Length;
    		renders.Add(args);
    		regionIndex++;
    	}
    } else {
    	filename += renderItem.Extension;
    	RenderArgs args = new RenderArgs();
    	args.OutputFile = filename;
    	args.StretchToFill = true;  // <------------ Add this line
    	args.RenderTemplate = renderItem.Template;
    	args.UseSelection = (renderMode == RenderMode.Selection);
    	renders.Add(args);
    }

    If programming’s not your thing you can download a copy of the script ready-made by clicking here.

    If you’re interested in programming Vegas this is a good starter video:

 

I moved to the kitchen but I still could not play this video.

wrong location 300x188 Peter Sellers Biography   The Wrong Location

The Wrong Location

He is not Being There, dammit.

 

My Wife’s diary (Click to see full size):-

missing thursday 275x300 Where has next Thursday gone?

Where has Thursday gone?

We are considering how to use the extra day, or have we lost a day?

 

DARK SIDE OF THE LENS from Astray Films


Watch this video. Credit is not given to the author or the main part and that’s characteristic of the artist who made the film. He is in it for himself, not money, not fame.

It looks like the west coast of Ireland, perhaps the Cliffs of Moher. He clearly makes the most of a stunning coast where ever it maybe. I lived in Ireland for three years, three of the happiest years of my life.
06 27 2005 11 08 29 AM Cliffs of Mohir 001 300x225 Dark Side of the Lens

Update!
I may have found his blog. Take a look.

Grrrrr…
I wanted to share this video to FB but the video site offers only a single pointless thumbnail and a stream of text telling everyone how wonderful their service is. Well stuff them.

 

I came across the article Countries That Don’t Use The Metric System and found many of the comments entertaining, this is one of my favourites:

favourite comment of the day Do they teach Metric in the USA?

I didn’t realise the metric system was so wide spread, once English is spoken in the same amount of countries we Brits can claim one-all with the French.

 

Did you know Adobe pre-loads itself each time you start your PC with the default installation?  This presumably so when you call upon it the results appear fast, make them look good.

Capture 300x195 How to open PDF files without Adobe ReaderIn the mean time other applications fighting for memory are robbed of this resource.  If you are not a heavy user of the reader then the overall effect is to slow your productivity.

They also add a bit of code that checks each time you tart your PC to see if they have any new updates so frequent interruptions to update their sloppy application is necessary too.

I have been using Adobe Reader a couple of times a month but had as many as 20 requests to update it.

Adobe Reader is slow to load (even with its pre-loader) when compared to Foxit and Nitro PDF Reader so I find it difficult to see why so many of us promote their free reader over other free readers.

My preference is for Nitro, it looks better, has the functionality I want, is not supported by ads or any other interrupting messages and works on the same principle as Adobe, if you like it and want more features there is a pro version.  Take a look at something new and rid yourself of the slow performing Adobe Reader here: http://www.nitroreader.com/

 

One of my facebook contacts, Rebecca Skloot, author of The Immortal Life of Henrietta Lacks (which appears to be winning every award imagineable) unsurprisingly hit facebook’s maximum friend limit. To continue she must move to a fan page where there is no limit, but this means losing the comments, photos and videos and they cannot be copied across.rbs1 How to convert a facebook account to a fan page

Initially facebook told Rebecca she could not download these items, but there is a way through the Accounts link:-

Account -> Account Settings -> Download your information

The file contains everything you uploaded to your account (so could be quite big).  They organise the contents in folders and link them all up with ready to use web pages.

While this cannot be uploaded to facebook it can be uploaded to any other webspace and visible to the entire Internet community.  You should remove your email address and the messages for security reasons (more on this below).

This will allow you to share the information created on your account with your new fans.  They will be able to link to it or discuss it in almost the same way as if on a normal facebook page.

It is not the perfect solution but it is all we have right now.  In time facebook may create a tool to handle this so I don’t think there is commercial viability for an independent software company to create one, besides facebook is in a state of constant change so the effort would be wasted.

What would it look like?

Here’s mine:  http://www.martynwalker.com/fb/html/profile.html

You will see I removed the Messages section and my email and phone numbers.  If you do not know how this is done you have a few choices.  In terms of web page development this is easy and requires no particular skills.  If you have an 8 year old son or daughter they will probably know what you need to do.

If you have a web friendly friend who charges $100/hour this should cost a nickel.

Alternatively Google/Youtube “HTML Tutorial” and you will find some self-help options.  The following video demonstrates how to edit the pages but if you need help on uploading them you will need to check with Google again.

(Best seen maximised or in HD direct from Youtube http://www.youtube.com/watch?v=dgPXFiX5z_w)

 

In my office I have three computers, all running Windows 7, all three under a year old. Two have speaker systems connected, the other is a laptop. They all suffer from fluctuating volume and it’s driving me nuts. Every week or so I spend a few hours researching other peoples experience. It seems I am one of many thousands sufferring this issue.

Solutions for some people do not work for others. images Windows 7 Volume Fluctuations While Playing MusicThe fact that some people have found solutions and I cannot just makes the entire fiasco more frustrating.  Add the time spent trying to sort this and multiply that figure by the minimum wage by the number of people experiencing this issue and there’s a good chance the UK defecit could be covered by the extra revenue in taxes.

Here are a few of the solutions I have tried that have worked for other people:

  • Reinstalling sound card drivers
  • Rolling sound card drivers back (I worked my way through to the originals)
  • Selecting “Do Nothing” in Control Panel -> Sound Card Settings -> Communication tab
  • Kicking the cat (at least the volume was consistent for a few seconds)

If you know the secret and wish to share I will pay you $10 via Paypal if it works, that should be enough to cover a pint (unless of course you are in the UK and a budget has just raised the price; thanks Gordon, you did for finance what Herod did for the Bethlehem Playgroup Association).

Enjoy your day!

 

Time for a new TV in the bedroom. While I am not an inbetweeners fan, strictly come dancing and lady gaga are both welcome to fall asleep to (one through bordom, the other through anticipation).

I remembered a friend saying I should try Play.com so I ventured to their TV pages. With over 500 TV’s on offer I decided I would filter by screen size and set a maximum price. After 20 minutes of wondering around their site looking for the sort and filter device it was clear they do not have one. I read the help (well scanned it) and checked their facebook page. Eventually a google search revealed many people asking for the same – and some people claiming they have them for some products.

With so many TV’s on offer I am surprised they do not setup a sort and filter feature. Amazon offer it so I will go order it from them instead. Play.com loses my business because they have not created a sort and filter feature for their TV sales page.

play tv1 Where are the sort and filters at play.com?

 

This morning my phone rang.

“Hello, Martyn speaking” I said in my posh phone answering voice.
After a seconds silence I hear a click and a thick accent begins to speak, what it said at first I am unsure but it sounded like “Hello, are you home right now?” It was definetly a question.

“What?” I enquired and yet more garbled words in response, this time it sounded like “Hello, am I speaking to the person who owns the phone?”.

“Who the hell is this and what do you want?” I politely enquired.

Click! The phone went dead.

Whoever this guy was he was behaving like a dick.  No stomach for an argument.  Or so I thought…

About an hour later the phone rang again.  I suspected it was the same guy because in the last 10 years I have only ever received one call from someone without a CLI, and that was about an hour ago.  So primed for another call from this guy who forgot to mark my number down as “hostile” I answered.

“Hello, Not the Association of Chief Police Officers, how may I help you?”  I said, and yes the same accented garbled message began, the guy completely missing my welcome message. I turned the fan off and moved to a quiet area of the office so I could get what this guy was actually saying.

“Do you own the phone sir?”
“What?  This one, the one you called me on?”
“Yes sir, are you speaking from your own phone?”
“What are you accusing me of? Do you think I nicked it?”
“Oh no sir! I am sorry, I didn’t meaning to have misleading you!”

I am pissed off with this time waster now, his grammar and accent are really beginning to bug me (call me xenophobic if you must but by now I realised this was turning into phone spam).  So I interrupted his flow of apologies.

“What do you want?  My phone or what?”
“Sir, I am just wanting to ask you [garbled words again]“
“Can you speak clearly please I cannot make out what you just said”
“Sir, I am just wanting to ask you [garbled words again]“
“Chrissakes man! Who do you want to speak to?”
“The owner of the phone you are using”
“What is his name?”
“I don’t know” and before I could say anything else he rushed into his pitch
“We are taking surveys today and I would like to be asking you some questions, is that ok?”
pea whistle Phone spam, Arrrgh! I thought this stuff stopped in the 80s!“No it damn well isn’t you twonk, not unless you take the time to learn English.  Now do yourself a favour, take the number you just dialled off your calling list because the next time you might not find me so pleasant”

‘Click’

Remembering what my ‘ol grandma once told me I dug around in the kitchen man-draw and found my pea-whistle.  Oh how I look forward to his next call.

© 2011 Martyn Walker | Software Architect | Hiker And Hacker Suffusion theme by Sayontan Sinha