The duration of the selected file should be longer than

Moderator: Ken Berry

tletter
Posts: 1278
Joined: Thu Jul 16, 2015 12:23 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
processor: i7-3632QM
ram: 16GB
Video Card: NVIDIA RTX 3080
Hard_Drive_Capacity: 1TB
Corel programs: X4,X5,X6,X7,X8,X9,X10,2018,2019,2021
Location: Canada

The duration of the selected file should be longer than

Post by tletter »

Hi,

Something has happened to my VS X7 project since I moved it from my local HDD to a file server and tried to open it with VS X8.5. Obviously I had to relink the video clips. This works fine for most clips except for one clip that is split into a couple of extracts that are separated by a still photograph. Now then I try relinking to the source clip, VS X8.5 pops up a window stating that "The duration of the selected file should be longer than 00:01:22:34". In VS X8.5 when I look at the clip in the "Replace/Relink clip" window, the Info button reports that the Duration is 82.583 seconds. This duration translates into 00:01:22:34, i.e. it is exactly the duration that VS wants. So what is the problem and what is the solution?

Thanks.
skier-hughes
Microsoft MVP
Posts: 2659
Joined: Thu Jul 21, 2005 10:09 am
operating_system: Windows 8
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: gigabyte
processor: Intel core 2 6420 2.13GHz
ram: 4GB
Video Card: NVidia GForce 8500GT
sound_card: onboard
Hard_Drive_Capacity: 36GB 2TB
Location: UK

Re: The duration of the selected file should be longer than

Post by skier-hughes »

What if you delete the file from the project and just reinsert it and do your edit to it again?
User avatar
lata
Site Admin
Posts: 14280
Joined: Thu Jan 19, 2012 6:21 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK COMPUTER INC A88XM-A USB 3 1 Rev X 0x
processor: 4 10 gigahertz AMD A10-7890K Radeon R7
ram: 16 gb
Video Card: on board
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 500 SSD
Monitor/Display Make & Model: LG W2242 [Monitor]
Corel programs: CVSX, 19, 20, 22 PSP2023, PI, MS3D
Location: UK
Contact:

Re: The duration of the selected file should be longer than

Post by lata »

Hi

Have you applied Speed / TimeLapse to the clip or part of the clip.

That may cause problems when re-linking, if so I think Corel provided a fix for this, I would have to rack my brain a little? Maybe search the forum?

One workround would be to place a copy of the clip in the library, drag and drop this clip over the offending clip whilst holding CTRL key, should re-place the clip, but will remove the Speed time lapse, so
I would use Windows Explorer to make a copy of the VSP before proceeding

Post Update

As fa as I know for X7 the fix was part of the Service Pack SP1, have you applied that patch.
For X8, the updates seem automatic, I assume you have applied all.
New forum for PSP and VS users, register if you need help

https://psp-vs-forums.freeforums.net
tletter
Posts: 1278
Joined: Thu Jul 16, 2015 12:23 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
processor: i7-3632QM
ram: 16GB
Video Card: NVIDIA RTX 3080
Hard_Drive_Capacity: 1TB
Corel programs: X4,X5,X6,X7,X8,X9,X10,2018,2019,2021
Location: Canada

Re: The duration of the selected file should be longer than

Post by tletter »

lata wrote:Have you applied Speed / TimeLapse to the clip or part of the clip.
The issue affects both audio and video clips. Speed/TimeLapse were not applied to the audio clips.
lata wrote:... if so I think Corel provided a fix for this ... Maybe search the forum?
I did search this forum before posting but perhaps I didn't use the correct search term - any suggestion?
lata wrote:One workround would be to place a copy of the clip in the library, drag and drop this clip over the offending clip whilst holding CTRL key, should re-place the clip
I can't get this to work since as soon as I press the CTRL key on a highlighted file in the library, the clip is deselected and so can't be dragged. If I start dragging the clip and then press the CTRL key before dropping it on the offending clip, then the previous splitting of the clip is not respected and the whole clip is simply dropped on the timeline.[/quote]
lata wrote:As fa as I know for X7 the fix was part of the Service Pack SP1, have you applied that patch.
I'm running VS 17.1.0.47 (64bit Ultimate)and there are no updates available. I've given up on trying to relink the VSP on VS X8.5 as it seems much less capable of relinking VSPs that were created in VS X7.
lata wrote:For X8, the updates seem automatic, I assume you have applied all.
I'm running VS 18.5.0.25 (64bit Ultimate) and there are no updates available.
skier-hughes wrote:What if you delete the file from the project and just reinsert it and do your edit to it again?
Of course I could do that but there was alot of work with clips that are split into extracts - this would all be lost. It's too bad the VS cannot handle a straightforward relinking of clips to avoid users having to rework their project.

Thanks for the replies.
canuck
Posts: 2037
Joined: Wed Mar 14, 2012 3:28 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit
Location: Deep River, Ontario, Canada

Re: The duration of the selected file should be longer than

Post by canuck »

"works fine for most clips except for one clip that is split into a couple of extracts that are separated by a still photograph." ..... exactly what do you mean by this? What are extracts? Can you explain exactly what you are doing?
tletter
Posts: 1278
Joined: Thu Jul 16, 2015 12:23 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
processor: i7-3632QM
ram: 16GB
Video Card: NVIDIA RTX 3080
Hard_Drive_Capacity: 1TB
Corel programs: X4,X5,X6,X7,X8,X9,X10,2018,2019,2021
Location: Canada

Re: The duration of the selected file should be longer than

Post by tletter »

canuck wrote:"works fine for most clips except for one clip that is split into a couple of extracts that are separated by a still photograph." ..... exactly what do you mean by this? What are extracts? Can you explain exactly what you are doing?
The following four steps hopefully explain what was done to produce the VSP file (obviously the actual VSP file is much larger):
  • 1. insert a video clip
    2. split the video clip into two pieces
    3. insert a still photo between the two pieces
    4. add a transition between each of the now three pieces
The problem is that if you move the source files to another drive and then try to relink the pieces in the VSP, VS can relink the still photo but not the video clip that was split into two pieces. The same problem arises with audio clips that are split. The relinking problem does not arise with audio/video clips that were not split.

Hope its clear new.
User avatar
Ken Berry
Site Admin
Posts: 22481
Joined: Fri Dec 10, 2004 9:36 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte B550M DS3H AC
processor: AMD Ryzen 9 5900X
ram: 32 GB DDR4
Video Card: AMD RX 6600 XT
Hard_Drive_Capacity: 1 TB SSD + 2 TB HDD
Monitor/Display Make & Model: Kogan 32" 4K 3840 x 2160
Corel programs: VS2022; PSP2023; DRAW2021; Painter 2022
Location: Levin, New Zealand

Re: The duration of the selected file should be longer than

Post by Ken Berry »

I suspect the problem is that when you split a clip to insert the photo and transitions, it is only a virtual split. Two virtual clips are created, not real ones. So when you moved all the clips to an external drive, you moved the real clips, not virtual ones. And when you relink, VS only relinks the real clips as it would not "see" the virtual clips in their new location. I guess that shows the danger of moving clips before a project has been completed.

The only way I can think of to avoid this is to split the clip, then with each half go to File > Same Trimmed Video. Then *real* clips will be created of the two halves, with thumbnails of them appearing in the library. And these new clips could of course be moved and recognised by VS in a relinking process.
Ken Berry
User avatar
lata
Site Admin
Posts: 14280
Joined: Thu Jan 19, 2012 6:21 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK COMPUTER INC A88XM-A USB 3 1 Rev X 0x
processor: 4 10 gigahertz AMD A10-7890K Radeon R7
ram: 16 gb
Video Card: on board
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 500 SSD
Monitor/Display Make & Model: LG W2242 [Monitor]
Corel programs: CVSX, 19, 20, 22 PSP2023, PI, MS3D
Location: UK
Contact:

Re: The duration of the selected file should be longer than

Post by lata »

Hi

just to confirm

have you applied Timelapse to any video file?

When you refer to Audio do you mean you have Split Audio or used a separate sound file?

Splitting Audio does not create a separate file, it places the Videos Audio stream in the lower track then mutes the video track.
The Audio is still part of the Video but displayed on separate tracks.

Previous post regarding Timlapse/Speed
http://forum.corel.com/EN/viewtopic.php ... 50#p309180
Corel confirmed to me that they could replicate this problem and as far as I know SP1 did that?

Things to try...
If you have split audio, that may complicate the Re-Link.
Delete the Split Audio clip, then save the project, open the project again to activate the auto re-link again.

If you are now able to re-link, apply split audio again.
New forum for PSP and VS users, register if you need help

https://psp-vs-forums.freeforums.net
User avatar
Ken Berry
Site Admin
Posts: 22481
Joined: Fri Dec 10, 2004 9:36 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte B550M DS3H AC
processor: AMD Ryzen 9 5900X
ram: 32 GB DDR4
Video Card: AMD RX 6600 XT
Hard_Drive_Capacity: 1 TB SSD + 2 TB HDD
Monitor/Display Make & Model: Kogan 32" 4K 3840 x 2160
Corel programs: VS2022; PSP2023; DRAW2021; Painter 2022
Location: Levin, New Zealand

Re: The duration of the selected file should be longer than

Post by Ken Berry »

... and again we are talking about virtual tracks, not real tracks!!
Ken Berry
tletter
Posts: 1278
Joined: Thu Jul 16, 2015 12:23 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
processor: i7-3632QM
ram: 16GB
Video Card: NVIDIA RTX 3080
Hard_Drive_Capacity: 1TB
Corel programs: X4,X5,X6,X7,X8,X9,X10,2018,2019,2021
Location: Canada

Re: The duration of the selected file should be longer than

Post by tletter »

lata wrote:have you applied Timelapse to any video file?
No.
lata wrote:When you refer to Audio do you mean you have Split Audio or used a separate sound file?
When I'm referring to splitting a clip/file, I mean to right click on a video or audio clip/file and then select the "Split Clip" option from the dropdown list. I realize that this doesn't actually split the actual source file rather it creates time pointers in the VSP file.
lata wrote:Splitting Audio does not create a separate file, it places the Videos Audio stream in the lower track then mutes the video track.
I think that you are referring to the "Split Audio" option which is also selected from the dropdown list after right clicking on a video clip that has an active audio track. This type of action is not causing relinking problems.
lata wrote:Corel confirmed to me that they could replicate this problem and as far as I know SP1 did that?
As previously mentioned, I'm running VS 17.1.0.47 (64bit Ultimate) and there are no updates available. Hence I assume that this is SP1.
lata wrote:Previous post regarding Timlapse/Speed http://forum.corel.com/EN/viewtopic.php ... 50#p309180
The symptoms sound similar but I'm not using the Timelapse/Speed options rather I'm just using the "Split Clip" option on both video and audio clips/files. Obviously VS X7 and X8 cannot reliably relink clips/files that have the "Split Clip" option applied and the source files have been moved. It would appear the VS's clip identification algorithm cannot always cope with this seemingly straightforward use of the program. Perhaps the clip/file time checking component has a bug since to recapitulate:
  • 1. VS X7 and X8.5 pop up a window stating that "The duration of the selected file should be longer than 00:01:22:34".
    2. In VS X8.5 when I look at the file in the "Replace/Relink clip" window, the Info button reports that the Duration is 82.583 seconds which translates into a duration of 00:01:22:34, i.e. it is exactly the duration that VS wants since in reality it is the source file but has simply been relocated.
Perhaps Corel will fix this bug in the next release since we should be able to move source files around without having to redo either part or all of a project.

Thanks.
User avatar
lata
Site Admin
Posts: 14280
Joined: Thu Jan 19, 2012 6:21 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK COMPUTER INC A88XM-A USB 3 1 Rev X 0x
processor: 4 10 gigahertz AMD A10-7890K Radeon R7
ram: 16 gb
Video Card: on board
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 500 SSD
Monitor/Display Make & Model: LG W2242 [Monitor]
Corel programs: CVSX, 19, 20, 22 PSP2023, PI, MS3D
Location: UK
Contact:

Re: The duration of the selected file should be longer than

Post by lata »

Hi

Sorry for any confusion regarding timelapse but the symptoms do seem similar.

I don’t really know why this is happening

Split Clip is no different to using the scissors to cut the clip. We end up with two clips from the same file.
There should be no problems re-linking these clips.

I have moved my source files quite a lot recently, having re-installed the operating system several times, (long story), in each case I have not had any problems with relinking.

Are you able to provide the files used and the VSP, maybe upload to One Drive, Google Drive etc
Then we may get a better idea as to the problem?
New forum for PSP and VS users, register if you need help

https://psp-vs-forums.freeforums.net
canuck
Posts: 2037
Joined: Wed Mar 14, 2012 3:28 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit
Location: Deep River, Ontario, Canada

Re: The duration of the selected file should be longer than

Post by canuck »

Like Trevor, I cannot duplicate the problem. A SmartPackage of your problem project (via GoogleDrive or DropBox) would be usefull for us to play around with.
tletter
Posts: 1278
Joined: Thu Jul 16, 2015 12:23 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
processor: i7-3632QM
ram: 16GB
Video Card: NVIDIA RTX 3080
Hard_Drive_Capacity: 1TB
Corel programs: X4,X5,X6,X7,X8,X9,X10,2018,2019,2021
Location: Canada

Re: The duration of the selected file should be longer than

Post by tletter »

canuck wrote:A SmartPackage of your problem project (via GoogleDrive or DropBox) would be usefull for us to play around with.
The problem that I'm having is relinking clips. Hence I can't create a Smart Package because VS complains that "The Timeline contains one or more invalid clips. This action is not allowed."

Be that as it may, I've put three files, including a VSP, that illustrate the "The duration of the selected file should be longer than" error message when trying to relink a video clip. They're available on Dropbox at the following link for the next couple of days: https://www.dropbox.com/sh/q4i4ssfjuv20 ... lCYva?dl=0

Thanks
User avatar
lata
Site Admin
Posts: 14280
Joined: Thu Jan 19, 2012 6:21 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK COMPUTER INC A88XM-A USB 3 1 Rev X 0x
processor: 4 10 gigahertz AMD A10-7890K Radeon R7
ram: 16 gb
Video Card: on board
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 500 SSD
Monitor/Display Make & Model: LG W2242 [Monitor]
Corel programs: CVSX, 19, 20, 22 PSP2023, PI, MS3D
Location: UK
Contact:

Re: The duration of the selected file should be longer than

Post by lata »

Hi

Thanks for the sample, and indeed the re-link is a problem

I did however manage to replace the clip using Drag from library and Drop over the offending clip whilst holding CTRL key.

You can do the same via Right Click – Replace clip option
First click the clip on the timeline to get the re-link window, choose Cancel leaves the clip selected, now right click for Replace Clip – browse for the file.

I will have a look further to see if I can find a reason.

One thing to note is the project properties are AVI when they should reflect the Videos Properties as Mpeg4?
Although I would not have thought that would have caused this particular problem?
New forum for PSP and VS users, register if you need help

https://psp-vs-forums.freeforums.net
User avatar
lata
Site Admin
Posts: 14280
Joined: Thu Jan 19, 2012 6:21 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK COMPUTER INC A88XM-A USB 3 1 Rev X 0x
processor: 4 10 gigahertz AMD A10-7890K Radeon R7
ram: 16 gb
Video Card: on board
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 500 SSD
Monitor/Display Make & Model: LG W2242 [Monitor]
Corel programs: CVSX, 19, 20, 22 PSP2023, PI, MS3D
Location: UK
Contact:

Re: The duration of the selected file should be longer than

Post by lata »

Hi

More info.........

I have been able to save the project to open with VSX7

Now the project runs and re-links ok showing all edits you have used

I can now see you have applied Speed and Timelapse at 150% to both video clips
Timelapse would automatically mute the clip which can be seen on the un-linked clips.
You have also applied Pan & Zoom to the image.

I am sure CVSX8 should open this ok, I will run a few more tests over the weekend?
New forum for PSP and VS users, register if you need help

https://psp-vs-forums.freeforums.net
Post Reply