From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 4 Sep 2003 18:14:53 +0400 From: TaZZ To: Oleg Dolgov Subject: Re: [Comm] =?koi8-r?B?7sHCz9I=?= .wma -> mp3 Message-ID: <20030904141453.GA2365@mail.ru> Mail-Followup-To: TaZZ , Oleg Dolgov , Community References: <20030904143757.0bef3bb0.dov@media-link.info> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20030904143757.0bef3bb0.dov@media-link.info> X-Spam: Not detected Cc: Community X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.2 Precedence: list Reply-To: community@altlinux.ru List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2003 14:45:52 -0000 Archived-At: List-Archive: List-Post: On Thu, Sep 04, 2003 at 02:37:57PM +0000, Oleg Dolgov wrote: > Здравствуйте. > > Помогите плз. Как с помощью 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 > > То все получается. У меня тоже завалялись wma, хочу их в МП3 перекинуть пишу: [taw@localhost taw]$ sudo mplayer -ao pcm seti.wma || lame -b 128 audiodump.wav seti.mp3 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 (Family: 8, Stepping: 4) Detected cache-line size is 64 bytes MMX2 supported but disabled SSE supported but disabled CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 1 Compiled with Runtime CPU Detection - WARNING - this is not optimal! To get best performance, recompile MPlayer with --disable-runtime-cpudetection Reading config file /etc/MPlayer/mplayer.conf: No such file or directory Reading config file /home/taw/.mplayer/config Reading /home/taw/.mplayer/codecs.conf: can't open '/home/taw/.mplayer/codecs.conf': No such file or directory Reading /etc/MPlayer/codecs.conf: 49 audio & 130 video codecs font: can't open file: /home/taw/.mplayer/font/font.desc Font /usr/share/MPlayer/font/font.desc loaded successfully! (237 chars) Using Linux hardware RTC timing (1024Hz). Can't open input config file /home/taw/.mplayer/input.conf : No such file or directory Can't open input config file /etc/MPlayer/input.conf : No such file or directory Falling back on default (hardcoded) input config Playing seti.wma File not found: 'seti.wma' Exiting... (End of file) А с этим как быть? Best regards, ---------TaZZ--------- E-Mail: taw88@mail.ru ICQ: 201045832 ----------------------