Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
4c4aa218
Commit
4c4aa218
authored
Feb 27, 2006
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add OpenGL rotating cube and video wall demos
parent
e44d9ebe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
doc/demo.sh
doc/demo.sh
+31
-0
No files found.
doc/demo.sh
View file @
4c4aa218
...
...
@@ -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
"
}
opengl
()
{
echo
-e
"
\n
- OpenGL cube demo -
\n
configuration
\n
"
echo
-en
"Please chose an input.
\n
input? "
read
input
echo
-e
"
\n
$VLC
-V opengl --opengl-effect transparent-cube
$input
"
}
wall
()
{
echo
-e
"
\n
- Video wall demo -
\n
configuration
\n
"
echo
-en
"Please chose an input.
\n
input? "
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
"
\n
Left hand side:
\n
$VLC
--vout-filter wall:transform --transform-type 90 --wall-cols 2 --wall-rows 1 --wall-active 0
$input
"
echo
-e
"
\n
Right 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
"
\n
Left 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
"
\n
Right hand side:
\n
$VLC
--vout-filter wall --wall-cols 2 --wall-rows 1 --wall-active 1
$input
"
;;
esac
}
cat
<<
EOF
VLC cool demos script
1. psychedelic video filter
2. gradient video filter
3. mosaic
4. OpenGL cube
5. video wall
EOF
echo
-n
"demo number? "
...
...
@@ -61,6 +90,8 @@ case "$choice" in
1
)
pyschedelic
;;
2
)
gradient
;;
3
)
mosaic
;;
4
)
opengl
;;
5
)
wall
;;
*
)
echo
"Wrong answer ... try again"
;
exit
1
;;
esac
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment