ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Lizogub <linthong@mail.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Перегонка .mp3 в .wav
Date: Thu, 11 Sep 2003 18:41:47 +0400
Message-ID: <20030911184147.74865663.linthong@mail.ru> (raw)
In-Reply-To: <200309100847.51115.ipalex@ferplast.com.ua>

[-- Attachment #1: Type: text/plain, Size: 1311 bytes --]

Wed, 10 Sep 2003 08:47:50 +0300
ipAlex <ipalex@ferplast.com.ua> Вы писали:

> В сообщении от 11 Сентябрь 2003 00:23 Sergey Lizogub
> написал(a):
> > 	Есть ли какой-нибудь способ одной командой перегнать
> > 	массу
> > файлов .mp3 в .wav (для дальнейшей записи на аудио-диск)?
> > mpg123 mpg321 охотно берут несколько .mp3, но гонят их в один
> > большой файл, что, если я правильно понимаю, создаст на
> > музыкальном CD одну большую дорожку и не позволит переходить
> > от одной песни к другой(или я ошибаюсь?).
> >
> примерно так:
> for file in *.mp3; do <команда> "$file"; done
> 
> похожий вопрос обсуждался в community
> тема: [Comm] Набор .wma -> mp3 (04/09/03 17:37)
> 
> а еще k3b умеет писать .mp3 на аудио-CD без всяких ручных
> преобразований и другие GUI CD Creator-ы тоже должны уметь
> 

	Спасибо, помогло следующее:

WAV=.wav
for file in *.mp3

    do mpg321 -v "$file" -w  /var/tmp/"$file$WAV"

done

	На основе скрипта Аркадия Иванова X-image.sh, любезно
предоставленного в распоряжение communuty, сделал несколько
модифицированный свой для перегонки файлов из директории на
музыкальный диск (см. приложение). Может любителям работы в
консоли пригодится. С удовольствием приму любые замечания (я, к
сожалению, не программист и в скрипте могут быть досадные ляпы).
	С уважением,
	Сергей Лизогуб

[-- Attachment #2: mp3tocd --]
[-- Type: application/octet-stream, Size: 1947 bytes --]

      reply	other threads:[~2003-09-11 14:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-10 21:23 Sergey Lizogub
2003-09-10  5:47 ` ipAlex
2003-09-11 14:41   ` Sergey Lizogub [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030911184147.74865663.linthong@mail.ru \
    --to=linthong@mail.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git