Issue: after removing an object, its source file does not get closed.

Basel-Shishani wrote on 9/7/2022, 11:49 PM

Greetings community:

I'm using audio files that are edited externally in my projects. Say I inserted a rendered audio file into a movie, but decided to remove it, then wanted to edit it externally. The file is locked now and can't be deleted or overwritten by the external software, because it seems MS (MEP) is not closing it. MS creates other project files for the object like with the .H0 extension, which gets locked too. When checking the list of objects in the project info, the removed file -as expected- is not listed, which tells me there should be no connection for the project with the source file. However, I can't find a way to tell MS to unlink or forget the file; the only way to unlink the file and get it closed is to shut down MS and relaunch it.

Even when trying to delete the file inside MS, it returns: 'The action can't be completed because the file is open ...'. That's not what I want to do, but I don't understand why there's no method to tell MS to just forget about a source file that got its object removed.

 

 

 

 

 

 

 

Comments

AAProds wrote on 9/8/2022, 12:19 AM

@Basel-Shishani

I've noticed the same thing, very annoying. I don't know of a solution.

All my forum comments are based on or refer to my System 1.

My struggle is over! I built my (now) system 2 in 2011 when DV was king and MPEG 2 was just coming onto the scene and I needed a more powerful system to cope. Since then we've advanced to MP4 and to bigger and bigger resolutions. I was really suffering, not so much in editing (with proxies) but in encoding, which just took ages. A video, with Neat Video noise reduction applied, would encode at 12% of film speed. My new system 1 does the same job at 160% of film speed. Marvellous. I'm keeping my old system as a capture station for analogue video tapes and DV.

System 1

Windows 11 v23H2 severely modified by Openshell and ExplorerPatcher

Power supply: 850W Cooler Master (should have got modular)

CPU: Intel i7 13700K running at 3400mhz, cooled by a Kraken 2x140mm All In One liquid cooler.

RAM: 64gb (2x32gb sticks) G.Skill "Ripjaws" DDR4 3200Mhz

GPU 1: iGPU UHD 770

GPU 2: NVidia RTX 3060Ti Windforce 8gb

C drive: NVME 500gb

Bluray Burner: Pioneer BDR-212D

Various other SSD and HDDs.

Monitor: 27"/68cm Samsung, 2560 x 1440, 43 pixels/cm.

MEP 2021 version 20.0.1.80

Magix Video Deluxe 2026 Ultimate (although it comes up as "Premium").

Magix Video Easy version 7.0.1.145

System 2

(Still in use for TV and videotape capture)

Windows 10 Home Version 2009

CPU: i5-750 at 2670mhz with 12gb RAM

Onboard IEEE1394 (Firewire) port

GPU: ATI Radeon HD 4770 (512mb) which is ignored by MEP

Hard drives: C Drive 256gb SSD, various other HDDs.

Monitor: Dell 22"/56cm, 1680x1050, 35 pixels/cm

Movie Studio 2023

Movie Studio 2024

VPX 12

CubeAce wrote on 9/8/2022, 12:54 AM

@Basel-Shishani

Hi.

First I would say I'm not sure I'm not sure I completely understand your workflow method in as much as what do you want the audio editor to accomplish and when.

If you are trying to launch an audio editor externally from Movie Studio rather from internally using the 'edit wave file externally' command which can only be applied to an object with a corresponding proxy file or the program cannot release the the file for editing, as the edit has to be 'non destructive' as in not able to rewrite the source file which the program would think it is doing.

If you are initially 'cutting' a file from the timeline rather than deleting it, then the file is still in use as far as the program is concerned and in the project folder view it will still have a red square against it showing that the file is still in use within the program. To release a file from the project it must be deleted from the timeline first and not cut.

If you wish to have an audio editor in use separate from Movie Studio then Movie Studio must use the Direct X option for using audio within Movie Studio rather than using the wav driver option, as using the wav driver will not release the audio driver to the audio editor until the video editor is closed.

Ray.

 

 

 

Windows 10 Enterprise. Version 22H2 OS build 19045.5737

Direct X 12.1 latest hardware updates for Western Digital hard drives.

Asus ROG STRIX Z390-F Gaming motherboard Rev 1.xx with Supreme FX inboard audio using the S1220A code. Driver No 6.0.8960.1 Bios version 1401

Intel i9900K Coffee Lake 3.6 to 5.1GHz CPU with Intel UHD 630 Graphics .Driver version Graphics Driver 31.0.101.2135 for 7th-10th Gen Intel® with 64GB of 3200MHz Corsair DDR4 ram.

1000 watt EVGA modular power supply.

1 x 250GB Evo 970 NVMe: drive for C: drive backup 1 x 1TB Sabrent NVMe drive for Operating System / Programs only. 1X WD BLACK 1TB internal SATA 7,200rpm hard drives.1 for internal projects, 1 for Library clips/sounds/music/stills./backup of working projects. 1x500GB SSD current project only drive, 2x WD RED 2TB drives for latest footage storage. Total 31TB of 10 external WD drives for backup.

ASUS NVIDIA GeForce RTX 3060 12GB. nVidia Studio driver version 572.60 - 3584xCUDA cores Direct X 12.1. Memory interface 192bit Memory bandwidth 360.05GB/s 12GB of dedicated GDDR6 video memory, shared system memory 16307MB PCi Express x8 Gen3. Two Samsung 27" LED SA350 monitors with 5000000:1 contrast ratios at 60Hz.

Running MMS 2024 Suite v 23.0.1.182 (UDP3) and VPX 14 - v20.0.3.180 (UDP3)

M Audio Axiom AIR Mini MIDI keyboard Ver 5.10.0.3507

VXP 14, MMS 2024 Suite, Vegas Studio 16, Vegas Pro 18, Vegas Pro 21,Cubase 4. CS6, NX Studio, Mixcraft 9 Recording Studio. Mixcraft Pro 10 Studio. CS6 and DXO Photolab 8, OBS Studio.

Audio System 5 x matched bi-wired 150 watt Tannoy Reveal speakers plus one Tannoy 15" 250 watt sub with 5.1 class A amplifier. Tuned to room with Tannoy audio application.

Ram Acoustic Studio speakers amplified by NAD amplifier.

Rogers LS7 speakers run from Cambridge Audio P50 amplifier

Schrodinger's Backup. "The condition of any backup is unknown until a restore is attempted."

JCI-21 wrote on 9/8/2022, 10:01 AM

It Happen to me too but when I close MS then the system allow me to delete the files.

Window 11 Pro 64 bit Desktop Version 10.0.26100 build 26100

Processor    AMD Ryzen 5 5600G with Radeon Graphics 3.90 GHz

Installed Physical Memory (RAM)    32.0 GB

Graphic Card NVIDIA GeForce GTX 1650 4GB GDDR6

Ssd 1tb Kingston Kc3000 Gamer M.2 Nvme Pcie 4.0

Onboard sound Realtek
 

browj2 wrote on 9/8/2022, 11:58 AM

@Basel-Shishani

Hi,

Yes, if the file was open in MS during the session, it remains locked, even if removed from the timeline and even if you go to Edit then "Empty undo and cache memory" for some reason.

A simple but annoying workaround, save your project, then File, open "Last opened disc projects" and select the same project that is currently open, select Close current project, and your project will reopen. The external file that was removed from the timeline will have been released for other use.

John CB

John C.B.

VideoPro X(16); Movie Studio 2025 Platinum; Music Maker 2025 Premium Edition; Samplitude Pro X8 Suite; see About me for more.

Desktop System - Windows 10 Pro 22H2; MB ROG STRIX B560-A Gaming WiFi; Graphics Card Zotac Gaming NVIDIA GeForce RTX-3060, PS; Power supply EVGA 750W; Intel Core i7-10700K @ 3.80GHz (UHD Graphics 630); RAM 32 GB; OS on Kingston SSD 1TB; secondary WD 2TB; others 1.5TB, 3TB, 500GB, 4TB, 5TB, 6TB, 8TB, 12TB, 14TB; three monitors - HP 25" main, LG 4K 27" second, HP 27" third; Casio WK-225 piano keyboard; M-Audio M-Track USB mixer.

Notebook - Microsoft Surface Pro 4, i5-6300U, 8 GB RAM, 256 SSD, W10 Pro 20H2.

YouTube Channel: @JCBrownVideos

Basel-Shishani wrote on 9/9/2022, 1:21 AM

@CubeAce 

Thanks.

On deleting vs cutting: The object is deleted and has no red dot and is not showing in the object list of the movie information.

On workflow: I don't see this relevant. I import an object, I decide it doesn’t belong in the movie and delete it. Then I want to go to my file manager and delete/move/rename or do whatever with the source file that has no connection with MS, but I find it hogged by MS! If there’s some obscure wisdom behind not automatically releasing the file handle, then allow the user to release it manually; for example by a right-click operation on the file in the import pane.

On workflow again: not trying to launch an audio editor, and the objects that are already on the timeline are not edited in the external editor, because it can mess things up, and because I don’t need it. All the flow is unidirectional from the DAW to MS. The main audio file/s of the movie is imported when it’s pretty stable. Minor changes can be applied in MS like lowering volume on a section or shorting a silent segment, but that’s that. Infrequently the need might arise to modify a section of the audio, this is done by incrementally adding an item in the audio project for the modified section and exporting it separately.  Reaper (in my case) allows rendering of individual items or tracks within the audio project, which allows me to keep all the objects related to a movie in a single audio project. This way I also get a rough idea about the change history by a quick glance.  

 

Basel-Shishani wrote on 9/9/2022, 1:29 AM

@browj2

Thanks.

I guess that's equivalent to closing the project and re-opening it.

I suggested in my comment for @CubeAce that a mouse click option in the import pane, for example 'release', would do just fine. That's if there's some wisdom behind not releasing the file automatically upon removing it's object from the timeline. What's your thought on this. I would like to raise it as an issue for Magix.

 

browj2 wrote on 9/9/2022, 8:15 AM

@Basel-Shishani

Hi,

Yes, my suggestion is equivalent to reopening the project but without reopening the program, which is what others were suggesting.

The only thing that I can think of as to why the file would be locked is that the delete would be in the undo and cache memory. This would be normal as most users would want this. However, and as I mentioned, Edit then "Empty undo and cache memory" should release the lock on the file.

In VPX, there is a slightly different situation and the effect of this may spill over to MS. Importing objects also puts them in the Project Temp Folder. Deleting from the timeline does not remove them from the PTF and should not. The object would have to be deleted from the PTF as well and then the undo and cache memory emptied. I haven't tried it but will shortly.

In any event, I suggest that you ask Magix.

John CB

John C.B.

VideoPro X(16); Movie Studio 2025 Platinum; Music Maker 2025 Premium Edition; Samplitude Pro X8 Suite; see About me for more.

Desktop System - Windows 10 Pro 22H2; MB ROG STRIX B560-A Gaming WiFi; Graphics Card Zotac Gaming NVIDIA GeForce RTX-3060, PS; Power supply EVGA 750W; Intel Core i7-10700K @ 3.80GHz (UHD Graphics 630); RAM 32 GB; OS on Kingston SSD 1TB; secondary WD 2TB; others 1.5TB, 3TB, 500GB, 4TB, 5TB, 6TB, 8TB, 12TB, 14TB; three monitors - HP 25" main, LG 4K 27" second, HP 27" third; Casio WK-225 piano keyboard; M-Audio M-Track USB mixer.

Notebook - Microsoft Surface Pro 4, i5-6300U, 8 GB RAM, 256 SSD, W10 Pro 20H2.

YouTube Channel: @JCBrownVideos

AAProds wrote on 9/9/2022, 8:45 AM

Then I want to go to my file manager and delete/move/rename or do whatever with the source file that has no connection with MS, but I find it hogged by MS! 

Where I have had the problem is when I've tried to delete the file from within Movie Studio's media pool using the right click Delete option. Not always though. Sometimes MS pops up a message saying "there are internal files as well (I assume the HO and HDPs), do you want to delete those too?". Then the Delete works. But other attempts, "No, it's in use" or similar message.

 

Last changed by AAProds on 9/9/2022, 8:45 AM, changed a total of 1 times.

All my forum comments are based on or refer to my System 1.

My struggle is over! I built my (now) system 2 in 2011 when DV was king and MPEG 2 was just coming onto the scene and I needed a more powerful system to cope. Since then we've advanced to MP4 and to bigger and bigger resolutions. I was really suffering, not so much in editing (with proxies) but in encoding, which just took ages. A video, with Neat Video noise reduction applied, would encode at 12% of film speed. My new system 1 does the same job at 160% of film speed. Marvellous. I'm keeping my old system as a capture station for analogue video tapes and DV.

System 1

Windows 11 v23H2 severely modified by Openshell and ExplorerPatcher

Power supply: 850W Cooler Master (should have got modular)

CPU: Intel i7 13700K running at 3400mhz, cooled by a Kraken 2x140mm All In One liquid cooler.

RAM: 64gb (2x32gb sticks) G.Skill "Ripjaws" DDR4 3200Mhz

GPU 1: iGPU UHD 770

GPU 2: NVidia RTX 3060Ti Windforce 8gb

C drive: NVME 500gb

Bluray Burner: Pioneer BDR-212D

Various other SSD and HDDs.

Monitor: 27"/68cm Samsung, 2560 x 1440, 43 pixels/cm.

MEP 2021 version 20.0.1.80

Magix Video Deluxe 2026 Ultimate (although it comes up as "Premium").

Magix Video Easy version 7.0.1.145

System 2

(Still in use for TV and videotape capture)

Windows 10 Home Version 2009

CPU: i5-750 at 2670mhz with 12gb RAM

Onboard IEEE1394 (Firewire) port

GPU: ATI Radeon HD 4770 (512mb) which is ignored by MEP

Hard drives: C Drive 256gb SSD, various other HDDs.

Monitor: Dell 22"/56cm, 1680x1050, 35 pixels/cm

Movie Studio 2023

Movie Studio 2024

VPX 12

CubeAce wrote on 9/9/2022, 7:22 PM

@Basel-Shishani

Hi.

Movie Studio is a video editor with limited audio abilities.

Reaper is an audio editor with limited video abilities.

Audio in video editing packages is handled very differently to the way audio is handled in a DAW.

Just trying to scroll slowly across the timeline in Movie Studio should audibly show the difference between that and reaper.

A DAW will give an even sounding scroll and change in pitch along with the speed of the scroll.

A video editor will continuously repeat a 'chunk' of audio until it arrives at the next frame (or set of frames) and not change pitch.

If you want both you would have to go to a program which is designed to integrate both jobs but the computing capabilities you would need would be something else. Not to mention the price of the program.

Why this state of affairs exists, I have no idea. I'm not a programmer. All I can say is this is the difference between all but the every top end (and most expensive) of video editing packages and audio mixing editors that I have come across.(even then I'm not completely sure they could do it wither) I don't think even Adobe Premier can do this.

Ray.

 

 

Last changed by CubeAce on 9/9/2022, 7:24 PM, changed a total of 1 times.

 

Windows 10 Enterprise. Version 22H2 OS build 19045.5737

Direct X 12.1 latest hardware updates for Western Digital hard drives.

Asus ROG STRIX Z390-F Gaming motherboard Rev 1.xx with Supreme FX inboard audio using the S1220A code. Driver No 6.0.8960.1 Bios version 1401

Intel i9900K Coffee Lake 3.6 to 5.1GHz CPU with Intel UHD 630 Graphics .Driver version Graphics Driver 31.0.101.2135 for 7th-10th Gen Intel® with 64GB of 3200MHz Corsair DDR4 ram.

1000 watt EVGA modular power supply.

1 x 250GB Evo 970 NVMe: drive for C: drive backup 1 x 1TB Sabrent NVMe drive for Operating System / Programs only. 1X WD BLACK 1TB internal SATA 7,200rpm hard drives.1 for internal projects, 1 for Library clips/sounds/music/stills./backup of working projects. 1x500GB SSD current project only drive, 2x WD RED 2TB drives for latest footage storage. Total 31TB of 10 external WD drives for backup.

ASUS NVIDIA GeForce RTX 3060 12GB. nVidia Studio driver version 572.60 - 3584xCUDA cores Direct X 12.1. Memory interface 192bit Memory bandwidth 360.05GB/s 12GB of dedicated GDDR6 video memory, shared system memory 16307MB PCi Express x8 Gen3. Two Samsung 27" LED SA350 monitors with 5000000:1 contrast ratios at 60Hz.

Running MMS 2024 Suite v 23.0.1.182 (UDP3) and VPX 14 - v20.0.3.180 (UDP3)

M Audio Axiom AIR Mini MIDI keyboard Ver 5.10.0.3507

VXP 14, MMS 2024 Suite, Vegas Studio 16, Vegas Pro 18, Vegas Pro 21,Cubase 4. CS6, NX Studio, Mixcraft 9 Recording Studio. Mixcraft Pro 10 Studio. CS6 and DXO Photolab 8, OBS Studio.

Audio System 5 x matched bi-wired 150 watt Tannoy Reveal speakers plus one Tannoy 15" 250 watt sub with 5.1 class A amplifier. Tuned to room with Tannoy audio application.

Ram Acoustic Studio speakers amplified by NAD amplifier.

Rogers LS7 speakers run from Cambridge Audio P50 amplifier

Schrodinger's Backup. "The condition of any backup is unknown until a restore is attempted."

Basel-Shishani wrote on 9/19/2022, 5:05 AM

@browj2

Thanks. It makes sense that they might have reasons not to release the file on removing the object from the timeline, like you explained.

I'll probably just suggest to them to have an option when clicking on an object in the media pane to 'release object source' (or 'remove from cache' or whatever) to tell the program that the user has no intention to use the object in the program anymore and thus there's no need to keep the file handle locked.