You are not logged in.

#1 04-28-2013 21:43:21

sadsaddle
Nouveau membre
Registered: 04-28-2013
Posts: 3

infinite loop in an avi item

I built from source Version 1.6_beta_4 20130412.

In cBaseMediaFile.cpp function cVideoFile::SeekFile.

the line

Continue=Continue && pts<(Position-FPSDuration);

gave me a problem.

The fact that FPSDuration is of type uint64_t seemed to make the term (Position-FPSDuration) also uint64_t.
Thus a negative value for (Position-FPSDuration) was treated as a large unsigned number and
pts<(Position-FPSDuration)  was always true and Continue was therefore always true and I looped forever.

I cast everything to int64_t and the code worked.

Offline

#2 04-29-2013 17:26:09

domledom
Administrateur
Registered: 09-17-2011
Posts: 1,080

Re: infinite loop in an avi item

Hello and thank you for the info.

I was also found this and changed FPSDuration to int64_t in beta 6.

That said, it's good to have help?

If you found it, you probably could find others! Are you interested in helping me?


Processeur i5 - 8 Go RAM - Manjaro Linux KDE (64 bits) / Windows 7 (64 bits)

Offline

#3 04-29-2013 18:35:41

sadsaddle
Nouveau membre
Registered: 04-28-2013
Posts: 3

Re: infinite loop in an avi item

I would be willing to try to help. Do you have specific things you need help with?

Offline

#4 04-30-2013 07:52:31

domledom
Administrateur
Registered: 09-17-2011
Posts: 1,080

Re: infinite loop in an avi item

For version 1.6, actually, I'm finalizing the documentation.
It remains a problem of sluggish in ken burns effects (probably rounding errors).
You can try to watch it.

Otherwise for the next version, I have lots of projects in mind and I will need help to accelerate the development.
The most important will probably be the migration to Qt 5.

What operating system do you use?
What are your skills in Qt?


Processeur i5 - 8 Go RAM - Manjaro Linux KDE (64 bits) / Windows 7 (64 bits)

Offline

#5 04-30-2013 16:00:47

sadsaddle
Nouveau membre
Registered: 04-28-2013
Posts: 3

Re: infinite loop in an avi item

i am a retired software developer. I currently use linux mint 14 cinamon.
I have windows experience as well.

I have worked in c++ and did some work in QT (probably QT 3, its been a while).

I currently contribute to 2 open source projects :

http://www.literacybridge.org/
http://linux-ha.org/source-doc/assimila … index.html

I think I would enjoy helping port to QT 5.

I will try a Ken Burns effect today and see if I can reproduce the sluggishness.

Offline

Board footer