[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Debconf-video] Fwd: Re: [Debconf-team] Loop Video to use stream DC9



On Mon, Jul 20, 2009 at 10:04 AM, Holger Levsen<holger@layer-acht.org> wrote:
> Hi,
>
> cc:ed valessio so he gets the reply...
>
> On Montag, 20. Juli 2009, Carl Karsten wrote:
>> When the swirl spins, the back side (black) is not spinning on the
>> same axis as the front, which makes it look weird.
>>
>> I am working on a script (1 line or 2) to convert to .dv, will post soon.
>
> I assume Valessio could do this much better from the original .svg files...

agree, but in case it doesn't happen, here you go:

http://dev.personnelware.com/carl/temp/Jul20/a/dc9/

262mb of .dv will take 30+ min over my cable modem, so probably better
to use the script:

#!/usr/bin/python

# o2dv.py
# converts .ogg files to .dv
# also wget -N the .ogg

import subprocess
from optparse import OptionParser

def shell(cmd):
        if not isinstance(cmd,list):
                cmd = cmd.split()
        print cmd
        return subprocess.Popen(cmd)

def o2dv(fnamebase):

    oggname,dvname="%s.ogg"%fnamebase,"%s.dv"%fnamebase
    shell("wget -N http://valessiobrito.info/tmp/vdc9/%s"; % (oggname) ).wait()
    shell("ffmpeg -i %s -target pal-dv -y %s" % (oggname,dvname) ).wait()


if __name__=='__main__':

    for base in ['LoopStreamDC9_effects', 'LoopStreamDC9_simple', 'StreamDC9']:
        o2dv(base)


-- 
Carl K

Reply to: