Commit 4c4aa218 authored by Antoine Cellerier's avatar Antoine Cellerier

Add OpenGL rotating cube and video wall demos

parent e44d9ebe
...@@ -47,11 +47,40 @@ control a play" > "`pwd`/demo.vlm" ...@@ -47,11 +47,40 @@ control a play" > "`pwd`/demo.vlm"
echo -e "\n$VLC --sub-filter mosaic:marq --marq-marque \"VLC - mosaic\" --marq-position 6 --mosaic-width 120 --mosaic-height 90 --mosaic-rows 1 --mosaic-cols 1 --mosaic-alpha 150 --extraintf telnet --telnet-host localhost --vlm-conf `pwd`/demo.vlm $bg" echo -e "\n$VLC --sub-filter mosaic:marq --marq-marque \"VLC - mosaic\" --marq-position 6 --mosaic-width 120 --mosaic-height 90 --mosaic-rows 1 --mosaic-cols 1 --mosaic-alpha 150 --extraintf telnet --telnet-host localhost --vlm-conf `pwd`/demo.vlm $bg"
} }
opengl()
{
echo -e "\n- OpenGL cube demo -\nconfiguration\n"
echo -en "Please chose an input.\ninput? "
read input
echo -e "\n$VLC -V opengl --opengl-effect transparent-cube $input"
}
wall()
{
echo -e "\n- Video wall demo -\nconfiguration\n"
echo -en "Please chose an input.\ninput? "
read input
echo -en "Do you want to use rotated laptops/screens ?\n[y/N] "
read rot
case "$rot" in
"y"|"Y"|"yes")
echo -e "\nLeft hand side:\n$VLC --vout-filter wall:transform --transform-type 90 --wall-cols 2 --wall-rows 1 --wall-active 0 $input"
echo -e "\nRight hand side:\n$VLC --vout-filter wall:transform --transform-type 90 --wall-cols 2 --wall-rows 1 --wall-active 1 --sub-filter marq --marq-marquee \"VLC - Video wall\" $input"
;;
*)
echo -e "\nLeft hand side:\n$VLC --vout-filter wall --wall-cols 2 --wall-rows 1 --wall-active 0 --sub-filter marq --marq-marquee \"VLC - Video wall\" $input"
echo -e "\nRight hand side:\n$VLC --vout-filter wall --wall-cols 2 --wall-rows 1 --wall-active 1 $input"
;;
esac
}
cat << EOF cat << EOF
VLC cool demos script VLC cool demos script
1. psychedelic video filter 1. psychedelic video filter
2. gradient video filter 2. gradient video filter
3. mosaic 3. mosaic
4. OpenGL cube
5. video wall
EOF EOF
echo -n "demo number? " echo -n "demo number? "
...@@ -61,6 +90,8 @@ case "$choice" in ...@@ -61,6 +90,8 @@ case "$choice" in
1) pyschedelic;; 1) pyschedelic;;
2) gradient;; 2) gradient;;
3) mosaic;; 3) mosaic;;
4) opengl;;
5) wall;;
*) echo "Wrong answer ... try again"; exit 1;; *) echo "Wrong answer ... try again"; exit 1;;
esac esac
......
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