Opened 13 years ago

Closed 13 years ago

#220 closed defect (fixed)

realaudio sipr decodes incorrectly

Reported by: ami_stuff Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: real
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

http://www.cccp-project.net/beta/test_files/mega_weird_audio/Mega_Weird_Audio_2ch_RA5_SIPR.ra

The audio plays correctly with mplayer.

C:\>ffmpeg -i C:\Mega_Weird_Audio_2ch_RA5_SIPR.ra out.wav
ffmpeg version git-N-30011-gb4bcd1e, Copyright (c) 2000-2011 the FFmpeg develope
rs
  built on May 18 2011 04:36:23 with gcc 4.5.3
  configuration: --enable-gpl --enable-version3 --enable-memalign-hack --enable-
runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libo
pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --
enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger
 --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enabl
e-libx264 --enable-libxavs --enable-libxvid --enable-zlib --pkg-config=pkg-confi
g
  libavutil    51.  2. 1 / 51.  2. 1
  libavcodec   53.  6. 0 / 53.  6. 0
  libavformat  53.  1. 0 / 53.  1. 0
  libavdevice  53.  0. 0 / 53.  0. 0
  libavfilter   2.  5. 0 /  2.  5. 0
  libswscale    0. 14. 0 /  0. 14. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[NULL @ 023597A0] Unsupported video codec
[rm @ 02350280] max_analyze_duration reached
Input #0, rm, from 'C:\Mega_Weird_Audio_2ch_RA5_SIPR.ra':
  Metadata:
    title           :
    author          :
    copyright       :
    comment         :
  Duration: 00:01:02.40, start: 0.000000, bitrate: 16 kb/s
    Stream #0.0: Audio: sipr, 16000 Hz, 1 channels, flt, 16 kb/s
    Stream #0.1: Data: [0][0][0][0] / 0x0000
Incompatible sample format 'flt' for codec 'pcm_s16le', auto-selecting format 's
16'
Output #0, wav, to 'out.wav':
  Metadata:
    title           :
    author          :
    copyright       :
    comment         :
    encoder         : Lavf53.1.0
    Stream #0.0: Audio: pcm_s16le, 16000 Hz, 1 channels, s16, 256 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop, [?] for help
size=    1950kB time=62.40 bitrate= 256.0kbits/s
video:0kB audio:1950kB global headers:0kB muxing overhead 0.002204%

Change History (2)

comment:1 by Carl Eugen Hoyos, 13 years ago

Component: undeterminedavformat
Keywords: real added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

Works fine with mplayer -demuxer real -ac ffsipr, sounds equally distorted with mplayer -demuxer lavf -ac ffsipr.

comment:2 by Carl Eugen Hoyos, 13 years ago

Resolution: fixed
Status: openclosed

Fixed by Kostya.

Note: See TracTickets for help on using tickets.