2008/11/15 David Flynn <[EMAIL PROTECTED]>: > On 2008-11-14, Conrad Parker <[EMAIL PROTECTED]> wrote: >> It seems oggz chop, merge and sort will need some attention to deal >> with the Dirac granulepos and dependency ordering, so let's leave them >> for the next release. > > ok. -- may be worth having them 'warn' if they are operating on > something containing oggdirac.
I started patching oggz sort and merge, and discovered they were very nearly working. After adding a custom function to convert granulepos to time for Dirac, rather than just going by the result of the granuleshift, it seems to be working. You can review the changeset here: http://trac.annodex.net/changeset/3801 please test :-) For example you can start by ripping an existing Dirac+Vorbis stream apart: $ oggz rip -c vorbis input.ogv -o vorbis.ogg $ oggz rip -c dirac input.ogv -o dirac.ogv Then merge them back together: $ oggz merge dirac.ogv vorbis.ogg -o output.ogv I think the output is properly merged, please test in case there are any problems I have missed. Tested with liboggz r3806. Conrad. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Schrodinger-devel mailing list Schrodinger-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/schrodinger-devel