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.

 
[request] Load Consecutive Videos, Using drag-and-drop or File->Open
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
rcp
Posted: Sep 18 2013, 12:54 PM


Newbie


Group: Members
Posts: 6
Member No.: 37018
Joined: 22-August 13



I'm not sure if this is a bug report or a feature request but it would be great to load a bunch of consecutive videos using File->Open or with drag-and-drop (w/o having to use append).

Afaik, the checkbox "automatically load link segments" should've done this but it seems it does nothing at all.
Also, with drag-and-drop of consecutive videos the message is "You have dropped N files. Multiple files are not allowed except for appending". Why, oh why? wink.gif wink.gif

 
     Top
phaeron
Posted: Sep 29 2013, 06:59 PM


Virtualdub Developer


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



The reason that File > Open doesn't automatically pick up sequenced files is that then you get unintentional joins -- like unrelated clips #1 and #2 getting loaded together just because the filenames match up.

Regarding drag-and-drop, I suppose that could work, although the order in which the clips arrive could be a problem. I don't know whether Explorer preserves ordering when it sends the file list across.
 
    Top
rcp
Posted: Sep 29 2013, 08:41 PM


Newbie


Group: Members
Posts: 6
Member No.: 37018
Joined: 22-August 13



QUOTE (phaeron @ Sep 29 2013, 06:59 PM)
The reason that File > Open doesn't automatically pick up sequenced files is that then you get unintentional joins -- like unrelated clips #1 and #2 getting loaded together just because the filenames match up

That's why there is a checkbox. If the user makes a mistake,that's his problem.

If you don't want to implement this, at least remove the useless checkbox in File Open.
 
     Top
-vdub-
Posted: Sep 30 2013, 12:12 AM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



QUOTE (phaeron @ Sep 29 2013, 06:59 PM)
I don't know whether Explorer preserves ordering when it sends the file list across.

If Explorer does allow for this then appending would be very easy to do though would need files selected in same order as need to append. Else you could have a menu after drag and drop allowing sorting files via name and dates also help with up|down navigation to sort
 
    Top
raffriff42
Posted: Sep 30 2013, 02:00 AM


Advanced Member


Group: Members
Posts: 384
Member No.: 35081
Joined: 25-June 12



Explorer sends the files in reverse selection order, it seems.
Try opening the first file; selecting more files in reverse order; Ctrl+dragdrop to append.
 
     Top
dloneranger
Posted: Sep 30 2013, 05:53 AM


Moderator


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



Explorer? Sends things in an order you can recognise?
Wishful thinking or coincidence
Drop files onto this .bat and see the wonderful and weird ordering it uses
CODE
@echo off
:loop
if "%~1"=="" goto end
echo %~nx1
shift
goto loop
:end
echo.
pause


It may depend on version of explorer, filesystem, type of view your using in explorer, or even the fileid
But here I get orders like 4567123 bdfegha

Most of the programs/.bat I write use drag and drop of files from explorer and I've never spotted anything about the order that's obviously explainable

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
rcp
Posted: Sep 30 2013, 05:49 PM


Newbie


Group: Members
Posts: 6
Member No.: 37018
Joined: 22-August 13



QUOTE (raffriff42 @ Sep 30 2013, 02:00 AM)
Try opening the first file; selecting more files in reverse order; Ctrl+dragdrop to append.


Why the complication? Why can't VirtualDub store all the filenames from a drag-and-grop and then open them in the correct order?
 
     Top
dloneranger
Posted: Sep 30 2013, 06:33 PM


Moderator


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



'Course, the load linked segments checkbox will automatically load files as long as they're named correctly
something.01.avi, something.02.avi etc
For a subjective value of 'correctly' that is biggrin.gif

Most development work goes on the 'actually doing it's job' and less on the gui
TBH if there's a choice between improving the internals vs making you select 'append' then I'm fine with 'appending'


One tool I like (that does many other things as well) for doing any renaming of that kind is FileMenuTools
http://www.lopesoft.com/en/filemenutools
It's a context menu addition, so you can select some file, right click, pick advanced rename and in the dialog, order the files how you like, rename, add sequence numbers etc


--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
-vdub-
Posted: Sep 30 2013, 07:35 PM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



The Batch Wizard can drag n drop and does keep the files in order that have been added. So why not make use of the same Batch Wizard code for this.
Though the Batch Wizard has other problems that will stop this and would need fixing first. This I have written about in various threads posted on this forum.
 
    Top
rcp
Posted: Sep 30 2013, 09:58 PM


Newbie


Group: Members
Posts: 6
Member No.: 37018
Joined: 22-August 13



QUOTE (dloneranger @ Sep 30 2013, 06:33 PM)
'Course, the load linked segments checkbox will automatically load files as long as they're named correctly
something.01.avi, something.02.avi etc


The problem is that the "load linked segments" checkbox works great in File->Append but in File->Open doesn't do a thing - I've tried all type of names but never managed to load than one video (very annoying). I think this is a bug - the checkbox should be removed until this works as intended.
 
     Top
dloneranger
Posted: Oct 1 2013, 04:54 AM


Moderator


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



Hmmm, yup that doesn't do what I said it should....

That option is actually for something I'd completely forgotten about - rejoining 'segmented videos', as saved with the 'save segmented AVI' on the file menu

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
rcp
Posted: Oct 1 2013, 11:44 AM


Newbie


Group: Members
Posts: 6
Member No.: 37018
Joined: 22-August 13



QUOTE (dloneranger @ Oct 1 2013, 04:54 AM)
Hmmm, yup that doesn't do what I said it should....

Ops, you're right. Frankly, I think very few people use segmented videos and only in special occasions when the video is too large.
On the other hand, almost anyone would like to autoload consecutive videos - and can't.

PS: segmented videos are saved as video.01.avi, video.02.avi, etc, but when you try to open consecutive videos with those same filenames, it only loads the first. What a mess...
 
     Top
meowmeow
  Posted: Oct 4 2013, 04:56 AM


Advanced Member


Group: Members
Posts: 98
Member No.: 37160
Joined: 21-September 13



in a list 1234 I can't load in order 4132
 
     Top
Dowlphin
Posted: Apr 9 2014, 11:16 PM


Member


Group: Members
Posts: 23
Member No.: 37864
Joined: 9-April 14



Certain UI improvements like this would speed up things a lot, especially considering that VDub is very reliant on piecing together segments.
Yes, the problem with the standard Windows dialogue is that out of convenience you might start at the top and select down a list, but Windows opens the file with the selection marker first, which would be the last one. After that, it goes from top to bottom. You can still avoid this by selecting your list of files bottom-up, or whatever you do, select the first file in the chain last.
Of course there's also a way to just make a dialogue where you add files to a list, with optional auto-sort and stuff, but I don't know how much development effort such UI elements require.

The option to load additional segments is only moderately useful, because in a project with many small files, there's a good chance that you can't maintain truly consecutive filenames without gaps in-between. Personally, I sometimes even number them in 10-steps to allow for more files to be added in-between later, and I also write notes into the filenames.

Anything that eases the typical modus operandi of VDub of piecing stuff together step by step is welcome.
 
    Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
13 replies since Sep 18 2013, 12:54 PM Track this topic | Email this topic | Print this topic

<< Back to VirtualDub Development Forum