#!/bin/sh #xslt path: if [ ! -e .mp4 ]; then MP4Box -mp4 . fi MP4Client -bmp - .mp4 -2d echo "Creating HTML for " if [ ! -e .html ]; then xsltproc -o .html --stringparam filename --stringparam next --stringparam previous --stringparam snapshot /svg2html.xslt .svg fi #echo "done." if [ ! -e .mp4 ]; then MP4Box -mp4 . fi if [ ! -e .xmt ]; then MP4Box -xmt . fi MP4Client -bmp - .mp4 -3d -2d echo "Creating HTML for " if [ ! -e .html ]; then xsltproc --stringparam filename --stringparam use3d true --stringparam next --stringparam previous --stringparam snapshot -o .html /xmt2html.xslt .xmt fi #echo "done." if [ ! -e .x3d ]; then MP4Box -x3d . fi echo "Creating HTML for " if [ ! -e .html ]; then xsltproc --stringparam filename --stringparam use3d true --stringparam next --stringparam previous -o .html /x3d2html.xslt .x3d #echo "done." fi