-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yes. Mplayer can play ogg files, pause, fast-forward, and rewind. Greg On Tue, Mar 28, 2006 at 05:02:11PM -0600, John Heim wrote: > Anybody know of a command line ogg player that has features like pause, > fast forward, and rewind? > > I have been recording radio program s and TV shows (just the audio of > course) in ogg format. But when the program is a half hour or longer, you > need to be able to pause and rewind. > > PS: Below is the script I use to record audio. A typical cron entry would > be like this: > > 45 3 * * 1-5 /usr/local/bin/rec2ogg /home/john/public_html/bbc/%a.ogg 900 30 > > The first parameter to rec2ogg is a file spec. you can use date command > format symbols. For example, in the line above, %a returns Sun, Mon, ... > Sat. The second parameter is seconds to record. 900 seconds equals 15 > minutes. The third parameter is an optional number of seconds to wait > before beginning to record. That's so you don't have to put up with 30 > seconds of dreck at the beginning of a recording since cron's granularity > is 1 minute. > > So the above example runs rec2ogg at 3:45 AM, Monday through Friday. Each > day, rec2ogg sleeps for 30 seconds, then records for 15 minutes saving the > output in Mon.ogg on Monday, Tue.ogg on Tuesday, etc. > > > rec2ogg: > > !/bin/bash > if test -z $2; then > echo "Use: rec2wav <file_spec> <record_seconds> [<wait_seconds>]" > exit > fi > > if test -d $1; then > SPEC=%Y-%m-%d > else > SPEC=$1 > fi > if test ! -z $3; then > sleep $3 > fi > > FILE=`date +"$SPEC"` > sox -V -r 44100 -c 2 -t ossdsp -w -s /dev/dsp -t wav - filter 0-16000 > 2>/dev/nul > l | oggenc -Q - -o $FILE -b 128& > REC_PID=$! > sleep $2 > kill -9 $REC_PID > > > > _______________________________________________ > Speakup mailing list > Speakup at braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup - -- web site: http://www.romuald.net.eu.org gpg public key: http://www.romuald.net.eu.org/pubkey.asc skype: gregn1 (authorization required, add me to your contacts list first) - -- Free domains: http://www.eu.org/ or mail dns-manager at EU.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEKctj7s9z/XlyUyARAi5qAKCjvGpOcwGPJWY0MqK5ozTpMk01PgCg3KgN 85ed3bmAP6VjuXExvKiuVKE= =FEkn -----END PGP SIGNATURE-----