ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Набор .wma -> mp3
@ 2003-09-04 14:37 Oleg Dolgov
  2003-09-04 11:44 ` [Comm] " Sergey Vlasov
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Oleg Dolgov @ 2003-09-04 14:37 UTC (permalink / raw)
  To: Community

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

Здравствуйте.

Помогите плз. Как с помощью for конвертануть все wma файлы в директории
в mp3. По одному получается, а командой for что-то не выходит.
Проблема в том, что в именах присетствует пробел.

$ for i in *.wma; do mplayer -ao pcm $i || lame -b 128 audiodump.wav
$i.mp3 ; done 
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer 0.90rc3-2.95.3 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel Celeron A Mendocino/Pentium II Dixon (Family: 6, Stepping: 5)

//skip

Playing Запись
File not found: 'Запись'


Playing 10.wma
File not found: '10.wma'

Если по одному прогонять

mplayer -ao pcm Запись 1.wma || lame -b 128 audiodump.wav
Запись 1.mp3

То все получается.

-- 
С наилучшими,
Олег Долгов
dov@media-link.info
Registered Linux user #315454

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2003-09-09 12:19 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-04 14:37 [Comm] Набор .wma -> mp3 Oleg Dolgov
2003-09-04 11:44 ` [Comm] " Sergey Vlasov
2003-09-04 11:44 ` [Comm] " Alexey I. Froloff
2003-09-04 15:31   ` Oleg Dolgov
2003-09-09 12:09   ` [Comm] " Michael Shigorin
2003-09-09 12:19     ` [Comm] Re: [JT] " ASA
2003-09-04 12:11 ` [Comm] " Mike Lykov
2003-09-04 14:14 ` TaZZ
2003-09-04 15:03 ` Oleg Dolgov
2003-09-04 12:18   ` ipAlex
2003-09-04 13:19     ` [Comm] " Alexey Tourbin
2003-09-04 13:48       ` ipAlex
2003-09-04 14:55         ` Alexey Tourbin

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