|
|
| Dost |
| Posted: Apr 20 2013, 10:23 PM |
 |
|
Newbie

Group: Members
Posts: 3
Member No.: 36454
Joined: 20-April 13

|
Hello guys, I'm using VD for cutting and rendering. As I cut off the unnecessary frames from the beginning of my videos, I would like to additionally to my video, also export the 1st frame of that video as .jpg/.png or sth. Is that possible with VD? If yes, how? Im not really "new" to VD, but i have never played around with it much and as i couldn't find it in all the given options, i think it may be possible due to some kind of plugin? Please help me out guys(, cuz its really annoying, to start the new video, zap back to the 1st frame, then make an print of that 1st frame and then save it in paint one by one...) Kind Regards, Dost |
 |
| -vdub- |
| Posted: Apr 20 2013, 11:34 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
Video > Copy Source or Output Frame To Clipboard Paste to any graphics software do further processing or to save in format you need
File > Export for further graphics file output options
A plugin for this I don't know, maybe an option exists with your graphic software. Or find a tool to do this there are many around much like the thumbnail types.
Someone else may answer with a better solution for this |
 |
| Dost |
| Posted: Apr 21 2013, 11:25 AM |
 |
|
Newbie

Group: Members
Posts: 3
Member No.: 36454
Joined: 20-April 13

|
hmm the "copy frame to clipboard" options is a good start so far, but i cant export that through the export-function well, as long as i dont perform an image-sequence... |
 |
| -vdub- |
| Posted: Apr 21 2013, 05:00 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
The File > Export mentioned only for other graphic options
Maybe virtualdub help Help > Contents or selecting F1 or here http://www.virtualdub.org/ has cli commands to run as a batch on all your videos. Or an avisynth script (.avs) to do the same. Even maybe able to use virtualdub External Encoder to do it |
 |
| Dost |
| Posted: Apr 22 2013, 09:47 AM |
 |
|
Newbie

Group: Members
Posts: 3
Member No.: 36454
Joined: 20-April 13

|
i did now research for like 3 hours, but could not figure out anything. may you, or anybody else here help me further out? thank you... |
 |
| dloneranger |
| Posted: Apr 22 2013, 10:15 AM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
You can set it up as an easy .bat file where you just drag the vid to it and a jpg is saved in the same location as the video
Make a new file text files and paste this into it
| CODE | VirtualDub.Open(VirtualDub.params[0],"",0); VirtualDub.audio.SetSource(1); VirtualDub.audio.SetMode(0); VirtualDub.video.SetInputFormat(0); VirtualDub.video.SetOutputFormat(7); VirtualDub.video.SetMode(3); VirtualDub.video.SetSmartRendering(0); VirtualDub.video.SetPreserveEmptyFrames(0); VirtualDub.video.SetFrameRate2(0,0,1); VirtualDub.video.SetIVTC(0, 0, 0, 0); VirtualDub.video.SetCompression(); VirtualDub.video.filters.Clear();
VirtualDub.SaveImageSequence(VirtualDub.params[1], ".jpg", 4, 2, 95); VirtualDub.Close(); |
Rename it to 'ExportJpg.vdscript' and move it somewhere safe
Make a new batch file called 'ExportJpg.bat' Paste this into it, but change the two paths to wherever your ExportJpg.vdscript is, and Virtualdub's folder
| CODE | @echo off
rem save to the same folder set newfilepath=%~dp1 set newfilename=%~n1
rem change these two paths to the correct locations on your pc set VDubExe="c:\somewhere\vdub.exe" set MyScriptToRun="c:\somewhere\ExportJpg.vdscript"
%VDubExe% /i %MyScriptToRun% %1 "%newfilepath%%newfilename%" if errorlevel 1 echo Oh dear an error happened&pause
|
Now you can just drag a video to that ExportJpg.bat file and a jpg should appear in the same location is the video (assuming virtualdub can load the video) You can change the saved frame number be altering the line VirtualDub.video.SetRangeFrames(0,1); eg if you wanted to save frame 2000 it should be changed to VirtualDub.video.SetRangeFrames(2000,2001);
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |