Commit 1c8b0fc2 authored by Michael Murtaugh's avatar Michael Murtaugh

Merge branch 'generalised-features-and-shell' of gitlab.com:sicv/vitrine into...

Merge branch 'generalised-features-and-shell' of gitlab.com:sicv/vitrine into generalised-features-and-shell
parents f1c46a7c efa57768
......@@ -440,10 +440,10 @@ function cascadecollage (opts) {
var now = new Date();
collage_base = dateFormat(now, "yyyymmdd_HHMMss");
cameragif = "output/camera"+collage_base+".webm";
mkwebm(annotated_camera_frames, cameragif, opts.camera_webm_framerate, true, function () {
if (opts.cameragif) {
opts.cameragif.call(that, cameragif);
}
//mkwebm(annotated_camera_frames, cameragif, opts.camera_webm_framerate, true, function () {
// if (opts.cameragif) {
// opts.cameragif.call(that, cameragif);
// }
archivegif = "output/archive"+collage_base+".webm";
mkwebm(archive_frames, archivegif, opts.archive_webm_framerate, false, function () {
if (opts.archivegif) {
......@@ -515,7 +515,7 @@ function cascadecollage (opts) {
}
next_frame();
});
})
// })
},
// _
......
#!/bin/bash
ffmpeg -i "$1" -c:v libx264 -b:v 1000k "$2"
# && rm "$1"
#!/bin/bash
ffmpeg -i "$1" -c:v libvpx -b:v 1000k "$2" && \
rm $1
ffmpeg -i "$1" -c:v libvpx -b:v 1000k "$2" && rm "$1"
......@@ -6,4 +6,4 @@ collagegif=$3
rm -f frames/*
# rm "$cameragif" # actually this *can not* happen as it needs to be served...
#scp "$archivegif" "$collagegif" aa:/var/www/vhosts/sicv.activearchives.org/httpdocs/vitrine
scp "$archivegif" "$collagegif" aa:/var/www/vhosts/sicv.activearchives.org/httpdocs/vitrine
#!/bin/bash
# cvlc --loop $1
killall -s 9 vlc
cvlc --fullscreen --no-video-title-show --loop $1
killall -s 9 mplayer
mplayer -fs -loop 0 "$1"
#!/bin/bash
# cvlc -loop $1
killall -s 9 vlc
killall -s 9 mplayer
# wget $1 -o tmp.webm
cvlc --fullscreen --loop --no-video-title-show $1
mplayer -fs -zoom -loop 0 "$1"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment