resolume deck file description
resolume deck file description
i'm thinking about writing a little tool to export my resolume decks as directory structures with video files. is there any info on the .dck file format?
Re: resolume deck file description
The Resolume 2 .dck is binary and not easy to parse. Resolume 3 will have xml based composition files with decks and it is very easy to parse.
Re: resolume deck file description
yeah, i figured that part about .dck being binary out myself. would you mind sharing any info you might have on the format?
Re: resolume deck file description
can i convert my deck's from resolume 2 to avenue?
Re: resolume deck file description
We can't give you any details about the .dck format, that's not because we don't want to but because it's way too complex to be of any use. We've been working on an experimental deck converter to see if we convert .dck files to the new .avc format.
Re: resolume deck file description
i just cobbled together a smal script that takesa deck file name and a target directory as parameters and copies all clips referenced in the deck to the output directory.
i.e. will create the folder and copy all the clips referenced in whatever.dck to the created folder.
i thought this might come in handy for backup purposes. save the following as resolume_deck_backup.php
i.e.
Code: Select all
php resolume_deck_backup.php whatever.dck /path/to/target/dir
Code: Select all
/path/tp/target/dir/whatever
i thought this might come in handy for backup purposes. save the following as resolume_deck_backup.php
Code: Select all
<?php
$deck= $_SERVER["argv"][1];
$output_dir= $_SERVER["argv"][2];
$pathinfo= pathinfo($deck);
$output_dir= realpath($output_dir)."/".$pathinfo["filename"];
echo "\n\nreading deck file: ".$deck;
echo "\ncopy clips to: ".$output_dir;
if(is_file($deck)){
$content= file_get_contents($deck);
$pattern= "/FileName..(.+)\x05/";
$matches= array();
preg_match_all($pattern, $content, $matches);
$clips= $matches[1];
echo "\nclips found: ".count($clips);
if(count($clips>0)){
if(!is_dir($output_dir)){
echo "\ncreating dir: ".$output_dir;
mkdir($output_dir);
}
foreach($clips as $clip){
if(is_file($clip)){
$target_clip= $output_dir."/".basename($clip);
echo "\ncopying: ".$clip." -> ".$target_clip." ...";
copy($clip, $target_clip);
} else {
echo "\nerror: clip not found ".$clip;
}
}
}
} else {
echo "\n\nerror: deck file not found";
}
echo "\n\n";
?>