[#] dvd-baker sample 3 [#] [echo] ######## --- WARNING --- WARNING --- WARNING --- ######## [echo] # - - - - - - - - - - - - - - - - - - - - - - - - - - - # [echo] # - This recipe produces very tall images with a long - # [echo] # - scroll duration. In medium or high quality modes, - # [echo] # - this means that up to 2GB of disk space will be - - # [echo] # - required for the temp files!- - - - - - - - - - - - # [echo] # - - - - - - - - - - - - - - - - - - - - - - - - - - - # [echo] ######## --- WARNING --- WARNING --- WARNING --- ######## [echo] [#] [dvd-recipe/] [header/] [version] 0.7.43 [sourceType] dir [base] . [depend/] [name] dvd-slideshow [version] 0.7.5 [command] getVersion dvd-slideshow -version [echo] This recipe prefers dvd-slideshow >= 0.7.5 for the kernburns and crop effects [/depend] [depend/] [name] disk free space [version] 2048 MB [command] df -BM $PWD | grep -Eo "[[:digit:]]+M" | tail -n1 | grep -Eo "[[:digit:]]+" [echo] It appears that you have less than 2GB of free disk space [/depend] [/header] [titles/] [settings/] [duration] 6 [function/] [name] dvd-baker_version [command] dvd-baker --version [/function] [execute] dvd-baker_version [function/] [name] dvd-baker_man1 [command] dvd-baker -h > "dvd-baker_man1.txt" [command] [ -s "dvd-baker_man1.txt" ] && echo "$(pwd)/dvd-baker_man1.txt" [/function] [execute] dvd-baker_man1 [function/] [name] dvd-baker_man5 [command] dvd-baker -h recipe > "dvd-baker_man5.txt" [command] [ -s "dvd-baker_man5.txt" ] && echo "$(pwd)/dvd-baker_man5.txt" [/function] [execute] dvd-baker_man5 [function/] [name] imagesPath [command] myProgName="$(basename "$0")" [command] myProgPath="$(which "$myProgName")" [command] imagePath="${myProgPath%/bin*}/share/images/$myProgName" [command] echo "$imagePath" [/function] [execute] imagesPath [function/] [name] bakerLogo [command] pngLogo="%%%function imagesPath%%%/dvd-baker_logo.png" [command] [ -f "$pngLogo" ] && echo "$pngLogo" [/function] [execute] bakerLogo [effect/] [name] scroll_portrait [#] arguments: [#] 1 file name of tall image (or text file) [#] purpose: [#] Show the help page [#] - zoom in to the top of the page [#] - show the top of the page [#] - scroll down [#] - show the botton of the page [#] - zoom out to the full page [#] notes: [#] The 'aspect' duration specifier which makes the scroll duration [#] proportional to the aspect ratio of the image. [#] An image with an aspect ratio of 1.25 will make duration=1250ms, [#] so specify a percentage multiplier 'n' to make each page take [#] n/100*1.25 seconds to scroll from top to bottom [#] eg. for aspect ratio 1.25, 'aspect;100' = 1 second [#] for aspect ratio 3.5, 'aspect;1000' = 35 seconds [#] Fractions of seconds are currently ignored. [effect] background:0:: [effect] fadein:1: [image] %%%1%%%:2: [image] %%%1%%%:4::kenburns:imageheight;middle;imagewidth;top [image] %%%1%%%:5::crop:imagewidth;top [image] %%%1%%%:aspect;1000::scroll:down [image] %%%1%%%:5::crop:imagewidth;bottom [image] %%%1%%%:4::kenburns:imagewidth;bottom;imageheight;middle [image] %%%1%%%:2: [effect] fadeout:1: [effect] background:0:: [/effect] [/settings] [title/] [id] 1 [#] This title is not referenced by a button, and so [#] becomes a 'dummy title' [#] Note that titleIds must be unique sequential integers [slideshow/] [effect] fadein:1 [effect] title:2:Brought to you by [effect] crossfade:1 [image] %%%function bakerLogo%%%:2 [effect] fadeout:1 [/slideshow] [/title] [title/] [id] 2 [title] 1 [slideshow/] [effect] scroll_portrait %%%function dvd-baker_man1%%% [/slideshow] [/title] [title/] [id] 3 [title] 1 [slideshow/] [effect] scroll_portrait %%%function dvd-baker_man5%%% [/slideshow] [/title] [/titles] [menus/] [menu/] [id] 1 [name] %%%function dvd-baker_version%%% sample 3 [duration] 10 [image] %%%function bakerLogo%%% [buttons/] [button/] [name] dvd-baker manual [title] 2 [/button] [button/] [name] dvd-baker recipe manual [title] 3 [/button] [/buttons] [/menu] [/menus] [/dvd-recipe]