Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VirtualDub, VDubMod & AviDemux

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th February 2025, 18:50   #1541  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 2,185
Quote:
Originally Posted by nji View Post
Could you de-activate the "Save" button if there is no project defined/ loaded?
I didn't understand anything. What "Save" button are you talking about?
v0lt is offline   Reply With Quote
Old 6th February 2025, 19:44   #1542  |  Link
nji
Registered User
 
Join Date: Mar 2018
Location: Germany
Posts: 242
It's from the post just before the virustotal issue.
nji is offline   Reply With Quote
Old 13th February 2025, 18:45   #1543  |  Link
jay123210599
Registered User
 
Join Date: Apr 2024
Posts: 371
Three things:

1. How do I move 5 seconds forward and backward in VirtualDub2?

2. This is the information for my video:

Code:
Format                                   : Matroska
Format version                           : Version 4
File size                                : 339 MiB
Duration                                 : 23 min 43 s
Overall bit rate                         : 1 999 kb/s
Frame rate                               : 24.052 FPS
Encoded date                             : 2016-10-26 10:52:38 UTC
Writing application                      : mkvmerge v7.9.0 ('Birds') 64bit
Writing library                          : libebml v1.3.1 + libmatroska v1.4.2
Attachments                              : CLEARG.TTF

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3
Format settings                          : CABAC / 6 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 6 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 23 min 43 s
Bit rate                                 : 1 803 kb/s
Nominal bit rate                         : 2 246 kb/s
Width                                    : 720 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 16:9
Original display aspect ratio            : 3:2
Frame rate mode                          : Variable
Frame rate                               : 24.052 FPS
Original frame rate                      : 29.970 (30000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.217
Stream size                              : 306 MiB (90%)
Writing library                          : x264 core 120 r2164 da19765
Encoding settings                        : cabac=1 / ref=6 / deblock=1:1:1 / analyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=0.40:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=2 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=5 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=300 / keyint_min=29 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=2246 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:0.60
Default                                  : Yes
Forced                                   : No
When I extract images out of it, I want the resolution to be 853x480 instead. I tried adjusting the aspect ratio but it didn't work. Can someone help me?

3. Say I extracted an image from one video. But when I closed it (but not VirtualDub2) and opened another video, when I decided to extract an image from that video, it uses the name of the old video instead of the new one. How do I fix that?
jay123210599 is offline   Reply With Quote
Old 13th February 2025, 20:12   #1544  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,323
Quote:
Originally Posted by jay123210599 View Post
When I extract images out of it, I want the resolution to be 853x480 instead. I tried adjusting the aspect ratio but it didn't work. Can someone help me?
I told you how to do this here: https://forum.doom9.org/showthread.p...07#post2012807
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 13th February 2025, 20:37   #1545  |  Link
jay123210599
Registered User
 
Join Date: Apr 2024
Posts: 371
Quote:
Originally Posted by SeeMoreDigital View Post
But I want to do it naturally without using any filters.
jay123210599 is offline   Reply With Quote
Old 13th February 2025, 20:51   #1546  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,323
Quote:
Originally Posted by jay123210599 View Post
But I want to do it naturally without using any filters.
That's not possible as the native 720x480 image pixel resolution needs to be 'resized' to 852x480 pixels!
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |

Last edited by SeeMoreDigital; 14th February 2025 at 10:47.
SeeMoreDigital is offline   Reply With Quote
Old 13th February 2025, 23:36   #1547  |  Link
jay123210599
Registered User
 
Join Date: Apr 2024
Posts: 371
Quote:
Originally Posted by SeeMoreDigital View Post
That's not possible as the native 720x480 image pixel resolution needs to be 'resized' to 854x480 pixels!
And my other two questions?
jay123210599 is offline   Reply With Quote
Old 14th February 2025, 04:58   #1548  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 2,185
Quote:
Originally Posted by jay123210599 View Post
When I extract images out of it, I want the resolution to be 853x480 instead. I tried adjusting the aspect ratio but it didn't work. Can someone help me?
If you are cropping a frame in YUV 4:2:0 format, then cut off an even number of pixels on each side.

If you are using resize, then use the built-in filter functionality.
Filter: Resize > Codec-friendly sizing > Multiples of 2 (8 is better).

Regardless of the format, the final result should be a multiple of 2 (preferably 8).
This has already been written about here.

Quote:
Originally Posted by jay123210599 View Post
And my other two questions?
People are not obligated to answer all your questions. This is not an exam.
v0lt is offline   Reply With Quote
Old 17th February 2025, 13:33   #1549  |  Link
shekh
Registered User
 
Join Date: Mar 2015
Posts: 781
Quote:
Originally Posted by jay123210599 View Post
1. How do I move 5 seconds forward and backward in VirtualDub2?
Go to frame (Ctrl+G)
Tab to "Jump to frame at time" field
type +5s or -5s
shekh is offline   Reply With Quote
Old 18th February 2025, 00:20   #1550  |  Link
rgr
Registered User
 
Join Date: Jun 2022
Posts: 139
Quote:
Originally Posted by v0lt View Post
Something is not quite working though. Today VDub reported to me twice that the script editor could not save the avs file. After a while the program crashed, and then it turned out that the avs file had zero length. Today it happened to me twice and I had to rewrite the avs script.
rgr is offline   Reply With Quote
Old 18th February 2025, 04:42   #1551  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 2,185
Quote:
Originally Posted by rgr View Post
Something is not quite working though.
Please use the new version of the plugin from the VirtualDub2 v2.2.0.755 release or from the GitHub repository.
v0lt is offline   Reply With Quote
Old 19th February 2025, 15:43   #1552  |  Link
rgr
Registered User
 
Join Date: Jun 2022
Posts: 139
Quote:
Originally Posted by rgr View Post
1. Filter data file (default Deshaker.log).
2. Folder with .vdproject file.

I load the project to 44282 -- I can leave the field empty, the plugin uses the current folder.
I load the same project to 667 -- I have to fill in the field with the full path (I don't know where it looks for it then, but not in the project path)..
OK, I figured out where the problem is.

1. If I first run VDub, and then *load the project via File->Load Project*, everything is OK. The plugin sees the project path as "current".
2. If I first run VDub, and then *drag the project into it*, the plugin saves its data in the VDub directory -- it sees this as "current" (I also had this entered as the startup directory in the shortcut from which I run VDub). But after deleting this data, it still does not see the project folder as current, but I have not checked what the "current" folder is for the plugin.

I do not know if this is how it should be, so I am reporting the problem.

(In the vdproject file, the project path is entered as // $location if that matters)
rgr is offline   Reply With Quote
Old 19th February 2025, 19:22   #1553  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 2,185
VirtualDub2_v2.2.0.803_unicode
Test build. The application has been rewritten to use CharacterSet=Unicode in the project properties.

PS: updated to 2.2.0.803.

Last edited by v0lt; 21st February 2025 at 04:26.
v0lt is offline   Reply With Quote
Old 22nd February 2025, 03:25   #1554  |  Link
isidroco
Registered User
 
Join Date: Nov 2008
Posts: 67
Will you consider changing /queryVersion reply to some # higher than older versions (ie: 45nnn )
isidroco is offline   Reply With Quote
Old 22nd February 2025, 04:44   #1555  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 2,185
Quote:
Originally Posted by isidroco View Post
Will you consider changing /queryVersion reply to some # higher than older versions (ie: 45nnn )
I don't understand you.
v0lt is offline   Reply With Quote
Old 22nd February 2025, 11:18   #1556  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,108
I dont offhand know how to show the /queryVersion thingy that he mentions (CLI is rusty).
But this is I think what he's going on about.

vudb64 /?
Code:
VirtualDub CLI Video Processor Version  (build 44282/release-AMD64) for AMD64
  /autorecover              Scan for auto-recover files
  /capture                  Switch to capture mode
  /capaudiorec [on|off]     Enable/disable capture audio recording
  /capaudioplay [on|off]    Enable/disable capture audio playback
  /capchannel <ch> [<freq>] Set capture channel (opt. frequency in MHz), use antenna:<n> or cable:<n> to force mode
  /capdevice <devname>      Set capture device
  /capfile <filename>       Set capture filename
  /capfileinc <filename>    Set capture filename and bump until clear
  /capfilealloc <size>      Preallocate capture file in megabytes
  /capstart [<time>[s]]     Capture with optional time limit (default is minutes, use 's' for seconds)
  /F <filter>               Load filter
  /edit <instance>          Open video filter configure dialog
  /h                        Disable exception filter
  /hexedit [<filename>]     Open hex editor
  /hexview [<filename>]     Open hex editor (read-only mode)
  /resetall                 Reset all settings to defaults
  /s <script>               Run a script
  /i <script> [<args...>]   Invoke script with arguments
  /cmd <command>            Run quick script command
  /c                        Clear job list
  /b <src-dir> <dst-dir>    Add batch entries for a directory
  /p <src> <dst>            Add a batch entry for a file (SaveAVI)
  /SaveAVI <src> <dst>
  /ExportViaEncoderSet <src> <dst> <set>
  /RunNullVideoPass <src>
  /SaveAVI * <dst>          (* to use source loaded with other commands)
  /RunNullVideoPass *
  /ExportViaEncoderSet * <dst> <set>

  /r                        Run job queue
  /master <file>            Join shared job queue in non-autostart mode
  /slave <file>             Join shared job queue in autostart mode
  /portable                 Switch to portable settings mode
  /priority <pri>           Start in low, belowNormal, normal, aboveNormal, high, or realtime priority
  /queryVersion             Return build number
  /safecpu                  Do not use CPU extensions on startup
  /min                      Start minimized
  /max                      Start maximized
  /topmost                  Create window as always-on-top
  /x                        Exit when complete
Maybe it dont properly return [EDIT: set errorlevel] the build number.

EDIT: from post #1539
Code:
set oldVDub= & REM space: Enable newer VDub2 commands: use color matrix, hide i/o video in status window
set xCompr=I& REM *I* default h264 vDub internal for new Vdub
IF not "%PARAM:ch264v=%" == "%PARAM%" set xCompr=H& REM *H* h264 vfw
IF exist "%vdloc%%vDubCli%" (  rem Check if old vdub version
  "%vdloc%%vDubCli%" /queryVersion >nul
  if not errorlevel 42475 ( REM if ver<42475 old version of virtualDub
    set noWavHeader= & REM don't use in new vdub versions
    set oldVDub=// & REM bars "// " comments out newer commands
    set xCompr=H& REM *H* default h264 vfw compressor for old Vdub
  )
)
EDIT: Is this correct for cli logic ??? [maybe something like "if not errorlevel < 42475"
Code:
  if not errorlevel 42475 ( REM if ver<42475 old version of virtualDub
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 22nd February 2025 at 11:29.
StainlessS is offline   Reply With Quote
Old 22nd February 2025, 13:45   #1557  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 2,185
I think it is wrong to use the build number to compare executables of different projects with different executable file names.

If you want to know the version number, you can do it like this:
Code:
@ECHO OFF
SET FILE_NAME="VirtualDub2.exe"
FOR /F "USEBACKQ" %%F IN (`powershell -NoLogo -NoProfile -Command ^(Get-Item %FILE_NAME%^).VersionInfo.FileVersion`) DO (SET FILE_VERSION=%%F)
ECHO %FILE_NAME% %FILE_VERSION%
PAUSE
I will fix the "/queryVersion" command for the next release. But it will not give a number greater than the build number of the original VirtualDub 1.10.4.
v0lt is offline   Reply With Quote
Old 22nd February 2025, 16:45   #1558  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,641
This is only a teeny tiny thing, but when a video is 100% of the window width, but doesn't exceed the window height, it still has a raised border to the left and right.

Could that border be shifted off the edges of the window in such a case?
__________________
My AviSynth filters / I'm the Doctor

Last edited by wonkey_monkey; 22nd February 2025 at 17:58.
wonkey_monkey is offline   Reply With Quote
Old 22nd February 2025, 17:27   #1559  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,199
Quote:
Originally Posted by StainlessS View Post
EDIT: Is this correct for cli logic ???
Yes, ERRORLEVEL comparison is implicitly "greater than or equal", but there are 3-letter verbose operators (e.g. "EQU").

https://ss64.com/nt/errorlevel.html
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 23rd February 2025, 00:24   #1560  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,108
Ta LigH
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:47.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.