[FFmpeg-trac] #2218(undetermined:new): flv pcm_s16le decodes incorrectly

FFmpeg trac at avcodec.org
Thu Jan 31 15:41:56 CET 2013


#2218: flv pcm_s16le decodes incorrectly
-------------------------------------+-------------------------------------
               Reporter:  ami_stuff  |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:
                Version:             |  undetermined
  unspecified                        |               Keywords:
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 attached file decodes incorrectly on big-endian because pcm_s16be is used
 instead of pcm_s16ble (see "libavformat/flvdec.c")

 no idea if this is a bug in squeeze (creates broken files) or in ffmpeg

 (also seeking does not work in ffplay - works fine with mplayer)

 http://www.datafilehost.com/download-6e96d20a.html

 {{{
 ffplay seeking_fail.flv
 ffplay version 0.9.1.git-7df9937 Copyright (c) 2003-2012 the FFmpeg
 developers
   built on Feb 11 2012 18:08:56 with gcc 4.5.0
   libavutil      51. 35.101 / 51. 35.101
   libavcodec     54.  0.100 / 54.  0.100
   libavformat    54.  0.100 / 54.  0.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 60.100 /  2. 60.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0.  6.100 /  0.  6.100
   libpostproc    52.  0.100 / 52.  0.100
 [flv @ 0x10e403e0] max_analyze_duration 5000000 reached at 5063000
 Input #0, flv, from 'seeking_fail.flv':
   Metadata:
     creationdate    : Sun Jul 15 18:01:39 2012
 [...]
     Encoded_With    : Sorenson Squeeze
     Encoded_By      :
   Duration: 00:03:46.53, start: 0.000000, bitrate: 354 kb/s
 Codec 0x10001 is not in the full list.
     Stream #0:0: Audio: pcm_s16be, 22050 Hz, 1 channels, s16, 352 kb/s
 Codec 0x10001 is not in the full list.
 Seek to 45% ( 0:01:41) of total duration ( 0:03:46)       B f=0/0
 seeking_fail.flv: error while seeking=    0B f=0/0
    7.10 A-V:  0.000 fd=   0 aq=  322KB vq=    0KB sq=    0B f=0/0
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2218>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list