Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
31c3d77d
Commit
31c3d77d
authored
Feb 27, 2006
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small script that generates huge command lines to be used in demos. Feel free to add/change stuff.
parent
c9e72d0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
66 additions
and
0 deletions
+66
-0
doc/demo.sh
doc/demo.sh
+66
-0
No files found.
doc/demo.sh
0 → 100755
View file @
31c3d77d
#!/bin/sh
########################################################################
# VLC demo command line generator
# $Id:$
########################################################################
#TODO: change on Max OS X
VLC
=
"./vlc --quiet --color "
CMD
=
""
pyschedelic
()
{
echo
-e
"
\n
- Psychedelic demo -
\n
configuration
\n
"
echo
-en
"Please chose an input. Live camera feeds are best.
\n
input? "
read
input
echo
-e
"
\n
$VLC
--sub-filter marq --marq-position 8 --marq-size 30 --marq-color 16776960 --marq-marquee
\"
VLC - Psychedelic video filter
\"
--vout-filter distort --distort-mode psychedelic
$input
"
}
gradient
()
{
echo
-e
"
\n
- Gradient demo -
\n
configuration
\n
"
echo
-en
"Please chose an input. Live camera feeds are best.
\n
input? "
read
input
echo
-en
"Please chose a logo to display (or multiple logos according to the --logo-file syntax)
\n
logo? "
read
logofile
echo
"new a broadcast enabled loop
setup a input
$input
setup a output #duplicate{dst=mosaic-bridge,select=video}
control a play"
>
"
`
pwd
`
/demo.vlm"
echo
-e
"
\n
$VLC
--sub-filter mosaic:marq:logo --mosaic-width 120 --mosaic-height 90 --mosaic-cols 1 --mosaic-rows 1 --marq-position 8 --marq-size 30 --marq-color 65280 --marq-marquee
\"
VLC - Gradient video filter
\"
--logo-file
$logofile
--vout-filter distort --distort-mode gradient --extraintf telnet --telnet-host localhost --vlm-conf
`
pwd
`
/demo.vlm
$input
"
}
mosaic
()
{
echo
-e
"
\n
- Mosaic demo -
\n
configuration
\n
"
echo
-en
"Please chose a background input.
\n
background input? "
read bg
echo
-en
"Please chose a video to blend.
\n
video? "
read
vid
echo
"new a broadcast enabled loop
setup a input
$vid
setup a output #duplicate{dst=mosaic-bridge,select=video}
control a play"
>
"
`
pwd
`
/demo.vlm"
echo
-e
"
\n
$VLC
--sub-filter mosaic --mosaic-height 90 --mosaic-width 120 --mosaic-rows 1 --mosaic-cols 1 --mosaic-alpha 150 --extraintf telnet --telnet-host localhost --vlm-conf
`
pwd
`
/demo.vlm
$bg
"
}
cat
<<
EOF
VLC cool demos script
1. psychedelic video filter
2. gradient video filter
3. mosaic
EOF
echo
-n
"demo number? "
read
choice
case
"
$choice
"
in
1
)
pyschedelic
;;
2
)
gradient
;;
3
)
mosaic
;;
*
)
echo
"Wrong answer ... try again"
;
exit
1
;;
esac
echo
-e
"
\n
Use the previous command to run the demo."
echo
"Note: make sure that you reset your preferences before running these demos."
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