ogg player with pause, rewind, fast forward?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Since we're on the topic of things mplayer can't do, one more thing I
don't like about mplayer is that it unpauses as soon as you hit any
key. Thus, if I want to pause, skip to the end, rewind a bit, and then
unpause, I can't. Zinf does stay paused, however it has no skip to end
of file function as far as I can tell.

Greg


On Wed, Mar 29, 2006 at 11:36:53AM -0700, Steve Holmes wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
> 
> The only thing that none of these players has is bookmarks.  I've tried
> to think of a way to save the position in a file when I quit mplayer but
> haven't succeeded yet.  I understand there's API's for mplayer but
> really havn't a clue on how to use them.  I could probably go into the
> source and see if I can maybe change it to write out the offset at the
> time one quits or better yet, have a hot key to save current bookmark
> with file name.  Problem is, I don't think the info is readily available
> from mplayer's messy display.
> 
> On Tue, Mar 28, 2006 at 04:48:51PM -0700, Gregory Nowak wrote:
> > -----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-----
> > 
> > _______________________________________________
> > Speakup mailing list
> > Speakup at braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > 
> > 
> 
> - -- 
> HolmesGrown Solutions
> The best solutions for the best price!
> http://ld.net/?holmesgrown
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.7 (GNU/Linux)
> 
> iD8DBQFEKtPEWSjv55S0LfERA88MAJ9VbYpJwdnX+XXP8NoiP8car/XrOQCfRUeB
> 5cUFIOriqiqjsTNHkopYnMw=
> =9GZF
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> 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)

iD8DBQFEKt5G7s9z/XlyUyARAsEcAJkBg8BN+EuGbKoV1cxVZ2mvBrJkCQCg0lBB
eGyAwUSOQaAc7tzyMkmEgVY=
=lWHn
-----END PGP SIGNATURE-----




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux