Comment 3 for bug 995003

Revision history for this message
Alexander (shulikov-n) wrote :

Attached file. I see:
~$ mplayer test.wav
MPlayer svn r34540 (Ubuntu), built with gcc-4.6 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing test.wav.
libavformat version 53.21.0 (external)
Mismatching header version 53.19.0
Audio only file format detected.
Load subtitles in ./
==========================================================================
Requested audio codec family [g726] (afm=acm) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 53.35.0 (external)
Mismatching header version 53.32.2
[g726 @ 0x7fb149953300]Invalid number of bits 16
Could not open codec.
ADecoder init failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x45.
Audio: no sound
Video: no video

Exiting... (End of file)

vlc:

[0x7f1a40c01a38] wav demux debug: chunk: fcc=`fmt ` size=18
[0x7f1a40c01a38] wav demux debug: format: 0x0045, fourcc: g726, channels: 1, freq: 8000 Hz, bitrate: 3Ko/s, blockalign: 2, bits/samples: 16, extra size: 0
[0x7f1a40c01a38] wav demux debug: found G.726 ADPCM audio format
[0x7f1a40c01a38] wav demux debug: chunk: fcc=`fact` size=4
[0x7f1a40c01a38] wav demux debug: chunk: fcc=`data` size=73000
[0x7f1a40c02928] avcodec decoder debug: libavcodec initialized (interface 0x352300)
[g726 @ 0x7f1a40c15660] Invalid number of bits 16
[0x7f1a40c02928] avcodec decoder error: cannot open codec (G.726 ADPCM Audio)
[0x10071b8] qt4 interface debug: IM: Setting an input
[0x7f1a40c02928] main decoder debug: no decoder module matching "any" could be loaded
[0x7f1a40c02928] main decoder debug: TIMER module_need() : 21.049 ms - Total 21.049 ms / 1 intvls (Avg 21.049 ms)
[0x7f1a40c02928] main decoder error: no suitable decoder module for fourcc `g726'. VLC probably does not support this sound or video format.
[0x7f1a40c02928] main decoder debug: killing decoder fourcc `g726', 0 PES in FIFO

avplay works fine:
$ avplay test.wav
avplay version 0.8.1-4:0.8.1-0ubuntu1, Copyright (c) 2003-2011 the Libav developers
  built on Mar 22 2012 05:09:06 with gcc 4.6.3
[wav @ 0x7f99640008c0] max_analyze_duration reached
Input #0, wav, from 'test.wav':
  Duration: 00:00:18.18, bitrate: 32 kb/s
    Stream #0.0: Audio: g726, 8000 Hz, 1 channels, s16, 32 kb/s
   3.01 A-V: 0.000 s:0.0 aq= 60KB vq= 0KB sq= 0B f=0/0

File from camera got by:
avconv -i rtsp://192.168.24.3/live1.sdp -re -vn -acodec copy test.wav