Hi! Ralph Glasstetter wrote: > Hmmm,... > Shilft+Wheel moves not exactly a second, but only 24 frames!?!
Because it jumps to the nearest I-frame. That's why I wrote "~25", which is supposed to mean "approximately 25" ;) Besides that, the calculation "25 frames = 1 second" is only valid for interlaced PAL material anyway. > Maybe this has to do with the integer arithmetic in > linslider->setValue(curpic - delta / 120); > where the result of delta/120 gives 0 if delta=25 (whereas delta=25*60 gives > 12)? No, it depends on the setting of the bool member "fine". If its value is false, the slider "snaps" to the nearest I-frame. In an earlier version (revision 6), it used to move exactly 25 frames forward or backward, but it took much too long to update the display every time because dvbcut had to decode the entire GOP first. > Anyhow... I don't understand that line... why dividing by 120 ... isn't > curpic > in frames? I think I have to beat Sven hard, for not supplying any comment > line in the code... ;-) The delta value (that is, we->delta()) is always an integer multiple of 120 (that's a property of Qt's event processing). So, if you want to step to the next (previous) frame with a single "click" of the wheel, you have to divide delta by that value to obtain ±1. > But nevertheless, very usefull in positioning single frames... :-) Actually, I consider changing the behaviour a little again. It's probably more convenient if <Wheel> moves in minute intervals and <Ctrl+Wheel> does the fine positioning, than vice versa. > ciao > Ralph > > BTW, is it not possible anymore to set the filter for the file open dialog > in ~/.qt/dvbcut.sf.netrc? With the original 0.5.3 this is working, but the > current version does only show *.mpg and *.ts (like the default)! That part of the program hasn't changed at all since 0.5.3. And with my binary, the "loadfilter=" setting works as it used to. Maybe the program can't find your settings file. Did you verify that HOME is set correctly, and that $HOME/.qt/dvbcut.sf.netrc is readable? Another possible cause is that a file $HOME/.qt/.dvbcut.sf.netrc.lock exists (e.g. because dvbcut crashed earlier). Note the leading ".". Finally, there might be a syntax error in the settings file (maybe even in another entry). -- Michael "Tired" Riepe <[EMAIL PROTECTED]> X-Tired: Each morning I get up I die a little ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ DVBCUT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dvbcut-user
