ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] can't play WAVE-file format 0x0022
@ 2009-11-11  5:48 Eugene Prokopiev
  2009-11-11  6:57 ` Konstantin Pavlov
  0 siblings, 1 reply; 5+ messages in thread
From: Eugene Prokopiev @ 2009-11-11  5:48 UTC (permalink / raw)
  To: community

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

Есть такой файл:

$ file 0.wav
0.wav: RIFF (little-endian) data, WAVE audio, mono 8000 Hz

Утверждают, что стандарный медиаплеер на Windows 2000 умел его играть,
у меня же ничем не получается:

$ aplay 0.wav
aplay: test_wavefile:807: can't play WAVE-file format 0x0022 which is
not PCM or FLOAT encoded
$ play 0.wav
play FAIL formats: can't open input file `0.wav': Unknown WAV file
encoding (type 22)

Как лечить?

-- 
С уважением,
Прокопьев Евгений

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

* Re: [Comm] can't play WAVE-file format 0x0022
  2009-11-11  5:48 [Comm] can't play WAVE-file format 0x0022 Eugene Prokopiev
@ 2009-11-11  6:57 ` Konstantin Pavlov
  2009-11-11  7:12   ` Eugene Prokopiev
  0 siblings, 1 reply; 5+ messages in thread
From: Konstantin Pavlov @ 2009-11-11  6:57 UTC (permalink / raw)
  To: community

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

On Wed, Nov 11, 2009 at 08:48:23AM +0300, Eugene Prokopiev wrote:
> Здравствуйте!
> 
> Есть такой файл:
> 
> $ file 0.wav
> 0.wav: RIFF (little-endian) data, WAVE audio, mono 8000 Hz

Эта информация не несет в себе никакой полезной, лучше пробовать ffprobe

> Утверждают, что стандарный медиаплеер на Windows 2000 умел его играть,
> у меня же ничем не получается:
> 
> $ aplay 0.wav
> aplay: test_wavefile:807: can't play WAVE-file format 0x0022 which is
> not PCM or FLOAT encoded
> $ play 0.wav
> play FAIL formats: can't open input file `0.wav': Unknown WAV file
> encoding (type 22)
> 
> Как лечить?

ffplay

-- 
<Lost> ппц, гугель мну заставляет делать больше
<Lost> "Делайте больше с помощью ярлыков"
<Lost> а я не хочу делать больше. Я хочу делать меньше

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

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

* Re: [Comm] can't play WAVE-file format 0x0022
  2009-11-11  6:57 ` Konstantin Pavlov
@ 2009-11-11  7:12   ` Eugene Prokopiev
  2009-11-11  7:21     ` Konstantin Pavlov
  0 siblings, 1 reply; 5+ messages in thread
From: Eugene Prokopiev @ 2009-11-11  7:12 UTC (permalink / raw)
  To: ALT Linux Community general discussions

11 ноября 2009 г. 9:57 пользователь Konstantin Pavlov
<thresh@altlinux.ru> написал:
> On Wed, Nov 11, 2009 at 08:48:23AM +0300, Eugene Prokopiev wrote:
>> Здравствуйте!
>>
>> Есть такой файл:
>>
>> $ file 0.wav
>> 0.wav: RIFF (little-endian) data, WAVE audio, mono 8000 Hz
>
> Эта информация не несет в себе никакой полезной, лучше пробовать ffprobe

$ ffprobe 0.wav
FFprobe version SVN-r92, Copyright (c) 2007-2009 Stefano Sabatini
  libavutil     50. 3. 0 / 50. 3. 0
  libavcodec    52.32. 0 / 52.32. 0
  libavformat   52.36. 0 / 52.36. 0
  built on Oct 15 2009 14:00:40, gcc: 4.4.1 20090725 (ALT Linux 4.4.1-alt3)
Input #0, wav, from '0.wav':
  Duration: 00:01:07.04, bitrate: 8 kb/s
    Stream #0.0: Audio: truespeech, 8000 Hz, 1 channels, s16, 8 kb/s

Впрочем, play -t wmv 0.wav его таки съел

>> Утверждают, что стандарный медиаплеер на Windows 2000 умел его играть,
>> у меня же ничем не получается:
>>
>> $ aplay 0.wav
>> aplay: test_wavefile:807: can't play WAVE-file format 0x0022 which is
>> not PCM or FLOAT encoded
>> $ play 0.wav
>> play FAIL formats: can't open input file `0.wav': Unknown WAV file
>> encoding (type 22)
>>
>> Как лечить?
>
> ffplay

Да, оно даже сумело автоопределить этот файл. А нет ли чего-нибудь
аналогичного, умеющего играть через pulseaudio?

-- 
С уважением,
Прокопьев Евгений

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

* Re: [Comm] can't play WAVE-file format 0x0022
  2009-11-11  7:12   ` Eugene Prokopiev
@ 2009-11-11  7:21     ` Konstantin Pavlov
  2009-11-11  7:38       ` Eugene Prokopiev
  0 siblings, 1 reply; 5+ messages in thread
From: Konstantin Pavlov @ 2009-11-11  7:21 UTC (permalink / raw)
  To: community

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

On Wed, Nov 11, 2009 at 10:12:01AM +0300, Eugene Prokopiev wrote:
> > ffplay
> 
> Да, оно даже сумело автоопределить этот файл. А нет ли чего-нибудь
> аналогичного, умеющего играть через pulseaudio?

ffplay играет через SDL и у меня в данном случае через pa автоматически

-- 
<Lost> vLite is a configuration tool that lets users automatically delete a lot
       of unnecessary Vista components - such as Windows Media Player and MSN
       installer
<dottedmag> "such as kernel, GUI and drivers"
<Lost> it removes Vista, and install Linux and Wine
<dottedmag> Lost: install Linux and Firefox, я бы сказал :)
<dottedmag> Lost: что ещё надо леммингам?
<roman> Nero Platinum Edition
<dottedmag> ln -s /usr/bin/cdrecord NeroPlatinumEdition
<Lost> dottedmag: ln -sf /usr/bin/vim /usr/bin/emacs

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

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

* Re: [Comm] can't play WAVE-file format 0x0022
  2009-11-11  7:21     ` Konstantin Pavlov
@ 2009-11-11  7:38       ` Eugene Prokopiev
  0 siblings, 0 replies; 5+ messages in thread
From: Eugene Prokopiev @ 2009-11-11  7:38 UTC (permalink / raw)
  To: ALT Linux Community general discussions

11 ноября 2009 г. 10:21 пользователь Konstantin Pavlov
<thresh@altlinux.ru> написал:
> On Wed, Nov 11, 2009 at 10:12:01AM +0300, Eugene Prokopiev wrote:
>> > ffplay
>>
>> Да, оно даже сумело автоопределить этот файл. А нет ли чего-нибудь
>> аналогичного, умеющего играть через pulseaudio?
>
> ffplay играет через SDL и у меня в данном случае через pa автоматически

Да, точно, спасибо

-- 
С уважением,
Прокопьев Евгений

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

end of thread, other threads:[~2009-11-11  7:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-11  5:48 [Comm] can't play WAVE-file format 0x0022 Eugene Prokopiev
2009-11-11  6:57 ` Konstantin Pavlov
2009-11-11  7:12   ` Eugene Prokopiev
2009-11-11  7:21     ` Konstantin Pavlov
2009-11-11  7:38       ` Eugene Prokopiev

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