[FFmpeg-trac] #494(avcodec:open): Error decoding ac3 (Multiple frames in a packet from stream 1) (was: Error encoding ac3 (Multiple frames in a packet from stream 1))

FFmpeg trac at avcodec.org
Wed Sep 21 12:13:02 CEST 2011


#494: Error decoding ac3 (Multiple frames in a packet from stream 1)
------------------------------------+-----------------------------------
             Reporter:  Alex__      |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Changes (by cehoyos):

 * status:  new => open
 * component:  undetermined => avcodec
 * reproduced:  0 => 1


Comment:

 Also fails with mplayer -demuxer lavf -ac ffac3 and mplayer -demuxer mov
 -ac ffac3
 out.wav is silent
 {{{
 $ ffmpeg -i sample-issue-494.mov out.wav
 ffmpeg version N-32748-g358d837, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Sep 21 2011 11:43:56 with gcc 4.5.3
   configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-libspeex
   libavutil    51. 16. 1 / 51. 16. 1
   libavcodec   53. 16. 0 / 53. 16. 0
   libavformat  53. 12. 0 / 53. 12. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 43. 2 /  2. 43. 2
   libswscale    2.  1. 0 /  2.  1. 0
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sample-issue-494.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2008-06-12 11:29:44
     title           : Hoodwinked
     artist          : Glenn Close, Chazz Palminteri, David Ogden Stiers,
 Patrick Warburton, Andy Dick
     genre           : Kids & Family
     date            : 2005-06-15T12:00:00Z
     album           :
     description     : Hoodwinked fuses the classic fairy tale of Little
 Red Riding Hood with the crisscrossing storylines of film noir--pretty
 ambitious stuff for a computer-animated cartoon. The police cordon off
 Grandma's cottage and an amphibious version of William Powell n
     synopsis        : Hoodwinked fuses the classic fairy tale of Little
 Red Riding Hood with the crisscrossing storylines of film noir--pretty
 ambitious stuff for a computer-animated cartoon. The police cordon off
 Grandma's cottage and an amphibious version of William Powell n
     composer        :
     show            :
     episode_id      :
     network         :
   Duration: 01:20:53.97, start: 0.000000, bitrate: 8 kb/s
     Stream #0.0(eng): Video: mpeg4 (Advanced Simple Profile) (DX50 /
 0x30355844), yuv420p, 560x306 [SAR 1:1 DAR 280:153], 943 kb/s, 23.98 fps,
 23.98 tbr, 2997 tbn, 23.98 tbc
     Metadata:
       creation_time   : 2008-06-12 11:29:44
     Stream #0.1(eng): Audio: ac3 (ms [0] / 0x20736D), 48000 Hz, 2
 channels, s16, 255 kb/s
     Metadata:
       creation_time   : 2008-06-12 11:29:45
 Output #0, wav, to 'out.wav':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2008-06-12 11:29:44
     title           : Hoodwinked
     artist          : Glenn Close, Chazz Palminteri, David Ogden Stiers,
 Patrick Warburton, Andy Dick
     genre           : Kids & Family
     date            : 2005-06-15T12:00:00Z
     album           :
     description     : Hoodwinked fuses the classic fairy tale of Little
 Red Riding Hood with the crisscrossing storylines of film noir--pretty
 ambitious stuff for a computer-animated cartoon. The police cordon off
 Grandma's cottage and an amphibious version of William Powell n
     synopsis        : Hoodwinked fuses the classic fairy tale of Little
 Red Riding Hood with the crisscrossing storylines of film noir--pretty
 ambitious stuff for a computer-animated cartoon. The police cordon off
 Grandma's cottage and an amphibious version of William Powell n
     composer        :
     show            :
     episode_id      :
     network         :
     encoder         : Lavf53.12.0
     Stream #0.0(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz,
 2 channels, s16, 1536 kb/s
     Metadata:
       creation_time   : 2008-06-12 11:29:45
 Stream mapping:
   Stream #0.1 -> #0.0 (ac3 -> pcm_s16le)
 Press [q] to stop, [?] for help
 Multiple frames in a packet from stream 1
 [ac3 @ 0x12be420] incomplete frame
 [ac3 @ 0x12be420] frame sync error
 Error while decoding stream #0.1
 Error while decoding stream #0.1

 ...

 Error while decoding stream #0.1
 Error while decoding stream #0.1
     Last message repeated 389 times
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x12b6780] stream 1, offset 0x4e250b: partial
 file
 size=      96kB time=00:00:00.51 bitrate=1536.7kbits/s
 video:0kB audio:96kB global headers:0kB muxing overhead 0.044759%
 }}}
 The following commands work as expected:
 mplayer -demuxer lavf -ac a52 sample-issue-494.mov
 mplayer -demuxer mov -ac a52 sample-issue-494.mov
 mplayer -demuxer lavf -dumpaudio sample-issue-494.mov && ffmpeg -i
 stream.dump out.wav
 mplayer -demuxer mov -dumpaudio sample-issue-494.mov && ffmpeg -i
 stream.dump out.wav
 mplayer -ac hwac3 sample-issue-494.mov

-- 
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/494#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list