


User Commands                                         cdda2ogg(1)



NNAAMMEE
     cdda2ogg, cdda2mp3 - extract CD audio tracks and encode them

SSYYNNOOPPSSIISS
     ccddddaa22oogggg [ _o_p_t_i_o_n_s ][ ddeevv==_d_e_v_i_c_e ] [_f_i_l_e _p_r_e_f_i_x] [_o_g_g _o_p_t_s]

     ccddddaa22mmpp33 [ _o_p_t_i_o_n_s ][ ddeevv==_d_e_v_i_c_e ] [_f_i_l_e _p_r_e_f_i_x] [_l_a_m_e _o_p_t_s]

DDEESSCCRRIIPPTTIIOONN
     ccddddaa22oogggg is a script  that  uses  the  ccddddaa22wwaavv  command  to
     extract  all  audio  tracks  with  the  ccddddaa22wwaavv command and
     encode them using the ooggggeenncc(1) OOgggg VVoorrbbiiss encoder.

     ccddddaa22mmpp33 is a script  that  uses  the  ccddddaa22wwaavv  command  to
     extract  all  audio  tracks  with  the  ccddddaa22wwaavv command and
     encode them using the llaammee(1) MMPP33 encoder.

     There is no CDDB support yet.


OOPPTTIIOONNSS
     -hheellpp       print a short online usage message and exit.

     ddeevv==_d_e_v_i_c_e  The device to read the data from.  If  there  is
                 only  one  CD-ROM  drive in the system, the ddeevv==
                 option may be omitted. For  possible  values  of
                 the  _d_e_v_i_c_e  parameter,  see the ccddrreeccoorrdd(1) man
                 page.

     -**          Any other option beginning with a  '-'  sign  is
                 passed to the ccddddaa22wwaavv program.

     Any other option past the ffiillee pprreeffiixx argument and beginning
     with a '-' sign is passed to the encoder program.

EENNVVIIRROONNMMEENNTT VVAARRIIAABBLLEESS
     The following environment variables may be  used  to  change
     the behavior of the ccddddaa22oogggg and the ccddddaa22mmpp33 command:

     CCDDDDAA22WWAAVV
          Defines the command to extract WAV data  from  the  CD.
          The default value is ccddddaa22wwaavv.

     CCDDDDAA22WWAAVV__OOPPTTSS
          Defines the options passed to the  CDDA  program  while
          extracting from the CD.  The default value is -HH -qq.

     MMPP__CCOODDEERR
          The encoder program used to compress  the  audio  data.
          The  default  value is ooggggeenncc for ccddddaa22oogggg and llaammee for
          ccddddaa22mmpp33.




SunOS 5.10          Last change: Version 3.0                    1






User Commands                                         cdda2ogg(1)



     MMPP__OOPPTTIIOONNSS
          Options passed to the encoder program.  The default  is
          empty.

     FFIILLEEPPRREEFFIIXX
          The base filename part of the  resulting  audio  files.
          The  default  file  name  is $$TTRRAACCKK--$$FFIILLEEPPRREEFFIIXX..oogggg for
          ccddddaa22oogggg and $$TTRRAACCKK--$$FFIILLEEPPRREEFFIIXX..mmpp33 for ccddddaa22mmpp33 if  no
          _f_i_l_e _p_r_e_f_i_x argument was given on the command line.

FFIILLEESS
     If the following files are present, then the scripts  source
     them to set up local defaults:

     //oopptt//sscchhiillyy//bbiinn//ccddddaa22oogggg
          To set up default values for ccddddaa22oogggg.

     //oopptt//sscchhiillyy//bbiinn//ccddddaa22mmpp33
          To set up default values for ccddddaa22mmpp33.

     The content may be set up to modify environment variables or
     to set up local defaults.


SSEEEE AALLSSOO
     ccddddaa22wwaavv(1), ccddrreeccoorrdd(1), ooggggeenncc(1), llaammee(1).

NNOOTTEESS
     If a CD contains a hidden audio track before track 1, a file
     name with track number 00 is created with the content of the
     hidden track.

     The program ooggggeenncc(1) is part of  the  vvoorrbbiiss--ttoooollss  project
     See hhttttpp::////wwwwww..vvoorrbbiiss..ccoomm for more information.

     The program llaammee(1)  is  part  of  the  llaammee  project.   See
     hhttttpp::////llaammee..ssoouurrcceeffoorrggee..nneett// for more information.

AAUUTTHHOORR
     The first versions of the scripts have been based on a  news
     article by Tom Kludy.














SunOS 5.10          Last change: Version 3.0                    2



