* ogg player with pause, rewind, fast forward?
@ John Heim
` Adam Myrow
` (2 more replies)
0 siblings, 3 replies; 18+ messages in thread
From: John Heim @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
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
^ permalink raw reply [flat|nested] 18+ messages in thread* RE: ogg player with pause, rewind, fast forward? ogg player with pause, rewind, fast forward? John Heim @ ` Adam Myrow ` zinf error John Heim ` ogg player with pause, rewind, fast forward? Charles Hallenbeck ` Gregory Nowak 2 siblings, 1 reply; 18+ messages in thread From: Adam Myrow @ UTC (permalink / raw) To: 'Speakup is a screen review system for Linux.' Either Mplayer or Zinf will do the trick. I prefer Mplayer, because it's more stable. ^ permalink raw reply [flat|nested] 18+ messages in thread
* zinf error ` Adam Myrow @ ` John Heim ` Lorenzo Taylor ` Gregory Nowak 0 siblings, 2 replies; 18+ messages in thread From: John Heim @ UTC (permalink / raw) To: Speakup is a screen review system for Linux. I cannot figure out zinf.Below is a reproduction of the error I'm getting. Anybody know that it's trying to tell me? I like how the FAQ at the zinf web site says "Q: Is there documentation for zinf? A: No ..." BTW, the ogg file is not corrupted. I can play it fine with ogg123. # zinf 0010.ogg The Download Manager cannot run as the primary ui The musicbrowser cannot run as the primary ui No UI plugin in '.:~/.zinf:/usr/lib/zinf' matched 'plugins/musicbrowser.ui' or ' plugins/musicbrowser.ui.ui.' Zinf will quit. vorbiserr : A read from media returned an error >Skipped corrupted file. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: zinf error ` zinf error John Heim @ ` Lorenzo Taylor ` John Heim ` Gregory Nowak 1 sibling, 1 reply; 18+ messages in thread From: Lorenzo Taylor @ UTC (permalink / raw) To: Speakup is a screen review system for Linux. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The error you describe is misleading. It actually means that you haven't set a UI in you .zinf/preferences file. You can do one of 2 things to correct this error. 1) invoke zinf like this: zinf -ui cmdline <file> 2) add a line like the following to your .zinf/preferences file: UI: cmdline.ui If a line that starts with UI: already exists, change it as above. HTH, Lorenzo - -- Keep American Idol great! Vote for Mandisa! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFELa7IG9IpekrhBfIRAop5AKCLDOfpCblc0BvhjgKpdNDOalmsBQCeL5U8 bJ16pGXwz7ylRMkQdL0g17k= =d62p -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: zinf error ` Lorenzo Taylor @ ` John Heim ` Lorenzo Taylor 0 siblings, 1 reply; 18+ messages in thread From: John Heim @ UTC (permalink / raw) To: Speakup is a screen review system for Linux. TThe command line option worked. Wow. Life is good. Can you check the syntax of the line for the preferences file? Because that didn't work. At 04:35 PM 3/31/2006, Lorenzo Taylor wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >The error you describe is misleading. It actually means that you >haven't set a UI in you .zinf/preferences file. > >You can do one of 2 things to correct this error. > >1) invoke zinf like this: > >zinf -ui cmdline <file> > >2) add a line like the following to your .zinf/preferences file: > >UI: cmdline.ui > >If a line that starts with UI: already exists, change it as above. > >HTH, >Lorenzo > > >- -- >Keep American Idol great! Vote for Mandisa! >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.4.2.2 (GNU/Linux) > >iD8DBQFELa7IG9IpekrhBfIRAop5AKCLDOfpCblc0BvhjgKpdNDOalmsBQCeL5U8 >bJ16pGXwz7ylRMkQdL0g17k= >=d62p >-----END PGP SIGNATURE----- > >_______________________________________________ >Speakup mailing list >Speakup@braille.uwo.ca >http://speech.braille.uwo.ca/mailman/listinfo/speakup ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: zinf error ` John Heim @ ` Lorenzo Taylor ` John Heim 0 siblings, 1 reply; 18+ messages in thread From: Lorenzo Taylor @ UTC (permalink / raw) To: Speakup is a screen review system for Linux. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 My line says: UI: cmdline.ui This was pasted from the preferences file itself. But if that still doesn't work, I also have a line that says: TextUI: cmdline.ui One or both of those should work. You can also replace cmdline.ui with curses.ui. It may be more to your liking. curses.ui is also available from the command line by invoking zinf like: zinf -ui curses <file> HTH, Lorenzo - -- Keep American Idol great! Vote for Mandisa! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFELcuWG9IpekrhBfIRAu7hAKCxpfQCh1bMwVlL5fDI/ZJYrwRNQACguYTm ngjG9X3rP3NHQdaLvGa2w1U= =+mfP -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: zinf error ` Lorenzo Taylor @ ` John Heim ` Charles Hallenbeck 0 siblings, 1 reply; 18+ messages in thread From: John Heim @ UTC (permalink / raw) To: Speakup is a screen review system for Linux. I installed zinf on 2 different machines over the weekend. I haven't had any problems with it at all other than it not using the cmdline.ui by default. But I've got that fixed now too. Maybe mplayer is even better but I really like zinf. With the first one, I tried a million different things and then suddenly it just seemed to work. I thought it was because I changed the line containing SecondaryUI from SecondaryUI: to SecondaryUI: cmdline.ui But that did not work on the second machine. Then I put the line you gave me into the preferences file on the second machine and it worked. So it looks to me as if you need both those lines. UI: cmdline.ui SecondaryUI: cmdline.ui At 07:38 PM 3/31/2006, Lorenzo Taylor wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >My line says: > >UI: cmdline.ui > >This was pasted from the preferences file itself. But if that still >doesn't work, I also have a line that says: > >TextUI: cmdline.ui > >One or both of those should work. > >You can also replace cmdline.ui with curses.ui. It may be more to your >liking. curses.ui is also available from the command line by invoking >zinf like: > >zinf -ui curses <file> > >HTH, >Lorenzo >- -- >Keep American Idol great! Vote for Mandisa! >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.4.2.2 (GNU/Linux) > >iD8DBQFELcuWG9IpekrhBfIRAu7hAKCxpfQCh1bMwVlL5fDI/ZJYrwRNQACguYTm >ngjG9X3rP3NHQdaLvGa2w1U= >=+mfP >-----END PGP SIGNATURE----- > >_______________________________________________ >Speakup mailing list >Speakup@braille.uwo.ca >http://speech.braille.uwo.ca/mailman/listinfo/speakup ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: zinf error ` John Heim @ ` Charles Hallenbeck 0 siblings, 0 replies; 18+ messages in thread From: Charles Hallenbeck @ UTC (permalink / raw) To: Speakup is a screen review system for Linux. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On my system, I got away with changing only one line: TextUI: cmdline.ui and it works great. On Mon, Apr 03, 2006 at 11:34:14AM -0500, John Heim wrote: > I installed zinf on 2 different machines over the weekend. I haven't had > any problems with it at all other than it not using the cmdline.ui by > default. But I've got that fixed now too. Maybe mplayer is even better but > I really like zinf. With the first one, I tried a million different things > and then suddenly it just seemed to work. I thought it was because I > changed the line containing SecondaryUI from > > SecondaryUI: > > to > > SecondaryUI: cmdline.ui > > But that did not work on the second machine. Then I put the line you gave > me into the preferences file on the second machine and it worked. So it > looks to me as if you need both those lines. > > UI: cmdline.ui > SecondaryUI: cmdline.ui > > At 07:38 PM 3/31/2006, Lorenzo Taylor wrote: > >-----BEGIN PGP SIGNED MESSAGE----- > >Hash: SHA1 > > > >My line says: > > > >UI: cmdline.ui > > > >This was pasted from the preferences file itself. But if that still > >doesn't work, I also have a line that says: > > > >TextUI: cmdline.ui > > > >One or both of those should work. > > > >You can also replace cmdline.ui with curses.ui. It may be more to your > >liking. curses.ui is also available from the command line by invoking > >zinf like: > > > >zinf -ui curses <file> > > > >HTH, > >Lorenzo > >- -- > >Keep American Idol great! Vote for Mandisa! > >-----BEGIN PGP SIGNATURE----- > >Version: GnuPG v1.4.2.2 (GNU/Linux) > > > >iD8DBQFELcuWG9IpekrhBfIRAu7hAKCxpfQCh1bMwVlL5fDI/ZJYrwRNQACguYTm > >ngjG9X3rP3NHQdaLvGa2w1U= > >=+mfP > >-----END PGP SIGNATURE----- > > > >_______________________________________________ > >Speakup mailing list > >Speakup@braille.uwo.ca > >http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup - -- The Moon is Waxing Crescent (32% of Full) Get downloads from http://www.mhcable.com/~chuckh and remember, INFORMATION WANTS TO BE FREE! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEMU+eXnuiIOyDVQURAkupAJ9h7l0pYuIKogYZ476MCb6Qkl6h7wCgqubR ooGdEI6oBTFvqlLPX3Pe9m4= =deWX -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: zinf error ` zinf error John Heim ` Lorenzo Taylor @ ` Gregory Nowak ` Gregory Nowak ` Adam Myrow 1 sibling, 2 replies; 18+ messages in thread From: Gregory Nowak @ UTC (permalink / raw) To: Speakup is a screen review system for Linux. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You need to define a ui. I don't have zinf installed anymore, but the syntax should look something like: zinf -c cmd.ui file.ogg This would tell zinf to use the commandline ui. Look through your zinf directories, and anything ending with .ui is a user interface file. Sorry I couldn't give you the exact path/filename, but hth never the less. Greg On Fri, Mar 31, 2006 at 04:11:06PM -0600, John Heim wrote: > I cannot figure out zinf.Below is a reproduction of the error I'm getting. > Anybody know that it's trying to tell me? I like how the FAQ at the zinf > web site says "Q: Is there documentation for zinf? A: No ..." > > BTW, the ogg file is not corrupted. I can play it fine with ogg123. > > > # zinf 0010.ogg > The Download Manager cannot run as the primary ui > The musicbrowser cannot run as the primary ui > No UI plugin in '.:~/.zinf:/usr/lib/zinf' matched 'plugins/musicbrowser.ui' > or ' > plugins/musicbrowser.ui.ui.' > Zinf will quit. > vorbiserr : A read from media returned an error > >Skipped corrupted file. > > > _______________________________________________ > Speakup mailing list > Speakup@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@EU.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFELa8T7s9z/XlyUyARAhTBAJ9JxOjtyjySXa+C9OnNxhNBuP9P8gCfUh35 9NwPcf220L6RNvy8AdHPqCo= =M4mq -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: zinf error ` Gregory Nowak @ ` Gregory Nowak ` Adam Myrow 1 sibling, 0 replies; 18+ messages in thread From: Gregory Nowak @ UTC (permalink / raw) To: Speakup is a screen review system for Linux. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lorenzo's message arrived in my inbox just as i told mutt to send the message. He gave you the correct syntax, so disregard what I said. I don't know why I remembered the flag as being -c, maybe because of command line. Greg On Fri, Mar 31, 2006 at 03:37:07PM -0700, Gregory Nowak wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > You need to define a ui. I don't have zinf installed anymore, but the > syntax should look something like: > > zinf -c cmd.ui file.ogg > > This would tell zinf to use the commandline ui. Look through your zinf > directories, and anything ending with .ui is a user interface > file. Sorry I couldn't give you the exact path/filename, but hth never > the less. > > Greg > > - -- 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@EU.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFELbBD7s9z/XlyUyARAr0PAJ9TMGqicCu0oFGiGWokXuMdJU3WOwCggAF4 Hdiuz9ZMWRaO+VwiDRGh7Hs= =8y/J -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: zinf error ` Gregory Nowak ` Gregory Nowak @ ` Adam Myrow ` Lorenzo Taylor 1 sibling, 1 reply; 18+ messages in thread From: Adam Myrow @ UTC (permalink / raw) To: 'Speakup is a screen review system for Linux.' Another way, and the one I prefer is to change the TextUi line to read TextUI: ncurses.ui For me, the cmdline.ui crashes. I also have to change the "PMO" line to select esound. Alsa gives me noise, and the default, which I assume is OSS, skips severely. I also had to set the soft mixer to false in the same file. If Mplayer would show MP3 and OGG tags reliably, I'd dump Zinf as it's pretty buggy for a Linux program, and I have no clue how to fix it. -----Original Message----- From: speakup-bounces@braille.uwo.ca [mailto:speakup-bounces@braille.uwo.ca] On Behalf Of Gregory Nowak Sent: Friday, March 31, 2006 4:37 PM To: Speakup is a screen review system for Linux. Subject: Re: zinf error -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You need to define a ui. I don't have zinf installed anymore, but the syntax should look something like: zinf -c cmd.ui file.ogg This would tell zinf to use the commandline ui. Look through your zinf directories, and anything ending with .ui is a user interface file. Sorry I couldn't give you the exact path/filename, but hth never the less. Greg On Fri, Mar 31, 2006 at 04:11:06PM -0600, John Heim wrote: > I cannot figure out zinf.Below is a reproduction of the error I'm getting. > Anybody know that it's trying to tell me? I like how the FAQ at the > zinf web site says "Q: Is there documentation for zinf? A: No ..." > > BTW, the ogg file is not corrupted. I can play it fine with ogg123. > > > # zinf 0010.ogg > The Download Manager cannot run as the primary ui The musicbrowser > cannot run as the primary ui No UI plugin in '.:~/.zinf:/usr/lib/zinf' > matched 'plugins/musicbrowser.ui' > or ' > plugins/musicbrowser.ui.ui.' > Zinf will quit. > vorbiserr : A read from media returned an error >Skipped corrupted > file. > > > _______________________________________________ > Speakup mailing list > Speakup@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@EU.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFELa8T7s9z/XlyUyARAhTBAJ9JxOjtyjySXa+C9OnNxhNBuP9P8gCfUh35 9NwPcf220L6RNvy8AdHPqCo= =M4mq -----END PGP SIGNATURE----- _______________________________________________ Speakup mailing list Speakup@braille.uwo.ca http://speech.braille.uwo.ca/mailman/listinfo/speakup ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: zinf error ` Adam Myrow @ ` Lorenzo Taylor ` ogg tags was: " Garrett Klein 0 siblings, 1 reply; 18+ messages in thread From: Lorenzo Taylor @ UTC (permalink / raw) To: Speakup is a screen review system for Linux. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ah the curses UI. Nice, but I have to silence Speakup cause it chatters too much. Over all, I like it, however. And it seems to give me more options than cmdline. As for the comment about mplayer, it is what I use the most, but there is your mp3/ogg tag problem. It shows some mp3 tags, but ogg is a different story. Maybe I should see if I can grab the source and try to fix that. Then again, I am not up to that level of c/c++ programming yet. I just found "Dive Into Python"and am just getting started with that. Seems Python is the big thing in programming now, although c/c++ is still very widely used, especially for system tools and kernels, so I will try to find something on that next. I eventually want to be a major open source contributer, since open source software has given me the closest thing I've found to true freedom. Lorenzo - -- Keep American Idol great! Vote for Mandisa! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFELcpuG9IpekrhBfIRAk1PAJ9ff6E9CqKPTE0LKLUR3Cw57JSgzwCfRRKC 9/JjY6yMi0AKpIQcujbUH5s= =xNKX -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 18+ messages in thread
* ogg tags was: Re: zinf error ` Lorenzo Taylor @ ` Garrett Klein ` Lorenzo Taylor 0 siblings, 1 reply; 18+ messages in thread From: Garrett Klein @ UTC (permalink / raw) To: Speakup is a screen review system for Linux. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Lorenzo, CVS mplayer handles ogg tags quite nicely, as well as info in e.g. xvid-encoded files. Mp3 info is only displayed from ID3 v1 tags, which is kind of stupid... but whatever. Garrett On Fri, Mar 31, 2006 at 07:33:50PM -0500, Lorenzo Taylor wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Ah the curses UI. Nice, but I have to silence Speakup cause it chatters > too much. Over all, I like it, however. And it seems to give me more > options than cmdline. > > As for the comment about mplayer, it is what I use the most, but there > is your mp3/ogg tag problem. It shows some mp3 tags, but ogg is a > different story. Maybe I should see if I can grab the source and try to > fix that. Then again, I am not up to that level of c/c++ programming > yet. I just found "Dive Into Python"and am just getting started with > that. Seems Python is the big thing in programming now, although c/c++ > is still very widely used, especially for system tools and kernels, so I > will try to find something on that next. I eventually want to be a > major open source contributer, since open source software has given me > the closest thing I've found to true freedom. > > Lorenzo > - -- > Keep American Idol great! Vote for Mandisa! > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.2 (GNU/Linux) > > iD8DBQFELcpuG9IpekrhBfIRAk1PAJ9ff6E9CqKPTE0LKLUR3Cw57JSgzwCfRRKC > 9/JjY6yMi0AKpIQcujbUH5s= > =xNKX > -----END PGP SIGNATURE----- > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iQIVAwUBRC3NHfQ3GgYHRr/HAQo1eg/+LRicM1kjHCdPGIjXUYPiNCOGUWmuS+2M A1CHdp9klNJKGGbS7PT7klJdXBFzAqL1yt1uJFeMeLKgJbJqNkcg+3Q+tjb0DsD8 g+7pBggcqzDQPNA/ZGbQXLiwnDcJ3lioxjOScGzxNrjcX4ff270xN7sja8jAkr54 BU5D3UgSWGiPsGrx4zpSaPB1JvPM3PXWRlcLgA2SybIvkbPCsnWp6wFArFhPM/gA /VJoHpEDkkbd9fTMkOwoH1hpjDYnuN/LAnvTQc1gb7maXVa8SS/U0P9t4FVIbMZx jQkvKA3ULbnnrfFJTH0PRv3h7ue26bGhh8S3H9FhXejZwEjbBiBxwBSVtXgojxGQ 66/PmsGcqvdF5sYRl59cr6+ItEvxrdhN2NBiXGLoGrQLH91H/DVKke1rWPKLORXj 0ZOIL38TPGK5sDabm9pWZIMN9AZcrZ7JfJ0KoMAr6zPIKlC27LMKrQGzHtLKK5Lr 57LoiA7dIWDPBbnVT4GTFKJy6vj8HhRl9LeYDs5MfV15Mrx1BOt15Ao/IZm/u27x Lgd1MZxm+sASFVi9IObjSUvE4noUpx4gwl5zI1V8bApg+dIBNh1ioXVOsGeYxk0F E4g9jpHh6CV8BNwcCQfWRnldWgn7Vch5tWyPxU6kYE5tSC/NbgXmrH0MXke+pqhO r9lGn0NOuB8= =pUK5 -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ogg tags was: Re: zinf error ` ogg tags was: " Garrett Klein @ ` Lorenzo Taylor 0 siblings, 0 replies; 18+ messages in thread From: Lorenzo Taylor @ UTC (permalink / raw) To: Speakup is a screen review system for Linux. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thanks for the info on mplayer. I guess only the mp3 tag situation needs to be fixed now. It needs to support id3v2. Those tags are so much more informative, or at least they can be. Lorenzo - -- Keep American Idol great! Vote for Mandisa! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFELdLuG9IpekrhBfIRAgU3AJ4qV6I1UrrQnXEdPPlJs7G+r7i51QCgwxXi jj4Hj/PpEa2ma2qU2XcdekQ= =8pbi -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ogg player with pause, rewind, fast forward? ogg player with pause, rewind, fast forward? John Heim ` Adam Myrow @ ` Charles Hallenbeck ` Gregory Nowak 2 siblings, 0 replies; 18+ messages in thread From: Charles Hallenbeck @ UTC (permalink / raw) To: Speakup is a screen review system for Linux. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Zinf has all that. Also Mplayer. - -- The Moon is New Get downloads from http://www.mhcable.com/~chuckh and remember, INFORMATION WANTS TO BE FREE! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEKcqcXnuiIOyDVQURAu8pAJ4vi8HhIoAWBRd3JekC3qyqJK5n8QCglElW G1CS6KsnwwIuw7t7v4488L0= =mWF4 -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ogg player with pause, rewind, fast forward? ogg player with pause, rewind, fast forward? John Heim ` Adam Myrow ` ogg player with pause, rewind, fast forward? Charles Hallenbeck @ ` Gregory Nowak ` Steve Holmes 2 siblings, 1 reply; 18+ messages in thread From: Gregory Nowak @ UTC (permalink / raw) To: Speakup is a screen review system for Linux. -----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@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@EU.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEKctj7s9z/XlyUyARAi5qAKCjvGpOcwGPJWY0MqK5ozTpMk01PgCg3KgN 85ed3bmAP6VjuXExvKiuVKE= =FEkn -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ogg player with pause, rewind, fast forward? ` Gregory Nowak @ ` Steve Holmes ` Gregory Nowak 0 siblings, 1 reply; 18+ messages in thread From: Steve Holmes @ UTC (permalink / raw) To: Speakup is a screen review system for Linux. -----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@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@EU.org > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.2 (GNU/Linux) > > iD8DBQFEKctj7s9z/XlyUyARAi5qAKCjvGpOcwGPJWY0MqK5ozTpMk01PgCg3KgN > 85ed3bmAP6VjuXExvKiuVKE= > =FEkn > -----END PGP SIGNATURE----- > > _______________________________________________ > Speakup mailing list > Speakup@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----- ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: ogg player with pause, rewind, fast forward? ` Steve Holmes @ ` Gregory Nowak 0 siblings, 0 replies; 18+ messages in thread From: Gregory Nowak @ UTC (permalink / raw) To: Speakup is a screen review system for Linux. -----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@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@EU.org > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.2.2 (GNU/Linux) > > > > iD8DBQFEKctj7s9z/XlyUyARAi5qAKCjvGpOcwGPJWY0MqK5ozTpMk01PgCg3KgN > > 85ed3bmAP6VjuXExvKiuVKE= > > =FEkn > > -----END PGP SIGNATURE----- > > > > _______________________________________________ > > Speakup mailing list > > Speakup@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@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@EU.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEKt5G7s9z/XlyUyARAsEcAJkBg8BN+EuGbKoV1cxVZ2mvBrJkCQCg0lBB eGyAwUSOQaAc7tzyMkmEgVY= =lWHn -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
ogg player with pause, rewind, fast forward? John Heim
` Adam Myrow
` zinf error John Heim
` Lorenzo Taylor
` John Heim
` Lorenzo Taylor
` John Heim
` Charles Hallenbeck
` Gregory Nowak
` Gregory Nowak
` Adam Myrow
` Lorenzo Taylor
` ogg tags was: " Garrett Klein
` Lorenzo Taylor
` ogg player with pause, rewind, fast forward? Charles Hallenbeck
` Gregory Nowak
` Steve Holmes
` Gregory Nowak
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).