1
vote
1answer
140 views

Run an executable with a Shell Script

I have mplayer installed and I want to create a simple shell script that runs in bash and executes mplayer * in the current directory. So, how to call upon mplayer in the shell script? I am a newbie ...
1
vote
1answer
143 views

while loop is running only once?

I am trying to make a clip out of video file by playing it only for certain interval. make_mclip.sh #!/bin/bash mediafile=$@ mediafile_fullpath=$PWD/./$mediafile tmpedlfile=$(mktemp) mplayer ...
3
votes
1answer
323 views

how to start from within my shell-script xterm which starts mplayer and plays the files that are the argument of the script

What I want to do: Start my script with a list of files as arguments. From within my script I want to start xterm that starts mplayer with these files. I tried several things. I call my script like ...
5
votes
1answer
306 views

Text to movie from commandline

I need a script called myslide which does the following: myslide -f 15 -t 20 "Hello World" produces a movie file (to be played by mplayer), which just displays "Hello World" in the center of the ...