Podcast Producer 2: Making your Epiphan Not Suck | Main | Podcast Producer 2: Custom Chapterization Settings

August 28, 2009

Podcast Producer 2: Extract Chaptered XML

Please note, this blog has been archived and now lives at www.discretecosine.com

The chapterize command has the option of outputting an XML in addition to (but not instead of) modifying the source quicktime. You can take advantage of this in cases where you'd like the raw chapter data, perhaps for creating your own thumbnail gallery.

Just add the -xml flag and specify a file. You can modify the:
/usr/lib/podcastproducer/actions/pip.rb
file to do this automatically, and then have your workflow take care of moving the files around. No need to specify a path, it'll end up in the Content folder with the rest of your media. So, here's what my pip.rb has ended up looking like, from line 125 to 139:

args = [ "/usr/libexec/podcastproducer/chapterize",
"--input",
chapterized_primary_input_path,
"--xml",
"chapterize.xml",
"--threshold",
"10.0",
"--tolerance",
"3",
"--reduce",
"12",
"--window",
"0.3"
]
do_system(*args)

Posted by at August 28, 2009 6:00 AM

Comments