fnordware / AdobeOgg

Ogg plug-ins for Adobe programs
400 stars 37 forks source link

if you rename and replace and file already exists, media encoder hangs #3

Open jmichae3 opened 10 years ago

jmichae3 commented 10 years ago

1.encode same media file to theora from last bug, custom 640x480, uncheck export 2.audio since it's a time lapse. 3.encode it again, this time renaming the file and taking off the _1 off of the filename. 4.choose to replace. 5.start queue.

actual: hangs and windows kills the program (detecting a forever loop? noticed this in my programs). "Adobe Media Encoder CS5 Adobe Media Encoder CS5 has stopped working A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available."

expected: should encode and replace the file. I I have the files listed in windows explorer. this may be locking the file. I also had viewed the theora file in ff26. I hit the backspace key, which brought me to the previous page, and tried again, this should have hopefully eliminated the problem, but it did not.

platform: win7ult64sp1retail, i7-3970x, geforce gtx 670 w nvidia drivers, plenty of disk space.

fnordware commented 10 years ago

Hmmmm, I haven't been able to reproduce using either Media Encoder CS5 on Mac or CS6 on Windows (I don't have CS5 on Windows). In cases where the existing file was open and thus un-writable, Media Encoder gave me an error before it even started encoding with the plug-in.

fnordware commented 10 years ago

OK, I think I figured out what the problem was. It wasn't a bug with writing over an existing file, it was a bug with doing video without audio. Fixed in commit db2617b0670bea2ab3ece733f7720fba54a1ef5f. Download the new beta and hopefully it works.

jmichae3 commented 10 years ago

performed same steps except forgot to change the filename, so it had the _1 on the end. hung. if I choose to replace, it encodes fine from then on, doesn't repeat again under any circumstances. hmm. hung only once. intermittent bug. I had replaced the files, and the file dates proved it. (?)

fnordware commented 10 years ago

Well, keep using it and see if you start to see a pattern that might be reproducible. Or hopefully the problems will just stop.

Thanks for the diligence.