Re: OT - Command line manipulation of sound files

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

 




On 09/06/2010 06:53 PM, Robert wrote:
> I attacked the seemingly simply task of producing an audio CD from a 
> collection of MP3 files and  have concluded that it's not as easy as 
> it sounds. UNLESS GUI front ends are used!  I would much rather stick 
> with CLI because scripting works better that way.
>
> I decided that the first step must create a .wav file for each .mp3.  
> I found many scripts to do that; kept coming back to the very simple
>
>     mpg123 -w outfile.wav infile.mp3
>
> That has worked fine for all the mp3 files I've given it, producing 
> .wav files that play properly with the command
>
>     play outfile.wav
>
> Further, the .wav file will be played properly by VLC Player AND if 
> chosen by k3b as a file to be written to an audio CD, that CD will 
> play fine in the original factory CD player in my '98 Chevy pickup.
> BUT I have spent most of today finding and trying, then rejecting 
> command-line solutions for writing to CD.
> >From http://sharkysoft.com/tutorials/linuxtips/cdcommands/
> I find this one
>
>     cdrecord -v -pad speed=1 dev=5,0,0 -dao -audio -swab *.wav
>
> Which yields cdrecord: Inappropriate audio coding in '$first_file.wav'
>
> Then, from 
> http://www.pallier.org/ressources/linux_howtos/linux_howto.html#tth_sEc24 
> we have
>
>     cdrecord dev=5,0,0 -pad speed=0 -audio *.wav
>
> Which doesn't work, either.
>
> Again, I have no problem with k3b EXCEPT that I must manually select 
> which songs to burn to the CD rather than let a script do it ... and 
> surprise me.
>
> Any ideas?
>
> Thanks!

Why do you need -swab?

I just used cdrecord in exactly the same way you describe
  and I did not have any problem. The CD plays just fine.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux