[FFmpeg-trac] #494(undetermined:new): Error encoding ac3 (Multiple frames in a packet from stream 1)

FFmpeg trac at avcodec.org
Wed Sep 21 11:18:03 CEST 2011


#494: Error encoding ac3 (Multiple frames in a packet from stream 1)
-------------------------------------+-------------------------------------
             Reporter:  Alex__       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Description: Error encoding ac3 (Multiple frames in a packet from stream
 1)
 Version: trunk
 URL: see below

 Steps that will reproduce the problem?
 ffmpeg -y -i sample-issue-xxx.mov sample-issue-xxx.m4v

 What is the expected result?
 Converted file including audio data (at the end of the mov example you can
 hear sound).

 What happens instead?
 The audio track seems not to get converted.

 Possible workaround:
 Unknown.

 Any additional information:
 * Sample plays in VCL: yes
 * Command:
 {{{
 ffmpeg version N-30103-g358d837, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Sep 21 2011 10:18:24 with clang 2.1 (tags/Apple/clang-163.7.1)
   configuration: --enable-zlib --disable-debug --enable-libfaac --enable-
 libx264 --enable-gpl --enable-nonfree --enable-libmp3lame --enable-
 libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --cc=clang
   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
   libpostproc  51.  2. 0 / 51.  2. 0
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'a.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
 [buffer @ 0x7ffecac1ab20] w:560 h:306 pixfmt:yuv420p tb:1/1000000 sar:1/1
 sws_param:
 [libx264 @ 0x7ffecb046a00] using SAR=1/1
 [libx264 @ 0x7ffecb046a00] using cpu capabilities: MMX2 SSE2Fast SSSE3
 FastShuffle SSE4.1 Cache64
 [libx264 @ 0x7ffecb046a00] profile High, level 2.1
 [libx264 @ 0x7ffecb046a00] 264 - core 116 r2074 2641b9e - H.264/MPEG-4 AVC
 codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options:
 cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1
 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3
 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1
 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40
 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60
 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
 Output #0, ipod, to 'a.m4v':
   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): Video: h264 (avc1 / 0x31637661), yuv420p, 560x306
 [SAR 1:1 DAR 280:153], q=-1--1, 2997 tbn, 23.98 tbc
     Metadata:
       creation_time   : 2008-06-12 11:29:44
     Stream #0.1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 2
 channels, s16, 128 kb/s
     Metadata:
       creation_time   : 2008-06-12 11:29:45
 Stream mapping:
   Stream #0.0 -> #0.0 (mpeg4 -> libx264)
   Stream #0.1 -> #0.1 (ac3 -> libfaac)
 Press [q] to stop, [?] for help
 Multiple frames in a packet from stream 1
 [ac3 @ 0x7ffecb04c000] incomplete frame
 [ac3 @ 0x7ffecb04c000] frame sync error
 Error while decoding stream #0.1
 ...
 Error while decoding stream #0.1
 frame=  187 fps=  0 q=28.0 size=       1kB time=00:00:00.44 bitrate=
 21.6kbits/s dup=1 drop=0
 Error while decoding stream #0.1
 ...
 Error while decoding stream #0.1
 frame=  334 fps=330 q=28.0 size=       1kB time=00:00:00.44 bitrate=
 21.6kbits/s dup=1 drop=0
 Error while decoding stream #0.1
 ...
 Error while decoding stream #0.1
     Last message repeated 389 times
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ffecb03d800] stream 1, offset 0x4e250b:
 partial file
 frame=  385 fps=227 q=-1.0 Lsize=     104kB time=00:00:00.53
 bitrate=1600.8kbits/s dup=1 drop=0

 video:96kB audio:0kB global headers:0kB muxing overhead 8.163989%
 frame I:8     Avg QP:14.78  size:  1464
 [libx264 @ 0x7ffecb046a00] frame P:151   Avg QP:22.31  size:   433
 [libx264 @ 0x7ffecb046a00] frame B:226   Avg QP:27.28  size:    91
 [libx264 @ 0x7ffecb046a00] consecutive B-frames: 19.0%  6.8%  4.7% 69.6%
 [libx264 @ 0x7ffecb046a00] mb I  I16..4: 70.2% 28.2%  1.5%
 [libx264 @ 0x7ffecb046a00] mb P  I16..4: 15.2%  4.7%  0.1%  P16..4:  3.8%
 0.6%  0.5%  0.0%  0.0%    skip:75.1%
 [libx264 @ 0x7ffecb046a00] mb B  I16..4:  0.7%  0.3%  0.0%  B16..8:  3.7%
 0.1%  0.1%  direct: 1.0%  skip:94.0%  L0:49.5% L1:47.1% BI: 3.4%
 [libx264 @ 0x7ffecb046a00] 8x8 transform intra:24.9% inter:79.1%
 [libx264 @ 0x7ffecb046a00] coded y,uvDC,uvAC intra: 8.4% 5.9% 0.1% inter:
 1.0% 1.2% 0.0%
 [libx264 @ 0x7ffecb046a00] i16 v,h,dc,p: 87%  8%  5%  0%
 [libx264 @ 0x7ffecb046a00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 37% 14% 45%  1%
 0%  1%  0%  0%  1%
 [libx264 @ 0x7ffecb046a00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 32% 20%  3%
 4%  4%  3%  2%  3%
 [libx264 @ 0x7ffecb046a00] i8c dc,h,v,p: 86%  6%  8%  0%
 [libx264 @ 0x7ffecb046a00] Weighted P-Frames: Y:41.1% UV:17.9%
 [libx264 @ 0x7ffecb046a00] ref P L0: 69.7% 12.2% 11.7%  4.3%  2.1%
 [libx264 @ 0x7ffecb046a00] ref B L0: 77.9% 15.3%  6.8%
 [libx264 @ 0x7ffecb046a00] ref B L1: 95.4%  4.6%
 [libx264 @ 0x7ffecb046a00] kb/s:48.68
 }}}

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


More information about the FFmpeg-trac mailing list