Re: Playing Ogg Vorbis files with Audacious

2010-05-21 Thread Carl Johnson
Roland Smith rsm...@xs4all.nl writes:

 On Thu, May 20, 2010 at 08:04:58PM -0700, Carl Johnson wrote:
 I just installed the package for the audio player audacious and I
 discovered that it won't recognize ogg vorbis files.  I installed the
 audacious-plugins package, but I don't see any vorbis plugins in the
 file list, so has it been moved to some other port?  

 Make sure your ports tree is up-to-date. Looking at
 ports/multimedia/audacious-plugins/Makefile version 1.74, the Ogg Vorbis input
 plugin _is_ there. But it is off by default.

Thanks, that just occurred to me this morning.  I had installed it as
a package instead of compiling the port, and it never occurred to me
that vorbis wouldn't be included.  I'll just compile the port for the
plugins now.  I think I'll submit a PR suggesting that it is common
enough that it should be included by default.

-- 
Carl Johnsonca...@peak.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Playing Ogg Vorbis files with Audacious

2010-05-21 Thread Gary Kline
On Fri, May 21, 2010 at 09:20:56AM -0700, Carl Johnson wrote:
 Roland Smith rsm...@xs4all.nl writes:
 
  On Thu, May 20, 2010 at 08:04:58PM -0700, Carl Johnson wrote:
  I just installed the package for the audio player audacious and I
  discovered that it won't recognize ogg vorbis files.  I installed the
  audacious-plugins package, but I don't see any vorbis plugins in the
  file list, so has it been moved to some other port?  
 
  Make sure your ports tree is up-to-date. Looking at
  ports/multimedia/audacious-plugins/Makefile version 1.74, the Ogg Vorbis 
  input
  plugin _is_ there. But it is off by default.
 
 Thanks, that just occurred to me this morning.  I had installed it as
 a package instead of compiling the port, and it never occurred to me
 that vorbis wouldn't be included.  I'll just compile the port for the
 plugins now.  I think I'll submit a PR suggesting that it is common
 enough that it should be included by default.
 
 -- 
 Carl Johnson  ca...@peak.org
 

i hope i'm not stealing this thread but here goes.

i can no longer get my freebsd to play my cd's.
audio-cd.  k3b does regonize it in my second optical.  i am
trying to transfer it from cd to ~/Music.  [[and no, i didn't
steal this disc.  i own tape and cd and just want to transfer
it in Ogg-Vorbis fmt and listen to it here where i live for
17hrs/day.

i've tried to play it with kmplayer, with amaroK.  zip.  i've
tried sound-juice and get the fatal error that there are no 
CD-ROM drives.  a few releases ago i used sound-juicer to
transfer [and play] tunes.  no mo'.

roland, some weeks ago i remember you mentions that your
/etc/devfd.conf needed tweaking.  i'm wondering if it might
be this.  meanwhile, i'll play around with audacious* and see
if i get any further clues.

gary

ps:  if there is a new utility to play audio cd's running
7.3, i haven't heard!

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Playing Ogg Vorbis files with Audacious

2010-05-21 Thread Polytropon
On Fri, 21 May 2010 13:46:16 -0700, Gary Kline kl...@thought.org wrote:
   i can no longer get my freebsd to play my cd's.
   audio-cd.  k3b does regonize it in my second optical.  i am
   trying to transfer it from cd to ~/Music.  [[and no, i didn't
   steal this disc.  i own tape and cd and just want to transfer
   it in Ogg-Vorbis fmt and listen to it here where i live for
   17hrs/day.

No need to justify.

Here's an inspiration for what you could put into a script - a
simple converter for audio CD to OGG/Vorbis:

dd bs=2352 if=/dev/acd0t01 | oggenc -q 6 -r -o track01.ogg

Of course, if you want to add information (like album, interpret
etc.), you can use those additional options, explained in the
manual (man oggenc).

You can use cdcontrol info to find out how many tracks to
process, and then iterate automatically to put all tracks into
one directory, in ogg format. No big deal.

Of course, it's helpful when you maintain a good directory and
file naming convention for your files, rather than track01.ogg
and so on. It makes finding a specific peace of music more easy
if file names correspond to what you hear when you play it. :-)



   i've tried to play it with kmplayer, with amaroK.  zip.  i've
   tried sound-juice and get the fatal error that there are no 
   CD-ROM drives.  a few releases ago i used sound-juicer to
   transfer [and play] tunes.  no mo'.

Why not first try the obvious solution?

# cdcontrol -f /dev/acd0 play

You can define CDROM (or CDPLAYER?) environmental variable to
omit the -f device parameter.



   ps:  if there is a new utility to play audio cd's running
   7.3, i haven't heard!

The system brings cdcontrol. For X, why not use XMMS, or if you
want a simple solution that just works, try xcd.





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Playing Ogg Vorbis files with Audacious

2010-05-21 Thread Roland Smith
On Fri, May 21, 2010 at 01:46:16PM -0700, Gary Kline wrote:
   i hope i'm not stealing this thread but here goes.
 
   i can no longer get my freebsd to play my cd's.
   audio-cd.  k3b does regonize it in my second optical.  i am
   trying to transfer it from cd to ~/Music.  [[and no, i didn't
   steal this disc.  i own tape and cd and just want to transfer
   it in Ogg-Vorbis fmt and listen to it here where i live for
   17hrs/day.
 
   i've tried to play it with kmplayer, with amaroK.  zip.  i've
   tried sound-juice and get the fatal error that there are no 
   CD-ROM drives.  a few releases ago i used sound-juicer to
   transfer [and play] tunes.  no mo'.
 
   roland, some weeks ago i remember you mentions that your
   /etc/devfd.conf needed tweaking.  i'm wondering if it might
   be this.  meanwhile, i'll play around with audacious* and see
   if i get any further clues.

For one thing, your user-id, or a group you belong to needs to have read/write
access to the relevant CD device. My solution is to create a group called
'cdrom', and add my user-id to that group. Both is accomplished with pw(8). I
have the following in my /etc/devfs.conf:

# Give members of group cdrom access to the CD/DVD-ROM and DVD+RW via the
# SCSI interface
own xpt0root:cdrom
permxpt00660
own cd0 root:cdrom
permcd0 0660
own cd1 root:cdrom
permcd1 0660
linkcd1 cdrom
linkcd1 dvd

Since my user-id is a member of the cdrom group, I can use these devices
freely. 

If you are using the standard 'atapicd' driver instead of the SCSI emulation
'cd' driver your CD device might be acdX instead of cdX. I prefer to use the
SCSI emulation, since cdrecord (which is required by k3b, I think) likes
talking to SCSI devices, but not ATA. I've built a custom kernel that only has
the cd device and not atapicd, so there cannot be a conflict between the
two. I don't know what happens on a GENERIC kernel that has both
devices. Maybe there is a tunable that determines which device driver gets
access?

To produce sound you need to to load the appropriate sound driver. See
sound(4). Additionally, I like to start a sound server like esd (audio/esound
port). Audacious can use that for output.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpkUz9GpIzvs.pgp
Description: PGP signature


Playing Ogg Vorbis files with Audacious

2010-05-20 Thread Carl Johnson
I just installed the package for the audio player audacious and I
discovered that it won't recognize ogg vorbis files.  I installed the
audacious-plugins package, but I don't see any vorbis plugins in the
file list, so has it been moved to some other port?  I am running an
amd64 version of 7.3 release, and it's ports system uses audacity
version 2.2.  I tested the .ogg file with ogg123 and the file is good.

Thanks for any information on how I can get this to work.
-- 
Carl Johnsonca...@peak.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Playing Ogg Vorbis files with Audacious

2010-05-20 Thread Roland Smith
On Thu, May 20, 2010 at 08:04:58PM -0700, Carl Johnson wrote:
 I just installed the package for the audio player audacious and I
 discovered that it won't recognize ogg vorbis files.  I installed the
 audacious-plugins package, but I don't see any vorbis plugins in the
 file list, so has it been moved to some other port?  

Make sure your ports tree is up-to-date. Looking at
ports/multimedia/audacious-plugins/Makefile version 1.74, the Ogg Vorbis input
plugin _is_ there. But it is off by default.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpXRjEIIhPLI.pgp
Description: PGP signature