[script] Proxy Stream

Rosebud wrote on 3/8/2008, 6:26 AM
Initially, “Proxy Stream” is to convert the media files of a directory (and can still be used for this task).
Then, I improved it to work with proxy files in a HD/SD workflow.

Download Proxy Stream

Edit: New version (1.5b) available for VP9:
-Proxy Stream 1.5b works with VP9 only (tested with VP10).
-Added ability to anable/disable Switches (Resample, Maintain Aspect Ratio and Reduce Interlace Flicker).
-Proxy files have same creation time and last write time attributs as source file. So you can use SVDTS script
from Paavo Jurvelin with proxy files ( see at http://www.elisanet.fi/paavo.jurvelin/)

Please report any bug you find.
In addition, since I’m not English, thx to tell me if there is some inappropriate words, expressions or syntax error in the interface.

Gilles.

How to use:

THE CONVERSION TAB.
The “directory” area is to select the source files (input) and the proxy files (output) directory.
The “Files to convert” area is to list the media located in the source files directory with one of the selected extension of the “Media Type” area.
The name of the Proxy file is based on the name of the source file + the new extension (for example, “Movie.mpg” become “Movie.mpg.AVI”)

THE SWITCH TAB.
This tab is to switch between the Proxy and Source files in a project.
Proxy and Source files must be stored in the same directory.



Comments

Marco. wrote on 3/10/2008, 4:44 AM
Gilles, again a very useful script, thanks for it!

I tested it with HDV and DV Widescreen as proxys and this worked well.

I find it is not only a useful proxy script but at the same time another kind of useful batch renderer because your script accesses Windows folders.

Marco
Laurence wrote on 3/10/2008, 12:12 PM
How do you use this script? I tried copying the files in the zip folder to the Vegas 8 script folder, but I don't see how to access them.
NickHope wrote on 3/10/2008, 12:56 PM
I did that and then it appears under tools > scripting

At first the window might have popped up in a tab group with other windows. I can't remember. I dragged mine off as a standalone window.

I also customised my toolbar to add it up there with my other scripts and custom commands.
Yarin VooDoo wrote on 3/10/2008, 5:32 PM
Ciao,

Very nice script!!
Thank you.

Ciao
Darth A Booey wrote on 4/30/2008, 1:45 PM
I just wanted to thank Rosebud for this extremely helpful script. Well done and many thanks!
Cliff Etzel wrote on 4/30/2008, 5:22 PM
Minor spelling error in the conversion window - in the statement "Import converted files after convertion" should read "Import converted files after conversion"

Also - there was no instructions on how to utilize this plug in - care to provide one in the download???

Cliff Etzel - Solo Video Journalist
bluprojekt
Darth A Booey wrote on 5/1/2008, 8:01 AM
Also - there was no instructions on how to utilize this plug in - care to provide one in the download???

Cliff - the instructions can be found in the first post of this thread, as well as in the ReadMe file included in the original .zip file.
cakewalkr7 wrote on 8/18/2008, 1:05 PM
Where exactly do you install this? I don't have a vegas 8 pro>scripts directory. I do have Vegas Pro 8.0\Script Menu Is this where it should go?
farss wrote on 8/18/2008, 3:53 PM
Yes.
fausseplanete wrote on 9/17/2008, 12:45 PM
Gilles,

Thanks for your Proxy Stream script/dll.

After some time, I tried it but got this error message:

An error occurred during execution of the script C:\Documents and Settings\My Computer\My Documents\Vegas Script Menu\Proxy Stream.dll
The located assembly's manifest definition does not match the assembly reference

System.IO.FileLoadException: Could not load file or assembly 'Sony.Vegas, Version=8.0.0.179, Culture=neutral, PublicKeyToken=3cda94b1926e6fbc' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'Sony.Vegas, Version=8.0.0.179, Culture=neutral, PublicKeyToken=3cda94b1926e6fbc' ---> System.IO.FileLoadException: Could not load file or assembly 'Sony.Vegas, Version=8.0.0.217, Culture=neutral, PublicKeyToken=3cda94b1926e6fbc' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'Sony.Vegas, Version=8.0.0.217, Culture=neutral, PublicKeyToken=3cda94b1926e6fbc'

I have rebooted etc. to no effect. Vegas works in other respects and runs scripts like Excalibur ok.

Just noticed - someone else had same problem, posted at http://www.sonycreativesoftware.com/forums/ShowMessage.asp?MessageID=577526
In answer to that person's problem, the possibility of a Vista incompatibility was mentioned, but that cannot be so in my case as I am running only XP, though maybe one of the Microsoft Updates might have done something Vista-ish perhaps? In case it is relevant, I am using a Compaq Presario R4065EA which is Athlon-based.

Can you help please?
Rosebud wrote on 9/17/2008, 12:58 PM
It seems you are running VP8.0a.
Check your version of Vegas (should be 8.0b at least).
fausseplanete wrote on 9/17/2008, 2:53 PM
Yes!
Upgraded to 8c then it worked fine.
Thanks very much for answering so quickly.
Abba wrote on 11/29/2008, 1:03 PM
This is very useful script!

Couple of ideas to improve script:
1. directory could be project directory when the script is started. Or not to lose previous directory information.
2. It would be nice to convert and select only the files that are already in the project
3, "switch" could be on same sheet with other data
4. Is it possible to have separate video and audio stream as proxy file? Or how can I put mpeg2/5.1 AC3 to one file?
5. m2v extension is missing from "switch to" filetypes (HD mpeg-2)

ps
Is the source code available for this script?
ritsmer wrote on 12/3/2008, 6:03 AM
Hi Rosebud,

Today I found out (the hard way) that I needed a batch/proxy making feature because I have 200 AVCHD videoclips from my new camera and from a trip to China.
So I looked in this forum - et voila! - after a little searching found your fantastic useable script.
Right now my Vegas is half way trough the 200. Great!

Thanks a lot Gilles!
Andy Edits wrote on 1/14/2009, 10:39 AM
Hi,

Does your Proxy script work with Vegas 7? And when you are done editing, how do you go back to the original HD files?

Many thanks.
Rosebud wrote on 1/15/2009, 5:22 AM
Does your Proxy script work with Vegas 7?
Sorry, no.
ritsmer wrote on 1/15/2009, 1:24 PM
... and to andy's second question: as far as I remember you can use Rosebuds "Batch Replace" script.
Rosebud wrote on 1/15/2009, 3:08 PM
Proxy Stream have a TAB to switch between proxy and HD files.
Marco. wrote on 3/30/2009, 3:44 AM
I finally found a small bug.

If the render format is MPEG-2 HDV the resultung file name extension used for import into the Projekt Media window is ".mpg" but the rendered files are ".m2t".

This makes the import function fail in case of rendering to HDV. Actually the files are listed in Projekt Media but them are offline.

Marco
Rosebud wrote on 3/30/2009, 11:48 AM
Thx Marco,
This bug should be fixed in version 1.0b
Thx to test.

Gilles
Marco. wrote on 3/31/2009, 4:37 AM
Works perfect now.

Thanks a lot Gilles!

Marco
Eugenia wrote on 4/13/2009, 2:11 PM
Great utility, thank you. Any chance for support for the .m2ts extension though? The filetype is the same as .mts files, but some manufacturers prefer to use .m2ts instead of .mts for AVCHD, so it would be real helpful if you could add it on the extension support menu. Thx!
Rosebud wrote on 4/14/2009, 11:05 AM
Eugenia,
I added m2ts extension (version 1.0c)
Please test and tell me if it's ok.
Eugenia wrote on 4/14/2009, 6:43 PM
It works, thank you!

The only problem is that the AVCHD .m2ts/mts files have usually 5.1 audio, but the proxies are stereo, so I am not sure how to go about and change from stereo to 5.1 when you switch from the proxy to the source.