Re: [DVBCUT-user] Ready for a stable release / interested in new capabilities ?

2009-01-19 Thread Cengiz Gunay

On Thu, 8 Jan 2009, Ralph Glasstetter wrote:

 BTW, If you want tho see how slow frame processing is or have a fast enough 
 CPU you could set chapters/tolerance0. That way inbetween the given numer of 
 frames around the normaly fixed chaptermarks from above the nearest scene 
 change (=sum of color distances  chapters/threshold) is detected to find a 
 more appropriate chapter mark. 
 
 A black frame detection would work similar slow ...

This is an interesting feature. I tried several values for these 
configuration variables as you suggested, but I couldn't get the chapter 
marks to move from the fixed 15000 frame steps. It did take a little 
longer, but not as long as you have warned:

chapters/interval=15000
chapters/minimum=1
chapters/threshold=5000
chapters/tolerance=5

Cengiz Gunay
--
cgu...@emory.edu  cengi...@users.sf.net (MSN)   cengi...@gmail.com
Lab: +1-404-727-3565Home/Cell: +1-678-559-8694
http://userwww.service.emory.edu/~cgunay/
IMs: ICQ# 21104923, cengi...@{jabber.org,yahoo.com,Skype}
--

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user


Re: [DVBCUT-user] Ready for a stable release / interested in new capabilities ?

2009-01-11 Thread Michael Riepe
Hi!

Francesco Fumanti wrote:

 However, I made a strange observation: the settings file contains
 wheel/incr_normal=1500
 which I assume corresponds to one minute of a PAL movie. But if I use 
 the right arrow key to jump forward, it jumps a little less than 1 
 minute, as the indicator with the milliseconds decreases (similar for 
 the left arrow). Is this normal?

Yes. In coarse mode, the position snaps to the nearest I frame. That
allows faster navigation because you don't have to decode the whole GOP.

Actually, this behaviour is configurable. If you travel less than
wheel/threshold (default: 24) frames, the program switches to fine
mode and positions accurately. You can change the threshold by editing
the configuration file.

 By the way, why don't you simply use the frame number in the most right 
 field (milliseconds) of the time indicator? In other words, you leave 
 the indicators for hours, minutes, seconds the way it is; you replace 
 the indicator that shows 1/1000 seconds with integer numbers that go 
 from 0 to 24 for PAL movies, from 0 to 29 for NTSC movies,... generally, 
 it would go from 0 to (fps - 1). I think it would be easier to 
 understand at what picture of the current second the movie has been 
 stopped.

Well, it's a *time* display, isn't it?

 Finally, what is the correct way to compile the svn checkout of dvbcut? 
 Do I simply have to run make without running configure?

autoconf
./configure --whatever-options-you-need
make
make install

-- 
Michael Tired Riepe mich...@mr511.de
X-Tired: Each morning I get up I die a little

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user


Re: [DVBCUT-user] Ready for a stable release / interested in new capabilities ?

2009-01-10 Thread Ralph Glasstetter
Hi,

Am Freitag, 9. Januar 2009 schrieb Michael Riepe:
 [...]
  2. I've bound the Left / Right Cursor Keys additionally to the backward /
  forword scrolling function. Like for the MouseWheel you can also use the
  Alt/Ctrl/Shift modifiers defined in the settings file (don't care about
  the name /wheel/*).

 There was a warning about an uninitialized variable in that part of the
 patch, therefore I skipped it (for now). I need to investigate the issue
 first.

Hmmm, strange... couldn't see any warning. 
Do you use special compiler switches for testing?

Guess it's delta, which only gets a value when it's needed, i.e. the event 
is processed by us...

bye,
Ralph

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user


Re: [DVBCUT-user] Ready for a stable release / interested in new capabilities ?

2009-01-10 Thread Michael Riepe
Hi!

Ralph Glasstetter wrote:

There was a warning about an uninitialized variable in that part of the
patch, therefore I skipped it (for now). I need to investigate the issue
first.
 
 
 Hmmm, strange... couldn't see any warning. 
 Do you use special compiler switches for testing?

I usually use -Wall.

 Guess it's delta, which only gets a value when it's needed, i.e. the event 
 is processed by us...

Yep.

-- 
Michael Tired Riepe mich...@mr511.de
X-Tired: Each morning I get up I die a little

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user


Re: [DVBCUT-user] Ready for a stable release / interested in new capabilities ?

2009-01-10 Thread Ralph Glasstetter
Hi,

Am Samstag, 10. Januar 2009 schrieb Michael Riepe:
 Hi!

 Ralph Glasstetter wrote:
 There was a warning about an uninitialized variable in that part of the
 patch, therefore I skipped it (for now). I need to investigate the issue
 first.
 
  Hmmm, strange... couldn't see any warning.
  Do you use special compiler switches for testing?

 I usually use -Wall.

OK, me too... that's default in our build procedures, but I don't see any 
warning (scons  autoconf). Maybe a feature of my g++ v4.2.1 ... ?

  Guess it's delta, which only gets a value when it's needed, i.e. the
  event is processed by us...

 Yep.

Just change the declaration to
int delta = 0;
to get rid of the warning. :)

Ralph





--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user


Re: [DVBCUT-user] Ready for a stable release / interested in new capabilities ?

2009-01-10 Thread Michael Riepe
Hi!

Ralph Glasstetter wrote:

 Just change the declaration to
 int delta = 0;
 to get rid of the warning. :)

As soon as I'm convinced that that is the right thing to do. ;-)

-- 
Michael Tired Riepe mich...@mr511.de
X-Tired: Each morning I get up I die a little

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user


Re: [DVBCUT-user] Ready for a stable release / interested in new capabilities ?

2009-01-10 Thread Michael Riepe
Okay...

I wrote:

Just change the declaration to
int delta = 0;
to get rid of the warning. :)
 
 As soon as I'm convinced that that is the right thing to do. ;-)

I am convinced. :-)

I refactored the code a little, though. And, as a bonus, I made the
mouse wheel work inside the video window (NOT the cursor keys, though).

Welcome to r142,
-- 
Michael Tired Riepe mich...@mr511.de
X-Tired: Each morning I get up I die a little

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user


Re: [DVBCUT-user] Ready for a stable release / interested in new capabilities ?

2009-01-08 Thread Francesco Fumanti
Hi,

Ralph Glasstetter wrote:
 Am Montag, 5. Januar 2009 schrieb Cengiz Gunay:
 On Mon, 5 Jan 2009, Francesco Fumanti wrote:
 There is another feature that I would welcome:
 
 It would be handy if it was possible to play the stream in
 different fast forward speeds (at least 16x and  32x) when
 searching for ads. This way the user would simply have to watch
 and press the stop button when an ad appears. He would not have
 to use the proportional slider, whose precision depends on the
 length of the movie being cut and the size of the window.
 
 Guess mplayer isn't fast enough for this. Just try replaying some
 videos with its -speed switch... on my CPU it's hardly possible to
 reach 8x speed! Better use the skip-shortcuts ...

Ok, so we can probably forget...


 Adding to this, I'd suggest having shortcut keys for skipping 30s,
 1min, 5min to nearest I-frames, like in MPlayer and ProjectX. This
 helps in finding commercials much simpler than using the slidebar.
 I do like the slidebar and the exponential slidebar for
 fine-tuning, but it gets tiring for doing the bulk of the job.

Indeed, that could be an alternative to fast forward.

 ... which are actually already there!
 
 Ever tried using the srcollwheel of your mouse while holding Alt-,
 Ctrl- or Shift-keys? Default wheel increments (in frames) are: 
 wheel_incr_alt=22500 wheel_incr_ctrl=1 wheel_incr_normal=1500 
 wheel_incr_shift=25 but you can adapt this in the settings file
 (~/.qt/dvbcut.sf.netrc) to your needs.
 
 BTW, with wheel_delta=-120 you can change the scroll direction... ;-)


Is it possible to use keyboard keys to jump forward and backward? In 
fact, there are people that for accessibility reasons are not able to 
handle a scroll wheel. If it is not yet possible, I would really 
appreciate if the possibility  to jump forward and backward by keyboard 
keys could be added to it; otherwise I will not be able to use that feature.

I would suggest using several keys instead of one key for forward jump
and one key for backward jump, coupled with modifiers to determine
different jump distances.

Of course, placing additional buttons for the jumps on the window would
make it even more userfriendly.


Concerning the settings file: it might be more easy to find it if it was 
at the root level of the user's home directory ( ~/.dvbcut ) instead of 
under .qt .


Finally, what about adding a Help menu to dvbcut, even if that help menu 
only displays a simple text file with instructions about how to use 
dvbcut and a faq.


Cheers

Francesco


--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user


Re: [DVBCUT-user] Ready for a stable release / interested in new capabilities ?

2009-01-08 Thread Cengiz Gunay

Hi,

On Thu, 8 Jan 2009, Ralph Glasstetter wrote:

 Am Montag, 5. Januar 2009 schrieb Cengiz Gunay:
  Adding to this, I'd suggest having shortcut keys for skipping 30s, 1min,
  5min to nearest I-frames, like in MPlayer and ProjectX. This helps in
  finding commercials much simpler than using the slidebar. I do like the
  slidebar and the exponential slidebar for fine-tuning, but it gets tiring
  for doing the bulk of the job.
 
 ... which are actually already there!
 
 Ever tried using the srcollwheel of your mouse while holding Alt-, Ctrl- or 
 Shift-keys? Default wheel increments (in frames) are:
   wheel_incr_alt=22500
   wheel_incr_ctrl=1
   wheel_incr_normal=1500
   wheel_incr_shift=25
 but you can adapt this in the settings file (~/.qt/dvbcut.sf.netrc) to your 
 needs. 
 
 BTW, with wheel_delta=-120 you can change the scroll direction... ;-)

Cool! I had no idea. I think dvbcut really needs a simple Help menu for 
this :)

  Now, to really make it simple for finding commercials, it would be GREAT
  if dvbcut could identify the black frames during indexing or a separate
  scan. Then, the user can jump through them and fine-tune cut points. I am
  a little confused about the difference from frame function and
 ... guess thats already answered...

yes, thanks, Francesco, for that.

  auto-chapters function. Maybe these can already do what I suggest, but I
  don't know how to use them properly.
 
 Auto-Chapters sets a chapter mark every fixed number of frames or a fixed 
 number of chapters if chapters/interval is negative, which you can also 
 configure in the settings files.

Ok.

 I also had in mind implementing a black frame detection for Auto cut 
 points, 
 but that was far too slow with the used imageprovider. Maybe it could be 
 implemented more effectively on the mpeg level during indexing somehow... 
 don't know... however, not every commercial begins with a black frame and not 
 every black frame starts a commercial.

Yes, I agree. That's why I was saying it should make a list and then the 
user can flip through them to fine tune them. You can always add new 
cutpoints, but having the black frames automatically will save huge 
amounts of time.

 BTW, If you want tho see how slow frame processing is or have a fast enough 
 CPU you could set chapters/tolerance0. That way inbetween the given numer of 
 frames around the normaly fixed chaptermarks from above the nearest scene 
 change (=sum of color distances  chapters/threshold) is detected to find a 
 more appropriate chapter mark. 
 
 A black frame detection would work similar slow ...

Ok, I will try this on my Core 2 Duo 2100 and post the results.

Cengiz Gunay
--
cgu...@emory.edu  cengi...@users.sf.net (MSN)   cengi...@gmail.com
Lab: +1-404-727-3565Home/Cell: +1-678-559-8694
http://userwww.service.emory.edu/~cgunay/
IMs: ICQ# 21104923, cengi...@{jabber.org,yahoo.com,Skype}
--

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user


Re: [DVBCUT-user] Ready for a stable release / interested in new capabilities ?

2009-01-05 Thread Francesco Fumanti
Hello,


There is another feature that I would welcome:

It would be handy if it was possible to play the stream in different 
fast forward speeds (at least 16x and  32x) when searching for ads. This 
way the user would simply have to watch and press the stop button when 
an ad appears. He would not have to use the proportional slider, whose 
precision depends on the length of the movie being cut and the size of 
the window.


Cheers

Francesco

David Timms wrote:
 Hi guys,
 
 I heard mention on the list around mid year that it might be nearly time
 to make a release, but that only one person could trigger that. It seems
 that dvbcut has been pretty stable over the last 6 months, not much new
 code, yet not many (any) bugs being found. Perhaps it is time.
 =
 If not, what does the development team see in dvbcut's future ?
 
 I would like to see things like:
 - shortcut jump keys modelled on mplayer, that are active both during
 playback and selection of the clip
 
 - shortcut key for jump back to nearest I frame (the one where data only
 needs to be copied, not regenerated), and forward to nearest B after I
 (from memory).
 
 - a toolbar icon for export (there is already a shortcut key).
 
 - a 2/5 video size mode
on a 1024x768 monitor, a HD stream is far to wide at 1:1, still won't
 fit beside the left hand marked points, while 0.25x is too small. I was
 going to suggest 1/3, but it might be more effective to use numbers that
 divide wholly into standard TV stream sizes. eg 1920x1080
 
 - Choose a more appropriate clip view/playback size when it is detected
 that the content won't fit in the dvbcut right hand window body.
 
 - capability to count total bad frames in the selection, and complete clip.
For me it's quite rare to get capture some DVB that has BER=0 or at
 least Uncorrected errors = 0. It wouldn't necessarily be visible, more
 like a menu item to go analyze selection.
 
 ps: My Package Review process for including dvbcut in the Fedora add-on
 repository rpmfusion.org is complete, and the package will be easily
 available in about a week to Fedora users with RPM Fusion configured.
 
 Cheers,
 
 DaveT.
 
 
 --
 ___
 DVBCUT-user mailing list
 DVBCUT-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dvbcut-user
 

--
___
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user


Re: [DVBCUT-user] Ready for a stable release / interested in new capabilities ?

2009-01-05 Thread Michael Riepe
Hi!

David Timms wrote:

 I heard mention on the list around mid year that it might be nearly time
 to make a release, but that only one person could trigger that. It seems
 that dvbcut has been pretty stable over the last 6 months, not much new
 code, yet not many (any) bugs being found. Perhaps it is time.

Definitely.

 If not, what does the development team see in dvbcut's future ?

A rewrite. New core library with pluggable codecs (we'll need them for
HDTV), and a GTK+ based GUI on top of that (by default).

 I would like to see things like:
 - shortcut jump keys modelled on mplayer, that are active both during
 playback and selection of the clip
 
 - shortcut key for jump back to nearest I frame (the one where data only
 needs to be copied, not regenerated), and forward to nearest B after I
 (from memory).
 
 - a toolbar icon for export (there is already a shortcut key).
 
 - a 2/5 video size mode
on a 1024x768 monitor, a HD stream is far to wide at 1:1, still won't
 fit beside the left hand marked points, while 0.25x is too small. I was
 going to suggest 1/3, but it might be more effective to use numbers that
 divide wholly into standard TV stream sizes. eg 1920x1080

Actually, I think that dvbcut should consider the screen's size and
select a size that fits.

 - Choose a more appropriate clip view/playback size when it is detected
 that the content won't fit in the dvbcut right hand window body.
 
 - capability to count total bad frames in the selection, and complete clip.
For me it's quite rare to get capture some DVB that has BER=0 or at
 least Uncorrected errors = 0. It wouldn't necessarily be visible, more
 like a menu item to go analyze selection.
 
 ps: My Package Review process for including dvbcut in the Fedora add-on
 repository rpmfusion.org is complete, and the package will be easily
 available in about a week to Fedora users with RPM Fusion configured.
 
 Cheers,
 
 DaveT.
 
 
 --
 ___
 DVBCUT-user mailing list
 DVBCUT-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dvbcut-user

-- 
Michael Tired Riepe mich...@mr511.de
X-Tired: Each morning I get up I die a little

--
___
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user


Re: [DVBCUT-user] Ready for a stable release / interested in new capabilities ?

2009-01-05 Thread Francesco Fumanti
Hello,

Cengiz Gunay wrote:
 Now, to really make it simple for finding commercials, it would be GREAT 
 if dvbcut could identify the black frames during indexing or a separate 
 scan. Then, the user can jump through them and fine-tune cut points. I am 
 a little confused about the difference from frame function and 
 auto-chapters function. Maybe these can already do what I suggest, but I 
 don't know how to use them properly.

I think that the difference from frame function is useful when a part 
of the movie is repeated after an add.

Assume that you have set a stop point before the ad; by enabling the 
difference function, it is possible to find after the ad the frame with 
exactly the same picture as the stop frame. (in the case, where the last 
seconds of the movie seen before the ad, are repeated after the ad)

Cheers

Francesco

--
___
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user


Re: [DVBCUT-user] Ready for a stable release / interested in new capabilities ?

2009-01-05 Thread David Timms
Levente Novák wrote:
 - and an icon for the project itself which could be used to represent
 the executable on the desktop and menubars.
I had forgotten that I created icons for dvbcut myself. The following 
cvs repo has them in a couple of different sizes. I don't think I had 
pointed them out before. They take a combination of the main large logo 
from the dvbcut home page, and shrink it down into an icon size.

DaveT.

--
___
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user