Skip navigation
Currently Being Moderated

Debug event: Keyframes

May 20, 2012 2:44 AM

I have encountered a bug in Premiere Elements 10.0:

 

I was editing a movie project, saved it, exited Elements, then tried to reopen it and got the error message

 

Premiere Elements Debug Event

 

Premiere Elements has encountered an error:

 

[d:\pre\mediacore\mediafoundation\api\inc\Keyframe/Keyframe.h-142]

 

Looking at my history of auto-saves, I found that the three most recent auto-saves showed the same error, the fourth one could be opened OK. That version was at the state of the project I had before starting to add DVD menus to it.

 

Looking further at the project files (prompted by this forum entry: http://forums.adobe.com/message/4038119 and the strange solution proposed by it: using Perl to replace certain commas with dots), I found a striking difference between the last working and the first non-working solution:

 

In the file that couldn't be opened, all decimal numbers in <StartKeyframe> and <Keyframe> tags had been saved incorrectly.

 

For example, a line like

 

<StartKeyframe>-91445760000000000,1.,0,0,0.,0.,0.,0.</StartKeyframe>

 

had become

 

<StartKeyframe>-91445760000000000,1,,0,0,0,,0,,0,,0,</StartKeyframe>

 

Obviously, PE was using the current locale's (Germany) settings for the decimal point (which is a comma) to save those values instead of the dot it needed to be able to reopen the file.

 

So I first tried the solution in the above post, but I found that the regex provided there didn't catch all the incorrect commas. I tried it again with the regex

 

s/,(?=[,<]|\d{10})/./g

 

replacing every comma that was either followed by another comma or an opening angle bracket or a decimal fraction (all of which are > 10 digits) with a dot.

 

This looks like it fixed this problem (at least now there were no differences in the decimals between those two versions when I compared them with Beyond Compare), but the file still refused to open (with the same error message). Of course there are still >2100 differences between the two files (there are about 20 minutes of editing between them), but after looking at about 100 of those, I didn't find anything that looked suspicious (at least nothing in the vicinity of "keyframes"). But of course I don't know if I'm looking for the right thing.

 

So is there any way to check for other errors that make the file invalid? Any hints?

 

Also, how come this bug is still there (it looks like it exists since PE 8)?

 

Thanks and best regards,

Tim

 
Replies
  • Currently Being Moderated
    May 20, 2012 6:02 AM   in reply to tim.pietzcker

    We're just fellow users on this forum, not programmers.

     

    So it might be easier if you just telling what you were doing with which format of video and then what happened.

     

    All that code might as well be hieroglyphics to most of us!

     
    |
    Mark as:
  • Currently Being Moderated
    May 20, 2012 10:07 AM   in reply to tim.pietzcker

    There are a few Adobe employees, who drop by, from time to time. However, the frequency of their visits is variable - we might see three in a day, or go a week, with no employee interaction.

     

    I would guess that right now, most are involved in the development of PrE 11, which will likely be released in Sept-Oct of 2012. Some might "take a break," and read/respond to some threads, especially if they suspect that they might be useful to the on-going development of PrE 11. Remember, however, that is but a guess on my part.

     

    Good luck,

     

    Hunt

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points