Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: StevenG on September 18, 2011, 06:13:37 PM

Title: Linked file even whene closed(ctrl+w).
Post by: StevenG on September 18, 2011, 06:13:37 PM
Hi,
a little thing:

- when i close video file, he stay linked to avidemux3 until application closed.

I like to delete source file after encoding,
but now i need to close whole app[unlike in v2]
HOPE IT"S A BUG.
Title: Re: Linked file even when closed - me2
Post by: mishule007 on January 07, 2013, 09:13:42 PM
Just wanted to say that I am also experiencing this
Avidemux 2.6.1 on Windows 7 32 bit

Worse actually: all the file handles of all the files ever opened are kept. Even if the video is closed (e.g. bz script with Editor.closeVideo() still the files cannot be deleted / moved / etc until the whole Avidemux is closed.
Title: Re: Linked file even whene closed(ctrl+w).
Post by: ajschult on January 07, 2013, 11:21:52 PM
What kind of file is it?  Providing an example file would be helpful.
Title: Re: Linked file even whene closed(ctrl+w).
Post by: mishule007 on January 08, 2013, 09:48:40 PM
Aehm ... nothing fancy. What I do: I have recordings from my receiver in .ts format. I open them with Avidemux, configure a video encoder and audio encoder and save under a new name.
Now after opening a new .ts file, would you expect to be able to delete the first one? If yes, then it does not work. Avidemux still has a handle to the first file, you can see this with ProcessExplorer or other similar tools. Not until you close Aviedmux altogether.

What file does not seem to matter, so that's why I did not feel the file itself would be important. Happens with any file I open.
Even if no encoder is configured, just copy/copy same behaviour.

It happens also with scripting - after calling in the script Editor.closeVideo() and then trying to rename the file will not work. I can see that the close video works because I run the script in the UI and I see the video dissapearing.

Hmmm ...  was this information usefull ... did it make it more clear?
Title: Re: Linked file even whene closed(ctrl+w).
Post by: ajschult on January 09, 2013, 03:37:13 AM
I made a .ts file with avidemux (output format=MPEG TS).  Loading and closing that file did not leak any file handles.
Title: Re: Linked file even whene closed(ctrl+w).
Post by: mishule007 on January 11, 2013, 08:14:31 PM
Hey you know what? I installed now r8380 and the file is not locked anymore after itÃ,´s closed!
I think we can finally close this thread.
Title: Re: Linked file even whene closed(ctrl+w).
Post by: Lewt on May 27, 2013, 10:07:27 PM
I've been experiencing the same issues with AVI files (Dvix, Xvid you name it) every time I close a file via the CTRL-W shortcut it's stayed used by Avidemux even if I load another one on top of it.
As far as I can tell Mp4, Mpeg and FLV doesn't suffer from this bug.
Title: Re: Linked file even whene closed(ctrl+w).
Post by: mean on May 28, 2013, 04:41:46 PM
Confirmed
Title: Re: Linked file even whene closed(ctrl+w).
Post by: mean on May 28, 2013, 05:51:31 PM
Fixed in r8705