[SLUG] Re: DVD slideshow creation

2008-04-12 Thread Mary Gardiner
On Sun, Apr 13, 2008, elliott-brennan wrote:
> Hi Mary,
>
> Another app you can try is ManDVD
>
> http://www.getdeb.net/app/ManDVD

Thanks. It unfortunately depends on dvd-slideshow as most other
graphical apps do, and therefore is broken in Ubuntu hardy (and when
not broken would produce the ugliest text imaginable, as far as I can
tell).

-Mary
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Re: DVD slideshow creation

2008-04-12 Thread elliott-brennan

Hi Mary,

Another app you can try is ManDVD

http://www.getdeb.net/app/ManDVD

This also makes very groovy DVD menus etc.

Weirdly, I cannot find the app at:

www.kde-apps.org

where it normally is. I'm not sure what's happening.

Another way (unless you're already au fai with 
this) is to use Kino to create an mpeg and then 
create a DVD from that...people can pause on what 
they wish - but of course they can't select the 
order in which they'd like to see images.


That said, ManDVD creates some very nice DVDs.

HTH.

Regards,

Patrick



Mary Gardiner <[EMAIL PROTECTED]>
Sat, 12 Apr 2008 12:44:38 +1000



Hi all,

Is there any mature-ish DVD creation software for Linux that does not
depend on dvd-slideshow?

Problems with dvd-slideshow:
 1. it needs to be patched on Ubuntu to actually work with current
versions of ffmpeg and sox (oh for the benefit of people coming in
from Google it's got a missing dependency on at least libsox-fmt-sndfile
and possibly other libsox-fmt-* files)



-Mary




--
Registered GNU/Linux User 368634
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] grep question

2008-04-12 Thread Alex Samad
On Sun, Apr 13, 2008 at 08:56:59AM +1000, Aníbal Monsalve Salazar wrote:
> On Sun, Apr 13, 2008 at 08:39:17AM +1000, Alex Samad wrote:
> >so I tried grep -v '^\W*;' which sort of works, except it leaves me with
> >blank lines now, how can I not show the blank lines
> 
> Try grep -Ev '^(\W*;|$)'
great that works, (i changed to \s* instead, also tried the [[:space:]]
and it worked)

I don't understand hwy i need to test for ^$, I had thought that once a
line test positive for ^\s*; it would be excluded ?


> 
> -- 
> "Red Rosa now has vanished too" Bertolt Brecht



> -- 
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

-- 
"The idea of putting subliminable messages into ads is ridiculous."

- George W. Bush
09/01/2000


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] grep question

2008-04-12 Thread Aníbal Monsalve Salazar
On Sun, Apr 13, 2008 at 08:39:17AM +1000, Alex Samad wrote:
>so I tried grep -v '^\W*;' which sort of works, except it leaves me with
>blank lines now, how can I not show the blank lines

Try grep -Ev '^(\W*;|$)'

-- 
"Red Rosa now has vanished too" Bertolt Brecht


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] regex question

2008-04-12 Thread Alex Samad
On Sun, Apr 13, 2008 at 09:16:59AM +1000, Alex Samad wrote:
> On Sun, Apr 13, 2008 at 08:39:17AM +1000, Alex Samad wrote:
> > Hi
> > 
> > 
> > I want to look at a config file that uses ; as comments, but I want to
> > look at everything that is not a commented line
> > 
> > so I tried grep -v '^\W*;' which sort of works, except it leaves me with
> > blank lines now, how can I not show the blank lines
> > 
> adding to this I tried it in perl
> 
> perl -nle 'print "[$_]" if ( ! m/^\s*;/)' sip.conf 
> 
> but it still prints out blank lines where it matches ?

more delving into it

I need something like this 
perl -nle 'next if ( /^\s*;/);  print  if length $_ > 0' sip.conf

I have to check if I have a blank line. I would have thought the next
would read the next line !

> 
> 
> (i realised  i used \W instead of \s before)
> 
> another question while we are on regex, how do I use [:space:] in grep
> and perl ?
> 
> Alex
> 

-- 
"Well, that's going to be up to the pundits and the people to make up their 
mind.  I'll tell you what is a president for him, for example, talking about my 
record in the state of Texas.  I mean, he's willing to say anything in order to 
convince people that I haven't had a good record in Texas."

- George W. Bush
09/20/2000
on MSNBC


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] grep question

2008-04-12 Thread Alex Samad
On Sun, Apr 13, 2008 at 08:39:17AM +1000, Alex Samad wrote:
> Hi
> 
> 
> I want to look at a config file that uses ; as comments, but I want to
> look at everything that is not a commented line
> 
> so I tried grep -v '^\W*;' which sort of works, except it leaves me with
> blank lines now, how can I not show the blank lines
> 
adding to this I tried it in perl

perl -nle 'print "[$_]" if ( ! m/^\s*;/)' sip.conf 

but it still prints out blank lines where it matches ?


(i realised  i used \W instead of \s before)

another question while we are on regex, how do I use [:space:] in grep
and perl ?

Alex

-- 
"A lot of times in the rhetoric, people forget the facts. And the facts are 
that thousands of small businesses -- Hispanically owned or otherwise -- pay 
taxes at the highest marginal rate."

- George W. Bush
03/19/2001
speaking to the Hispanic Chamber of Commerce


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] grep question

2008-04-12 Thread Alex Samad
Hi


I want to look at a config file that uses ; as comments, but I want to
look at everything that is not a commented line

so I tried grep -v '^\W*;' which sort of works, except it leaves me with
blank lines now, how can I not show the blank lines


-- 
"For every fatal shooting, there were roughly three non-fatal shootings. And, 
folks, this is unacceptable in America. It's just unacceptable. And we're going 
to do something about it. "

- George W. Bush
05/14/2001
Philadelphia, PA


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Odd behavour with Javascript

2008-04-12 Thread James
G'day Howard,

The parameters need to be in double quotes.
Eg. 

Re: [SLUG] bash challenge

2008-04-12 Thread Amos Shapira
On Sat, Apr 12, 2008 at 6:06 PM, david <[EMAIL PROTECTED]> wrote:
>  Thanks everyone.
>  For the archive, this is where I finished up - seems to work so far:
>
>  while inotifywait -e close somefile; do
> 
> while lsof foo/*.tif > /dev/null ; do
> sleep 10# because they are big files
> done
> rm foo/*.tif
>  done
>
>  [1]
>  I wonder about timing issues. "somefile" is a 3 byte counter which is
>  the first thing updated by another program, which then creates the tif
>  files. I want my script to do it's thing after all that.
>
>  What happens if the lsof test happens before the tif files are first
>  opened for writing? Am I worrying too much?
>
>  I've put a sleep into  in case that's a problem. For my job
>  it doesn't matter if there is a sleep in there.

Have you looked into tracking the processes instead of the files? Can
you identify a single process who's life-span matches the time that
the files are being created?

--Amos
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] bash challenge

2008-04-12 Thread david
On Fri, 2008-04-11 at 15:58 +1000, Peter Hardy wrote:
> On Fri, 2008-04-11 at 15:06 +1000, david wrote:
> > while inotifywait -e close somefile ; do
> > 
> > rm foo/*.tif
> > done
> > 
> > 
> > The problem is that i need to make sure that foo/*.tif have closed
> > before I remove them, or strange things happen.
> > 
> > I don't know what the names of the tif files are going to be, although I
> > know they will in directory foo/
> > 
> > Is there a way of waiting until all files in foo/ are closed?
> 
> lsof will work as long as foo/*.tif doesn't overflow your command line
> length.
> 
> while inotifywait -e close somefile ; do
>   
>   while lsof foo/*.tif > /dev/null 2>&1 ; do
>   sleep 1
>   done
> done
> 

Thanks everyone.
For the archive, this is where I finished up - seems to work so far:

while inotifywait -e close somefile; do

while lsof foo/*.tif > /dev/null ; do
sleep 10# because they are big files
done
rm foo/*.tif
done

[1]
I wonder about timing issues. "somefile" is a 3 byte counter which is
the first thing updated by another program, which then creates the tif
files. I want my script to do it's thing after all that.

What happens if the lsof test happens before the tif files are first
opened for writing? Am I worrying too much?

I've put a sleep into  in case that's a problem. For my job
it doesn't matter if there is a sleep in there.

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Re: DVD slideshow creation

2008-04-12 Thread Mary Gardiner
Looks like the way to do it is to drop down a level and use dvdauthor
directly, which has the nice side effect that if the menus are awful
looking it's all my fault.

How to do it involves interleaving information from
http://www.linuxjournal.com/article/6953 (older, but handy) and
http://en.dahnielson.com/2003/12/dvd-author-primer.html

Once I fix all the woeful anti-aliasing in dvd-slideshow, it's probably
OK for producing a MPEG file for each chapter, which can then be
combined using a custom menu with dvdauthor.

-Mary
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html