[FFmpeg-trac] #3355(undetermined:new): mp2 decoding of decoding_encoding.c API example is broken

FFmpeg trac at avcodec.org
Mon Jan 27 19:26:28 CET 2014


#3355: mp2 decoding of decoding_encoding.c API example is broken
-------------------------------------+-------------------------------------
             Reporter:  sdem         |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:               |               Blocked By:
  decoding_encoding                  |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:

 doc/examples/decoding_encoding doesn't decode test.mp2 properly, i.e. the
 produced test.sw has incorrect contents.

 How to reproduce:

 Build the API examples from the latest source, then run decoding_encoding
 with argument "mp2"

 git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
 cd ffmpeg/
 ./configure
 make
 make examples
 doc/examples/decoding_encoding mp2

 The produced test.sw has random contents (although parts of the signal are
 similar to that of test.mp2). For example:

 # doc/examples/decoding_encoding mp2
 Encode audio file test.mp2
 Decode audio file test.mp2 to test.sw
 # md5sum test.*
 ca203ada0aa42372edead60fd4dd928b  test.mp2
 9db91386e3cbdc8ff4069fe93feb818a  test.sw
 # doc/examples/decoding_encoding mp2
 Encode audio file test.mp2
 Decode audio file test.mp2 to test.sw
 # md5sum test.*
 ca203ada0aa42372edead60fd4dd928b  test.mp2
 5921a1f95ac5bf33510d58ffb7b90279  test.sw

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


More information about the FFmpeg-trac mailing list